RedM Natives

GET_CAUSE_OF_MOST_RECENT_FORCE_CLEANUP

Hash0x84E8E29EBD4A46D2
Runtime nameGetCauseOfMostRecentForceCleanup
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x9A41CF4674A12272

Signature

int GET_CAUSE_OF_MOST_RECENT_FORCE_CLEANUP();

Returns int

Usage

Lua
local retval = GetCauseOfMostRecentForceCleanup()

-- always works, by hash
local retval = Citizen.InvokeNative(0x84E8E29EBD4A46D2, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetCauseOfMostRecentForceCleanup();

// by hash
const retval = Citizen.invokeNative('0x84E8E29EBD4A46D2', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x84E8E29EBD4A46D2);

Sources

alloc8or RDR3 NativeDB

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