30.11.2010, 12:50
My command / cc does not work ... Does not display the names of string ...
Please help
Please help
Код:
if(strcmp(cmd, "/cc", true) == 0) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 3) { ClearChat(100); format(string, sizeof(string), "Admin | Chat je obrisan od strane %s", sendername); SendClientMessageToAll(COLOR_WHITE,string); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "{FF0000}Error | {FFFFFF}Nisi Admin"); return 1; } } }