natives.DISPLAY TEXT: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(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
}}
}}

Latest revision as of 09:11, 12 June 2026

Function Client Only icon-vc.png Online and Offline

Available since Client 1.0.0
void natives.DISPLAY_TEXT(float x, float y, string gxtKey)
The natives.DISPLAY_TEXT function is used to displays a GXT-formatted text at screen coordinates.

Parameters

1) float x X screen coordinate.
2) float y Y screen coordinate.
3) string gxtKey GXT text table entry key.

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.