IsPlayerConnected

From SA-MP Wiki

Jump to: navigation, search

IsPlayerConnected


This function can be used to check if a player is connected to the server via SA:MP.


Parameters:
(playerid)
playeridThe playerid you would like to check.


ReturnsReturns true if the player is connected and false if the player is not.


if(!IsPlayerConnected(3)) SendClientMessageToAll(0xFFFFFFFF, "SERVER: I miss ID 3 :(");

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.


Related Callbacks

The following callbacks might be useful, as they're related to this function in one way or another.

Personal tools
In other languages