SET_THIS_THREAD_PRIORITY
Sets the scheduling priority of the currently running script thread to priority.
Signature
void SET_THIS_THREAD_PRIORITY(int priority); // 0x42B65DEEF2EDF2A1 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | priority | int |
Facts
| Name | SET_THIS_THREAD_PRIORITY |
|---|---|
| Hash | 0x42B65DEEF2EDF2A1 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x42B65DEEF2EDF2A1, -- SET_THIS_THREAD_PRIORITY
0 -- int priority
)Citizen.invokeNative("0x42B65DEEF2EDF2A1", // SET_THIS_THREAD_PRIORITY
0 // int priority
);Function.Call((Hash)0x42B65DEEF2EDF2A1, // SET_THIS_THREAD_PRIORITY
0 // int priority
);Related BUILTIN natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.