networkIsSessionStarted
NETWORK_IS_SESSION_STARTED0x9DE624D2FC4B603FThe GTA V native NETWORK_IS_SESSION_STARTED of the NETWORK namespace, as LS:MP client scripts call it: the global function networkIsSessionStarted, in JavaScript and in Lua.
networkIsSessionStarted(): booleannetworkIsSessionStarted(): booleanUsage
JavaScript
const result = networkIsSessionStarted();Lua
local result = networkIsSessionStarted()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.
This checks if player is playing on gta online or not.
Reference
- Namespace
- Network NETWORK
- In the game
BOOL NETWORK_IS_SESSION_STARTED()- Hash
0x9DE624D2FC4B603F