Temporaly change model
Hi I've been trying all day to change models but with no success. Could someone help me to do that? Here is my code:
Code:
public plugin_precache() |
Re: Temporaly change model
Replace your line by : set_pev( player, pev_viewmodel2, "models/knife/v_knife.mdl" );
|
Re: Temporaly change model
Still not work
|
Re: Temporaly change model
It should, i see nothing wrong.
|
Re: Temporaly change model
I don't know why but it doesn't work. It changed for a sec and then I rechanged weapons it changed to knife again.
|
Re: Temporaly change model
When you change weapons, of course it's gonna change the model. Hook CurWeapon and change it again when the weapon changes.
|
Re: Temporaly change model
Yeah, you have to use another event, like CurWeapon or using Ham_Item_Deploy avec weapon_knife as classname.
|
Re: Temporaly change model
I'm not experienced enough in this. Can you give me an example?
|
| All times are GMT -4. The time now is 13:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.