AudioClient

stopPedSpeakingSynced

STOP_PED_SPEAKING_SYNCED0xAB6781A5F3101470

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

SignatureJavaScript
stopPedSpeakingSynced(ped: Ped, p1: boolean): void
SignatureLua
stopPedSpeakingSynced(ped: Ped, p1: boolean)

Usage

JavaScript
stopPedSpeakingSynced(ped, p1);
Lua
stopPedSpeakingSynced(ped, p1)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
p1BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Audio AUDIO
In the game
void STOP_PED_SPEAKING_SYNCED(Ped ped, BOOL p1)
Hash
0xAB6781A5F3101470
Introduced
Game build 1868 legacy numbering

Open in the interactive natives reference