DOES_THREAD_EXIST
Hash
0xFF975BC4435A0FA3Runtime name
DoesThreadExistNamespaceSCRIPT
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL DOES_THREAD_EXIST(int threadId);Parameters
| Name | Type | Description |
|---|---|---|
threadId | int | — |
Returns BOOL
Usage
local retval = DoesThreadExist(threadId)
-- always works, by hash
local retval = Citizen.InvokeNative(0xFF975BC4435A0FA3, threadId, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = DoesThreadExist(threadId);
// by hash
const retval = Citizen.invokeNative('0xFF975BC4435A0FA3', threadId, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xFF975BC4435A0FA3, threadId);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.