Small Error
#2

pawn Код:
if(strcmp(cmd, "/admins", true) == 0)
    {
        SendClientMessage(playerid,GREEN,"Online Admins:");
        for(new i=0;i<MAX_PLAYERS;i++)
        {
        if(IsPlayerConnected(i) && PlayerInfo[i][pAdmin] >= 0)
 {
        GetPlayerName(i,string,sizeof(string));
        format(string,sizeof(string),"- %s (%d), Level: %d",string,i,PlayerInfo[i][pAdmin]);//name,id,level
        SendClientMessage(playerid,PURPLE,string);
        }
        }
        return 1;
    }
(Missing a bracket on line 6)
Reply


Messages In This Thread
Small Error - by mini-d - 28.03.2009, 04:21
Re: Small Error - by [HiC]TheKiller - 28.03.2009, 04:27

Forum Jump:


Users browsing this thread: 1 Guest(s)