RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_VEHICLE_DOOR_STATUS

GET_VEHICLE_DOOR_STATUS

Returns the open position of the specified door on the target vehicle.

CFX

Signature

lua
GetVehicleDoorStatus(GetVehiclePedIsIn(PlayerPedId(), false), 0)
-- returns int

Parameters

NameTypeDescription
VehicleThe target vehicle.
intIndex of door to check (0-6).

Usage

lua
GetVehicleDoorStatus(GetVehiclePedIsIn(PlayerPedId(), false), 0)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details