How do I change the money that players should start with a server - 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: How do I change the money that players should start with a server (
/showthread.php?tid=397567)
How do I change the money that players should start with a server -
SssSssSss - 05.12.2012
How do I change the money that players should start with a server
Re: How do I change the money that players should start with a server -
Infinity90 - 05.12.2012
What saving system / register system are you using?
Re: How do I change the money that players should start with a server -
Lz - 05.12.2012
If you have no saving system then use..
pawn Код:
// After OnPlayerConnect
GivePlayerMoney(playerid, Amount);
Or if you have a saving system, put this just after the player has registered
pawn Код:
GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
Note: You variables will probably be different so you can just simply edit it too them