23.07.2015, 17:52
-If you want to make it custom for players to check connection of players,just use a variable like;
Put it into your OnPlayerConnect(playerid) callback.
Commands,publics etc..
pawn Код:
new isplayerconnected[MAX_PLAYERS];
pawn Код:
isplayerconnected[playerid] = 1;
pawn Код:
if(isplayerconnected[playerid] == 0) return SendClientMessage(playerid,-1,"ERROR: You haven't connected to server, properly..");