SA-MP Forums Archive
I need some help. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: I need some help. (/showthread.php?tid=400340)



I need some help. - Simmons - 18.12.2012

Well I was trying to open my own server, my friend gave me a gamemode, he downloaded the gamemode from this site, well when Im starting the GM, and I want to log in on the server, It's auto-banning me for health hacking, Im not using any kind of hack. Anyway to disable the auto-ban, auto-kick system?


Re: I need some help. - iVPS - 18.12.2012

This can be because you had done like this :

OnPlayerLogin

SetPlayerhealth(100);

OnPlayerSpawn

SetplayerHealth(100);

Remove this that then it wouldn't auto kick you.

This thing happends due to this, The system gives you 100 health while you login, but the admin system dosen't know its the system and thinks its an hacker (Ifgetregainhealth(100=Hacker))


Re: I need some help. - RedCrossER - 18.12.2012

Remove Your Anti Cheat , Simple


Re: I need some help. - CookieCrusher - 18.12.2012

You could also comment the Kick(playerid); function under the anti cheat function for testing/learning purposes later uncomment it again when you're smarter about what's going on in the script and have fixed the issues causing the kick


Re: I need some help. - Mr.Anonymous - 18.12.2012

Why is this in server support forum?


Re: I need some help. - ColorHost-Kevin - 18.12.2012

This should be in scripting discussion.


AW: I need some help. - Blackazur - 18.12.2012

Easy: Make an better Anticheat, or set the Health for Anticheat on 100, and the normal Health for Players on 99. Because Cheatprogramms set the Health automatic to 100.