Vehicle::setDoorOpen
Opens the door of the vehicle.
doorIndex:
- 0 = Front Left Door
- 1 = Front Right Door
- 2 = Back Left Door
- 3 = Back Right Door
- 4 = Hood
- 5 = Trunk
- 6 = Back
- 7 = Back2
Syntax
``` vehicle.setDoorOpen(doorIndex, loose, openInstantly); ```
Required Arguments
- doorIndex:
- loose:
- openInstantly:
Return value
- Undefined
Example
When in a vehicle, pressing the N key will open/close the hood