The Lab
UILOG native

_UILOG_ADD_OR_UPDATE_OBJECTIVE

returns void7 paramsbuild 1207

Based on its name and signature, here is our best reading:

Adds a new objective to the UI log or updates an existing one, with p3 presumably holding the objective text.

Signature

C
void _UILOG_ADD_OR_UPDATE_OBJECTIVE(int p0, Hash p1, Hash p2, const char* p3, BOOL p4, BOOL p5, BOOL p6); // 0xB43163388484CC87 b1207

Parameters

#NameType
1p0int
2p1Hash
3p2Hash
4p3const char*
5p4BOOL
6p5BOOL
7p6BOOL

Facts

Facts about _UILOG_ADD_OR_UPDATE_OBJECTIVE
Name
_UILOG_ADD_OR_UPDATE_OBJECTIVE
Hash
0xB43163388484CC87
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xB43163388484CC87, -- _UILOG_ADD_OR_UPDATE_OBJECTIVE
  0, -- int p0
  GetHashKey("name"), -- Hash p1
  GetHashKey("name"), -- Hash p2
  "text", -- const char* p3
  false, -- BOOL p4
  false, -- BOOL p5
  false -- BOOL p6
)
JavaScript
Citizen.invokeNative("0xB43163388484CC87", // _UILOG_ADD_OR_UPDATE_OBJECTIVE
  0, // int p0
  GetHashKey("name"), // Hash p1
  GetHashKey("name"), // Hash p2
  "text", // const char* p3
  false, // BOOL p4
  false, // BOOL p5
  false // BOOL p6
);
C#
Function.Call((Hash)0xB43163388484CC87, // _UILOG_ADD_OR_UPDATE_OBJECTIVE
  0, // int p0
  (uint)API.GetHashKey("name"), // Hash p1
  (uint)API.GetHashKey("name"), // Hash p2
  "text", // const char* p3
  false, // BOOL p4
  false, // BOOL p5
  false // BOOL p6
);
All UILOG natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.