NetworkClient

networkIsLoggedInToPsn

NETWORK_IS_LOGGED_IN_TO_PSN0xA0FA4EC6A05DA44E

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

SignatureJavaScript
networkIsLoggedInToPsn(): boolean
SignatureLua
networkIsLoggedInToPsn(): boolean

Usage

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

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 0.

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_IS_LOGGED_IN_TO_PSN()
Hash
0xA0FA4EC6A05DA44E

Open in the interactive natives reference