Money hacker problems
#7

I use GetPlayerMoney only for anticheat... and when player have different money than he should have i setPlayerMoney to the right value.. But in user file i save money from Money[playerid]..

Right usage; Example: m4 command
pawn Код:
if(!strcmp(cmdtext, "/m4", true)){
     if(Money[playerid] < 5000)return SendClientMessage(playerid, 0x00FFFFAA, "* {FFFFFF}You donґt have enough money!");
     GivePlayerWeapon(playerid, 31, 500);
     ResetPlayerMoney(playerid);
     GivePlayerMoney(playerid, Money[playerid]-5000);
     return 1;
}
Reply


Messages In This Thread
Money hacker problems - by thimo - 25.07.2013, 21:25
Re: Money hacker problems - by papedo - 25.07.2013, 21:33
Re: Money hacker problems - by thimo - 25.07.2013, 21:37
Re: Money hacker problems - by papedo - 25.07.2013, 21:39
Re: Money hacker problems - by Jochemd - 25.07.2013, 21:39
Re: Money hacker problems - by thimo - 25.07.2013, 21:46
Re: Money hacker problems - by papedo - 25.07.2013, 21:52
Re: Money hacker problems - by thimo - 25.07.2013, 21:56
Re: Money hacker problems - by tyler12 - 25.07.2013, 22:18
Re: Money hacker problems - by Konstantinos - 26.07.2013, 11:07

Forum Jump:


Users browsing this thread: 1 Guest(s)