_BG_DISPLAY_TEXT
Draws a debug text string at the screen position x, y using the current debug text color and scale.
Signature
void _BG_DISPLAY_TEXT(const char* text, float x, float y); // 0x16794E044C9EFB58 b1355Parameters
| # | Name | Type |
|---|---|---|
| 1 | text | const char* |
| 2 | x | float |
| 3 | y | float |
Facts
| Name | _BG_DISPLAY_TEXT |
|---|---|
| Hash | 0x16794E044C9EFB58 |
| Namespace | |
| Returns | void |
| Game build | 1355 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x16794E044C9EFB58, -- _BG_DISPLAY_TEXT
"text", -- const char* text
0.0, -- float x
0.0 -- float y
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x16794E044C9EFB58", // _BG_DISPLAY_TEXT
"text", // const char* text
0.0, // float x
0.0 // float y
);Function.Call((Hash)0x16794E044C9EFB58, // _BG_DISPLAY_TEXT
"text", // const char* text
0.0f, // float x
0.0f // float y
);Related UIDEBUG natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.