| Property | Value |
|---|---|
| Native Name | _SET_THREAD_PRIORITY |
| Hash | 0x42B65DEEF2EDF2A1 |
| Return Type | void |
| Build | 1207 |
| Parameters | priority (int) |
Description: THREAD_PRIO_HIGHEST = 0 THREAD_PRIO_NORMAL = 1 THREAD_PRIO_LOWEST = 2 THREAD_PRIO_MANUAL_UPDATE = 100
Usage
Lua (Direct):
SetThreadPriority(priority)
Lua (Hash):
Citizen.InvokeNative(0x42B65DEEF2EDF2A1, priority)