SA-MP Forums Archive
Chat lines - 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: Chat lines (/showthread.php?tid=574826)



Chat lines - StR_MaRy - 20.05.2015

hi guys how can i make 2 lines on the chat ? like this

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aa

can some1 help me ?


Re: Chat lines - Azula - 20.05.2015

https://sampforum.blast.hk/showthread.php?tid=135023

or :
https://sampforum.blast.hk/showthread.php?tid=362764


Re: Chat lines - kyriakos587 - 21.05.2015

Quote:

public OnPlayerText(playerid, text[])
{
if(IsPlayerConnected(playerid)){
new string[200];
format(string, sizeof (string), "(%d) %s", playerid, text);
SendPlayerMessageToAll(playerid, string);
return 0;
}
return 1;
}

Add this to your script, and if you already have one remove it!


Re: Chat lines - Dignity - 21.05.2015

Quote:
Originally Posted by kyriakos587
Посмотреть сообщение
Add this to your script, and if you already have one remove it!
That doesn't split the text though. Here's something I wrote yesterday for someone else.


Function: http://forum.sa-mp.com/showpost.php?...06&postcount=2
Explanation: http://forum.sa-mp.com/showpost.php?...52&postcount=5