PHP Code:
if (!get_cvar_num("zp_on"))
return FMRES_IGNORED
if ( zp_get_user_nemesis(id) || zp_get_user_survivor(id))
return FMRES_IGNORED
if (!zp_get_user_zombie(id))
return FMRES_IGNORED
if (!is_user_alive(id))
return FMRES_IGNORED
if (!get_pcvar_num(cvar_active))
return FMRES_IGNORED
=>
PHP Code:
if(!get_cvar_num("zp_on") || !get_pcvar_num(cvar_active))
return FMRES_IGNORED
if(!is_user_alive(id))
return FMRES_IGNORED
if(!zp_get_user_zombie(id) || zp_get_user_nemesis(id) || zp_get_user_survivor(id))
return FMRES_IGNORED