SA-MP Forums Archive
Anti hack error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Anti hack error (/showthread.php?tid=658841)



Anti hack error - IndependentGaming - 13.09.2018

Hello, I have got a error in this bit:

PHP код:
ptask HackCheck_Micro[1000](playerid) {
    if(
PlayerInfo[playerid][pAdmin] < 2)
    {
        if(
IsSpawned[playerid] && gPlayerLogged{playerid} && playerTabbed[playerid] < 1) {
            if(
ac_ACToggle[AC_AIRBREAKING] && AC_AirBreaking(playerid)) AC_Process(playeridAC_AIRBREAKING);
            
/* Reset arrPAntiCheat bits that were set in callback wrappers */
            
Bit_Off(arrPAntiCheat[playerid], ac_bitValidPlayerPos);
            
Bit_Off(arrPAntiCheat[playerid], ac_bitValidSpectating);
        }
    }



Код:
E:\alles van 2018 server\IN-RP\gamemodes\nlrp.pwn(649) : error 017: undefined symbol "ac_ACToggle"
E:\alles van 2018 server\IN-RP\gamemodes\nlrp.pwn(649) : warning 215: expression has no effect
E:\alles van 2018 server\IN-RP\gamemodes\nlrp.pwn(649) : error 001: expected token: ";", but found "]"
E:\alles van 2018 server\IN-RP\gamemodes\nlrp.pwn(649) : error 029: invalid expression, assumed zero
E:\alles van 2018 server\IN-RP\gamemodes\nlrp.pwn(649) : fatal error 107: too many error messages on one line

Compilation aborted.

Pawn compiler 3.10.6	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.



Re: Anti hack error - v1k1nG - 13.09.2018

PHP код:
error 017undefined symbol "ac_ACToggle" 



Re: Anti hack error - IndependentGaming - 13.09.2018

Quote:
Originally Posted by v1k1nG
Посмотреть сообщение
PHP код:
error 017undefined symbol "ac_ACToggle" 
yes I know what the error is but I don't get it because this is the only function that give a error in all the other includes it is defined


Re: Anti hack error - solstice_ - 13.09.2018

What other includes?


Re: Anti hack error - IndependentGaming - 13.09.2018

Nevermind, resolved the issue thanks anyway guys!