RedM Natives

_UILOG_POST_NOTIFICATION

Hash0x49E58FE6EF40B987
Runtime nameUilogPostNotification
NamespaceUILOG
SideClient
NameCommunity guess
Docs
Since build1207

Signature

int _UILOG_POST_NOTIFICATION(Any* data);

Parameters

NameTypeDescription
dataAny*—

Returns int

Usage

Lua
local retval, data = UilogPostNotification(data)

-- always works, by hash
local retval, data = Citizen.InvokeNative(0x49E58FE6EF40B987, Citizen.PointerValueIntInitialized(data), Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const [retval, data] = UilogPostNotification(data);

// by hash
const [retval, data] = Citizen.invokeNative('0x49E58FE6EF40B987', Citizen.pointerValueIntInitialized(data), Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
var data = new OutputArgument();
int retval = Function.Call<int>((Hash)0x49E58FE6EF40B987, data);
// data.GetResult<int>()
  • The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
  • Any* arguments are often structs. Build them with a DataView buffer and pass it with :Buffer() — see the examples and notes below.
  • 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.