[Help] 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: [Help] Money Bug (
/showthread.php?tid=554062)
[Help] Money Bug -
Arxalan - 02.01.2015
Hello , i download a GM but it have money bug . Whenever i buy guns from ammunation the money decreases but then again increase to its position . e.g. i have 5k i bought ammo of 1k then money will decreases to 4k but after some seconds it again increases to 5k.
Re: [Help] Money Bug -
Schneider - 02.01.2015
You better ask in the that GM's topic.. but I think that gamemode uses server-side money.
Re: [Help] Money Bug -
Arxalan - 02.01.2015
So server-side money have bugs?
Re: [Help] Money Bug -
Lawbringer - 02.01.2015
If it is going down, the up again, that is your AntiCheat working properly. You'll have to handle a menu event since the Ammunation dialog is a menu.
Re: [Help] Money Bug -
Arxalan - 02.01.2015
what do you please explain how to fix it.
Re: [Help] Money Bug -
ATGOggy - 02.01.2015
That's the server's anticheat.
To fix it, look the GM's public OnPlayerUpdate and remomove those codes about the anti-cheat.
Re: [Help] Money Bug -
Arxalan - 02.01.2015
but i want that anti cheat without that bug
Re: [Help] Money Bug -
ATGOggy - 02.01.2015
Disable the anti-cheat when the player enters an interior or ammunation.
Like :
PHP код:
if(GetPlayerInterior(playerid)==(ammunationid)) return 1;