SA-MP Forums Archive
[HELP] anti money hack - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] anti money hack (/showthread.php?tid=121652)



[HELP] anti money hack - akis_tze - 17.01.2010

can i do if a player takes more than 20k$ reset his money?


Re: [HELP] anti money hack - RyDeR` - 17.01.2010

Yeah sure,
Код:
if(GetPlayerMoney(playerid) > 20000) ResetPlayerMoney(playerid);



Re: [HELP] anti money hack - akis_tze - 17.01.2010

you mean if a player have more than 20 k reset money

i want to do if player takes more than 20k
Код:
if(GivePlayerMoney(playerid) >= 20000)
but this code dont work can help?


Re: [HELP] anti money hack - akis_tze - 17.01.2010

i have this warning
Код:
: warning 202: number of arguments does not match definition



Re: [HELP] anti money hack - Correlli - 17.01.2010

Quote:
Originally Posted by [TGCAR
KotZ ]
Код:
if(GivePlayerMoney(playerid) >= 20000)
GivePlayerMoney is a function to GIVE money to player, use GetPlayerMoney function.


Re: [HELP] anti money hack - akis_tze - 17.01.2010

i have already done this

ok thanx all for help