Garry's Mod Wiki

Entity:GetNumBodyGroups

  number Entity:GetNumBodyGroups()

Description

Returns the number of Body Groups that the Entity's model contains.

Weapons will return results from their viewmodels.

Returns

1 number
The amount of Body Groups on the Entity's model.