function ENT:StartTouch( activator, ent )
draw.RoundedBox( 10, 0, 0, 100, 100, Color(0, 0, 0, 180) )
hook.Add("HUDPaint", "DrawBox", DrawBox);
I'd like a hud to get painted after a player touches an entity. Doesn't seem to work though. If I put the DrawBox code outside of the starttouch function it works fine and I get a little box when I start the level. But if it's based on touching an entity then the entity touched just fine but no box is drawn. Anyone know how to do this?
StartTouch is serverside.
Sorry, you need to Log In to post a reply to this thread.