01.04.2011, 15:18
Hey guys, the server of mine says: Server Unknown command. I don't know why because the code seems to work fine. Here is the code btw:
Help would be hell appreciated.
Код:
else if(strcmp(cmd, "/reported", true) == 0) { new i,Count; for(i = 0; i < MAX_PLAYERS; i++) Count++; if(PlayerInfo[i][activereport] == 0) SendClientMessage(playerid, COLOR_GREEN, "No active reports available right now"); else if(PlayerInfo[i][activereport] == 1) { new string[256], name[256]; GetPlayerName(i, name, 256); format(string, 256, "%s", name); SendClientMessage(playerid, COLOR_GREEN, string); } return 1; }