_SET_TEXT_COLOR
This native does nothing since build 1436, use _BG_SET_TEXT_COLOR (0x16FA5CE47F184F1E) instead.
Hash
0x50A41AD966910F03Runtime name
SetTextColorNamespaceHUD
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
| Name | Type | Description |
|---|---|---|
r | int | — |
g | int | — |
b | int | — |
a | int | — |
Returns void
Description
This native does nothing since build 1436, use _BG_SET_TEXT_COLOR (0x16FA5CE47F184F1E) instead.
Usage
SetTextColor(r, g, b, a)
-- always works, by hash
Citizen.InvokeNative(0x50A41AD966910F03, r, g, b, a)JavaScript and C#
SetTextColor(r, g, b, a);
// by hash
Citizen.invokeNative('0x50A41AD966910F03', r, g, b, a);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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.