Revision Difference
GM:HUDDrawTargetID#529629
<function name="HUDDrawTargetID" parent="GM" type="hook">
<ishook>yes</ishook>
<description>Called from <page>GM:HUDPaint</page> to draw player info when you hover over a player with your crosshair or mouse.</description>
<realm>Client</realm>
</function>
<example>
<description>This code will turn off the player and health appearing when you look at them.</description>
<code>
-- First solution: gamemode function overriding.⤶
function GM:HUDDrawTargetID()
end⤶
⤶
end⤶
⤶
-- Second solution: hook value return.⤶
hook.Add( "HUDDrawTargetID", "HidePlayerInfo", function()⤶
⤶
return false -- or whatever you want⤶
⤶
end )⤶
</code>
⤶
</example></example>