RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _DETERMINE_VEHICLE_COMPARTMENT_STATE

_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 BOOL

Parameters

NameTypeDescription
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

On this page

  • Signature
  • Parameters
  • Usage
  • Details