_REQUEST_THREAD_EXIT
Asks the thread threadId to exit, giving it a chance to clean up rather than killing it outright.
Signature
void _REQUEST_THREAD_EXIT(int threadId); // 0x7DE4643157AD646C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | threadId | int |
Facts
| Name | _REQUEST_THREAD_EXIT |
|---|---|
| Hash | 0x7DE4643157AD646C |
| 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(0x7DE4643157AD646C, -- _REQUEST_THREAD_EXIT
0 -- int threadId
)Citizen.invokeNative("0x7DE4643157AD646C", // _REQUEST_THREAD_EXIT
0 // int threadId
);Function.Call((Hash)0x7DE4643157AD646C, // _REQUEST_THREAD_EXIT
0 // int threadId
);Related SCRIPT natives
- _REQUEST_THREAD_EXIT_FOR_ALL_THREADS_WITH_THIS_NAME
- _IS_THREAD_EXIT_REQUESTED_FOR_THREAD_WITH_THIS_ID
- _GET_THREAD_EXIT_REASON
- IS_THREAD_EXIT_REQUESTED
- SCRIPT_THREAD_ITERATOR_GET_NEXT_THREAD_ID
- _GET_HASH_OF_THREAD
- DOES_THREAD_EXIST
- GET_ID_OF_THIS_THREAD
- GET_THREAD_EXISTENCE_DETAILS
- IS_THREAD_ACTIVE
- REQUEST_SCRIPT
- REQUEST_SCRIPT_WITH_NAME_HASH
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.