networkSessionGetUniqueCrewLimit
NETWORK_SESSION_GET_UNIQUE_CREW_LIMIT0xCDC936BF35EDCB73The 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.
networkSessionGetUniqueCrewLimit(): numbernetworkSessionGetUniqueCrewLimit(): 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 integerReference
- Namespace
- Network NETWORK
- In the game
int NETWORK_SESSION_GET_UNIQUE_CREW_LIMIT()- Hash
0xCDC936BF35EDCB73- Introduced
- Game build 3095 legacy numbering