natives.DISPLAY TEXT WITH NUMBER: 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_WITH_NUMBER
|name = natives.DISPLAY_TEXT_WITH_NUMBER
|parameters = Vec2 position, string text, int ped
|parameters = float x, float y, string gxtKey, int number
|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.
|parameter3 = int ped Target character in the game world.
|parameter3 = string gxtKey GXT text table entry key.
|usage = toggles the text with number visibility.
|parameter4 = int number Numeric value to display.
|usage = displays GXT text with one number placeholder 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_WITH_NUMBER(float x, float y, string gxtKey, int number)
The natives.DISPLAY_TEXT_WITH_NUMBER function is used to displays GXT text with one number placeholder at screen coordinates.

Parameters

1) float x X screen coordinate.
2) float y Y screen coordinate.
3) string gxtKey GXT text table entry key.
4) int number Numeric value to display.

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.