August 18, 20196 yr How to check what a flight master is active in the list at the char? if (Taxi.TaxiList.Nodes.All(o => o.Name != "AAA")) { flyMasterEntry = 2941; flyMasterPosition = new Vector3(-6555, -1165, 310); nodeName = "AAA"; } The code only add in to data base of flight masters, but without mark of active.
August 18, 20196 yr Hey, if (Taxi.TaxiList.Nodes.All(o => o.Name != "AAA")) { var taxi = new TaxiNode(int slotIndex, string name, Vector3 position, int continentId); taxi.Active = true; Taxi.TaxiList.AddOrEditForCurrentPlayer(taxi); }
August 18, 20196 yr Author 1 minute ago, Droidz said: Hey, if (Taxi.TaxiList.Nodes.All(o => o.Name != "AAA")) { var taxi = new TaxiNode(int slotIndex, string name, Vector3 position, int continentId); taxi.Active = true; Taxi.TaxiList.AddOrEditForCurrentPlayer(taxi); } Thanks a lot
Create an account or sign in to comment