NetworkClient

networkIsConnetedToNpPresence

NETWORK_IS_CONNETED_TO_NP_PRESENCE0x7808619F31FF22DB

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

SignatureJavaScript
networkIsConnetedToNpPresence(): boolean
SignatureLua
networkIsConnetedToNpPresence(): boolean

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

This function is hard-coded to always return 1.

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_IS_CONNETED_TO_NP_PRESENCE()
Hash
0x7808619F31FF22DB

Open in the interactive natives reference