Garry's Mod Wiki

surface.GetTextureID

number surface.GetTextureID( string name/path )

Description

Returns the texture id of the material with the given name/path.

This function will not work with .png or .jpg images. For that, see Material

Arguments

1 string name/path
Name or path of the texture.

Returns

1 number
The texture ID

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 4
Generate Html 3
SaveChanges (1) 8
Render Body 0
Render Sidebar 12