Gamemode.HUDDrawTargetID

From GMod Wiki

Revision as of 09:19, 6 July 2009 by Unrealomega (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Event Hook
Hook NameHUDDrawTargetID
SyntaxGM:HUDDrawTargetID( )
DescriptionReturn false to not draw the player's name while looking at them.
ReturnsNil
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=Gamemode.HUDDrawTargetID]Gamemode.HUDDrawTargetID [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]

Examples

DescriptionThis code will turn off the player and health appearing when you look at them.
Used onNewerClient.png
Code
function GM:HUDDrawTargetID()
     return false
end
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox