Garry's Mod Wiki

Entity:GetBodyGroups

  table Entity:GetBodyGroups()

Description

Returns a list of all body groups of the entity.

If called for Weapon (after Initialize hook) with different body groups on world model and view model will return body groups form view model.

Returns

1 table
Bodygroups as a table of Structures/BodyGroupDatas if the entity can have bodygroups.