08.08.2009, 11:07
Quote:
Originally Posted by NoxY
Ok, well use
OnPlayerText. Here's an example.. Код:
public OnPlayerText(playerid, text[]) { new string[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); if(text[0] == '+') { format(string,sizeof(string),"RADIO %s: %s",name,text[1]); SendClientMessageToAll(grey,string); return 0; } return 1; } |
