Guys, please advise about skin replacements.
I have ready skin models which can replace AWP. But the idea of the skin is that it is a grenade launcher. So it has skin, world skin and projectile skin.
I set the weapon model in SDKHook_WeaponSwitchPost like
Code:
SetEntProp(PlayerModelIndex[client], Prop_Send, "m_nModelIndex", precached_model_index); // v_rpg.mdl
SetEntProp(weapon, Prop_Send, "m_nModelIndex", 0);
and world model
Code:
SetEntProp(iWorldModel, Prop_Send, "m_nModelIndex", precached_world_model_index); //w_rpg.mdl
But I do not understand how to set the model to the projectile w_rpg_projectile.mdl
How to get a projectile for AWM if any...