NetworkClientNot in this build

networkSessionGetUniqueCrewLimit

NETWORK_SESSION_GET_UNIQUE_CREW_LIMIT0xCDC936BF35EDCB73

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

SignatureJavaScript
networkSessionGetUniqueCrewLimit(): number
SignatureLua
networkSessionGetUniqueCrewLimit(): integer
⚠
Not in this game build

The 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

JavaScript
const result = networkSessionGetUniqueCrewLimit();
Lua
local result = networkSessionGetUniqueCrewLimit()

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Network NETWORK
In the game
int NETWORK_SESSION_GET_UNIQUE_CREW_LIMIT()
Hash
0xCDC936BF35EDCB73
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference