Raised This Month: $51 Target: $400
 12% 

Weapon Menu Creator [ V 1.0 ]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
RaZ_HU
Senior Member
Join Date: May 2015
Location: Hungary
Old 12-28-2019 , 10:53   Re: Weapon Menu Creator [ V 1.0 ]
Reply With Quote #36

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
Attached Files
File Type: sma Get Plugin or Get Source (WeaponsMenuCreator.sma - 232 views - 11.7 KB)

Last edited by RaZ_HU; 12-28-2019 at 11:49. Reason: Thigpack fix
RaZ_HU is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode