Wrong -.- I cant fix this
#1

PHP код:
        if(pInfo[playerid][pAdminLevel] < 1)&&((GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK)
        {
            new 
Admin[24] = "Anti-cheat";
            new 
reason3[128] = "Jetpack";
            
BanPlayer(i,reason3,Admin);
        } 
Error's
PHP код:
C:\Users\Arlindi\Desktop\fsdf Copy\gamemodes\zGM.pwn(701) : error 017undefined symbol "playerid"
C:\Users\Arlindi\Desktop\fsdf Copy\gamemodes\zGM.pwn(701) : error 029invalid expressionassumed zero
C
:\Users\Arlindi\Desktop\fsdf Copy\gamemodes\zGM.pwn(701 -- 702) : error 029invalid expressionassumed zero
C
:\Users\Arlindi\Desktop\fsdf Copy\gamemodes\zGM.pwn(701 -- 702) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Reply
#2

Change this
pawn Код:
if(pInfo[playerid][pAdminLevel] < 1)&&((GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK)
To this:
pawn Код:
if(pInfo[i][pAdminLevel] < 1 && (GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK))
Reply
#3

Edit: to late
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)