getMount
GET_MOUNT0xE7E11B8DCBED1058The GTA V native GET_MOUNT of the PED namespace, as LS:MP client scripts call it: the global function getMount, in JavaScript and in Lua.
getMount(ped: Ped): PedgetMount(ped: Ped): PedUsage
JavaScript
const result = getMount(ped);Lua
local result = getMount(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
Ped JavaScript number, Lua integerGame handle of a ped. Not an LS:MP netId. Convert one with lsmp.getEntityFromNetId.
Reference
- Namespace
- Ped PED
- In the game
Ped GET_MOUNT(Ped ped)- Hash
0xE7E11B8DCBED1058