Raised This Month: $ Target: $400
 0% 

Play animation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
The Inhabitant Of Heavens
Member
Join Date: Aug 2011
Old 10-28-2011 , 11:57   Play animation
Reply With Quote #1

How to play the animation on the client ?
The Inhabitant Of Heavens is offline
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 10-29-2011 , 02:50   Re: Play animation
Reply With Quote #2

Weapon animation?
__________________
Полный похуизм.
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
The Inhabitant Of Heavens
Member
Join Date: Aug 2011
Old 10-29-2011 , 07:49   Re: Play animation
Reply With Quote #3

Quote:
Originally Posted by Flipper_SPb View Post
Weapon animation?
Yes,and players animation
The Inhabitant Of Heavens is offline
kotinha
Senior Member
Join Date: Jun 2009
Location: Alentejo, Portugal :)
Old 10-29-2011 , 08:25   Re: Play animation
Reply With Quote #4

look for example in american football mod ( http://forums.alliedmods.net/showthr...light=football ) and look at the dive stuff... I think it it has something to do with addtofullpack
__________________
"If God exists, I hope he has a good excuse." - Woody Allen
kotinha is offline
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 10-29-2011 , 08:28   Re: Play animation
Reply With Quote #5

Use pev_sequence.
Backstabnoob is offline
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 10-29-2011 , 08:50   Re: Play animation
Reply With Quote #6

For weapons use stock:

PHP Code:
stock UTIL_PlayWeaponAnimation (const Player, const Sequence)
{
    
set_pev (Playerpev_weaponanimSequence)
    
message_begin (MSG_ONE_UNRELIABLESVC_WEAPONANIM, .player Player)
    
write_byte (Sequence)
    
write_byte (pev(Playerpev_body ))
    
message_end ()

__________________
Полный похуизм.

Last edited by Flipper_SPb; 10-29-2011 at 08:50.
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-29-2011 , 09:36   Re: Play animation
Reply With Quote #7

pev(Player, pev_body)

It's wrong. Player's body is unrelated to weapon animation. It should be : pev( weaponIndex, pev_body).
__________________
Arkshine is offline
The Inhabitant Of Heavens
Member
Join Date: Aug 2011
Old 10-29-2011 , 09:53   Re: Play animation
Reply With Quote #8

How to play player animation without Orpheu

?
The Inhabitant Of Heavens 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 14:19.


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