Chat lines
#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


Messages In This Thread
Chat lines - by StR_MaRy - 20.05.2015, 21:56
Re: Chat lines - by Azula - 20.05.2015, 22:00
Re: Chat lines - by kyriakos587 - 21.05.2015, 12:03
Re: Chat lines - by Dignity - 21.05.2015, 13:02

Forum Jump:


Users browsing this thread: 2 Guest(s)