_SET_TEXT_COLOR
Sets the RGBA color used by the next text drawn on screen.
Call it right before the text draw call, every frame.
Signature
void _SET_TEXT_COLOR(int r, int g, int b, int a); // 0x50A41AD966910F03 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | r | int |
| 2 | g | int |
| 3 | b | int |
| 4 | a | int |
Facts
| 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.
Citizen.InvokeNative(0x50A41AD966910F03, -- _SET_TEXT_COLOR
0, -- int r
0, -- int g
0, -- int b
0 -- int a
)Citizen.invokeNative("0x50A41AD966910F03", // _SET_TEXT_COLOR
0, // int r
0, // int g
0, // int b
0 // int a
);Function.Call((Hash)0x50A41AD966910F03, // _SET_TEXT_COLOR
0, // int r
0, // int g
0, // int b
0 // int a
);Related HUD natives
- _BUSYSPINNER_SET_TEXT
- _UI_PROMPT_SET_TEXT
- SET_MP_GAMER_TAG_BIG_TEXT
- SET_TEXT_RENDER_ID
- _SET_CURRENT_UGC_MISSION_DESCRIPTION
- _SET_MP_GAMER_TAG_COLOUR
- _SET_MP_GAMER_TAG_NAME_POSSE
- _SET_MP_GAMER_TAG_SECONDARY_ICON
- _SET_MP_GAMER_TAG_TOP_ICON
- _SET_MP_GAMER_TAG_TYPE
- _SET_MP_GAMER_TAG_UNK_ALLOW_LOCALIZED
- _SET_MP_GAMER_TAG_VISIBILITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.