NetworkClient

networkSuppressInvite

NETWORK_SUPPRESS_INVITE0xA0682D67EF1FBA3D

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

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

Usage

JavaScript
networkSuppressInvite(toggle);
Lua
networkSuppressInvite(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_SUPPRESS_INVITE(BOOL toggle)
Hash
0xA0682D67EF1FBA3D

Open in the interactive natives reference