Hello there,
interesting problem you are describing here, I think I have a proper solution to this:
Use the PlayerNoClip hook to grant the admin enabling noclip godmode (serverside), then draw your text box (clientside) when noclip is enabled.
And as Neku told you, there is no hook for GodMode, so I'd go with Noclip instead! - When I find the time to, I will put up some code for you.
Edit: Hopefully you can put it to use, here you go!
function GM:PlayerNoClip( ply, on )
if not ply:IsAdmin() then return false end
if on then
ply:GodEnable()
else
ply:GodDisable()
end
return true
end
function PaintGodBox()
if LocalPlayer():GetMoveType() != MOVETYPE_NOCLIP then return end
draw.WordBox( 8, 5, ScrH() / 2, "Godmode: ON", "DermaDefault", Color(255,100,100,200), Color(255,255,255,255))
end
hook.Add( "HUDPaint", "GodModeBox", PaintGodBox )
Avoid