_DETERMINE_VEHICLE_COMPARTMENT_STATE
Determines the interaction/storage state of a vehicle rear compartment or storage area. Returns whether the query was successful and writes a state value to outState Observed states: * 1 = Compartment available / unopened * 57 = Vehicle has no valid compartment/storage * 72 = Compartment opened, resolved or depleted
VEHICLEBuild 1207
Signature
lua
DetermineVehicleCompartmentState(outState, GetVehiclePedIsIn(PlayerPedId(), false), PlayerPedId())
-- returns BOOLParameters
| Name | Type | Description |
|---|---|---|
| Any* | — | |
| Vehicle | — | |
| Ped | — |
Usage
lua
DetermineVehicleCompartmentState(outState, GetVehiclePedIsIn(PlayerPedId(), false), PlayerPedId())Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
