Garry's Mod Wiki

Garry's Mod Wiki

  number surface.GetHUDTexture( string name )

Description

Returns the HUD icon TextureID of a texture with the specified name.

You probably want to use Material and surface.SetMaterial.

Arguments

1 string name
The name of the texture.

Returns

1 number texID
The texture ID, for use with surface.SetTexture.

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...