Garry's Mod Wiki

util.GetSurfacePropName

util.GetSurfacePropName

  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 Structures/TraceResult.

Returns

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

Special Pages


Wikis

?

Render Time: 39ms

DB GetPage 20
Generate Html 4
SaveChanges (1) 5
Render Body 0
Render Sidebar 7