RedM Natives

CAN_PED_BE_MOUNTED

Hash0x2D64376CF437363E
Runtime nameCanPedBeMounted
NamespacePED
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL CAN_PED_BE_MOUNTED(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Usage

Lua
local retval = CanPedBeMounted(ped)

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

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

Sources

alloc8or RDR3 NativeDB

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