RedM Natives

_SET_TEXT_COLOR

This native does nothing since build 1436, use _BG_SET_TEXT_COLOR (0x16FA5CE47F184F1E) instead.

Hash0x50A41AD966910F03
Runtime nameSetTextColor
NamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207

Not called by the game's own scripts — behaviour may be incomplete.

Signature

void _SET_TEXT_COLOR(int r, int g, int b, int a);

Parameters

NameTypeDescription
rint—
gint—
bint—
aint—

Returns void

Description

This native does nothing since build 1436, use _BG_SET_TEXT_COLOR (0x16FA5CE47F184F1E) instead.

Usage

Lua
SetTextColor(r, g, b, a)

-- always works, by hash
Citizen.InvokeNative(0x50A41AD966910F03, r, g, b, a)
JavaScript and C#
JavaScript
SetTextColor(r, g, b, a);

// by hash
Citizen.invokeNative('0x50A41AD966910F03', r, g, b, a);
C#
Function.Call((Hash)0x50A41AD966910F03, r, g, b, a);
  • 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.