Page 1 of 1
how do i disable gloves of warmth on the map: knife_zone?
Posted: Fri Apr 13, 2007 12:40 pm
by mo0n
any help would be greatly appreciated. thanks
--- Please enter the following information for support ---
War3ft Version: 2.3.2
Amxmodx Version: 1.76
Metamod Version: 1.76
amxx list:
amxx modules:
meta list:
Posted: Fri Apr 13, 2007 12:53 pm
by YamiKaitou
By editing the code, yes
Posted: Fri Apr 13, 2007 9:12 pm
by mo0n
can you please elaborate?
Posted: Fri Apr 13, 2007 9:25 pm
by YamiKaitou
For 2.x you have to edit the code to change what maps disallow gloves.
For 3.x, there is a file that does it
Posted: Sat Apr 14, 2007 12:55 pm
by Krazy
In 3.0 there is a .cfg file where you can put the maps in that you want to disable orc nades or gloves. In 2.3.2 you can edit the war3ft/other.inl and add the maps you want to disable orc nades and gloves on.
To do what you want - open war3ft/other.inl and change this:
Code: Select all
#if MOD ==0
new mapname[32]
get_mapname(mapname,31)
if (containi(mapname,"ka_")!=-1 || containi(mapname,"scoutzknivez")!=-1){
g_givePistol=false
if (iCvar[FT_NO_GLOVES_ON_KA])
g_giveHE=false
else
g_giveHE=true
to
Code: Select all
#if MOD ==0
new mapname[32]
get_mapname(mapname,31)
if (containi(mapname,"ka_")!=-1 || (containi(mapname,"knife_")!=-1 || containi(mapname,"scoutzknivez")!=-1){
g_givePistol=false
if (iCvar[FT_NO_GLOVES_ON_KA])
g_giveHE=false
else
g_giveHE=true
then recompile the plugin