networkIsPlayerActive
NETWORK_IS_PLAYER_ACTIVE0xB8DFD30D6973E135The GTA V native NETWORK_IS_PLAYER_ACTIVE of the NETWORK namespace, as LS:MP client scripts call it: the global function networkIsPlayerActive, in JavaScript and in Lua.
networkIsPlayerActive(player: Player): booleannetworkIsPlayerActive(player: Player): booleanUsage
JavaScript
const result = networkIsPlayerActive(player);Lua
local result = networkIsPlayerActive(player)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Network NETWORK
- In the game
BOOL NETWORK_IS_PLAYER_ACTIVE(Player player)- Hash
0xB8DFD30D6973E135