Sendclientmessage new 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)
+--- Thread: Sendclientmessage new line (
/showthread.php?tid=389607)
Sendclientmessage new line -
ixesas - 02.11.2012
Hello, i was thinking - how can i add new line in sendclientmessage without creating another message? I mean.. if i have automsg script, which can send only one line in message, how can i create second line in one message?
If i'am right is it impossible to create a new line with ~n~ or \n as textdraw or gui..
Re: Sendclientmessage new line -
tyler12 - 02.11.2012
Quote:
Originally Posted by ixesas
Hello, i was thinking - how can i add new line in sendclientmessage without creating another message? I mean.. if i have automsg script, which can send only one line in message, how can i create second line in one message?
If i'am right is it impossible to create a new line with ~n~ or \n as textdraw or gui..
|
No you can not use '~n~' as you would just see that. '\n' can not be used either.
Re: Sendclientmessage new line -
ixesas - 02.11.2012
Well i know that "tylek12", but is it any way to create a new line without creating second message?
Re: Sendclientmessage new line -
x96664 - 02.11.2012
This may help you
https://sampwiki.blast.hk/wiki/Random_Messages
Re: Sendclientmessage new line -
tyler12 - 02.11.2012
Your own function;
PHP код:
stock SendClientMessageEx(playerid,color,msg1[],msg2[])
{
SendClientMessage(playerid,color,msg1);
SendClientMessage(playerid,color,msg2);
return 1;
}