Re: Restrict weapons for certain maps
hmm i can`t restrict weapons in csdm for certain maps
ex: i want to play a map just with pistols or play awp_india just with awp i try but dont work pls help me somebody |
Re: Restrict weapons for certain maps
pls edit for me a cfg with all that are included and help me to activate
|
Re: Restrict weapons for certain maps
Quote:
Quote:
1. You need to create a folder called "maps" in addons\amxmodx\configs\ 2. You need to create the file for Your specyfic map - for example cs_india.cfg and place it in the folder created as above (in point 1). 3. In that file You should write csdm_reload "csdm\extraconfigs\items_cs_india.cfg" 4. You need to create the file items_cs_india.cfg and place it in addons\amxmodx\configs\csdm\extraconfigs folder. 5. The file items_cs_india.cfg should contain only the differences to Your csdm.cfg with all differenties You need especially for cs_india map. In Your case You wanted awp only (so I consider no nades, no pistols and no armor) - it should look so: Quote:
If it works I can ask BAILOPAN to make this topic as sticky. |
Re: Restrict weapons for certain maps
dont work :nono: i`m gona crazy my mind :cry:
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 |
Re: Restrict weapons for certain maps
and ai have a new problems
why my admins can edit spawns how can i restict that acces i want only me or only with RCON acces to can edit spawns P.S. that guy dont have admin with amx he have just 9 comand when check amx_help but have moderator in adminmod |
Re: Restrict weapons for certain maps
About the item map specyfic configuration - I have to check my-self it first to tell You what might be wrong.
About Your second question - there is ADMIN_MAP check for availability that menu. I may add also the check for command execution of showing that menu if the user has sufficent access rights, but it might be some interference with Adminmod - need ask Bailopan. Show me Your users.ini - just change only the passwords while posting for Your safety. |
Re: Restrict weapons for certain maps
Everything I wrote You was correct. It works, but You need some fixed sma. :D
There was a bug in csdm_main.sma - with only 32 character it was impossible to load correctly any map specyfic file (because even the standard path - csdm\extraconfigs\ - takes about 19 characters - if Your map specyfic file is longer than 13 characters (items_cs_india.cfg takes 18 charecters) it couldn't work. Try that sma in the attachement. NOTE - THIS FILE IS A BETA - IT'S NOT OFFICIALLY SUPPORTED BY CSDM DEV TEAM. You can use it only for Your tests until the fix is officially approved by CSDM Dev team / original plugin's author. If You don't want to use this beta sma You can try to work with the officially released in 2.1 csdm_main.sma but You need to make shorter the path and the filename to don't exceed 32 characters for path+filename. That beta at least works for me - I 've changed only that length of the path/filename to 127 charecters... :) [EDIT] Instead the only one csdm_main.sma file I posted here use the whole beta I posted here. |
Re: Restrict weapons for certain maps
i give up for now ... maybe in the future you make more easy restriction something like this :
every map i want just write in console : amx_restrict ak47 amx_restrict m4a1 etc after that amx_restrict save or csdm_restrict ak47 csdm_restrict m4a1 csdm_restrict save i think is the best way |
Re: Restrict weapons for certain maps
Quote:
Yes - there is restrictions system in CSDM (You need to read csd,cfg file) - but... anyway You need to load map specyfic file to get it working on the specyfic maps You need. :) |
Re: Restrict weapons for certain maps
man you are a good guy , pls help me and compile me that sma form me , now my server i belive is the best from romania , we try hard to make good server with low resurse , i have a server with 30 slots and is 1000% full .
i want so hard to play big map like cbble just with pislols and i hope to can help me |
All times are GMT -4. The time now is 05:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.