amx_adminmoney.amxx
Hey guys, I tried to make a plugin, when I noticed that I suck at coding, so I want to ask you guys if you guys can make one for me? :]
Well, the plugin's kind of simple, the plugin does a check for the flag "ADMIN_SLAY", and if that's assigned with the person, then admins always get 2x, 3x, 4x, etc.. more money. (Please make it so that the 2x, 3x, etc is configurable with a CVAR, like amx_adminmoney 1|2|3|, etc.) So if it's set to something more than 1, then it's active, automatically. So 2 = 2x more money for admins, 3 = 3x more money for admins, etc.. If this can be made, I think it may be in like amx_super or something. Lawl. Thanks guys. |
Re: amx_adminmoney.amxx
Try this :
PHP Code:
|
Re: amx_adminmoney.amxx
I think he wants a money multiplier though so you could change it to something like
PHP Code:
|
Re: amx_adminmoney.amxx
Quote:
If cvar = 2, if your money is 4000 and your team win 1000, you will win 2000 (now). Quote:
|
Re: amx_adminmoney.amxx
Quote:
Quote:
Is there a guide anywhere for all the offsets? |
Re: amx_adminmoney.amxx
|
Re: amx_adminmoney.amxx
Very good, thanks. 8)
|
Re: amx_adminmoney.amxx
Thanks, but is there a way you can give me a plugin with the cvar?
|
| All times are GMT -4. The time now is 03:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.