Page 1 of 1

More money than 16000 2.0 (2/1/08)

Posted: Mon Nov 22, 2021 5:52 pm
by greenie
This plugin basicly lets your max money go OVER 16000

Cvars:
amx_maxmoney set the max amount of money that a player can have ( Default: 99999)
amx_startmoney use this instead of mp_startmoney ( Default: 800 )

Commands:
amx_setmoney ADMIN_LEVEL_A (@team - @all - nickname) (amount) to set money for a player
(Don't use other setmoney plugins this can work strange)
Version 1.0: First port

Version 1.1: Fixed sv_restartround money bug.
Version 1.1.1: Fixed long sv_restartround bug.

Version 1.2: added pcvar for amxx 1.70 or higher.

Version 1.3: Currect display (+ -)money at any time.
(old version alway display +money when the money above MONEY_TIER.)
Fixed when amx_startmoney setup above 16000, sv_restartround the start money, Thanks jopmako

Version 2.0: Made compatible with most other plugins.
I think this should work for cz too, please post if does/doesnt.
AmxModX 1.70 and above.

Have fun using this plugin!

HOWTO MAKE OTHER PLUGINS COMPATIBLE WITH THIS PLUGIN (Do Not edit unlimited_money.sma):
1. Set up a local compiler (might be already set up at amxmodx/scripting)
2. go to the /include folder and put money_ul.inc posted below into it.
3. Open the plugin you want to make compatible with it (The .sma file) with any text editor
4. find #include <amxmodx>
5. UNDER #include <amxmodx> make a new line and put #include <money_ul> there
6. Replace all cs_set_user_money with cs_set_user_money_ul
7. Replace all cs_get_user_money with cs_get_user_money_ul
8. Run compile.exe wait a minute and the pluginname.amxx should come out in the /compiled map if there are no errors.

NOTE: DO NOT EDIT THIS PLUGIN IF YOU WANT TO MAKE IT COMPATIBLE. YOU HAVE TO EDIT ALL OTHER PLUGINS THAT WORK WITH MONEY
Yes, I got PM'ed two times with this problem.

This will work with +- 90% of the plugins.

plugin
source