RedM Natives

FORCE_CLEANUP

Hash0x768C017FB878E4F4
Runtime nameForceCleanup
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xBC8983F38F78ED51

Signature

void FORCE_CLEANUP(int cleanupFlags);

Parameters

NameTypeDescription
cleanupFlagsint—

Returns void

Usage

Lua
ForceCleanup(cleanupFlags)

-- always works, by hash
Citizen.InvokeNative(0x768C017FB878E4F4, cleanupFlags)
JavaScript and C#
JavaScript
ForceCleanup(cleanupFlags);

// by hash
Citizen.invokeNative('0x768C017FB878E4F4', cleanupFlags);
C#
Function.Call((Hash)0x768C017FB878E4F4, cleanupFlags);

Sources

alloc8or RDR3 NativeDB

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