"SERVER: Unknown command" wtf?
#5

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;
    }
Reply


Messages In This Thread
"SERVER: Unknown command" wtf? - by sabreman - 01.04.2011, 15:18
Re: "SERVER: Unknown command" wtf? - by Mmartin - 01.04.2011, 15:45
Re: "SERVER: Unknown command" wtf? - by necrobg3 - 01.04.2011, 20:47
AW: "SERVER: Unknown command" wtf? - by Meta - 01.04.2011, 21:53
Re: "SERVER: Unknown command" wtf? - by Joe Staff - 01.04.2011, 22:03

Forum Jump:


Users browsing this thread: 1 Guest(s)