PHP Code:
first from all make a new const. new const flare_model_v[] = "models/v_heart.mdl"
then precache
PHP Code:
public plugin_precache()
{
precache_model(flare_model_v)
}
then make the pev v_ and p_ model ...
PHP Code:
public EventCurWeapon(id)
{
if(g_hasbomb[id])
{
if(get_user_weapon(id) == CSW_SMOKEGRENADE)
{
set_pev(id, pev_viewmodel2, flare_model_v)
set_pev(id, pev_weaponmodel2, flare_model_p)
}
}
}
make sure you include fakemeta , fakemeta and hamsandwich FTW
__________________