Garry's Mod Wiki

Entity:GetBoneSurfaceProp

  string Entity:GetBoneSurfaceProp( number bone )

Description

Returns the surface property of the specified bone.

Arguments

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

Returns

1 string
The surface property of the bone to be used with util.GetSurfaceIndex or an empty string on failure.