Doese anyone how can i do, or what should i do to restrict/disable a specific race from a specific map !?
... let's say orc's from ka_* maps.
or how can i do those *.cfg like "item_gloves.cfg" from disable folder
or what should i do to create those!
i have to change a code, that i know, but what code !? and what should i add, and where

===============================================
i tryed to add in race_orc.inl:
Code: Select all
// Check to see if this ras is allowed on this map
if ( g_bOrcRaceDisabled )
{
return false;
}
Code: Select all
g_bOrcRaceDisabled = WC3_MapDisableCheck( "skill_orc_race.cfg" );
like "g_bOrcNadesDisabled" is defined, or something like that!

===============================================
Please help, Please!!


Thank you in advanced!!