PedClient

isPedOnMount

IS_PED_ON_MOUNT0x460BC76A0E10655E

The GTA V native IS_PED_ON_MOUNT of the PED namespace, as LS:MP client scripts call it: the global function isPedOnMount, in JavaScript and in Lua.

SignatureJavaScript
isPedOnMount(ped: Ped): boolean
SignatureLua
isPedOnMount(ped: Ped): boolean

Usage

JavaScript
const result = isPedOnMount(ped);
Lua
local result = isPedOnMount(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Same function call as getMount, aka just returns 0

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_ON_MOUNT(Ped ped)
Hash
0x460BC76A0E10655E

Open in the interactive natives reference