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(Player, pev_weaponanim, Sequence)
message_begin(MSG_ONE, SVC_WEAPONANIM, .player = Player )
write_byte( Sequence )
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