Chat lines
#1

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

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aa

can some1 help me ?
Reply
#2

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

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

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!
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)