Garry's Mod Wiki

Revision Difference

surface.GetHUDTexture#524937

<function name="GetHUDTexture" parent="surface" type="libraryfunc"> <description>Gets the [HUD icon](https://github.com/ValveSoftware/source-sdk-2013/blob/master/sp/game/mod_hl2/scripts/hud_textures.txt) TextureID with the specified name.</description> <description>Gets the [HUD icon](https://github.com/Facepunch/garrysmod/blob/master/garrysmod/scripts/hud_textures.txt) TextureID with the specified name.</description> <realm>Client</realm> <args> <arg name="name" type="string">The name of the texture.</arg> </args> <rets> <ret name="TextureID" type="number"></ret> </rets> </function>