natives.DISPLAY TEXT: Difference between revisions

Add ScriptItem documentation from GTA VC SCM decompile
(Add ScriptItem documentation from GTA VC SCM decompile)
 
(Add ScriptItem documentation from GTA VC SCM decompile)
 
Line 4: Line 4:
|type = function
|type = function
|name = natives.DISPLAY_TEXT
|name = natives.DISPLAY_TEXT
|parameters = Vec2 position, string text
|parameters = float x, float y, string gxtKey
|parameter1 = Vec2 position The position vector.
|parameter1 = float x X screen coordinate.
|parameter2 = string text String content to display.
|parameter2 = float y Y screen coordinate.
|usage = toggles the text visibility.
|parameter3 = string gxtKey GXT text table entry key.
|usage = displays a GXT-formatted text at screen coordinates
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}
1,615

edits