The Lab
SCRIPT native

_REQUEST_THREAD_EXIT

returns void1 parambuild 1207

Asks the thread threadId to exit, giving it a chance to clean up rather than killing it outright.

Signature

C
void _REQUEST_THREAD_EXIT(int threadId); // 0x7DE4643157AD646C b1207

Parameters

#NameType
1threadIdint

Facts

Facts about _REQUEST_THREAD_EXIT
Name
_REQUEST_THREAD_EXIT
Hash
0x7DE4643157AD646C
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(0x7DE4643157AD646C, -- _REQUEST_THREAD_EXIT
  0 -- int threadId
)
JavaScript
Citizen.invokeNative("0x7DE4643157AD646C", // _REQUEST_THREAD_EXIT
  0 // int threadId
);
C#
Function.Call((Hash)0x7DE4643157AD646C, // _REQUEST_THREAD_EXIT
  0 // int threadId
);
All SCRIPT natives

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