AudioClient

blockSpeechContextGroup

BLOCK_SPEECH_CONTEXT_GROUP0xA8A7D434AFB4B97B

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

SignatureJavaScript
blockSpeechContextGroup(p0: string, p1: number): void
SignatureLua
blockSpeechContextGroup(p0: string, p1: integer)

Usage

JavaScript
blockSpeechContextGroup(p0, p1);
Lua
blockSpeechContextGroup(p0, p1)

Parameters

ParameterTypeJavaScriptLua
p0stringstringstring
p1intnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Audio AUDIO
In the game
void BLOCK_SPEECH_CONTEXT_GROUP(const char* p0, int p1)
Hash
0xA8A7D434AFB4B97B
Introduced
Game build 1493 legacy numbering

Open in the interactive natives reference