AudioClient

isPedInCurrentConversation

IS_PED_IN_CURRENT_CONVERSATION0x049E937F18F4020C

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Audio AUDIO
In the game
BOOL IS_PED_IN_CURRENT_CONVERSATION(Ped ped)
Hash
0x049E937F18F4020C

Open in the interactive natives reference