isThreadActive
IS_THREAD_ACTIVE0x46E9AE36D8FA6417The GTA V native IS_THREAD_ACTIVE of the SCRIPT namespace, as LS:MP client scripts call it: the global function isThreadActive, in JavaScript and in Lua.
isThreadActive(threadId: number): booleanisThreadActive(threadId: integer): booleanUsage
JavaScript
const result = isThreadActive(threadId);Lua
local result = isThreadActive(threadId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
threadId | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Script SCRIPT
- In the game
BOOL IS_THREAD_ACTIVE(int threadId)- Hash
0x46E9AE36D8FA6417