• Remove draw.SimpleText
    1 replies, posted
I have text show up when I press E on an entity, but im unable to get it to go away. How would I go about doing that? [CODE]net.Receive("spawnpoint text", function() hook.Add( "HUDPaint", "HUDPaint_SpawnpointText", function() --timer.Simple(3, function() draw.SimpleText("Spawnpoint Locked", "DermaDefault", 200, 200, Color(255, 255, 255, 255), 0, 0) return 100 --end ) end ) hook.Call("HUDPaint_SpawnpointText") timer.Simple(3, function() print("text removed") hook.Remove("HUDPaint_SpawnpointText") end ) end )[/CODE] And since I am here, how can I make the text bigger. Besides changing it to a bigger font Thank you, Endus322
Read [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/hook/Remove]hook.Remove[/url].
Sorry, you need to Log In to post a reply to this thread.