Player::taskEnterVehicle
Syntax
``` player.taskEnterVehicle(vehicle, timeout, seat, speed, mode, p6); ```
Required Arguments
- vehicle: Vehicle handle or object
- timeout: int
- seat: int
- speed: float (Speeds: `1.0` Walking, `2.0` Running)
- mode: int (Modes: `1` Moves to the vehicle, `3` Teleport to the vehicle, `16` Teleports directly intro vehicle, `8` Jacks the vehicle, `262144` Enters the vehicle from the opposite door, `524288` Opens door without entering vehicle)
- p6: int (Always 0)
Return value
- Undefined