Buy Unflash
1 Attachment(s)
Buyunflash.amxx
About If a player gets flashed he may press the IN_USE key and if he has enough money he will be unflashed and the money will be subtracted. If the player presses the use key and they are not flashed then the plugin will do nothing. Commands Press +IN_USE (default 'e') - Buy unflash CVars amx_buyunflash (default 1) - toggle on and off amx_unflashprice (default 4000) - price for unflashing Modules #include <amxmodx> #include <fakemeta> Versions 1.1 - Used suggestions by arkshine |
Re: Buy Unflash
- Since you're using fakemeta, you can use it to get/set user money, so no more need cstrike module.
Something like :- Optimization. Use formatex() instead of format(). - It's ugly to use an array for pvars. If you like this way, at least you should using an enum for a better readability. Something like:
|
Re: Buy Unflash
Maybe it would be better if you had the user bind it to another command instead of setting it to the use key. I wouldn't want to be pressing something and finding out I'm losing money. And a couple HUD/client_print's wouldn't be that bad either.
|
Re: Buy Unflash
thanks arkshine
Quote:
|
Re: Buy Unflash
Quote:
|
Re: Buy Unflash
Yea, this sounds pretty intense. Perhaps add the ability to pay a little bit more beforehand, but it prevents you from being flashed at all. Maybe even pay more but you can't be flashed all round. Just some ideas, tell me what you think.
|
Re: Buy Unflash
Quote:
Hm now that I think of it, this is pretty close to: http://forums.alliedmods.net/showthread.php?p=188147 http://forums.alliedmods.net/showthread.php?p=7802 |
Re: Buy Unflash
I suppose they are pretty similar. However, if you keep it as it is, it still varies a good amount from the others.
|
Re: Buy Unflash
This is nice :D. But do you know what would piss off the players on my server? If you made this plugin for admins only.
|
Re: Buy Unflash
That is because admin-only should only be used to administrate the server. Any other way can easily lead to abuse of a plugin by an admin. However, this is not an admin-only plugin and if anyone sets it to admin-only, they are a joke.
|
Re: Buy Unflash
Pretty much already done, also there's problems when auto-binding an often used key such as use. Unapproved.
|
| All times are GMT -4. The time now is 20:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.