new jatekos;
public OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid)) return 1;
jatekos++;
new str[125], name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(str,sizeof(str),\"%s csatlakozott a szerverre [%i/%i]\",name,jatekos,GetMaxPlayers());
SendClientMessageToAll(9,str);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
jatekos--;
return 1;
}