GET_VEHICLE_PED_IS_IN
Gets the vehicle the specified Ped is in. If the Ped is not in a vehicle and includeLastVehicle is true, the vehicle they were last in is returned.
PEDBuild 1207
Signature
lua
GetVehiclePedIsIn(PlayerPedId(), true)
-- returns VehicleParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| BOOL | — |
Usage
lua
GetVehiclePedIsIn(PlayerPedId(), true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
