Wait, are you running it on a dedicated server? If so, try this. Otherwise, I'm out of ideas.
Code:
if (GamePlay.gpAirGroups(1) != null && GamePlay.gpAirGroups(2) != null)
{
if (Time.tickCounter() % 9000 == 0)
{
int totalAircraft = GamePlay.gpAirGroups(1).Length + GamePlay.gpAirGroups(2).Length;
if(GamePlay.gpPlayer() != null)
{
GamePlay.gpLogServer(new Player[] { GamePlay.gpPlayer() }, totalAircraft.ToString(), null);
}
if(GamePlay.gpRemotePlayers() != null)
{
GamePlay.gpLogServer(GamePlay.gpRemotePlayers(), totalAircraft.ToString(), null);
}
}
}