natives.isNetworkPlayerActive

From GTA Connected
Revision as of 10:15, 18 September 2021 by EricPlayZ (talk | contribs) (Created page with "{{DISPLAYTITLE:natives.isNetworkPlayerActive}} {{ScriptItem |endpoint = client |games = iv |type = function |name = natives.isNetworkPlayerActive |usage = check if the Player...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Function Client Only icon-iv.png Online and Offline

Available since Client 1.0.0

bool natives.isNetworkPlayerActive(int playerId)

The natives.isNetworkPlayerActive function is used to check if the Player is connected to a server.

Parameters

1) int playerId The id of the Player.

Return

bool A boolean representing whether or not the Player is connected to a server.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png addNetworkHandler
icon-iii.png icon-vc.png icon-sa.png icon-iv.png connect
icon-iii.png icon-vc.png icon-sa.png icon-iv.png disconnect
icon-iv.png gta.shutdownAndLaunchNetworkGame
icon-iii.png icon-vc.png icon-sa.png icon-iv.png isConnected
icon-iii.png icon-vc.png icon-sa.png icon-iv.png isConnecting
icon-iii.png icon-vc.png icon-sa.png icon-iv.png removeNetworkHandler