Raised This Month: $ Target: $400
 0% 

Weapon animation doesn't show while spectating


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 06-08-2010 , 10:23   Weapon animation doesn't show while spectating
Reply With Quote #1

Well, I've created weapon and to play animations I use this stock(thanks Arkshine)
Code:
stock UTIL_PlayWeaponAnimation ( const Player, const Sequence )
{
    set_pev ( Player, pev_weaponanim, Sequence )
    
    message_begin ( MSG_ONE_UNRELIABLE, SVC_WEAPONANIM, .player = Player )
    write_byte ( Sequence )
    write_byte ( pev ( Player, pev_body ) )
    message_end ( )
}
And when I'm spectating someone who's firing this new weapon, I dont see weapon animations.I hear fire sounds, but no animations.Please help me to fix that .
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
 


Thread Tools
Display Modes

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 05:27.


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