SA-MP Forums Archive
Need help with Anti Cheat By Gamer_Z - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help with Anti Cheat By Gamer_Z (/showthread.php?tid=404384)



Need help with Anti Cheat By Gamer_Z - scriptit - 02.01.2013

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

Код:
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;
}
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()?


Re: Need help with Anti Cheat By Gamer_Z - scriptit - 03.01.2013

anyone know anything about it?