Raised This Month: $222 Target: $400
 55% 

Weapon Menu Creator [ V 1.0 ]


Post New Thread Reply   
 
Thread Tools Display Modes
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 #51

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 - 104 views - 11.7 KB)

Last edited by RaZ_HU; 12-28-2019 at 11:49. Reason: Thigpack fix
RaZ_HU is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-28-2019 , 12:19   Re: Weapon Menu Creator [ V 1.0 ]
Reply With Quote #52

Thanks!

I wanted for a looong time ago to fix this mess, but I just can't find time/motivation. Let's hope I can fix it this year.
__________________
HamletEagle is offline
rrduna
Member
Join Date: Nov 2010
Location: Brazil
Old 04-24-2020 , 10:45   Re: Weapon Menu Creator [ V 1.0 ]
Reply With Quote #53

I can't find the latest version of the plugin
rrduna is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-24-2020 , 14:06   Re: Weapon Menu Creator [ V 1.0 ]
Reply With Quote #54

Quote:
Originally Posted by rrduna View Post
I can't find the latest version of the plugin
What's wrong with the download button in the first post?
__________________


Dear admins. If somehow you managed to read this, plz fix.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 06-10-2020 , 10:44   Re: Weapon Menu Creator [ V 1.0 ]
Reply With Quote #55

Quote:
Originally Posted by HamletEagle View Post
Thanks!

I wanted for a looong time ago to fix this mess, but I just can't find time/motivation. Let's hope I can fix it this year.
Waiting on the edition you managed to get the colors in the menu 👀
__________________

Home of the AMX SUPER
DruGzOG is offline
Send a message via AIM to DruGzOG
Reply


Thread Tools
Display Modes

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 07:14.


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