RedM Natives

_BG_SET_TEXT_COLOR

Hash0x16FA5CE47F184F1E
Runtime nameBgSetTextColor
NamespaceUIDEBUG
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

NameTypeDescription
redint—
greenint—
blueint—
alphaint—

Returns void

Description

https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/colours

Usage

Lua
BgSetTextColor(red, green, blue, alpha)

-- always works, by hash
Citizen.InvokeNative(0x16FA5CE47F184F1E, red, green, blue, alpha)
JavaScript and C#
JavaScript
BgSetTextColor(red, green, blue, alpha);

// by hash
Citizen.invokeNative('0x16FA5CE47F184F1E', red, green, blue, alpha);
C#
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 InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.