Raised This Month: $ Target: $400
 0% 

CSDM Style Gun Menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-19-2011 , 02:57   CSDM Style Gun Menu
Reply With Quote #1

CSDM Style Gun Menu
Version 0.0.9


Description:
For cz bot support Click Here. This was a request from Apollyon.
  • Simple gun menu with CSDM like options
  • Full Load-Out capability
  • Blocks Buyzones
  • Fully Customizable.
  • Options for unlimited ammo, Grenades, NVG's, armor.
  • Option to block Weapon Drops (Users cant use client command "drop")
  • Customizable Weapons list for Primary and Secondary weapons
  • Defuse Kits on bomb Maps
  • Optional strip (keep or remove the bomb)
  • Customizable Menu Titles

Installation:
  • Place the .txt files into addons/amxmodx/configs folder
  • Place the .amxx into addons/amxmodx/plugins folder
  • Add CSDM_Style_Gun_Menu.amxx to the bottom of your plugins.ini
  • Load the game up and play with the menu.
Cvars:
  • wm_mainmenutitle <Weapons Menu> - Main Menu Title
  • wm_primenutitle <Primary Weapons> - Primary Weapon Title
  • wm_secmenutitle <Secondary Weapons> - Secondary Weapon Title
  • amx_prefix_name <WM> - Chat Prefix (Plugin text)
  • wm_switch <1> - Turns plugin on and off. 0 = off
  • wm_blockdrop <1> - Blocks weapon drop. 0 = off
  • wm_henade <1> - Give HE nade? 0 = off
  • wm_flash <2> - Give Flash? 0 = off (number = amount given)
  • wm_smoke <1> - Give Smoke? 0 = off (number = amount given)
  • wm_armor <100> - Armor Amount. 100 = Vest Helm 100 value
  • wm_nvg <1> - Give NVGs? 0 = off
  • wm_unlimitedammo <1> - Unlimited Ammo? 0 = off
  • wm_stripmode <1> - Strip Mode. 1 = Strip and keep bomb. 2 = Strip everything including bomb.
  • wm_teammode <0> - Team For Gun Menu. 0 = Both, 1 = T Only, 2 = CT Only.
  • wm_fastswitch <1> - Fast switch on grenade throw 1 = switch to previous weapon 0 = dont switch
  • wm_czbotsupport <0> - CZ Bot Support (Requires Rage Module) 1 = cz support 0 = none
Commands:
  • amx_teammode <value> - The value to set the team. 0 = both teams get menu. 1 = T only. 2 = CT only
  • wmadminmenu- brings up the admin menu for the plugin (reuqires ADMIN_RCON)
  • say wmadmin - brings up the admin menu for the plugin (reuqires ADMIN_RCON)

Client Commands: Can be used in say and say_team
  • /guns, guns - Re-enables Gun Menu
Credits:
  • CSDM Dev Team - CSDM Gun Menu.
  • Connor - Fixing my buy zone blocker
  • Emp`- Array*String instead of Array*Array
Note: To alter the weapons list view the "DM_WeaponOrder.ini". Simply add a ';' in front of the line to disable that weapon. More detailed instructions located at the top of the file.

Weapon names are not case or space sensitive. However it needs to match the 'weapon_' name.
For Example:
weapon_glock18

the text in file can be written any of the following ways
Glock 18, GLOCK 18, glock 18, GlOcK 18, G l O c K 1 8

Change log:
0.0.1
First Beta Release
0.0.2
Bug Fixes:
  • Bomb defusers given to T's
  • Logic Errors
Removed dual file weapons list.
0.0.3
Minor bug fixes
Added a ton of comments.
0.0.4
Added Setting to allow you to select which team.
Small Bug fix.
0.0.5
Fixed bug for team specific menu/buyzone block. Thanks to conor.
Small Bug fixes.
Removed the green shopping cart when you don't have a buyzone.
Added a command to change the team that gets the menu. (restarts the round for you)
Now supports multiple he grenades.
0.0.6
[SIZE=2]Now has a menu to change the team that gets the menu also.
Once you are done selecting the team T,CT, or both. you must select the option Save and Exit.
0.0.7
New Cvar added check above.
Fixed runtime error for give_item

0.0.8
Fixed bot support. If you want to use this with cz bots. it requires the rage module and this rage addon
0.0.9
Fixed Linux Support
Added a cvar: wm_czbotsupport <Default: 0>
Attached Files
File Type: ini DM_WeaponOrder.ini (377 Bytes, 5732 views)
File Type: sma Get Plugin or Get Source (CSDM_Style_Gun_Menu.sma - 7991 views - 21.2 KB)

Last edited by Doc-Holiday; 03-03-2013 at 21:07. Reason: Update 0.0.9
Doc-Holiday is offline
 


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:00.


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