RedM Natives

_SET_CARGO_COMPARTMENT_OPEN

Forces open a vehicle's primary cargo access point, such as dropping a wagon tailgate, opening a built-in lockbox, or revealing a hidden compartment.

Hash0xF6E3D38869D0F7AD
Runtime nameSetCargoCompartmentOpen
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_SET_VEHICLE_COMPARTMENT_DOOR_OPEN

Signature

void _SET_CARGO_COMPARTMENT_OPEN(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns void

Description

alloc8or RDR3 NativeDB

Forces open a vehicle's primary cargo access point, such as dropping a wagon tailgate, opening a built-in lockbox, or revealing a hidden compartment.
One-way trigger: calling this again does not close the compartment.

VORPCORE RDR3natives

Opens the compartment door of a vehicle if it has one, dropping the tailgate, opening a built-in lockbox, or revealing a hidden smuggler compartment

Usage

Lua
SetCargoCompartmentOpen(vehicle)

-- always works, by hash
Citizen.InvokeNative(0xF6E3D38869D0F7AD, vehicle)
JavaScript and C#
JavaScript
SetCargoCompartmentOpen(vehicle);

// by hash
Citizen.invokeNative('0xF6E3D38869D0F7AD', vehicle);
C#
Function.Call((Hash)0xF6E3D38869D0F7AD, vehicle);
  • 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 · VORPCORE RDR3natives

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