The Lab
PLAYER native

FORCE_CLEANUP

returns void1 parambuild 1207

Forces script cleanup for scripts registered with the given cleanupFlags.

Signature

C
void FORCE_CLEANUP(int cleanupFlags); // 0x768C017FB878E4F4 b1207

Parameters

#NameType
1cleanupFlagsint

Facts

Facts about FORCE_CLEANUP
Name
FORCE_CLEANUP
Hash
0x768C017FB878E4F4
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x768C017FB878E4F4, -- FORCE_CLEANUP
  0 -- int cleanupFlags
)
JavaScript
Citizen.invokeNative("0x768C017FB878E4F4", // FORCE_CLEANUP
  0 // int cleanupFlags
);
C#
Function.Call((Hash)0x768C017FB878E4F4, // FORCE_CLEANUP
  0 // int cleanupFlags
);
All PLAYER natives

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