Raised This Month: $ Target: $400
 0% 

weapon model


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
The_Shadow
New Member
Join Date: Jun 2009
Old 10-04-2015 , 13:51   weapon model
Reply With Quote #1

hi,

I want to change the weapon model so I i did

entity_set_string(client, EV_SZ_viewmodel,"models/new/Scout/v_scout_01.mdl") ;
[for scout]
and works but when i chnage my weapons
for example knife it go back to orignal model
who to fix it?

Last edited by The_Shadow; 10-04-2015 at 13:54.
The_Shadow is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-04-2015 , 14:00   Re: weapon model
Reply With Quote #2

You have to set the weapon model everytime the "Current Weapon" event is triggered (Register the "CurWeapon" event).
__________________
fysiks is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-04-2015 , 14:26   Re: weapon model
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
You have to set the weapon model everytime the "Current Weapon" event is triggered (Register the "CurWeapon" event).
Ham_Item_Deploy*

It makes more sense to set only in Deploy hooked as post, game also sets the models here.
__________________
HamletEagle is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode