Garry's Mod Wiki

GM:HUDDrawTargetID

GM:HUDDrawTargetID

GM:HUDDrawTargetID()

Description

Called from GM:HUDPaint to draw player info when you hover over a player with your crosshair or mouse.

Example

This code will turn off the player and health appearing when you look at them.

-- First solution: gamemode function overriding. function GM:HUDDrawTargetID() end -- Second solution: hook value return. hook.Add( "HUDDrawTargetID", "HidePlayerInfo", function() return false -- or whatever you want end )

Special Pages


Wikis

?

Render Time: 45ms

DB GetPage 30
Generate Html 1
SaveChanges (1) 6
Render Body 0
Render Sidebar 6