NetworkClient

networkSetPresenceSessionInvitesBlocked

NETWORK_SET_PRESENCE_SESSION_INVITES_BLOCKED0x4A9FDE3A5A6D0437

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

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

Usage

JavaScript
networkSetPresenceSessionInvitesBlocked(toggle);
Lua
networkSetPresenceSessionInvitesBlocked(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Does nothing. It's just a nullsub.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_SET_PRESENCE_SESSION_INVITES_BLOCKED(BOOL toggle)
Hash
0x4A9FDE3A5A6D0437

Open in the interactive natives reference