SA-MP Forums Archive
Carry text onto the next line - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Carry text onto the next line (/showthread.php?tid=184183)



Carry text onto the next line - Saurik - 18.10.2010

I usually have longs texts and they never fit and get cut off.. How do i make them continue on the next line .?


Re: Carry text onto the next line - Sinner - 18.10.2010

Код:
SendClientMessageToAll(color, message);
SendClientMessageToAll(color, continuation of message);
Just continue your text on the next line like that, I don't think there is a newline command in sendclientmessage


Re: Carry text onto the next line - Babul - 18.10.2010

use the "\n" or "~n~" newline chars, the ~n~ will work in textdraws.


Re: Carry text onto the next line - Saurik - 18.10.2010

maybe something like a comma at the end of first message ?

SendClientMessageToAll(color, message),


Re: Carry text onto the next line - Saurik - 18.10.2010

i actually am not using sendclientmessage.. im using format since i have variables


format(msg, sizeof(msg), "*** You have been permanantly banned by %s (Reason - %s)", ReturnName(playerid),reason);