util.GetSurfaceData

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

Description

Returns data of a surface property at given ID.

Arguments

number id

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

Returns

table

The data or no value if there is no valid surface property at given index.

See SurfacePropertyData structure
Personal tools
Navigation