The Lab
HUD native

_SET_TEXT_COLOR

returns void4 paramsbuild 1207

Sets the RGBA color used by the next text drawn on screen.

Call it right before the text draw call, every frame.

Signature

C
void _SET_TEXT_COLOR(int r, int g, int b, int a); // 0x50A41AD966910F03 b1207

Parameters

#NameType
1rint
2gint
3bint
4aint

Facts

Facts about _SET_TEXT_COLOR
Name
_SET_TEXT_COLOR
Hash
0x50A41AD966910F03
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x50A41AD966910F03, -- _SET_TEXT_COLOR
  0, -- int r
  0, -- int g
  0, -- int b
  0 -- int a
)
JavaScript
Citizen.invokeNative("0x50A41AD966910F03", // _SET_TEXT_COLOR
  0, // int r
  0, // int g
  0, // int b
  0 // int a
);
C#
Function.Call((Hash)0x50A41AD966910F03, // _SET_TEXT_COLOR
  0, // int r
  0, // int g
  0, // int b
  0 // int a
);
All HUD natives

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