RedM Natives

SET_PED_INTO_VEHICLE

Hash0xF75B0D629E1C063D
Runtime nameSetPedIntoVehicle
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xF75B0D629E1C063D

Signature

void SET_PED_INTO_VEHICLE(Ped ped, Vehicle vehicle, int seatIndex);

Parameters

NameTypeDescription
pedPed—
vehicleVehicle—
seatIndexint—

Returns void

Description

Ped: The ped to warp.
vehicle: The vehicle to warp the ped into.
seatIndex: see CREATE_PED_INSIDE_VEHICLE

Usage

Lua
SetPedIntoVehicle(ped, vehicle, seatIndex)

-- always works, by hash
Citizen.InvokeNative(0xF75B0D629E1C063D, ped, vehicle, seatIndex)
JavaScript and C#
JavaScript
SetPedIntoVehicle(ped, vehicle, seatIndex);

// by hash
Citizen.invokeNative('0xF75B0D629E1C063D', ped, vehicle, seatIndex);
C#
Function.Call((Hash)0xF75B0D629E1C063D, ped, vehicle, seatIndex);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.