PlayerClient

isPlayerLoggingInNp

IS_PLAYER_LOGGING_IN_NP0x74556E1420867ECA

The GTA V native IS_PLAYER_LOGGING_IN_NP of the PLAYER namespace, as LS:MP client scripts call it: the global function isPlayerLoggingInNp, in JavaScript and in Lua.

SignatureJavaScript
isPlayerLoggingInNp(): boolean
SignatureLua
isPlayerLoggingInNp(): boolean

Usage

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

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
Player PLAYER
In the game
BOOL IS_PLAYER_LOGGING_IN_NP()
Hash
0x74556E1420867ECA

Open in the interactive natives reference