isPedOnMount
IS_PED_ON_MOUNT0x460BC76A0E10655EThe 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.
isPedOnMount(ped: Ped): booleanisPedOnMount(ped: Ped): booleanUsage
JavaScript
const result = isPedOnMount(ped);Lua
local result = isPedOnMount(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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