RedM Natives

_UILOG_ADD_OR_UPDATE_OBJECTIVE

Hash0xB43163388484CC87
Runtime nameUilogAddOrUpdateObjective
NamespaceUILOG
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _UILOG_ADD_OR_UPDATE_OBJECTIVE(int p0, Hash p1, Hash p2, const char* p3, BOOL p4, BOOL p5, BOOL p6);

Parameters

NameTypeDescription
p0int—
p1Hash—
p2Hash—
p3const char*—
p4BOOL—
p5BOOL—
p6BOOL—

Returns void

Usage

Lua
UilogAddOrUpdateObjective(p0, p1, p2, p3, p4, p5, p6)

-- always works, by hash
Citizen.InvokeNative(0xB43163388484CC87, p0, p1, p2, p3, p4, p5, p6)
JavaScript and C#
JavaScript
UilogAddOrUpdateObjective(p0, p1, p2, p3, p4, p5, p6);

// by hash
Citizen.invokeNative('0xB43163388484CC87', p0, p1, p2, p3, p4, p5, p6);
C#
Function.Call((Hash)0xB43163388484CC87, p0, p1, p2, p3, p4, p5, p6);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • 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.

Enums and flags

Sources

alloc8or RDR3 NativeDB

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