[Release] Gun Menu 1.61

DarkMaster

Administrator
Staff member
Joined
Apr 8, 2008
Messages
2,465
Reaction score
11,169
Gun Menu

Description
This plugin shows a equip menu every time you spawn.
You can easy change names,Orders and even add prices by file.
You can add/remove guns by cvars that will take effect directly after change.
1.47
Version
1.61

History
1.00: Release
1.10: Knife,C4 Fixed and added cvar for team.
1.20: Fixed Pistol Bug in Menu
1.30: Added rebuy option and upgraded it to fakemeta
1.40: Fixed rebuy bug, Added cvar for time and optimized code.
1.42: Minor bug fixed
1.47: Imported stocks so the webcompiler works
1.54: Costum names and prices by file and ofc bug fixes.
1.58: Costum Orders and more.
1.60: Fixed menu bug,when the menu opens when it already is.
1.61:Added Rebuy forever item
installation
Download Gun_Menu.amxx by pressing the get plugin button.
Put Gun_Menu.amxx in your plugins folder.
Download Gun_Menu.ini and put it in your config folder.
Add Gun_Menu.amxx in your plugins.ini that is located in your config folder.
Gun_Menu.ini
Feel free to change names and prices in the gun_menu.ini
To remove cost set the price to 0
If you got spaces in the name use "name"
Don't remove whole lines you can swap them but no removing.
Cvars
gunmenu 0/1/2/3/4 Shows menu on spawn
0: off 1:T Only 2:Ct Only 3:Spectate Only 4:All
gunmenu_time 2.0
The time before menu is shown after spawn.
2.0 is default, lower might crash or lagg server
gunmenu_name 1/0
replace name to eny item name frome menu to enable or disable it frome showing on the menu.
Require
AMXX 1.70+ because of the new menu system
Module: Fakemeta
Why
Becase the only good working Gun Menu is to csdm.
Coming
Code optimization maybe.

Credits: fxfighterhttp://forums.alliedmods.net/member.php?u=25100
 

Attachments

  • Gun Menu.rar
    18.3 KB · Views: 10
  • Like
Reactions: dragonbs