14.06.2013, 16:58
I have this code set for the anti-cheat:
With this timer.
Today it started banning people randomly upon them entering the game. I've relogged to check, and as soon as I entered, it also banned me.
Currently in my game mode, there is NO possible way to acquire any of the weapons listed between 35 and 39.
It worked perfectly before.
Is there any known hack that can give a player (who isn't the hacker) those weapons?
Had to delete my ban list as it banned players. And disabled the anti-hack until further investigation.
Thanks in advance for your support,
Bharel
Код:
public HackCheck(){ foreach (new i : Player){ // Don't allow minigun if(GetPlayerWeapon(i) >= 35 && GetPlayerWeapon(i) <= 39) { if (GetPVarInt(i, "Admin") < 3 && pPun[i][specialpriv] != true){ new formatted[128], pname[MAX_PLAYER_NAME], playerIP[16]; GetPlayerName(i, pname, MAX_PLAYER_NAME); format(formatted, sizeof(formatted), "%s has been banned for weapon hacks!", pname); SendClientMessageToAll(Col_Red, formatted); GetPlayerIp(i, playerIP, 16); format(formatted, sizeof(formatted), "banip %s", playerIP); SendRconCommand(formatted); return 0; } } } return 1; }
Код:
SetTimer("HackCheck", 4132, true);
Currently in my game mode, there is NO possible way to acquire any of the weapons listed between 35 and 39.
It worked perfectly before.
Is there any known hack that can give a player (who isn't the hacker) those weapons?
Had to delete my ban list as it banned players. And disabled the anti-hack until further investigation.
Thanks in advance for your support,
Bharel