server-side money +Rep
#1

Is there any tutorials how to do it? I have seen only FS and Includes about it. But i was told that there is also tutorials. Search button didnt gaved me any tutorials topics.
I found one code like:
pawn Код:
if(GetPlayerMoney(playerid) != PlayerInfo[playerid][pMoney])
        {
            ResetPlayerMoney(playerid);
            GivePlayerMoney(playerid,PlayerInfo[playerid][pMoney]);
        }
But it still let me hack money with "HackProgram". But i'd like to make it so, if some1 hacks money, it resets that money. Not all, only that what was hacked.


Edit: Nvm, i figured it finaly out. Ppls who are intrested: https://sampforum.blast.hk/showthread.php?tid=71136
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)