Raised This Month: $ Target: $400
 0% 

Set animation for v_ model.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kz1.0
Senior Member
Join Date: Jan 2013
Location: Vietnam
Old 03-09-2013 , 12:06   Set animation for v_ model.
Reply With Quote #1

How to make v_ model play a animation (sequence) ?
Kz1.0 is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 03-09-2013 , 12:51   Re: Set animation for v_ model.
Reply With Quote #2

PHP Code:
new iAnim 6;

ExecuteHamHam_CS_Weapon_SendWeaponAnimpEntityiAnim); 
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-09-2013 , 15:46   Re: Set animation for v_ model.
Reply With Quote #3

Supposing he has the unofficial version.
__________________
Arkshine is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 03-09-2013 , 16:09   Re: Set animation for v_ model.
Reply With Quote #4

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()

__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc

Last edited by avril-lavigne; 03-09-2013 at 16:10.
avril-lavigne is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-09-2013 , 16:11   Re: Set animation for v_ model.
Reply With Quote #5

It's not entirely correct. the second param is the weapon body, not player.
__________________
Arkshine is offline
Old 03-09-2013, 18:31
fl0werD
This message has been deleted by fl0werD. Reason: Bos98 mudak
Kz1.0
Senior Member
Join Date: Jan 2013
Location: Vietnam
Old 03-10-2013 , 07:54   Re: Set animation for v_ model.
Reply With Quote #6

So, how to do it ?
Kz1.0 is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 03-10-2013 , 08:26   Re: Set animation for v_ model.
Reply With Quote #7

You do not see my post?
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
Kz1.0
Senior Member
Join Date: Jan 2013
Location: Vietnam
Old 03-10-2013 , 09:37   Re: Set animation for v_ model.
Reply With Quote #8

Quote:
Originally Posted by Bos93 View Post
You do not see my post?
so it will do the 6th anim of the model ?
Kz1.0 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 21:39.


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