05.04.2009, 20:53
Ok look try this ![Cheesy](images/smilies/biggrin.png)
![Cheesy](images/smilies/biggrin.png)
Код:
public OnPlayerText(playerid, text[]) { for(new i = 0; i < MAX_PLAYERS; i++) { new string2[128]; new name[MAX_PLAYER_NAME+1]; GetPlayerName(playerid, name, sizeof(name)); format(string2, sizeof(string2), "%s[%i]: %s",name,playerid,text); if(IsPlayerAdmin(i)){ SendClientMessage(i,>color<,string2);} // change >color< to what color you want text to be :D //but here I need something to send it to the rcon console !? } return 0; }