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 intParameters
| Name | Type | Description |
|---|---|---|
| Vehicle | The target vehicle. | |
| int | Index 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
