RedM Natives

_SET_GLOBAL_BLOCK_CAN_BE_ACCESSED

Hash0xE66F392BFCE734AF
Runtime nameSetGlobalBlockCanBeAccessed
NamespaceSCRIPT
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_GLOBAL_BLOCK_CAN_BE_ACCESSED(int index, BOOL toggle);

Parameters

NameTypeDescription
indexint—
toggleBOOL—

Returns void

Usage

Lua
SetGlobalBlockCanBeAccessed(index, toggle)

-- always works, by hash
Citizen.InvokeNative(0xE66F392BFCE734AF, index, toggle)
JavaScript and C#
JavaScript
SetGlobalBlockCanBeAccessed(index, toggle);

// by hash
Citizen.invokeNative('0xE66F392BFCE734AF', index, toggle);
C#
Function.Call((Hash)0xE66F392BFCE734AF, index, toggle);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.