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



Anti money cheat - Dripac - 11.03.2012

I need fast an anti-money cheat for the godfather script

I tried this

pawn Код:
stock SS_GivePlayerMoney(playerid, cash)
{
    PlayerInfo[playerid][pCash] += cash;
    ResetPlayerMoney(playerid);
    GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
}
#if defined _ALS_GivePlayerMoney
    #undef GivePlayerMoney
#else
    #define _ALS_GivePlayerMoney
#endif
#define GivePlayerMoney(%0) SS_GivePlayerMoney(%0)
but it doesn't work


Re: Anti money cheat - Shabi RoxX - 11.03.2012

Here's a tut

forum.sa-mp.com/showthread.php?t=71136


AW: Re: Anti money cheat - Dripac - 11.03.2012

Quote:
Originally Posted by Shabi RoxX
Посмотреть сообщение
Here's a tut

forum.sa-mp.com/showthread.php?t=71136
Thank you, +rep

but can you also help me how to implement it with the godfather code? because if i login i spawn with 0$, but in my user file i have set to 500$


Re: Anti money cheat - GamerBPS - 07.05.2014

Big Up !