13.07.2009, 01:36
Anyone have to code for the player id in game eg.
[mad]mlk:[1] hello
and were would the code go under what
thanks
[mad]mlk:[1] hello
and were would the code go under what

thanks

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