Jump to content
  • 0

\r, \n, \t, si altele luate dintr-un tabel MySQL si puse in dialog


LaZ

Question

Am o problema (:o). \n si toate celelalte sunt se pare ignorate cand string-ul este luat dintr-un camp dintr-o baza de date MySQL, si ii o problema pentru mine. Am ales aceasta metoda pentru ca comenzile sunt in gamemode, si nu vreau sa dau restart de fiecare daca cand modific cate ceva. Am incercat "hardcoded", adica stringul sa fie direct in script si nu este nici o problema. Are cineva vreo idee ?

Folosesc sscanf v2.0 si zcmd.

samp485n.png

(hopeless)

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Idee: incearca sa pui \n\

Nu functioneaza :(.

Acum sunt si mai confuz pentru ca textele colorate apar:

samp484.png

[img width=500 height=267]http://img690.imageshack.us/img690/5413/asdhhr.png

EDIT:

pune in fatza lui Be respect etc    "\n" nu la primul la dont cheat

Nup.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.