Garry's Mod Wiki

Revision Difference

Entity:GetNumBodyGroups#544777

<function name="GetNumBodyGroups" parent="Entity" type="classfunc"> <description>Returns the body group count of the entity.</description>⤶ <description>Returns the body group count of the entity.<note>If called for Weapon with different body groups on world model and view model will return value form view model.</note>⤶ </description>⤶ <realm>Shared</realm> <rets> <ret name="" type="number">Amount of bodygroups the entitys model has</ret> </rets> </function>