02.01.2013, 20:47
Hello.
I am looking for some anticheat and i found Anti Cheat By Gamer_Z
Link to topic: https://sampforum.blast.hk/showthread.php?tid=268052
I added the following to my gamemode script
But when I use new MoNeY HaCk this function doesn't get called. What I am doing wrong? Or is it just because that hack is undetectable?
Also how those hacks generally work? Can they call server side functions such as GivePlayerMoney() or SetPlayerScore()?
I am looking for some anticheat and i found Anti Cheat By Gamer_Z
Link to topic: https://sampforum.blast.hk/showthread.php?tid=268052
I added the following to my gamemode script
Код:
public AC_OnCheatDetected(playerid, type, extraint, Float:extrafloat, extraint2) { new Anticheat[200]; format(Anticheat,sizeof(Anticheat),"You have cheated: %d",type); SendClientMessage(playerid,0xFFFFFFFF,Anticheat); return 1; }
Also how those hacks generally work? Can they call server side functions such as GivePlayerMoney() or SetPlayerScore()?