TaskEnterVehicle — RedM Natives
0xB8689B4E · CFX · server
`` speed 1.0 = walk, 2.0 = run p5 1 = normal, 3 = teleport to vehicle, 8 = normal/carjack ped from seat, 16 = teleport directly into vehicle p6 is always 0 `` This is the server-side RPC native equivalent of the client native TASK_ENTER_VEHICLE.
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | |
| vehicle | Vehicle | |
| timeout | int | |
| seatIndex | int | See eSeatPosition declared in [`IS_VEHICLE_SEAT_FREE`](#\_0x22AC59A870E6A669). |
| speed | float | |
| flag | int | |
| p6 | Any |
Returns
void