simple solution : u do have the option no_gloves_on_ka ( or similar ) set to "1" in the war3ft.cfg ? good !
next step : go to your scripting folder, locate "other.inl" ( scripting -> war3ft )
locate the first few lines and edit them .... voila !
Code: Select all
#if MOD ==0
new mapname[32]
get_mapname(mapname,31)
if (containi(mapname,"ka_")!=-1 || containi(mapname,"nub2")!=-1 || containi(mapname,"scoutzknivez")!=-1 || containi(mapname,"fy_")!=-1 || containi(mapname,"deagle")!=-1 || containi(mapname,"aim_")!=-1){
g_givePistol=false
if (iCvar[FT_NO_GLOVES_ON_KA])
g_giveHE=false
else
g_giveHE=true
}
else{
g_giveHE=true
g_givePistol=true
}
if(iCvar[FT_NO_ORCNADES]){
if (containi(mapname,"ka_")!=-1 || containi(mapname,"nub2")!=-1 || containi(mapname,"jail_riot")!=-1 || containi(mapname,"fy_")!=-1 || containi(mapname,"deagle")!=-1|| containi(mapname,"rats")!=-1 || containi(mapname,"aim_")!=-1 || containi(mapname,"he_")!=-1 || containi(mapname,"omme")!=-1 )
g_notAllowHE=true
else
g_notAllowHE=false
}
#endif
as you can see, on all maps containing certain string the gloves are disables, and orc nades as well ( the code line underneath the gloves config )
then : recompile the plugin and upload it to your server -> mapchange and all is in effect !