networkSetPresenceSessionInvitesBlocked
NETWORK_SET_PRESENCE_SESSION_INVITES_BLOCKED0x4A9FDE3A5A6D0437The 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.
networkSetPresenceSessionInvitesBlocked(toggle: boolean): voidnetworkSetPresenceSessionInvitesBlocked(toggle: boolean)Usage
JavaScript
networkSetPresenceSessionInvitesBlocked(toggle);Lua
networkSetPresenceSessionInvitesBlocked(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
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