if (AIController.GetSetting("scp_support")) { this.scp = SCPLib("LDAF", 8); // this.scp.SCPLogging_Info(true); // this.scp.SCPLogging_Error(true); } this.cvgs = SCPClient_CompanyValueGS(this.scp); this.ncg = SCPClient_NoCarGoal(this.scp); loading = false; } local cityFrom = null; while (AIController.Sleep(1)) { if (this.scp != null) { local counter = 0; do { AILog.Info("Counter = " + counter); this.scp.Check(); if (cvgs.IsCompanyValueGSGame() || ncg.IsNoCarGoalGame()) { break; } counter++; } while(counter < 500); }