Posts: 84
Threads: 16
Joined: Jan 2018
Reputation:
0
I've noticed there are some Anti Cheat Includes/Filterscripts available in this Forum, but it makes me confused on editing them, I wanted to know, how to make the Cheat Detection (For Player Only, not for Admins) Because some of Admins in my Server are cheaters LOL
Posts: 662
Threads: 102
Joined: Sep 2010
Reputation:
0
Treating admins differently than regular players is a big no no. Double standards perhaps?
Either way, if you want to disable it for admins you need to find your admin variable and the function that actually detects hacks. Add an if statement which checks if player is not an admin and enclose the entirety of the function between the brackets.
Posts: 455
Threads: 29
Joined: Apr 2014
well if detection is inside include you could add just admin check
if(GetPVarInt(playerid, "IsAdmin"))return 0;
and in gamemode you add
SetPVarInt(playerid,"IsAdmin",1);
Posts: 662
Threads: 102
Joined: Sep 2010
Reputation:
0
Wouldn't work if AC is hooked on OnPlayerWeaponShot. Would desync all admin bullets
Posts: 84
Threads: 16
Joined: Jan 2018
Reputation:
0
Well, i could've just put
// Anticheat detection blah blah
if(PlayerInfo[playerid][pAdmin] >= 1)
{
//Function
}
But it's hard to find it.