SA-MP Forums Archive
antimoney cheat problem[+rep] - 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: antimoney cheat problem[+rep] (/showthread.php?tid=619775)



antimoney cheat problem[+rep] - bugmenotlol - 22.10.2016

hello i am editing a gm.
so it has this anticheat
PHP код:
public RandomTimer()
{
    for(new 
ii<MAX_PLAYERSi++)
    {
        if(
GetPlayerMoney(i) != PInfo[i][Money]) //Money/Cash anti-cheat
        
{
            
ResetPlayerMoney(i);
            
GivePlayerMoney(i,PInfo[i][Money]);
        }
    }

i tried to add a lotto fs in gm itself but money is hetting resteed ) plz help


Re: antimoney cheat problem[+rep] - lackmail - 22.10.2016

check the gm how it gives money and post the code here


Re: antimoney cheat problem[+rep] - SickAttack - 22.10.2016

You should just remove that whole code, and make it set back to their actual amount of money on trigger.


Re: antimoney cheat problem[+rep] - bugmenotlol - 22.10.2016

Problem sloved