HELP]Admin commands
#1

Код:
C:\Documents and Settings\Antonio\Desktop\SERVER\gamemodes\GM0.pwn(303) : error 028: invalid subscript (not an array or too many subscripts): "pAdmin"
C:\Documents and Settings\Antonio\Desktop\SERVER\gamemodes\GM0.pwn(303) : warning 215: expression has no effect
C:\Documents and Settings\Antonio\Desktop\SERVER\gamemodes\GM0.pwn(303) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Antonio\Desktop\SERVER\gamemodes\GM0.pwn(303) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Antonio\Desktop\SERVER\gamemodes\GM0.pwn(303) : fatal error 107: too many error messages on one line
i have new: new pAdmin[MAX_PLAYERS];

Код:
	if(strcmp(cmd, "/ahelp", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if(pAdmin[playerid] > 1)
            {
                SendClientMessage(playerid,COLOR_WHITE,"    .:: - ADMIN Help - ::.");
            }else{
            SendClientMessage(playerid,COLOR_GREY,"* You are not an higher level to use this command!");
            }
        }
        return 1;
    }
help
Reply


Messages In This Thread
HELP]Admin commands - by tronix096 - 08.01.2011, 10:22
Re: HELP]Admin commands - by Lorenc_ - 08.01.2011, 10:27
Re: HELP]Admin commands - by Kyosaur - 08.01.2011, 10:29
Re: HELP]Admin commands - by tronix096 - 08.01.2011, 10:43
Re: HELP]Admin commands - by Kyosaur - 08.01.2011, 10:46

Forum Jump:


Users browsing this thread: 2 Guest(s)