natives.DISPLAY TEXT WITH 2 NUMBERS: Difference between revisions
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_2_NUMBERS | |name = natives.DISPLAY_TEXT_WITH_2_NUMBERS | ||
|parameters = | |parameters = float x, float y, string gxtKey, int num1, int num2 | ||
|parameter1 = | |parameter1 = float x X screen coordinate. | ||
|parameter2 = string text | |parameter2 = float y Y screen coordinate. | ||
| | |parameter3 = string gxtKey GXT text table entry key. | ||
| | |parameter4 = int num1 First number to substitute. | ||
|usage = | |parameter5 = int num2 Second number to substitute. | ||
|usage = displays GXT text with two number placeholders at screen coordinates | |||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Latest revision as of 09:11, 12 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.DISPLAY_TEXT_WITH_2_NUMBERS(float x, float y, string gxtKey, int num1, int num2)
The natives.DISPLAY_TEXT_WITH_2_NUMBERS function is used to displays GXT text with two number placeholders 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 | num1 | First number to substitute. |
| 5) | int | num2 | Second number to substitute. |
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.