Garry's Mod Wiki

Entity:GetModelPhysBoneCount

  number Entity:GetModelPhysBoneCount()

Description

Gets the physics bone count of the entity's model. This is only applicable to anim type Scripted Entities with ragdoll models.

Returns

1 number
How many physics bones exist on the model.