158 lines
		
	
	
	
		
			4.2 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			158 lines
		
	
	
	
		
			4.2 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
Config = {}
 | 
						|
 | 
						|
-- Taxi Fahrzeuge und Preise
 | 
						|
Config.TaxiVehicles = {
 | 
						|
    {
 | 
						|
        model = 'taxi',
 | 
						|
        label = 'Standard Taxi',
 | 
						|
        pricePerKm = 5,
 | 
						|
        spawnChance = 90
 | 
						|
    },
 | 
						|
    {
 | 
						|
        model = 'stretch',
 | 
						|
        label = 'Luxus Limousine',
 | 
						|
        pricePerKm = 15,
 | 
						|
        spawnChance = 10
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
-- Taxi Stationen mit festen Fahrzeugen
 | 
						|
Config.TaxiStations = {
 | 
						|
    {
 | 
						|
        name = "Los Santos Airport Taxi",
 | 
						|
        coords = vector4(-1051.28, -2712.83, 13.68, 243.31),
 | 
						|
        blipCoords = vector3(-1051.28, -2712.83, 13.68),
 | 
						|
        vehicles = {
 | 
						|
            {
 | 
						|
                model = 'taxi',
 | 
						|
                coords = vector4(-1051.28, -2712.83, 13.68, 243.31),
 | 
						|
                pricePerKm = 5
 | 
						|
            },
 | 
						|
            {
 | 
						|
                model = 'taxi',
 | 
						|
                coords = vector4(-1041.38, -2718.65, 13.67, 239.73),
 | 
						|
                pricePerKm = 5
 | 
						|
            }
 | 
						|
        }
 | 
						|
    },
 | 
						|
    {
 | 
						|
        name = "Downtown Taxi Stand",
 | 
						|
        coords = vector4(913.97, -160.64, 74.72, 200.67),
 | 
						|
        blipCoords = vector3(913.97, -160.64, 74.72),
 | 
						|
        vehicles = {
 | 
						|
            {
 | 
						|
                model = 'taxi',
 | 
						|
                coords = vector4(913.97, -160.64, 74.72, 200.67),
 | 
						|
                pricePerKm = 5
 | 
						|
            },
 | 
						|
            {
 | 
						|
                model = 'taxi',
 | 
						|
                coords = vector4(899.74, -180.99, 73.86, 247.36),
 | 
						|
                pricePerKm = 5
 | 
						|
            }
 | 
						|
        }
 | 
						|
    },
 | 
						|
    {
 | 
						|
        name = "Paleto Bay Taxi",
 | 
						|
        coords = vector4(-339.14, 6072.48, 31.31, 225.76),
 | 
						|
        blipCoords = vector3(-339.14, 6072.48, 31.31),
 | 
						|
        vehicles = {
 | 
						|
            {
 | 
						|
                model = 'taxi',
 | 
						|
                coords = vector4(-339.14, 6072.48, 31.31, 225.76),
 | 
						|
                pricePerKm = 6
 | 
						|
            }
 | 
						|
        }
 | 
						|
    },
 | 
						|
    {
 | 
						|
        name = "Stadtpark Taxi",
 | 
						|
        coords = vector4(204.9, -846.9, 30.5, 254.69),
 | 
						|
        blipCoords = vector3(204.9, -846.9, 30.5),
 | 
						|
        vehicles = {
 | 
						|
            {
 | 
						|
                model = 'taxi',
 | 
						|
                coords = vector4(204.9, -846.9, 30.5, 254.69),
 | 
						|
                pricePerKm = 6
 | 
						|
            }
 | 
						|
        }
 | 
						|
    },
 | 
						|
    {
 | 
						|
        name = "Vespucci Beach Taxi",
 | 
						|
        coords = vector4(-1614.7, -857.81, 10.02, 140.47),
 | 
						|
        blipCoords = vector3(-1609.67, -862.78, 10.01),
 | 
						|
        vehicles = {
 | 
						|
            {
 | 
						|
                model = 'taxi',
 | 
						|
                coords = vector4(-1614.7, -857.81, 10.02, 140.47),
 | 
						|
                pricePerKm = 5
 | 
						|
            },
 | 
						|
            {
 | 
						|
                model = 'stretch',
 | 
						|
                coords = vector4(-1609.67, -862.78, 10.01, 230.02),
 | 
						|
                pricePerKm = 15
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
-- Spawn Locations für /taxi Command (mobile Taxis)
 | 
						|
Config.MobileTaxiSpawns = {
 | 
						|
    vector4(-1013.96, -2734.56, 13.67, 246.68),
 | 
						|
    vector4(902.33, -143.8, 76.62, 327.11),
 | 
						|
    vector4(-1277.46, -810.35, 17.13, 133.23),
 | 
						|
    vector4(1705.39, 4803.73, 41.79, 91.83),
 | 
						|
    vector4(-383.43, 6064.31, 31.5, 135.49),
 | 
						|
}
 | 
						|
 | 
						|
-- Bekannte Ziele mit festen Preisen
 | 
						|
Config.KnownDestinations = {
 | 
						|
    {
 | 
						|
        name = "Los Santos International Airport",
 | 
						|
        coords = vector3(-1037.0, -2674.0, 13.8),
 | 
						|
        price = 50
 | 
						|
    },
 | 
						|
    {
 | 
						|
        name = "Vinewood Hills",
 | 
						|
        coords = vector3(120.0, 564.0, 184.0),
 | 
						|
        price = 35
 | 
						|
    },
 | 
						|
    {
 | 
						|
        name = "Del Perro Pier",
 | 
						|
        coords = vector3(-1850.0, -1230.0, 13.0),
 | 
						|
        price = 25
 | 
						|
    },
 | 
						|
    {
 | 
						|
        name = "Sandy Shores",
 | 
						|
        coords = vector3(1815.27, 3649.01, 34.25),
 | 
						|
        price = 75
 | 
						|
    },
 | 
						|
    {
 | 
						|
        name = "Paleto Bay",
 | 
						|
        coords = vector3(-276.0, 6635.0, 7.5),
 | 
						|
        price = 100
 | 
						|
    },
 | 
						|
    {
 | 
						|
        name = "Mount Chiliad",
 | 
						|
        coords = vector3(501.0, 5604.0, 797.0),
 | 
						|
        price = 120
 | 
						|
    },
 | 
						|
    {
 | 
						|
        name = "Maze Bank Tower",
 | 
						|
        coords = vector3(-46.24, -787.47, 44.14),
 | 
						|
        price = 40
 | 
						|
    },
 | 
						|
    {
 | 
						|
        name = "Vespucci Beach",
 | 
						|
        coords = vector3(-1266.0, -833.0, 17.0),
 | 
						|
        price = 30
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
-- Allgemeine Einstellungen
 | 
						|
Config.MaxWaitTime = 120 -- Sekunden bis Taxi spawnt
 | 
						|
Config.TaxiCallCooldown = 30 -- Sekunden zwischen Taxi-Rufen
 | 
						|
Config.MinFare = 10 -- Mindestpreis
 | 
						|
Config.PricePerKm = 5 -- Standardpreis pro Kilometer
 | 
						|
Config.WaitingFee = 2 -- Preis pro Minute warten
 | 
						|
Config.StationTaxiRespawnTime = 300 -- 5 Minuten bis Taxi an Station respawnt
 | 
						|
 |