RedM Natives

SET_PED_ONTO_MOUNT

Hash0x028F76B6E78246EB
Runtime nameSetPedOntoMount
NamespacePED
SideClient
NameOfficial
Docs
Since build1207

Signature

void SET_PED_ONTO_MOUNT(Ped ped, Ped mount, int seatIndex, BOOL p3);

Parameters

NameTypeDescription
pedPed—
mountPed—
seatIndexint—
p3BOOL—

Returns void

Usage

Lua
SetPedOntoMount(ped, mount, seatIndex, p3)

-- always works, by hash
Citizen.InvokeNative(0x028F76B6E78246EB, ped, mount, seatIndex, p3)
JavaScript and C#
JavaScript
SetPedOntoMount(ped, mount, seatIndex, p3);

// by hash
Citizen.invokeNative('0x028F76B6E78246EB', ped, mount, seatIndex, p3);
C#
Function.Call((Hash)0x028F76B6E78246EB, ped, mount, seatIndex, p3);

Sources

alloc8or RDR3 NativeDB

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