Mask Error
#1

Hey,

I get these errors:
pawn Код:
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(5945) : error 017: undefined symbol "cmd_mobile"
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(7108) : error 017: undefined symbol "showHelp"
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11951) : error 029: invalid expression, assumed zero
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11951 -- 11952) : warning 215: expression has no effect
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11952) : error 001: expected token: ";", but found "if"
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11956) : warning 217: loose indentation
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11961) : warning 217: loose indentation
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11962) : warning 225: unreachable code
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11962) : warning 217: loose indentation
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11965) : warning 225: unreachable code
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11965) : error 029: invalid expression, assumed zero
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11969) : warning 217: loose indentation
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11972) : warning 225: unreachable code
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11972) : warning 217: loose indentation
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11972) : error 029: invalid expression, assumed zero
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11972) : error 017: undefined symbol "cmd_aduty"
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11972) : error 029: invalid expression, assumed zero
C:\Other Stuff\My SAMP Server\gamemodes\vx-rp.pwn(11972) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


9 Errors.
On this command:
pawn Код:
CMD:mask(playerid, params[]) {
        if(playerVariables[playerid][pGroup] !=7))
        if(isMasked[playerid] == 0)
        {
            new randomID = random(200);
            new string[35];
                GetPlayerName(playerid, string, sizeof(string));
                strmid(OldUsername[playerid], string, 0, strlen(string), 64);
                format(string,sizeof(string), "Masked_%d", randomID);
                SetPlayerName(playerid, string);
                SendClientMessage(playerid, COLOR_GREY, "You have put on a mask! (/mask to disable)");
            return 1;
        {
        return SendClientMessage(playerid, COLOR_GREY, "You do now have the right privillages to use this command.");
        }
        else {
            SetPlayerName(playerid, OldUsername[playerid]);
            isMasked[playerid] = 1;
            SendClientMessage(playerid, COLOR_GREY, "You have taken off your mask!");
      return 1;
}
can someone help please.
Reply


Messages In This Thread
Mask Error - by BleverCastard - 12.02.2012, 20:55
Re: Mask Error - by 2KY - 12.02.2012, 20:59
Re: Mask Error - by Twisted_Insane - 12.02.2012, 21:00
Re: Mask Error - by BleverCastard - 12.02.2012, 21:02
Re: Mask Error - by Twisted_Insane - 12.02.2012, 21:03
Re: Mask Error - by BleverCastard - 12.02.2012, 21:04
Re: Mask Error - by 2KY - 12.02.2012, 21:05
Re: Mask Error - by Twisted_Insane - 12.02.2012, 21:07
Re: Mask Error - by BleverCastard - 12.02.2012, 21:09
Re: Mask Error - by Twisted_Insane - 12.02.2012, 21:11

Forum Jump:


Users browsing this thread: 1 Guest(s)