The Lab
PLAYER native

FORCE_CLEANUP_FOR_THREAD_WITH_THIS_ID

returns void2 paramsbuild 1207

Forces cleanup on the script thread id.

Signature

C
void FORCE_CLEANUP_FOR_THREAD_WITH_THIS_ID(int id, int cleanupFlags); // 0xF4C9512A2F0A3031 b1207

Parameters

#NameType
1idint
2cleanupFlagsint

Facts

Facts about FORCE_CLEANUP_FOR_THREAD_WITH_THIS_ID
Name
FORCE_CLEANUP_FOR_THREAD_WITH_THIS_ID
Hash
0xF4C9512A2F0A3031
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(0xF4C9512A2F0A3031, -- FORCE_CLEANUP_FOR_THREAD_WITH_THIS_ID
  0, -- int id
  0 -- int cleanupFlags
)
JavaScript
Citizen.invokeNative("0xF4C9512A2F0A3031", // FORCE_CLEANUP_FOR_THREAD_WITH_THIS_ID
  0, // int id
  0 // int cleanupFlags
);
C#
Function.Call((Hash)0xF4C9512A2F0A3031, // FORCE_CLEANUP_FOR_THREAD_WITH_THIS_ID
  0, // int id
  0 // int cleanupFlags
);
All PLAYER natives

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