The Lab
UILOG native

_UILOG_IS_ENTRY_REGISTERED

returns BOOL2 paramsbuild 1207

Returns true if a UI log entry of type p0 with id p1 is registered.

Signature

C
BOOL _UILOG_IS_ENTRY_REGISTERED(int p0, Hash p1); // 0xB8188CCF52202475 b1207

Parameters

#NameType
1p0int
2p1Hash

Facts

Facts about _UILOG_IS_ENTRY_REGISTERED
Name
_UILOG_IS_ENTRY_REGISTERED
Hash
0xB8188CCF52202475
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0xB8188CCF52202475, -- _UILOG_IS_ENTRY_REGISTERED
  0, -- int p0
  GetHashKey("name") -- Hash p1
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xB8188CCF52202475", // _UILOG_IS_ENTRY_REGISTERED
  0, // int p0
  GetHashKey("name"), // Hash p1
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xB8188CCF52202475, // _UILOG_IS_ENTRY_REGISTERED
  0, // int p0
  (uint)API.GetHashKey("name") // Hash p1
);
All UILOG natives

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