SA-MP Forums Archive
Little Question (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: Little Question (Money) (/showthread.php?tid=140588)



Little Question (Money) - jocki - 09.04.2010

Heello,

I want to make a Roleplay Server. And need help.

1.
When someone comes on my Roleplay server. He/she has no money.
How can I do it like this?

- Player gets 3000$ only 1 time when they have registed (not every spawn)

2.
I need a good PayDay system with Level an Respectpoints.
That a player gets payday every hour
So when the player has lvl 1 - 1000$ (per hour)
when player has lvl 2 - 2000$
when player has lvl 3 - 3000$
and so on....

Can some1 explain that pls? or is there any toutorial?

Sorry baaaaaad english

hope 4 answ3rs


Re: Little Question (Money) - RSX - 09.04.2010

First one is easy, OnPlayerRegister try adding GivePlayerMoney it would work if after register there is autologin and stuff, if without an auto login, try setting variable for money 3000, if it you're successful then it would show up as read out from db or files, if I understand your system good enough, this is it.


Re: Little Question (Money) - jocki - 09.04.2010

And What about number 2?

And what about making sth. like this?

=====/PayDay/=====
Pay: 1000$
Taxes: -150$
Respectpoint: +1 (2/
Level 1
Others: -100$
=================
Earnings: 750$
=================


Can Some1 explayn or give a toutorial?



Re: Little Question (Money) - Steven82 - 10.04.2010

Just use search there are some simple payday scripting help's and fixes in here, just use those.