14.04.2010, 20:14
I hope only today ![afro](images/smilies/mrgreen.gif)
That should work
![afro](images/smilies/mrgreen.gif)
Код:
if(strcmp(cmd, "/sudown", true) == 0) { if GetPlayerTeam(playerid, TEAM_POLICE) { for(new a=0; a<MAX_PLAYERS; a++) { if(GetPlayerTeam(a) == TEAM_POLICE) { SendClientMessage(a,COLOR_BLUE,"Radio: Suspect down, Over.") // Define color if u dont have } } }else{ SendClientMessage(a,COLOR_RED,"You are not a cop") // Define color if u dont have return 1; }