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 CONTENTS enum or 0 on failure.