OnPlayerSpawn = GivePlayerMoney - 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: OnPlayerSpawn = GivePlayerMoney (
/showthread.php?tid=463755)
OnPlayerSpawn = GivePlayerMoney -
Beckett - 13.09.2013
------
Re: OnPlayerSpawn = GivePlayerMoney -
DanishHaq - 13.09.2013
Quote:
Originally Posted by DaniceMcHarley
Well I've faced an issue since I've fixed a bug in my userfiles system, I've faced an issue it's when you DIE, you'll get the money in your files, which means your cash will be double, is there any way to fix this issue?
Ty.
|
pawn Код:
ResetPlayerMoney(playerid);
Put this before the GivePlayerMoney.
Re: OnPlayerSpawn = GivePlayerMoney -
Beckett - 13.09.2013
Quote:
Originally Posted by DanishHaq
pawn Код:
ResetPlayerMoney(playerid);
Put this before the GivePlayerMoney.
|
Works, appreciated mate.