[HELP] AntiMoneyHack timer
#1

The point of this is, that if you tune your vehicle at PayNSpray, it will take your money and then sets the current money amount, to serversided money. In that way tuning will actually cost money. I hope you understand what i mean.

So here what i've done so far:

I have this under 1 second timer.
pawn Код:
if(GetPlayerCash(i) > GetPlayerMoney(i))
{
        PlayerInfo[i][pMoney] = GetPlayerMoney(i);
        ResetPlayerMoney(i);
        GivePlayerMoney(i, PlayerInfo[i][pMoney]);
        UpdateMoney(i);
}
else{   }
Is there something im doing wrong?


GetPlayerCash is this:

pawn Код:
stock GetPlayerCash(playerid)
{
    return PlayerInfo[playerid][pMoney];
}
Reply


Messages In This Thread
[HELP] AntiMoneyHack timer - by KeyWay - 17.05.2011, 14:25
Re: [HELP] AntiMoneyHack timer - by yanir3 - 17.05.2011, 14:27
Respuesta: [HELP] AntiMoneyHack timer - by TheChaoz - 17.05.2011, 14:31
Re: Respuesta: [HELP] AntiMoneyHack timer - by KeyWay - 17.05.2011, 14:38
Re: [HELP] AntiMoneyHack timer - by cessil - 17.05.2011, 15:55
Re: [HELP] AntiMoneyHack timer - by KeyWay - 17.05.2011, 16:10
Re: [HELP] AntiMoneyHack timer - by cessil - 17.05.2011, 16:17
Re: [HELP] AntiMoneyHack timer - by KeyWay - 17.05.2011, 17:13
Respuesta: [HELP] AntiMoneyHack timer - by TheChaoz - 17.05.2011, 20:40

Forum Jump:


Users browsing this thread: 2 Guest(s)