AudioClient

isPedRingtonePlaying

IS_PED_RINGTONE_PLAYING0x1E8E5E20937E3137

The GTA V native IS_PED_RINGTONE_PLAYING of the AUDIO namespace, as LS:MP client scripts call it: the global function isPedRingtonePlaying, in JavaScript and in Lua.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Audio AUDIO
In the game
BOOL IS_PED_RINGTONE_PLAYING(Ped ped)
Hash
0x1E8E5E20937E3137

Open in the interactive natives reference