The Lab
VOLUME native

_ADD_ENTRY_VOLUME_LOCK

returns BOOL1 parambuild 1311

Based on its name and signature, here is our best reading:

Adds a volume lock entry described by the args structure and returns a success flag.

Signature

C
BOOL _ADD_ENTRY_VOLUME_LOCK(Any* args); // 0x58D3803FA639A3BB b1311

Parameters

#NameType
1argsAny* (out pointer)

Facts

Facts about _ADD_ENTRY_VOLUME_LOCK
Name
_ADD_ENTRY_VOLUME_LOCK
Hash
0x58D3803FA639A3BB
Namespace
Returns
BOOL
Game build
1311

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result, args = Citizen.InvokeNative(0x58D3803FA639A3BB, -- _ADD_ENTRY_VOLUME_LOCK
  Citizen.PointerValueInt(), -- Any* args
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, args] = Citizen.invokeNative("0x58D3803FA639A3BB", // _ADD_ENTRY_VOLUME_LOCK
  Citizen.pointerValueInt(), // Any* args
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var argsArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x58D3803FA639A3BB, // _ADD_ENTRY_VOLUME_LOCK
  argsArg // Any* args
);
int args = argsArg.GetResult<int>();
All VOLUME natives

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