Version 2.2.1 Released!
This update has been needed for a very long time, but as I didn't have a server that required the functionality, I had no reason to work on it
. With that being said, it's finally been updated to resolve all prior issues.
- Removed dependency for SDKHooks; replaced with the usage of a gamedata file, as well as functionality to run should the gamedata be incorrect or missing.
- Correctly limits the number of grenades, smokes, and flashbangs player can use.
- Hooks the "buy", "rebuy" and "autobuy" command to prevent bypassing the script to purchase extra grenades.
- Integrated further into YouzAMenace's Weapon Restriction plugin to provide nice restriction messages.
- Redefined all cvars and cleaned up their descriptions.
- Updated detection methods to ensure it only counts grenades players purchase inside of a buyzone, rather grenades/flashes/smokes they pick up inside of the buyzone.
- Prevented purchasing of extra grenades/flashes/smokes if the maximum had been reached.
- With the gamedata loaded, excess grenades/flashes/smokes will be dropped rather than removed; without the gamedata, excess items will simply be removed.
- Optimized code. Did other stuff. Can't remember what else. But update to this version dammit.
@
CRNOGORAC, while I doubt you still use this plugin, your issue has been resolved.
__________________