Raised This Month: $ Target: $400
 0% 

How to display v_ model body index ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-18-2012 , 06:23   Re: How to display v_ model body index ?
Reply With Quote #1

Look, even if you hook the default SendWeaponAnim (Ham_CS_Weapon_SendWeaponAnim with hamsandwich updated version), there will still be client prediction and you will still see default hands during a short time.
My feeling is either you make 2 models, either you forget about this feature ;)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 05-18-2012 at 06:24.
ConnorMcLeod is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 05-18-2012 , 10:22   Re: How to display v_ model body index ?
Reply With Quote #2

Quote:
I think if you set model body every 0.2 sec it will solve your problem.
female hands do not appear all the time
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-18-2012 , 10:24   Re: How to display v_ model body index ?
Reply With Quote #3

Hook Ham_CS_Weapon_SendWeaponAnim...
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 05-18-2012 , 10:29   Re: How to display v_ model body index ?
Reply With Quote #4

doesn't work

Code:
public SendWeaponAnim( Entity, iAnim, skiplocal, body)
{
	new iPlayer = pev( Entity, pev_owner)

	if ( !is_user_connected( iPlayer )  ) return HAM_IGNORED

	SendWeaponAnim( iPlayer, iAnim )
		
	return HAM_SUPERCEDE
}
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
Bos93
Veteran Member
Join Date: Jul 2010
Old 05-20-2012 , 15:23   Re: How to display v_ model body index ?
Reply With Quote #5

Connor, can you give some example?
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
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 00:30.


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