networkIsPlayerAParticipant
NETWORK_IS_PLAYER_A_PARTICIPANT0x3CA58F6CB7CBD784The GTA V native NETWORK_IS_PLAYER_A_PARTICIPANT of the NETWORK namespace, as LS:MP client scripts call it: the global function networkIsPlayerAParticipant, in JavaScript and in Lua.
networkIsPlayerAParticipant(player: Player): booleannetworkIsPlayerAParticipant(player: Player): booleanUsage
JavaScript
const result = networkIsPlayerAParticipant(player);Lua
local result = networkIsPlayerAParticipant(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_A_PARTICIPANT(Player player)- Hash
0x3CA58F6CB7CBD784