networkSetVoiceChannel
NETWORK_SET_VOICE_CHANNEL0xEF6212C2EFEF1A23The GTA V native NETWORK_SET_VOICE_CHANNEL of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSetVoiceChannel, in JavaScript and in Lua.
networkSetVoiceChannel(channel: number): voidnetworkSetVoiceChannel(channel: integer)Usage
JavaScript
networkSetVoiceChannel(channel);Lua
networkSetVoiceChannel(channel)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
channel | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Network NETWORK
- In the game
void NETWORK_SET_VOICE_CHANNEL(int channel)- Hash
0xEF6212C2EFEF1A23