GetVehiclePedIsIn — RedM Natives
0xAFE92319 · CFX · server
Gets the vehicle the specified Ped is/was in depending on bool value. This native is used server side when using OneSync.
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | The target ped |
| lastVehicle | BOOL | False = CurrentVehicle, True = LastVehicle |
Returns
Vehicle