_GET_HASH_OF_THREAD
Returns the script name hash of the thread threadId.
Signature
Hash _GET_HASH_OF_THREAD(int threadId); // 0x724CB89D35B283D0 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | threadId | int |
Facts
| Name | _GET_HASH_OF_THREAD |
|---|---|
| Hash | 0x724CB89D35B283D0 |
| Namespace | |
| Returns | Hash |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local hash = Citizen.InvokeNative(0x724CB89D35B283D0, -- _GET_HASH_OF_THREAD
0, -- int threadId
Citizen.ResultAsInteger()
)
print(hash)const hash = Citizen.invokeNative("0x724CB89D35B283D0", // _GET_HASH_OF_THREAD
0, // int threadId
Citizen.resultAsInteger()
);
console.log(hash)int hash = Function.Call<int>((Hash)0x724CB89D35B283D0, // _GET_HASH_OF_THREAD
0 // int threadId
);Related SCRIPT natives
- GET_HASH_OF_THIS_SCRIPT_NAME
- GET_ID_OF_THIS_THREAD
- GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH
- SCRIPT_THREAD_ITERATOR_GET_NEXT_THREAD_ID
- _GET_THREAD_EXIT_REASON
- _IS_THREAD_EXIT_REQUESTED_FOR_THREAD_WITH_THIS_ID
- BG_GET_SCRIPT_ID_FROM_NAME_HASH
- GET_BLOCK_OF_PLAYER_BITS
- GET_NUMBER_OF_EVENTS
- GET_THREAD_EXISTENCE_DETAILS
- _GET_GLOBAL_BLOCK_CAN_BE_ACCESSED
- _AWARDS_GET_UNLOCK_CLAIM_DATA
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.