AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   CSDM (https://forums.alliedmods.net/forumdisplay.php?f=87)
-   -   Csdm weapon menu. (https://forums.alliedmods.net/showthread.php?t=94611)

lvBiit 06-13-2009 06:27

Csdm weapon menu.
 
Hi.
I' ve searching some info but didn't find.
Problem - how to disable weapon menu?
Turn off csdm_equip i can't becusz helmet and vest is necessary..
I tried look at .sma file

Code:

//Menus
new g_SecMenu[] = "CSDM: Secondary Weapons"        // Menu Name
new g_SecMenuID = -1                            // Menu ID
new g_cSecondary                                // Menu Callback               
new bool:g_mSecStatus = false                    // Menu Available?

This disable only submenu.. :|

So if someone knows how to do that - plz write :)

C.H.U.D. 06-13-2009 11:15

Re: Csdm weapon menu.
 
If you want it off permanently, in your configs/plugins-csdm.ini file change this
csdm_equip.amxx
to this
;csdm_equip.amxx

If you want it by map then you will have to create a maps folder inside your configs folder.
then create an ini file like lets say "plugins-de_dust.ini"
in there you will put the line
csdm_equip.amxx disabled
Now every time de_dust loads the weapons menu will not show up.

Also look at your csdm.cfg file in your configs folder. Look at this section
;You must be running the equip plugin for these sections
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[equip]
;Equip Menu flags:
; p - primary
; s - secondary
; a - armor
; g - grenade
; b - buy
menus = psag
;Autoitem flags:
; a - armor
; h - helmet
; g - grenades
; d - defusekit (CTs only!)
; n - nightvision
autoitems = ah
;Grenade flags:
; f - flashbang
; h - he grenade
; s - smoke grenade
grenades = hs

lvBiit 06-13-2009 14:07

Re: Csdm weapon menu.
 
Turn off csdm_equip i can't becusz helmet and vest is necessary..

The only way is change .sma file... But i don't know what i need to change..:|

Submenus i disabled changing >

Code:

new bool:g_mSecStatus = true                    // Menu Available?
to this >

Code:

new bool:g_mSecStatus = false                    // Menu Available?

KWo 06-13-2009 16:57

Re: Csdm weapon menu.
 
Change this:
Quote:

Originally Posted by C.H.U.D. (Post 848022)
Also look at your csdm.cfg file in your configs folder. Look at this section
;You must be running the equip plugin for these sections
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[equip]
;Equip Menu flags:
; p - primary
; s - secondary
; a - armor
; g - grenade
; b - buy
menus = psag

To this:
menus = a
(no primary, no secondary, no nades - only armor/helmet).
Also Yu may need to edit this:
Quote:

Originally Posted by C.H.U.D. (Post 848022)
;Autoitem flags:
; a - armor
; h - helmet
; g - grenades
; d - defusekit (CTs only!)
; n - nightvision
autoitems = ah

to
autoitems = a

lvBiit 06-14-2009 04:38

Re: Csdm weapon menu.
 
Auto items i have ok..
But still no answer - how to disable weapon menu..?
I need something like this - fy_ maps and only use weapons on ground + auto armor and bullets and respawn.. :)
So if weapons is avalaible no weapon menu is needed..

C.H.U.D. 06-14-2009 10:37

Re: Csdm weapon menu.
 
Quote:

Originally Posted by lvBiit (Post 848630)
Auto items i have ok..
But still no answer - how to disable weapon menu..?
I need something like this - fy_ maps and only use weapons on ground + auto armor and bullets and respawn.. :)
So if weapons is avalaible no weapon menu is needed..

You do know that the weapons on the ground don't respawn until the round restarts right? In other words eventually there will be no weapons at all

lvBiit 06-14-2009 11:46

Re: Csdm weapon menu.
 
I found how that equip menu isn't show at game, but still a new problem.. Autoitems gives only if push menu's one of choices! No menu - no autoitems... ;/


All times are GMT -4. The time now is 20:33.

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