PedClient

isMobilePhoneToPedEar

IS_MOBILE_PHONE_TO_PED_EAR0xA3F3564A5B3646C0

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_MOBILE_PHONE_TO_PED_EAR(Ped ped)
Hash
0xA3F3564A5B3646C0

Open in the interactive natives reference