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: 29ms

DB GetPage 4
Generate Html 6
SaveChanges (1) 7
Render Body 0
Render Sidebar 9