AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   CSDM (https://forums.alliedmods.net/forumdisplay.php?f=87)
-   -   spawn with weapons on maps where weapons are excluded (https://forums.alliedmods.net/showthread.php?t=148044)

horussjr 01-17-2011 12:08

spawn with weapons on maps where weapons are excluded
 
saw that on maps like 35hp_stokedeath cs_deagle awp_zigzag it happens to spawn with weapona (posibly those chosen on the previous map) where weapons are not available. please do sth beacause on my server, if shooting you might got banned. i think it is related to the function to remeber weapons selection every round. i think it is saved in some file for every player. if you could make it delete that file every changemap (hope i don't say anything stupid). thank you very much. waiting for a confirmation reply

ANTICHRISTUS 01-17-2011 17:31

Re: spawn with weapons on maps where weapons are excluded
 
I dont understand your problem. :|
you need to disarm players on round start ?
read csdm.cfg.
PHP Code:

;Sets whether or not players should be stripped of weapons on round start
; (excludes knife)
strip_weapons 

disable all weapons ? then change all the 1 to 0
PHP Code:

;;;;;;;;;;;;;;;;
;;
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 "H&K USP Tactical" 1
glock18 
"Glock 18" 1
deagle 
"IMI Desert Eagle (Magnum)" 1
p228 
"H&K P228" 1
elite 
"Dual Beretta 96G Elite" 1
fiveseven 
"FN 57 (Five Seven)" 1
[primary]
m4a1 "Colt M4A1 carabine" 1
ak47 
"Avtomat Kalashnikova 1947" 1
aug 
"Steyr AUG" 1
sg552 
"Sig SG552 Comando" 1
galil 
"IMI Galil" 1
famas Famas 1
scout 
"Steyr Scout" 0
awp 
"AWP Arctic Warefire Police" 0
sg550 
"Sig SG550" 0
m249 
"FN M249 Para" 1
g3sg1 
"Steyr G3SG1" 0
ump45 
"H&K UMP 45" 1
mp5navy 
"H&K MP5 Navy" 1
m3 
"Benelli M3 Super 90" 1
xm1014 
"Benelli XM1014" 1
tmp 
"Steyr TMP" 1
mac10 
"Ingram Mac10" 1
p90 
"FN P90" 


horussjr 01-18-2011 05:12

Re: spawn with weapons on maps where weapons are excluded
 
well i play on de dust2 with m4 and deagle selecting to remember the weapons. i change the map on 35hp and in the menu i dont have any selectable weapons so i have only knife. but it happens to spawn me with knife but with m4 and deagle too

ANTICHRISTUS 01-18-2011 07:48

Re: spawn with weapons on maps where weapons are excluded
 
3 Attachment(s)
Quote:

Originally Posted by horussjr (Post 1396042)
selecting to remember the weapons.

the mod will remenber your weapons, until you change the map. after restarting the map, you will have a new selection menu. :)
while having such problem, then reinstall CSDM.
if the problem persists, reinstall AMXX.

horussjr 01-18-2011 17:45

Re: spawn with weapons on maps where weapons are excluded
 
the situation is like in your last photo. map for knife spawning with both weapons. are you sure is that? if i reinstall it i will loose all the configuration right?

ANTICHRISTUS 01-18-2011 19:10

Re: spawn with weapons on maps where weapons are excluded
 
Quote:

are you sure is that?
of course, making a nice configuration is like making a delicious pizza :mrgreen:
Quote:

if i reinstall it i will loose all the configuration right?
firstly reinstall only CSDM.
you can try to make a copy of your server, or your local game. then install amxx and csdm, and you will see.
the configuration of CSDM is not so hard. but you should save your configuration files, like: plugins.ini , amxx.ini , users.ini , csdm.cfg , plugins-csdm.ini , maps.ini , etc. :wink:
like this your configuration files will be saved, and you can remember what do you need to reinstall.

ps. I think the problem is in CSDM files :| not in AmxModX :nono:


All times are GMT -4. The time now is 00:08.

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