The Lab
UIDEBUG native

_BG_SET_TEXT_COLOR

returns void4 paramsbuild 1355

Sets the RGBA color used by subsequent debug text drawn with _BG_DISPLAY_TEXT.

Signature

C
void _BG_SET_TEXT_COLOR(int red, int green, int blue, int alpha); // 0x16FA5CE47F184F1E b1355

Parameters

#NameType
1redint
2greenint
3blueint
4alphaint

Facts

Facts about _BG_SET_TEXT_COLOR
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.

Lua
Citizen.InvokeNative(0x16FA5CE47F184F1E, -- _BG_SET_TEXT_COLOR
  0, -- int red
  0, -- int green
  0, -- int blue
  0 -- int alpha
)
JavaScript
Citizen.invokeNative("0x16FA5CE47F184F1E", // _BG_SET_TEXT_COLOR
  0, // int red
  0, // int green
  0, // int blue
  0 // int alpha
);
C#
Function.Call((Hash)0x16FA5CE47F184F1E, // _BG_SET_TEXT_COLOR
  0, // int red
  0, // int green
  0, // int blue
  0 // int alpha
);
All UIDEBUG natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.