Garry's Mod Wiki

Revision Difference

Entity:GetNumBodyGroups#544788

<function name="GetNumBodyGroups" parent="Entity" type="classfunc"> <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> <note>If called for Weapon (after Initialize hook) 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>