View Single Post
HelllBoy
Member
Join Date: Aug 2006
Location: Romania
Old 11-06-2006 , 05:23   Re: Restrict weapons for certain maps
Reply With Quote #14

dont work i`m gona crazy my mind

the cgf dont want to execute , i make a directory in addons\amxmodx\configs called maps , and i put a cfg file named awp_india.cfg . in awp_india.cfg i write csdm_reload "csdm\extraconfigs\items_awp_india.cfg"

now in addons\amxmodx\configs\csdm\extraconfigs i create a file cfg items_awp_india.cfg and i write :

;Equip Menu flags:
; p - primary
; s - secondary
; a - armor
; g - grenade
; b - buy
menus = p

;Autoitem flags:
; a - armor
; h - helmet
; g - grenades
; d - defusekit (CTs only!)
; n - nightvision
autoitems = ahg

;Grenade flags:
; f - flashbang
; h - he grenade
; s - smoke grenade
grenades = h

;Sets number of flashbangs given if
; grenades are enabled
fnadesnum = 0

;;;;;;;;;;;;;;;;
;;WEAPON MENUS;;
;;;;;;;;;;;;;;;;

;Format for weapon menus is:
;shortname "Display Name" menupage
;Change the '1' to a '0' to block the weapon
;Removing or moving things
; from the list will change the order of the menus!

[secondary]
usp USP 1
glock18 Glock 1
deagle Deagle 1
p228 P228 0
elite Elite 0
fiveseven "Five Seven" 0

[primary]
m4a1 M4A1 0
ak47 AK47 0
aug AUG 0
sg552 SG552 0
galil Galil 0
famas Famas 0
scout Scout 0
awp AWP 1
sg550 SG550 0
m249 M249 0
g3sg1 G3SG1 0
ump45 "UMP 45" 0
mp5navy "MP5 Navy" 0
m3 M3 0
xm1014 XM1014 0
tmp TMP 0
mac10 "Mac 10" 0
p90 P90 0

;List weapons here the bots can randomly have
;The short name must match one in the list above
[botsecondary]
usp
glock
deagle

[botprimary]
awp


what is wrong

Last edited by HelllBoy; 11-06-2006 at 05:34.
HelllBoy is offline