Configuration
Config = {}
Config.ServerNotify = function(src, title, message)
TriggerClientEvent('esx:showNotification', src, message)
end
Config.ClientNotify = function(title, message)
TriggerEvent('esx:showNotification', message)
end
Config.Settings = {
-- let the taxi driver set the price for the ride
enableOwnPrice = true,
kmPrice = 50, -- only used if enableOwnPrice is false
minMoney = 200, -- per km
maxMoney = 800, -- per km
startCommandName = "taxistart",
endCommandName = "taxistop",
whitelistedTaxiVehicles = {
'taxi'
},
whitelistedTaxiJobs = {
'taxi'
},
enableKeysForCommands = true
}
Config.Language = {
driveStarted = 'Die Taxifahrt hat begonnen.',
driveEnded = 'Die Taxifahrt ist beendet.',
noDriveCurrently = "Du hast keine Fahrt gestartet.",
noTaxiJob = "Du musst im Taxi Job sein um die Fahrt zu starten.",
notInTaxiVehicle = "Du musst in einem Taxi sitzen um die Fahrt zu beenden.",
noCustomerInVehicle = "Es ist kein Kunde im Fahrzeug.",
invalidPrice = 'Ungültiger Preis!',
notInAnyVehicle = 'Du musst in einem Fahrzeug sitzen um die Fahrt zu starten.',
successNotifyTitle = "Erfolg",
errorNotifyTitle = "Fehler",
menuDialogTitle = "Preis pro 1KM (max." .. Config.Settings.maxMoney .. "$)",
priceNotInRange = "Der Preis muss zwischen ".. Config.Settings.minMoney .. " und ".. Config.Settings.maxMoney .. " sein!",
driveEndedWithPrice = "Die Taxifahrt ist beendet. Preis zu zahlen: %s$.",
}
Config.BanTrigger = function(src)
-- Do something when a player try to ring many times with a cheat (executor)
end
Last updated