yokomo & Dolph,exactly what solved the problem, with
return FMRES_IGNORED && FMRES_SUPERCEDE .
w_model is done.
v_ model edit by cur weapon, because I did not get through
zp_fw_core_cure_post
PHP Code:
public replace_models(id)
{
if (!is_user_alive(id))
return
if(get_user_weapon(id) == CSW_SMOKEGRENADE)
{
if (has_flare[id])
{
cs_set_player_view_model(id, CSW_SMOKEGRENADE, g_model_grenade_flare_v)
set_pev(id, pev_weaponmodel2, g_model_grenade_flare_p)
}
if (has_heart[id])
{
cs_set_player_view_model(id, CSW_SMOKEGRENADE, g_model_grenade_heart_v)
set_pev(id, pev_weaponmodel2, g_model_grenade_heart_p)
}
}
}
left only light flare
Im find my problem, all work fine )