RedM Natives

_ADD_ENTRY_VOLUME_LOCK

Hash0x58D3803FA639A3BB
Runtime nameAddEntryVolumeLock
NamespaceVOLUME
SideClient
NameCommunity guess
Docs
Since build1311

Signature

BOOL _ADD_ENTRY_VOLUME_LOCK(Any* args);

Parameters

NameTypeDescription
argsAny*—

Returns BOOL

Usage

Lua
local retval, args = AddEntryVolumeLock(args)

-- always works, by hash
local retval, args = Citizen.InvokeNative(0x58D3803FA639A3BB, Citizen.PointerValueIntInitialized(args), Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, args] = AddEntryVolumeLock(args);

// by hash
const [retval, args] = Citizen.invokeNative('0x58D3803FA639A3BB', Citizen.pointerValueIntInitialized(args), Citizen.returnResultAnyway());
C#
var args = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x58D3803FA639A3BB, args);
// args.GetResult<int>()
  • The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
  • Any* arguments are often structs. Build them with a DataView buffer and pass it with :Buffer() — see the examples and notes below.
  • 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.

Sources

alloc8or RDR3 NativeDB

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