Raised This Month: $51 Target: $400
 12% 

SetBodygroup


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 04-04-2016 , 16:57   SetBodygroup
Reply With Quote #1

Hello, does this exist in amxx?, if it does, tell me more about it.

PHP Code:
void CMBaseAnimating :: SetBodygroupint iGroupint iValue )
{
    ::
SetBodygroupGET_MODEL_PTRENT(pev) ), peviGroupiValue );
}

int CMBaseAnimating :: GetBodygroupint iGroup )
{
    return ::
GetBodygroupGET_MODEL_PTRENT(pev) ), peviGroup );

__________________
Contact: Steam
Videos: Youtube

Last edited by SkumTomteN; 04-04-2016 at 16:57.
SkumTomteN is offline
Rirre
Veteran Member
Join Date: Nov 2006
Old 04-04-2016 , 17:54   Re: SetBodygroup
Reply With Quote #2

Code:
set_pev(entindex, pev_body, num)
pev(entindex, pev_body)

entity_set_int(entindex, EV_INT_body, num)
entity_get_int(entindex, EV_INT_body)
https://forums.alliedmods.net/showpo...5&postcount=37

EDIT: Those functions exist in animation.cpp by the way

Last edited by Rirre; 04-04-2016 at 18:35.
Rirre is offline
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 04-07-2016 , 13:16   Re: SetBodygroup
Reply With Quote #3

Quote:
Originally Posted by Rirre View Post
Code:
set_pev(entindex, pev_body, num)
pev(entindex, pev_body)

entity_set_int(entindex, EV_INT_body, num)
entity_get_int(entindex, EV_INT_body)
https://forums.alliedmods.net/showpo...5&postcount=37

EDIT: Those functions exist in animation.cpp by the way
Not really what i needed, but thanks for the info. and yea i found it in animation.cpp.
__________________
Contact: Steam
Videos: Youtube
SkumTomteN 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 13:06.


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