RedM Natives

FORCE_CLEANUP_FOR_ALL_THREADS_WITH_THIS_NAME

Hash0xDAACAF8B687F2353
Runtime nameForceCleanupForAllThreadsWithThisName
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x4C68DDDDF0097317

Signature

void FORCE_CLEANUP_FOR_ALL_THREADS_WITH_THIS_NAME(const char* name, int cleanupFlags);

Parameters

NameTypeDescription
nameconst char*—
cleanupFlagsint—

Returns void

Usage

Lua
ForceCleanupForAllThreadsWithThisName(name, cleanupFlags)

-- always works, by hash
Citizen.InvokeNative(0xDAACAF8B687F2353, name, cleanupFlags)
JavaScript and C#
JavaScript
ForceCleanupForAllThreadsWithThisName(name, cleanupFlags);

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

Sources

alloc8or RDR3 NativeDB

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