03.06.2009, 15:14
pawn Код:
if(!strcmp("/ra", cmdtext, true))
{
if(cmdtext[3] == 0) return SendClientMessage(playerid, COLOR_RED, "/ra [text]");
new playername[26];
GetPlayerName(playerid, playername, 26);
format(string, sizeof(string), "COP: %s > %s", playername, cmdtext[3]);
for(new i=0;i<MAX_PLAYERS;i++)
{ if(GetPlayerTeam(playerid) == 6) { SendClientMessage(i, COLOR_BLUE, string); } }
return 1;
}