10.01.2013, 01:01
onplayertext
Edit:
Edit:
pawn Код:
public OnPlayerText(playerid, text[])
{
new string[256];
if(PlayerTeam == 1)
{
format(string, sizeof(string), "%s",text);
SendClientMessageToAll(COLOR_GROVE, string);
}
else if(PlayerTeam == 2)
{
format(string, sizeof(string), "%s",text);
SendClientMessageToAll(COLOR_BALLAS, string);
}
return 0;
}