Posts: 158
Threads: 5
Joined: Oct 2008
Reputation:
0
you mean, like, inflation?
you could make a timer, which raises a variable, let's say "inflation", by some percentage daily (let's say 0.5% a day).
Then on payday you just add the value of "inflation" to the payday.
Posts: 25
Threads: 5
Joined: Mar 2009
Reputation:
0
No, by inflation I mean, more money on payday, I know how to make stuff cost more, and how to set peoples bank accounts, I just don't know how to make them get more money on payday, say like $2500 dollars when there level 1 and just make it keep raising as they get a higher level
Posts: 603
Threads: 12
Joined: Sep 2007
Reputation:
0
As I am assuming this is a Godfather edit, or an edit of a script based off Godfather, you will need to edit the values given to the players info "pPayCheck" on the PlayerInfo enum, this is where the amount increases, at default Godfather I think it increases at a timer, you could higher this timer. If that does not lower it enough to what you would like, just remove that part of the timer, and make a random() function before the paytime is called using the "pPayCheck" value being edited, and the rest will be displayed on the normal paycheck text.
EDIT
I think Godfather also gives money based on the players level. I remember looking over that a long time back.
Posts: 16
Threads: 1
Joined: Oct 2008
Reputation:
0
You'll have a code similar to GivePlayerMoney(playerid, money);
Change money to strval(money);