01.08.2009, 23:56
Easy
Код:
if(strcmp(cmdtext, "/bk", true) == 0) { for (new i = 0; i < MAX_PLAYERS; i++) { if(GetPlayerTeam(i) == TEAM_COP) { new name[255]; GetPlayerName(playerid, name, 255); new string[256]; format(string,256,"Officier %s need Backup",name); SendClientMessageToAll(COLOR_BLUE,string); SetPlayerColor(playerid,0xAB23B6FF); SetTimer("ChangeColor",30000,0); } } } forward ChangeColor(playerid); public ChangeColor(playerid); { SetPlayerColor(playerid,0xFFFFF); // Or Any Color You Want }