💙
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. Vehicleshop

Configuration

Config_Vehicleshop = {}

Config_Vehicleshop.Marker = {
    Type = 0,
    ColorR = 0,
    ColorG = 0,
    ColorB = 255
}

Config_Vehicleshop.TestDriveTime = 60 -- in seconds

Config_Vehicleshop.HelpNotify = function()
    ESX.ShowHelpNotification("Press ~INPUT_CONTEXT~ to open the car dealer")
end

Config_Vehicleshop.ServerNotify = function(src, msg)
    TriggerClientEvent('esx:showNotification', src, msg)
end

Config_Vehicleshop.ClientNotify = function(msg)
    TriggerEvent("esx:showNotification", msg)
end

Config_Vehicleshop.Positions = {
    ['main'] = {
        label = "Car Dealer",
        entryPosition = vector3(-156.4522, -1348.6003, 29.9180),
        cameraPosition = vector3(-146.8560, -1358.6062, 30.5940),
        inShopPosition = vector3(-147.3628, -1350.0164, 29.6643),
        vehicleSpawn = vector3(-160.1458, -1363.4019, 27.7143),

        Blip = {
            enable = true,
            sprite = 225,
            color = 2,
            scale = 0.7,
            name = "Car Dealer"
        },
        
        categorys = {
            ['compacts'] = {
                label = "Compacts",
                icon = './assets/img/vehicleshop/compacts.svg',
                vehicles = {
                    { name = "blista", label = "Blista", price = 100, brakes = 100, maxspeed = 100, boost = 100, trunk = 100, seats = 4, img = './assets/img/vehicleshop/car.png', vehicleDbType = "car" }
                }
            },

            ['bikes'] = {
                label = "Bikes",
                icon = './assets/img/vehicleshop/bikes.svg',
                vehicles = {
                    { name = "bmx", label = "BMX", price = 100, brakes = 100, maxspeed = 100, boost = 100, trunk = 100, seats = 1, img = './assets/img/vehicleshop/car.png', vehicleDbType = "car"}
                }
            },

            ['vans'] = {
                label = "Vans",
                icon = './assets/img/vehicleshop/vans.svg',
                vehicles = {
                    { name = "bison3", label = "Bison3", price = 100, brakes = 100, maxspeed = 100, boost = 100, trunk = 100, seats = 2, img = './assets/img/vehicleshop/car.png', vehicleDbType = "car"}
                }
            },

            ['suvs'] = {
                label = "SUVs",
                icon = './assets/img/vehicleshop/suvs.svg',
                vehicles = {
                    { name = "dubsta", label = "Dubsta", price = 100, brakes = 100, maxspeed = 100, boost = 100, trunk = 100, seats = 2, img = './assets/img/vehicleshop/car.png', vehicleDbType = "car"}
                }
            },

            ['sports'] = {
                label = "Sports",
                icon = './assets/img/vehicleshop/sports.svg',
                vehicles = {
                    { name = "banshee", label = "Banshee", price = 100, brakes = 100, maxspeed = 100, boost = 100, trunk = 100, seats = 2, img = './assets/img/vehicleshop/car.png', vehicleDbType = "car"}
                }
            },

            ['classics'] = {
                label = "Classics",
                icon = './assets/img/vehicleshop/classic.svg',
                vehicles = {
                    { name = "adder", label = "Adder", price = 100, brakes = 100, maxspeed = 100, boost = 100, trunk = 100, seats = 2, img = './assets/img/vehicleshop/car.png', vehicleDbType = "car"}
                }
            },
        }
    }
}
PreviousInstallationNextError Solutions

Last updated 2 months ago

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

⚙️
Discord