Gamemode.HUDDrawTargetID

From GMod Wiki

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