Majitel ffredyk 167 Odesláno: 27. Září, 2010 Majitel Share Odesláno: 27. Září, 2010 Na prani v ICQ.. Neslo mu nacitat stringy ze souboru do dialogu (neradkovalo mu to) stock SeparateLines(text[]) { new tmp, temp[258]; format(temp,258,"%s",text); loop: if(strfind(temp,";") != -1) { tmp = strfind(temp, ";"); strdel(temp,tmp,tmp+1); strins(temp,"\n",tmp); goto loop; }else return temp; return temp; } Misto \n staci v souborech psat ";" (bez uvozovek) nacist je do stringu treba "zdialogu" a pak pouzit: zdialogu = SeparateLines(zdialogu); Link to comment Share on other sites More sharing options...
tbx 7 Odesláno: 27. Září, 2010 Share Odesláno: 27. Září, 2010 nefunkční zatím Link to comment Share on other sites More sharing options...
Majitel ffredyk 167 Odesláno: 27. Září, 2010 Author Majitel Share Odesláno: 27. Září, 2010 Uz funguje Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now