The Lab
SCRIPT native

_RESTORE_GLOBAL_BLOCK

returns BOOL1 parambuild 1207

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

C
BOOL _RESTORE_GLOBAL_BLOCK(int index); // 0xDC3914A99B4A5FDF b1207

Parameters

#NameType
1indexint

Facts

Facts about _RESTORE_GLOBAL_BLOCK
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.

Lua
local result = Citizen.InvokeNative(0xDC3914A99B4A5FDF, -- _RESTORE_GLOBAL_BLOCK
  0 -- int index
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xDC3914A99B4A5FDF", // _RESTORE_GLOBAL_BLOCK
  0, // int index
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xDC3914A99B4A5FDF, // _RESTORE_GLOBAL_BLOCK
  0 // int index
);
All SCRIPT natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.