💙
Fusion Development Documentation
Join our Discord
  • Welcome
  • Products
    • Reportsystem
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Taximeter
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Restaurants
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Next-Series Banking
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Hoodbell - Fraktionsklingel
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Vehicleshop
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Next-Series Shop
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Next-Series Gangwar
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Lootdrop
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Pausemenu
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
Powered by GitBook
On this page
  1. Products
  2. Taximeter

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
PreviousInstallationNextError Solutions

Last updated 2 months ago

If you have any configuration questions or errors, feel free to open a ticket on our !

⚙️
Discord