Garry's Mod Wiki

Entity:GetBoneSurfaceProp

  string Entity:GetBoneSurfaceProp( number bone )

Description

Returns the surface property of the specified bone. See util.GetSurfaceData for more details about what they are.

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.