SA-MP Forums Archive
Anti cheat question. - 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: Anti cheat question. (/showthread.php?tid=588749)



Anti cheat question. - karemmahmed22 - 12.09.2015

Hi, I downloaded house system from here, i edited it a bit, but the problem is, when i sell house, it uses normal GivePlayerMoney Which causes false anti money cheat warnings, i just want to know, how to call function from my gamemode (AC_GivePlayerMoney) thats sux, because it will take time to merge the filterscript in the house system :/ also the house system using different command processor, so its hard.
Idk how to call my anticheat givemoney function, i tried to do
PHP код:
#inclde "../gamemodes/blablalba.pwn" 
But it didn't work, it gave me some errors while compiling D:


Re: Anti cheat question. - J0sh... - 12.09.2015

PHP код:
CallRemoteFunction("AC_GivePlayerMoney", "ii", playerid, ???); 
https://sampwiki.blast.hk/wiki/CallRemoteFunction


Re: Anti cheat question. - karemmahmed22 - 12.09.2015

Hmmm, without including anything? :P
Thanks it worked, REP+!