01.04.2011, 22:03
pawn Код:
else if(strcmp(cmd, "/reported", true) == 0)
{
new i,Count;
for(i = 0; i < MAX_PLAYERS; i++)
{ //Missing bracket
Count++;
if(PlayerInfo[i][activereport])
{
new string[256], name[256];
GetPlayerName(i, name, 256);
format(string, 256, "%s", name);
SendClientMessage(playerid, COLOR_GREEN, string);
}
}//Another missing bracket
if(!Count)SendClientMessage(playerid, COLOR_GREEN, "No active reports available right now");
return 1;
}