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=356125)



Money bug - Dasine94 - 02.07.2012

I'm using American Dream Roleplay GM, always when i register, or when i get in, i get alot of money, and it just goes up more and more, i deleted many of Safegiveplayermoney, but it still goes, in bank i have 5mil.
if someone knows whats happening please help me, thanks


Re: Money bug - Ricop522 - 02.07.2012

Check if there is any timer giving money to him or an ant money hack


Re: Money bug - Gogeta - 02.07.2012

someone rub u idk about those


Re: Money bug - ReneG - 02.07.2012

Make sure the variable is resetting OnPlayerConnect.

Example:

Player A logs in with $2000 and has ID 0.
PlayerInfo[0][pCash] is then = to 2000.
Player A leaves.
Player B logs in with ID 0.
He is then given whatever PlayerInfo[0][pCash] was
PLUS what money he has, depending on the script.