More money than 16000 2.0 (2/1/08)
3 Attachment(s)
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) Changelog: Code:
Version 1.0: First portAmxModX 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. Good luck. |
Hasn't this been made?
|
yes! i always wanted this, but i never thought someone would make it
|
is there a max amount, like could to much crash or lag the server.
whats the most that can be shown in the money display |
I never tryed anything above 99999 i think thats the limit too
If it goes above 99999 it doesnt even fit on client's screen :D |
This doesn't work flawlessly just read the posts on it's original forums.
|
not to say theres anything wrong with the plugin, but
http://forums.alliedmods.net/showthread.php?p=158105 works fine. "flawlessly". |
Quote:
gj! ;) |
Ok, i found a bug,
When useing sv_restartround it keeps the money. So i need a event that registers a new game Can any1 give it to me? |
Hmm.. the only thing i can think about is checking if sv_restart(round) changed in server_frame(). That's not an effective way, but may work until you found anything else.
|
Code:
|
Found already and updated
|
Well, anyway i recommend pay attention to that example. It's better because it catches exact new game event but not "Game will restart in..." text message. Let's say you set sv_restartround to 60. With your way i'll get money change before actual new game. So if you care about correct way than pay attention. In other case don't worry.
|
Gonna update it.
EDIT: Done. |
nice plugin :D
THX |
Found a bug. buyxp doesn't work. I played untill I got $100.000 then wrote buyxp. I bought xp but the money didn't change. it was still $100000. And if i wrote buyxp again it says that i need another $16.000 to buy xp.
|
yeah,
it would be nice if you could add wc3-mod support. |
Tryed to fix already
The actual money you have is 8000 but if i make it 16000 i cant track it anymore, so you have to live with it. |
awesome plugin this is way better than giving 16k over and over again less reconnects also... I love the idea/plugin and plan on using it.
|
Code:
//// unlimited_money.sma |
Quote:
|
problem solved
|
:/
You use the amxx 1.60 compiler. This plugin is for amxx 1.70 Edit: Ah i see u have solved it. |
Yah the pcvar is only in 1.70 and above :)
|
Yep. posted it in my old server folder :oops:
|
Re: More money than 16000 Version 1.2!
nice plugin, gonna try it now :)
|
Re: More money than 16000 Version 1.2!
Im new here.. This sound awesome, and i have downloaded it and so.. But where do i have to place the file?
|
Re: More money than 16000 Version 1.2!
1 Attachment(s)
nice plugin
i make a little change for it: update to 1.3 Code:
1, currect display (+ -)money at any time. |
Re: More money than 16000 Version 1.2!
Imma test it tomorow, and imma add pcvar as well
Edit: already done :P, im gonna update it Thanks for the good work. +karma him guys! Me too btw :) |
Re: More money than 16000 1.3 ( 31/8/06 )
wow very cool
im very glad that u can fix the bug thx a lot btw i m from china my English not very good |
Re: More money than 16000 1.3 ( 31/8/06 )
Nice, but i'll use GHW_Cronic's CS bank. Anyway, +karma for both of you!
|
Re: More money than 16000 1.3 ( 31/8/06 )
I thought to try this one too, but it shows me only 8000$ in hud. After round starts, when you are suposed to get ~2000$, it stays 8000. What's the problem?
|
Re: More money than 16000 1.3 ( 31/8/06 )
I don't seem to have the problem, did you change anything in the plugin, update to amxx 1.76b, try to reinstall the plugin, i cant find anything to cause this.
|
Re: More money than 16000 1.3 ( 31/8/06 )
it doesnt work in my server it does not identify the plugin when i write amx_plgins it sayas unknown plugin and bad load
|
Re: More money than 16000 1.3 ( 31/8/06 )
Working perfectly here. Thank you!
|
Re: More money than 16000 1.3 ( 31/8/06 )
3 Attachment(s)
Now, this problem should be placed in the scripting help forum right now... but i'll post it here. I modified GHW simple bank so it would begin saving money over 50000, but it's this one that doesn't display over 8000. When I buy a weapon, I have 8000 before & after I buy it. I noticed above the money display (that -xxxx when you buy), something like -60000:shock:. I also use last man bet plugin, but I don't think it has anything to do with it.
Note: I think I modified only amx_startmoney cvar to 50000 in the plugin. |
Re: More money than 16000 1.3 ( 31/8/06 )
This is about the max money going above 16k right? Does the plugin include inside the amxx command of giving money to players. E.g. amx_money @CT 99999 for admin giving fellow players money?
|
Re: More money than 16000 1.3 ( 31/8/06 )
Quote:
|
Re: More money than 16000 1.3 ( 31/8/06 )
Ok, sorry about that . I didn't read thoroughly just scanning through lolx. Oh by the way the money i tested it out is cool but is there any access flag like a , b , c , d , e for it ??? Because some admins of my server I am giving access to them.
|
Re: More money than 16000 1.3 ( 31/8/06 )
You need ADMIN_LEVEL_A i added it in the first post.
|
| All times are GMT -4. The time now is 08:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.