If I may I attach a modified sma.
Changes I made in the code:
- Version changed to 1.01
- If the Restrict Weapons plugin is running then block buy except equipment and ammo
~New cvar for feature above: block_defaultbuy 1 (defaults to 1) (needs map change to be active again if turned off)
~~Requirement: restmenu.amxx needs to be running
- Added missing 'return' if the player has less money than required
- If the player has bought a primary and doesn't have enough money for a Secondary then it will open the Secondary menu again, not the Primary
- Team restriction now prints more detailed message
- The plugin now really pauses itself if the cvar's value is 3
- If the player is a T and has C4 drop it before equipment gets stripped
- Add back defuse kit if player is CT and had it before strip
- Command is hidden from chat when used
- Skip bots at spawn
- oops, forgot to set back userHadDefkit to false, just did it.
Your old (version 1.0) weapons_menu_creator.ini is compatible with this version.
Tested with AMXX 1.10.5388.
Both positive and negative feedback are welcome