networkIsNpAvailable
NETWORK_IS_NP_AVAILABLE0xBD545D44CCE70597The GTA V native NETWORK_IS_NP_AVAILABLE of the NETWORK namespace, as LS:MP client scripts call it: the global function networkIsNpAvailable, in JavaScript and in Lua.
networkIsNpAvailable(): booleannetworkIsNpAvailable(): booleanUsage
JavaScript
const result = networkIsNpAvailable();Lua
local result = networkIsNpAvailable()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 function is hard-coded to always return 1.
Reference
- Namespace
- Network NETWORK
- In the game
BOOL NETWORK_IS_NP_AVAILABLE()- Hash
0xBD545D44CCE70597