networkMultiplayerCrossplayNotAllowed
_NETWORK_MULTIPLAYER_CROSSPLAY_NOT_ALLOWED0xA6BC0D9BCF9662FAThe GTA V native _NETWORK_MULTIPLAYER_CROSSPLAY_NOT_ALLOWED of the NETWORK namespace, as LS:MP client scripts call it: the global function networkMultiplayerCrossplayNotAllowed, in JavaScript and in Lua.
networkMultiplayerCrossplayNotAllowed(): booleannetworkMultiplayerCrossplayNotAllowed(): booleanThe global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
const result = networkMultiplayerCrossplayNotAllowed();local result = networkMultiplayerCrossplayNotAllowed()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
For the XboxPC version this returns true if XPRIVILEGE_MULTIPLAYER_SESSIONS is granted but XPRIVILEGE_CROSS_PLAY is NOT granted.
For more information, see https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/live/features/identity/privileges/concepts/live-user-privileges-client#privilege-ids-to-check
Always returns false for non-XboxPC versions.
Reference
- Namespace
- Network NETWORK
- In the game
BOOL _NETWORK_MULTIPLAYER_CROSSPLAY_NOT_ALLOWED()- Hash
0xA6BC0D9BCF9662FA- Introduced
- Game build 3504 legacy numbering