SA-MP Forums Archive
money bug - 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)
+--- Thread: money bug (/showthread.php?tid=664987)



money bug - nadiroboy - 18.03.2019

always when i get money from drifts or i spend money to buy a house or something like that my money come back and resert like it was if i have 200k and i buy a house the money spent and come back and same when i recive i recive then i lose them directly please help me guys can t found the bug


this is my gamemode that im using blank.pwn download it guys and fix this bug for me and then post it back in a cmnt please

i really need to fix this bug


Re: money bug - antixgaming - 18.03.2019

You have anti-cheat system. Use other function or redefine it. In your case, you need to use GivePlayerCash instead of GivePlayerMoney


Re: money bug - nadiroboy - 20.03.2019

how can i define it please sir any exemple or more explication ......... im noob so please try to help me more guys


Re: money bug - antixgaming - 20.03.2019

Instead of using GivePlayerMoney use GivePlayerCash. Or if you check for how much money someone has, instead of using GetPlayerMoney, use GetPlayerCash.


Re: money bug - B3x7K - 20.03.2019

GivePlayerMoney(playerid, ActualMoney-TehPriceBlaBlaBla);


Re: money bug - antixgaming - 21.03.2019

Quote:
Originally Posted by B3x7K
Посмотреть сообщение
GivePlayerMoney(playerid, ActualMoney-TehPriceBlaBlaBla);
That won't work! Look in his script!