Anti money cheat
#1

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
Reply
#2

Here's a tut

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

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$
Reply
#4

Big Up !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)