isPlayerOnline
IS_PLAYER_ONLINE0xF25D331DC2627BBCThe GTA V native IS_PLAYER_ONLINE of the PLAYER namespace, as LS:MP client scripts call it: the global function isPlayerOnline, in JavaScript and in Lua.
isPlayerOnline(): booleanisPlayerOnline(): booleanUsage
JavaScript
const result = isPlayerOnline();Lua
local result = isPlayerOnline()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns TRUE if the game is in online mode and FALSE if in offline mode.
This is an alias for networkIsSignedOnline.
Reference
- Namespace
- Player PLAYER
- In the game
BOOL IS_PLAYER_ONLINE()- Hash
0xF25D331DC2627BBC