_IS_GLOBAL_BLOCK_VALID
Based on its name and signature, here is our best reading:
Returns true if the script global block at index is valid.
Signature
BOOL _IS_GLOBAL_BLOCK_VALID(int index); // 0xACB7E1418A8B6E32 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | index | int |
Facts
| Name | _IS_GLOBAL_BLOCK_VALID |
|---|---|
| Hash | 0xACB7E1418A8B6E32 |
| 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(0xACB7E1418A8B6E32, -- _IS_GLOBAL_BLOCK_VALID
0 -- int index
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xACB7E1418A8B6E32", // _IS_GLOBAL_BLOCK_VALID
0, // int index
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xACB7E1418A8B6E32, // _IS_GLOBAL_BLOCK_VALID
0 // int index
);Related MISC natives
- _SET_GLOBAL_BLOCK_IS_LOADED
- IS_INCIDENT_VALID
- _IS_ANY_BIT_FLAG_SET
- _IS_BASE_A_COVER_POINT
- _IS_BASE_A_PERSISTENT_CHARACTER
- _IS_BIT_FLAG_SET
- _IS_MISSION_CREATOR_ACTIVE
- _IS_PED_DECOMPOSED
- _IS_PLAYER_OWNING_STANDALONE_SP
- _DOES_ITEM_HAVE_VALID_BASE
- ACTION_MANAGER_IS_ACTION_ENABLED
- BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.