Thread: [Include] Nex-AC - Anticheat system
View Single Post
Old 06/01/2017, 12:26 AM   #552
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 865
Reputation: 325
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by Juonis View Post
When PLAYER1 is spectating PLAYER2 and PLAYER2 gets kicked for whatever reason (in this case hacks) then PLAYER1 will be kicked out of the server (this line reacts even anticheats are off);



How can I fix that?
If you are using in your gm public OnCheatDetected, you can add to switch the following case:
PHP Code:
case 21: return 1//Unless, of course, triggered exactly code 21? 
Although better if you describe your problem specifically. For example, what writes to the console at the time of kick?
__________________
aka Nexius
Don't want to always check for updates of my scripts?
Include it the last, after all others
Nexius's Update Checker
OstGot is online now   Reply With Quote