_BG_SET_TEXT_COLOR
Sets the RGBA color used by subsequent debug text drawn with _BG_DISPLAY_TEXT.
Signature
void _BG_SET_TEXT_COLOR(int red, int green, int blue, int alpha); // 0x16FA5CE47F184F1E b1355Parameters
| # | Name | Type |
|---|---|---|
| 1 | red | int |
| 2 | green | int |
| 3 | blue | int |
| 4 | alpha | int |
Facts
| Name | _BG_SET_TEXT_COLOR |
|---|---|
| Hash | 0x16FA5CE47F184F1E |
| 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(0x16FA5CE47F184F1E, -- _BG_SET_TEXT_COLOR
0, -- int red
0, -- int green
0, -- int blue
0 -- int alpha
)Citizen.invokeNative("0x16FA5CE47F184F1E", // _BG_SET_TEXT_COLOR
0, // int red
0, // int green
0, // int blue
0 // int alpha
);Function.Call((Hash)0x16FA5CE47F184F1E, // _BG_SET_TEXT_COLOR
0, // int red
0, // int green
0, // int blue
0 // int alpha
);Related UIDEBUG natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.