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