Garry's Mod Wiki

Entity:GetBoneContents

  number Entity:GetBoneContents( number bone )

Description

Returns the contents of the specified bone.

Arguments

1 number bone
The bone id, starting at index 0. See Entity:LookupBone.

Returns

1 number
The contents as a Enums/CONTENTS or 0 on failure.