_RESTORE_GLOBAL_BLOCK
Based on its name and signature, here is our best reading:
Appears to restore the global variable block at index from its stored copy, returning true on success.
Signature
BOOL _RESTORE_GLOBAL_BLOCK(int index); // 0xDC3914A99B4A5FDF b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | index | int |
Facts
| Name | _RESTORE_GLOBAL_BLOCK |
|---|---|
| Hash | 0xDC3914A99B4A5FDF |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xDC3914A99B4A5FDF, -- _RESTORE_GLOBAL_BLOCK
0 -- int index
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xDC3914A99B4A5FDF", // _RESTORE_GLOBAL_BLOCK
0, // int index
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xDC3914A99B4A5FDF, // _RESTORE_GLOBAL_BLOCK
0 // int index
);Related SCRIPT natives
- _DOES_COMPRESSED_GLOBAL_BLOCK_BUFFER_EXIST
- _GET_GLOBAL_BLOCK_CAN_BE_ACCESSED
- _SET_GLOBAL_BLOCK_CAN_BE_ACCESSED
- _STORE_GLOBAL_BLOCK
- _SET_ALL_GLOBAL_BLOCKS_HAVE_BEEN_LOADED
- GET_BLOCK_OF_PLAYER_BITS
- SET_BLOCK_OF_PLAYER_BITS
- _REQUEST_THREAD_EXIT
- _REQUEST_THREAD_EXIT_FOR_ALL_THREADS_WITH_THIS_NAME
- _ACTIVATE_GOAL_CONTEXT
- _AWARDS_GET_UNLOCK_CLAIM_DATA
- _BG_RELOAD_ALL_BACKGROUND_SCRIPTS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.