TASK_WARP_PED_INTO_VEHICLE
``` NativeDB Introduced: v323 ``` Warp a ped into a vehicle. **Note**: It's better to use [`TASK_ENTER_VEHICLE`](#\_0xC20E50AA46D09CA8) with the flag "warp" flag instead of this native. **This is the server-side RPC native equivalent of the client native [TASK_WARP_PED_INTO_VEHICLE](?\_0x9A7D091411C5F684).**
CFX
Signature
lua
TaskWarpPedIntoVehicle(PlayerPedId(), GetVehiclePedIsIn(PlayerPedId(), false), 0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | The Ped to be warped into the vehicle. | |
| Vehicle | The target vehicle into which the ped will be warped. | |
| int | See eSeatPosition declared in [`IS_VEHICLE_SEAT_FREE`](#\_0x22AC59A870E6A669). |
Usage
lua
TaskWarpPedIntoVehicle(PlayerPedId(), 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
