View Single Post
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 02-25-2007 , 06:35   Re: Dont remove weapons
Reply With Quote #16

OK - the final (and for now the only good) solution is this:
Your plugins-cf_mapzilla.ini file should look so:
csdm_equip.amxx disabled
csdm_spawn_preset.amxx disabled
csdm_misc.amxx disabled
csdm_protection.amxx disabled
csdm_ffa.amxx disabled
csdm_tickets.amxx disabled
csdm_itemmode.amxx disabled
(note there is no csdm_main.amxx disabled, because I need it to let me disable the work of CSDM module).
And then You should have also the file cf_mapzilla.cfg with that line You had before:
csdm_disabled

Now it works correctly. By default on every map CSDM is enabled for You, but when cf_mapzilla is loaded, all CSDM plugins are disabled except csdm_main. This prevents to remove some entities from the map (at the very beginning when the map is loading), because - for example csdm_misc (responsible for that) is already disabled.
Then - when the config for map is loaded (cf_mapzilla.cfg) it disables CSDM, so You aren't respawned all the time anymore.

I would suggest to change the tittle of this topic to "How to disable CSDM for certain maps" - then - if it's confirmed it works correcty - make it as a sticky. Additionally I would ask to include the info about that in documentation of CSDM, because the solution wasn't so trivial. It took me 2 days to solve the problem and I had also to angage few people at AMX X Scripting Support forum to help me with this.
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.

Last edited by KWo; 02-25-2007 at 06:38.
KWo is offline