Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 5
Generate Html 3
SaveChanges (1) 8
Render Body 0
Render Sidebar 11