NetworkClient

networkIsParticipantActive

NETWORK_IS_PARTICIPANT_ACTIVE0x6FF8FF40B6357D45

The GTA V native NETWORK_IS_PARTICIPANT_ACTIVE of the NETWORK namespace, as LS:MP client scripts call it: the global function networkIsParticipantActive, in JavaScript and in Lua.

SignatureJavaScript
networkIsParticipantActive(p0: number): boolean
SignatureLua
networkIsParticipantActive(p0: integer): boolean

Usage

JavaScript
const result = networkIsParticipantActive(p0);
Lua
local result = networkIsParticipantActive(p0)

Parameters

ParameterTypeJavaScriptLua
p0intnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_IS_PARTICIPANT_ACTIVE(int p0)
Hash
0x6FF8FF40B6357D45

Open in the interactive natives reference