Raised This Month: $12 Target: $400
 3% 

Solved request help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cosminvl
Member
Join Date: Mar 2013
Location: Romania
Old 05-01-2019 , 13:27   request help
Reply With Quote #1

how can restrict wepons on awp map CSDM mod?
Thanks
__________________



Last edited by cosminvl; 06-01-2019 at 16:36. Reason: Solved
cosminvl is offline
Send a message via Yahoo to cosminvl
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-01-2019 , 13:30   Re: suggestion
Reply With Quote #2

So what are you exactly "suggesting"?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
cosminvl
Member
Join Date: Mar 2013
Location: Romania
Old 05-01-2019 , 13:34   Re: suggestion
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
So what are you exactly "suggesting"?
sorry my mistakes.
i want to restrict all the wepons on awp maps csdm mod
leave only awp
__________________


cosminvl is offline
Send a message via Yahoo to cosminvl
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-01-2019 , 13:39   Re: request help
Reply With Quote #4

The new title is not any better than the previous. Use a descriptive title that provides a short description of the thread. "Request help", "help", "problem", "problem with X" are not good titles.

On-topic: the default AMXX package comes with a weapon resctriction plugin... amx_restrictmenu... It also comes with a per-map configuration file system.
__________________

Last edited by OciXCrom; 05-01-2019 at 13:39.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Old 05-01-2019, 14:28
raizo11
This message has been deleted by raizo11.
cosminvl
Member
Join Date: Mar 2013
Location: Romania
Old 05-31-2019 , 16:43   Re: request help
Reply With Quote #5

up cand anyone help me please
i want restrict wepons for awp maps CSDM mod
__________________



Last edited by cosminvl; 05-31-2019 at 16:44.
cosminvl is offline
Send a message via Yahoo to cosminvl
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-31-2019 , 17:20   Re: request help
Reply With Quote #6

I already helped you. You didn't even try to do what I said.

https://wiki.alliedmods.net/Configur...p_Config_Files
__________________

Last edited by OciXCrom; 05-31-2019 at 17:20.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
cosminvl
Member
Join Date: Mar 2013
Location: Romania
Old 05-31-2019 , 17:33   Re: request help
Reply With Quote #7

Quote:
Originally Posted by OciXCrom View Post
I already helped you. You didn't even try to do what I said.

https://wiki.alliedmods.net/Configur...p_Config_Files
i try both of them and no wort
i need restrict for a menu because is csdm mod Respawn
or maybe you don`t understand what I`m say thanks
I try like that and still no work


PHP Code:
Originally Posted by FAQ
Q1
Can I have per-map configuration?
A1YesFirstlook at AMX Mod X's Per-Map Config Setup. All you have to is make a custom map file that executes csdm_reload. csdm_reload will load a CSDM config file if it's somewhere in the configs dir. For example:

csdm_reload "csdm\extraconfigs\itemstuff.cfg" 
Note that these "extra" config files can be simple. You only need to include what's different from the master csdm.cfg file.
First You need to check how AMX X works with per-map configuartion.


PHP Code:
Originally Posted by AMX MOD X HELP
For each mapyou can also add a configuration file that will execute when the map loadsThis is useful to set certain settings for 3rd party mapssayremoving the freeze time on fy_iceworld.

To do thissimply create a folder in addons\amxmodx\configs called "maps" and place a .cfg file named after the map with the settings in it, for exampleyou might have addons\amxmodx\configs\maps\fy_iceworld.cfg:
mp_startmoney 16000
mp_freezetime 0
mp_timelimit 20 
After concatenating the info from these 2 docs You know this:
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:

PHP Code:
Originally Posted by items_cs_india.cfg
[equip]

;
Equip Menu flags
primary
secondary
armor
grenade
buy
menus 
p

;Autoitem flags:
armor
helmet
grenades
defusekit (CTs only!)
nightvision
autoitems 
=

;
Grenade flags:
flashbang
he grenade
smoke grenade
grenades 
=

;
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 0
glock18 Glock 0
deagle Deagle 0
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]

[
botprimary]
awp 
Note - I haven't tryied that - I just believe in this what is written in docs. If it doesn't work - only BAILOPAN can help You with this. And stop spamming other topics to bring up attention of the people at Your problem. I believe You know what I mean with spamming other topic.
If it works I can ask BAILOPAN to make this topic as sticky.
__________________


cosminvl is offline
Send a message via Yahoo to cosminvl
Reply



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 20:23.


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