RedM Natives

IS_PED_ON_MOUNT

Hash0x43103006
Runtime nameIsPedOnMount
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

BOOL IS_PED_ON_MOUNT(Ped ped);

Parameters

NameTypeDescription
pedPed

the ped id

Returns BOOL — Returns `true` if the specified `ped` is on a mount.

Usage

Lua
local retval = IsPedOnMount(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x43103006, ped, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPedOnMount(ped);

// by hash
const retval = Citizen.invokeNative('0x43103006', ped, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x43103006, ped);

Sources

Cfx.re native reference

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