anti money hack[+rep]
#2

pawn Код:
//this is in a foreach loop and a timer with 1 second intervall
        if(GetPlayerMoney(i) >= pCash[i])
        {
            ResetPlayerMoney(i);
            GivePlayerMoney(i, pCash[i]);
            SendClientMessageToAll(0xFF0000FF,"Money Hacked!!");
        }



Stock SafeGivePlayerMoney(playerid, amount)
{
pCash[playerid] =+amount;
GivePlayerMoney(playerid,amount);
}
And Replace all your GivePlayerMoney by SafeGivePlayerMoney. I hope, i help you
Reply


Messages In This Thread
anti money hack[+rep] - by PawnoQ - 03.01.2012, 22:52
Re : anti money hack[+rep] - by Vukilore - 03.01.2012, 22:56
Re: anti money hack[+rep] - by PawnoQ - 03.01.2012, 23:05
Re : anti money hack[+rep] - by Vukilore - 03.01.2012, 23:08
Re: anti money hack[+rep] - by coole210 - 03.01.2012, 23:12
Re: anti money hack[+rep] - by PawnoQ - 03.01.2012, 23:19
Re: anti money hack[+rep] - by PawnoQ - 03.01.2012, 23:33
Re: anti money hack[+rep] - by Basssiiie - 03.01.2012, 23:36
Re: anti money hack[+rep] - by PawnoQ - 03.01.2012, 23:38
Re: anti money hack[+rep] - by Basssiiie - 03.01.2012, 23:39

Forum Jump:


Users browsing this thread: 1 Guest(s)