[Include] [INC] MoneyControl
#1

[INC] MoneyControl
This include simply replace the normal money functions, simply include it and add core_MoneyInit under OnFilterScriptInit/OnGameModeInit and will work perfectly, i also added a SetPlayerMoney function and AdjustPlayerMoney which set the player's in-game money to his server side amount.
The advantage in using this include si very simple, you can include it in multiples scripts (gm as well as fs) and they will share the information, so money added in another script doesn't cause any trouble to the function of a money control system...

DOWNLOAD:
V 1.2 (highly recommended):

V 1.1:


Thanks:

I would like to thank Cristab and MrFredo for their suggestion and inspiration

LOG
V1.2:
Reviewed information sharing method.

V1.1:
Added AdjustPlayerMoney

V1.0:
Original release

comments are appreciated, please keep the credits

++Sim++
Reply
#2

Very nice.I tested it and looks great.Thanks
Reply
#3

Nice
Reply
#4

Nice.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)