SA-MP Forums Archive
how do you set starting 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: how do you set starting money (/showthread.php?tid=222592)



how do you set starting money - David_Nottz - 07.02.2011

im kinda new to scripting and im wondering how to give player money when they register, and how to save the money.
for example if i use GivePlayerMoney(playerid, 10000); it will give them 10k and when they spawn again it will give them another 10k so 20k all together


Re: how do you set starting money - Ironboy500[TW] - 07.02.2011

I recommend you start of with simple register / login system. You will find more details there.


Re: how do you set starting money - David_Nottz - 07.02.2011

i already have a register / system


Re: how do you set starting money - DVDK - 07.02.2011

Quote:
Originally Posted by David_Nottz
Посмотреть сообщение
i already have a register / system
Well very simple, add GivePlayerMoney on /register or whatever you have.


Re: how do you set starting money - Voldemort - 07.02.2011

Make new value which saves player money on /q and sets on login