public void Event_PlayerConnect(Event event, const char[] name, bool dontBroadcast)
{
int total;
for( int i = 1; i <= MaxClients; i++ )
{
if( IsClientConnected(i) && !IsFakeClient(i) )
{
if( total++ > 0 ) return;
}
}
if( total == 1 )
{
L4D_LobbyUnreserve();
PrintToServer("Lobby auto unreserved.");
}
}
Seems to work.
does this still work? i tried it and even though someone was playing tanks playground on expert friends only i didn't see it get listed in the campaiqn coop public list