• How to display text above someones head?
    2 replies, posted
How can I display text above someones head?
The simple way to draw text is with [b][url=wiki.garrysmod.com/?title=Draw.DrawText]Draw.DrawText [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]. Then the question is are you drawing to the HUD (2D) or in the world (3D)? If you want the HUD, then use [b][url=wiki.garrysmod.com/?title=Gamemode.HUDPaint]Gamemode.HUDPaint [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]. If you want 3D, then it's going to be a bit tougher. You'll have to use [b][url=wiki.garrysmod.com/?title=Cam.Start3D2D]Cam.Start3D2D [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b].
If you're going to display it on the HUD, you're also going to need [b][url=wiki.garrysmod.com/?title=Player.GetShootPos]Player.GetShootPos [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] and [b][url=wiki.garrysmod.com/?title=Vector.ToScreen]Vector.ToScreen [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b].
Sorry, you need to Log In to post a reply to this thread.