The Lab
SCRIPT native

_IS_THREAD_EXIT_REQUESTED_FOR_THREAD_WITH_THIS_ID

returns BOOL1 parambuild 1207

Returns true if an exit has been requested for the thread threadId.

Signature

C
BOOL _IS_THREAD_EXIT_REQUESTED_FOR_THREAD_WITH_THIS_ID(int threadId); // 0x30BED53646C86D11 b1207

Parameters

#NameType
1threadIdint

Facts

Facts about _IS_THREAD_EXIT_REQUESTED_FOR_THREAD_WITH_THIS_ID
Name
_IS_THREAD_EXIT_REQUESTED_FOR_THREAD_WITH_THIS_ID
Hash
0x30BED53646C86D11
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x30BED53646C86D11, -- _IS_THREAD_EXIT_REQUESTED_FOR_THREAD_WITH_THIS_ID
  0 -- int threadId
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x30BED53646C86D11", // _IS_THREAD_EXIT_REQUESTED_FOR_THREAD_WITH_THIS_ID
  0, // int threadId
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x30BED53646C86D11, // _IS_THREAD_EXIT_REQUESTED_FOR_THREAD_WITH_THIS_ID
  0 // int threadId
);
All SCRIPT natives

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