SA-MP Forums Archive
Duplication money ;/ - 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: Duplication money ;/ (/showthread.php?tid=357841)



Duplication money ;/ - BleverCastard - 08.07.2012

Hello,
Whenever you leave and join your money duplicates, same goes with if you are jailed for something..


Help?


Re: Duplication money ;/ - lelemaster - 08.07.2012

In OnPlayerSpawn, reset the player money to 0 and then GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);

I hope I fixed your bug
PS: I had it either.


Re: Duplication money ;/ - BleverCastard - 08.07.2012

But if you /saveall characters and also DC and join back, you still have double.(and its saved in your stats).