SA-MP Forums Archive
Server banned/kicked server owner - 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: Server banned/kicked server owner (/showthread.php?tid=663631)



Server banned/kicked server owner - OPcode - 07.02.2019

I have my own server and when I add something I always throw me out if I used a weapon hack or the like, does anyone have any solution that Anti Cheat should not ban me.


Re: Server banned/kicked server owner - Trevor19012 - 07.02.2019

What does your code look like for your anti cheat?


Re: Server banned/kicked server owner - Robertsamp - 07.02.2019

In order to receive help, you need to show us the code you are using.


Re: Server banned/kicked server owner - TheToretto - 07.02.2019

In your anti cheat, add inside the if statement that results to a ban your admin variable (or rcon admin) should be like this:

Код:
if(blablabla && !IsPlayerAdmin(playerid))
    // ban