Garry's Mod Wiki

Revision Difference

surface.GetHUDTexture#524936

<function name="GetHUDTexture" parent="surface" type="libraryfunc"> <description>Gets the HUD texture ID with the specified name.</description> <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> <realm>Client</realm> <args> <arg name="name" type="string">The name of the texture.</arg> </args> <rets> <ret name="" type="number">The texture ID</ret>⤶ <ret name="TextureID" type="number"></ret>⤶ </rets> </function>