NetworkClient

networkSetVoiceActive

NETWORK_SET_VOICE_ACTIVE0xBABEC9E69A91C57B

The GTA V native NETWORK_SET_VOICE_ACTIVE of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSetVoiceActive, in JavaScript and in Lua.

SignatureJavaScript
networkSetVoiceActive(toggle: boolean): void
SignatureLua
networkSetVoiceActive(toggle: boolean)

Usage

JavaScript
networkSetVoiceActive(toggle);
Lua
networkSetVoiceActive(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_SET_VOICE_ACTIVE(BOOL toggle)
Hash
0xBABEC9E69A91C57B

Open in the interactive natives reference