networkSetVoiceActive
NETWORK_SET_VOICE_ACTIVE0xBABEC9E69A91C57BThe 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.
networkSetVoiceActive(toggle: boolean): voidnetworkSetVoiceActive(toggle: boolean)Usage
JavaScript
networkSetVoiceActive(toggle);Lua
networkSetVoiceActive(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
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