Error In Script [+REP]
#1

Here My Script
pawn Код:
new masked[MAX_PLAYERS];
pawn Код:
CMD:mask(playerid, params[])
    if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8 || PlayerInfo[playerid][pAdmin] < 2 || (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
    {
    SendClientMessage(playerid, COLOR_GREY, "    You are not authorized to use that command!");
    }
    if(masked[playerid] == 0)
    {
    masked[playerid] = 1;
    SendClientMessage(playerid, -1,"You are now masked.");
    }
    else
    {
    masked[playerid] = 0;
    SendClientMessage(playerid, -1,"You are no longer masked.");
    }
    return 1;
    }
Errors
pawn Код:
F:\My favorite sa-mp script\gamemodes\EXRP..pwn(30733) : error 029: invalid expression, assumed zero
F:\My favorite sa-mp script\gamemodes\EXRP..pwn(30736) : error 010: invalid function or declaration
F:\My favorite sa-mp script\gamemodes\EXRP..pwn(30741) : error 010: invalid function or declaration
F:\My favorite sa-mp script\gamemodes\EXRP..pwn(30746) : error 010: invalid function or declaration
F:\My favorite sa-mp script\gamemodes\EXRP..pwn(85807) : warning 203: symbol is never used: "masked"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
Error In Script [+REP] - by VIPAwesome - 10.03.2012, 13:07
Re: Error In Script [+REP] - by AndreT - 10.03.2012, 13:10
Re: Error In Script [+REP] - by VIPAwesome - 10.03.2012, 13:25
Re: Error In Script [+REP] - by Twisted_Insane - 10.03.2012, 13:27
Re: Error In Script [+REP] - by Scrillex - 10.03.2012, 13:32
Re: Error In Script [+REP] - by AndreT - 10.03.2012, 13:33
Re: Error In Script [+REP] - by Twisted_Insane - 10.03.2012, 13:39
Re: Error In Script [+REP] - by VIPAwesome - 10.03.2012, 13:54
Re: Error In Script [+REP] - by Twisted_Insane - 10.03.2012, 13:57
Re: Error In Script [+REP] - by Kiets - 10.03.2012, 13:59

Forum Jump:


Users browsing this thread: 1 Guest(s)