_BG_SET_TEXT_SCALE
Sets the horizontal and vertical scale used by subsequent debug text drawn with _BG_DISPLAY_TEXT.
Signature
void _BG_SET_TEXT_SCALE(float scaleX, float scaleY); // 0xA1253A3C870B6843 b1355Parameters
| # | Name | Type |
|---|---|---|
| 1 | scaleX | float |
| 2 | scaleY | float |
Facts
| Name | _BG_SET_TEXT_SCALE |
|---|---|
| Hash | 0xA1253A3C870B6843 |
| 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(0xA1253A3C870B6843, -- _BG_SET_TEXT_SCALE
0.0, -- float scaleX
0.0 -- float scaleY
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xA1253A3C870B6843", // _BG_SET_TEXT_SCALE
0.0, // float scaleX
0.0 // float scaleY
);Function.Call((Hash)0xA1253A3C870B6843, // _BG_SET_TEXT_SCALE
0.0f, // float scaleX
0.0f // float scaleY
);Related UIDEBUG natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.