Exemplo n.º 1
0
        public Transport(
            Ped ped, Vector3 pickupPos,
            EPoliceStations dispatchFrom = EPoliceStations.Closest) :
            this(
                ped, pickupPos,

                dispatchFrom == EPoliceStations.Closest ?
                PoliceStations.GetClosestPoliceStationSpawn(pickupPos) :
                PoliceStations.GetPoliceStationSpawn(dispatchFrom))
        {
        }
Exemplo n.º 2
0
 public static SpawnPoint GetPoliceStationSpawn(EPoliceStations station)
 {
     return(_stations[station]);
 }