Not sure if this is what you're looking for
PHP Code:
new Nhs_Modes = get_pcvar_num(mode);
switch(Nhs_Modes)
{
case 0: //0 - false
{
}
default: //All other values - true
{
}
}
Or you can do
PHP Code:
new Nhs_Modes = get_pcvar_num(mode);
if ( !Nhs_Modes )
return HAM_IGNORED;
//code
__________________