PedClient

getMount

GET_MOUNT0xE7E11B8DCBED1058

The 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.

SignatureJavaScript
getMount(ped: Ped): Ped
SignatureLua
getMount(ped: Ped): Ped

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

Ped JavaScript number, Lua integer

Game 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

Open in the interactive natives reference