_BG_SET_TEXT_COLOR
Hash
0x16FA5CE47F184F1ERuntime name
BgSetTextColorNamespaceUIDEBUG
SideClient
NameCommunity guess
Docs
Since build1355
Not called by the game's own scripts — behaviour may be incomplete.
Signature
void _BG_SET_TEXT_COLOR(int red, int green, int blue, int alpha);Parameters
| Name | Type | Description |
|---|---|---|
red | int | — |
green | int | — |
blue | int | — |
alpha | int | — |
Returns void
Description
https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/colours
Usage
BgSetTextColor(red, green, blue, alpha)
-- always works, by hash
Citizen.InvokeNative(0x16FA5CE47F184F1E, red, green, blue, alpha)JavaScript and C#
BgSetTextColor(red, green, blue, alpha);
// by hash
Citizen.invokeNative('0x16FA5CE47F184F1E', red, green, blue, alpha);Function.Call((Hash)0x16FA5CE47F184F1E, red, green, blue, alpha);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.