View Single Post
Hyper Nova
BANNED
Join Date: May 2012
Old 05-22-2012 , 01:42   Re: [Help] PW model w/ sub-models & how to unprecache sounds.
Reply With Quote #4

i found this code somewhere on this forum, i dont remember anymore where but i writed it on my special code list

here it is.

PHP Code:
SendWeaponAnim( const Player, const Sequence 


    
set_pev(Playerpev_weaponanimSequence

    
message_begin(MSG_ONESVC_WEAPONANIM, .player Player 
    
write_byteSequence 
    
write_byte(1
    
message_end( ) 


I dont know about how to use this, i have not tried this yet but i think it is just that way

SendWeaponAnim( id, 0 )

param2: 0 is sub model number.

example if you have 3 submodels in your v_ model then it will be just like that
0 , 1 , 2
Hyper Nova is offline