GET_LAST_PED_IN_VEHICLE_SEAT
Hash
0x74583B19FEEAFDA7Runtime name
GetLastPedInVehicleSeatNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x83F969AA1EE2A664Signature
Ped GET_LAST_PED_IN_VEHICLE_SEAT(Vehicle vehicle, int seatIndex);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
seatIndex | int | — |
Returns Ped
Description
seatIndex: see CREATE_PED_INSIDE_VEHICLE
Usage
local retval = GetLastPedInVehicleSeat(vehicle, seatIndex)
-- always works, by hash
local retval = Citizen.InvokeNative(0x74583B19FEEAFDA7, vehicle, seatIndex, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetLastPedInVehicleSeat(vehicle, seatIndex);
// by hash
const retval = Citizen.invokeNative('0x74583B19FEEAFDA7', vehicle, seatIndex, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x74583B19FEEAFDA7, vehicle, seatIndex);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.