SET_THIS_THREAD_PRIORITY
Hash
0x42B65DEEF2EDF2A1Runtime name
SetThisThreadPriorityNamespaceBUILTIN
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x42B65DEEF2EDF2A1Signature
void SET_THIS_THREAD_PRIORITY(int priority);Parameters
| Name | Type | Description |
|---|---|---|
priority | int | — |
Returns void
Description
THREAD_PRIO_HIGHEST = 0
THREAD_PRIO_NORMAL = 1
THREAD_PRIO_LOWEST = 2
THREAD_PRIO_MANUAL_UPDATE = 100
Usage
SetThisThreadPriority(priority)
-- always works, by hash
Citizen.InvokeNative(0x42B65DEEF2EDF2A1, priority)JavaScript and C#
SetThisThreadPriority(priority);
// by hash
Citizen.invokeNative('0x42B65DEEF2EDF2A1', priority);Function.Call((Hash)0x42B65DEEF2EDF2A1, priority);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.