NetworkClientBlocked

networkSessionVoiceConnectToPlayer

NETWORK_SESSION_VOICE_CONNECT_TO_PLAYER0xABD5E88B8A2D3DB2

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

SignatureJavaScript
networkSessionVoiceConnectToPlayer(gamerHandle: null): void
SignatureLua
networkSessionVoiceConnectToPlayer(gamerHandle: nil)
✕
Blocked for scripts: Rockstar online sessions and content

LS:MP runs its own networking: scripts do not join, host or transition Rockstar sessions, or fetch Rockstar's user content and remote files.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_SESSION_VOICE_CONNECT_TO_PLAYER(Any* gamerHandle)
Hash
0xABD5E88B8A2D3DB2
Formerly
_NETWORK_VOICE_CONNECT_TO_PLAYER

Open in the interactive natives reference