Garry's Mod Wiki

Garry's Mod Wiki

  string util.GetSurfacePropName( number id )

Description

Returns the name of a surface property at given ID.

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

Arguments

1 number id
Surface property ID. You can get it from TraceResult structure.

Returns

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...