NetworkClientNot in this build

networkHasScMembershipInfo

NETWORK_HAS_SC_MEMBERSHIP_INFO

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

SignatureJavaScript
networkHasScMembershipInfo(): boolean
SignatureLua
networkHasScMembershipInfo(): boolean
⚠
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 = networkHasScMembershipInfo();
Lua
local result = networkHasScMembershipInfo()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_HAS_SC_MEMBERSHIP_INFO()

Open in the interactive natives reference