debugoverlay.Text

From GMod Wiki

Jump to: navigation, search
Function
Syntax debugoverlay.Text( Vector origin, String text, Float duration (Seconds) (Defaults to 1) )
Where is this used?
Description:
Creates always front rendering text in the 3D world space.
Returns: nil
Part of Library: debugoverlay
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Debugoverlay.Text]Debugoverlay.Text [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionWill display white text that renders through anything (an overlay) saying "Hi!" at the origin, displaying for 10 seconds.
Used onNewerShared.png
Code
debugoverlay.Text(Vector(0,0,0), "Hi!", 10)
Output(See description)


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox