Posts: 721
Threads: 58
Joined: Sep 2009
Reputation:
0
Iv'e been searching forever around the forums on how to sync the Mod Garages with server sided money to make it actually take money from you, but have no luck. Does anybody know if it's possible, and if so, how?
Thank you.
Posts: 434
Threads: 19
Joined: Aug 2011
Reputation:
0
Well, think about it like this.
You have a mod garage that's designed to subtract money from the moneybar
That mod garage is inside it's own interior
So why not just include a section in your code that's only applicable in the Mod garage int that will store the amount of money you have when you enter the int, and then sync with the moneybar after you leave?
i can write you a demo code - i'll have to look up the ints n stuff
Posts: 434
Threads: 19
Joined: Aug 2011
Reputation:
0
No mate, you add a special return clause that states if the player is in a certain interior, and the money bar money does not rise above the scripted money, that changes are permitted.
Did you write your script yourself?