util.GetSurfacePropName

From Garry's Mod
Jump to: navigation, search
 util.GetSurfacePropName( )

Description

Returns the name of a surface property at given ID.

See also util.GetSurfaceData and util.GetSurfaceIndex for opposite function.

Arguments

number id

Surface property ID. You can get it from TraceResult structure.

Returns

string

The name or an empty string if there is no valid surface property at given index.
Personal tools
Navigation