Hi,
At first, here is a little help for those who get these 2 plugins bad loaded when they run 'amx_plugins' in console:
CSDM Main 2.00 CSDM Team csdm_main.amxx running
unknown unknown unknown csdm_equip.amxx
bad load
unknown unknown unknown csdm_misc.amxx
bad load
CSDM Protection 2.00 BAILOPAN csdm_protection running
CSDM Mod 2.00 CSDM Team csdm_spawn_pres running
CSDM Spawn Editor 2.00 CSDM Team spawn_editor.am running
I got the same problem and i red all posts of this topic.
The main reason why they got this error is that they don't use the cstrike_amxx module (cstrike_amxx.dll) wich is needed for CS DM v2.
You can download cstrike_amxx module from this page:
http://www.amxmodx.org/downloads.php
Download the "Counter-Strike Addon 1.60 Windows" (depending on your Operating System) and extract it to 'modules' folder.
And don't forget that in your modules.ini :
Code:
; ----------------------------------------------------------
; Counter-Strike - adds functions specific to Counter-Strike
; ----------------------------------------------------------
cstrike_amxx.dll
cstrike_amxx_i386.so ;(if you are using Linux)
cstrike_amxx_amd64.so ;(if you are using Windows 64)
You must also have this line in modules.ini and the .dll in modules' folder:
Code:
; ----------------------------------------------------
; Engine - provides engine functions core to Half-Life
; ----------------------------------------------------
engine_amxx.dll
---------------------------------------------------------------
---------------------------------------------------------------
I also had a problem:
On CSDM v1.X, we can use enable_menu in the console command to enable the weapon menu.
On CSDM v2 we must
write 'guns' (or use a bind with "say guns").
I was looking a way to add "enable_menu" command to CSDM v2: I succeed (editing the csdm_equip.sma then re-compiling and replace it).
My current problem:
On CSDM v1, with enable_menu you can enable
and disable the guns menu, but not with CSDM v2.
I want that enable_menu (or other commands) can enable
and disable the buy menu.
It's probably also in the csdm_equip.sma that I have to modify, but I don't know wich part.
Can someone help me ?
Thanks.
I hope my post helped some of those who get "bad loaded" error, and excuse me for my english cause i'm french.
Sap.
PS: If someone is interested by the modification I done in the csdm_equip.sma to add "enable_menu" command, here it is:
Original code:
Code:
// Build Armor/Nade/Equip Menu's
buildMenu();
register_clcmd("say guns", "enableMenu")
register_clcmd("say /guns", "enableMenu")
register_clcmd("say menu", "enableMenu")
register_clcmd("say enablemenu", "enableMenu")
register_clcmd("say enable_menu", "enableMenu")
And I added:
Code:
register_clcmd("guns", "enableMenu")
register_clcmd("menu", "enableMenu")
register_clcmd("enablemenu", "enableMenu")
register_clcmd("enable_menu", "enableMenu")