AudioClient

stopCurrentPlayingAmbientSpeech

STOP_CURRENT_PLAYING_AMBIENT_SPEECH0xB8BEC0CA6F0EDB0F

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

SignatureJavaScript
stopCurrentPlayingAmbientSpeech(ped: Ped): void
SignatureLua
stopCurrentPlayingAmbientSpeech(ped: Ped)

Usage

JavaScript
stopCurrentPlayingAmbientSpeech(ped);
Lua
stopCurrentPlayingAmbientSpeech(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Audio AUDIO
In the game
void STOP_CURRENT_PLAYING_AMBIENT_SPEECH(Ped ped)
Hash
0xB8BEC0CA6F0EDB0F

Open in the interactive natives reference