I was wondering how to set custom models and skins for guns.
I did this for my knife model and it worked
Code:
new temp[2], weapon = get_user_weapon(id, temp[0], temp[1])
if(weapon == CSW_KNIFE)
{
entity_set_string(id, EV_SZ_viewmodel, "models/v_knife_finger.mdl")
entity_set_string(id, EV_SZ_weaponmodel, "models/p_knife_finger.mdl")
}
So I was wondering how to do the same thing for a gun? I tried using the knife code, but no luck.