Configuration

Preview File Updated: v1.0.1 - 28.01.2025

Config 				  = {}

--- ██████╗██╗   ██╗███████╗████████╗ ██████╗ ███╗   ███╗██╗███████╗ █████╗ ████████╗██╗ ██████╗ ███╗   ██╗
--- ██╔════╝██║   ██║██╔════╝╚══██╔══╝██╔═══██╗████╗ ████║██║╚══███╔╝██╔══██╗╚══██╔══╝██║██╔═══██╗████╗  ██║
--- ██║     ██║   ██║███████╗   ██║   ██║   ██║██╔████╔██║██║  ███╔╝ ███████║   ██║   ██║██║   ██║██╔██╗ ██║
--- ██║     ██║   ██║╚════██║   ██║   ██║   ██║██║╚██╔╝██║██║ ███╔╝  ██╔══██║   ██║   ██║██║   ██║██║╚██╗██║
--- ╚██████╗╚██████╔╝███████║   ██║   ╚██████╔╝██║ ╚═╝ ██║██║███████╗██║  ██║   ██║   ██║╚██████╔╝██║ ╚████║
--- ╚═════╝ ╚═════╝ ╚══════╝   ╚═╝    ╚═════╝ ╚═╝     ╚═╝╚═╝╚══════╝╚═╝  ╚═╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═══╝

Config.Stand = {
    MenuType = 'esx_menu', -- 'ox_lib', 'alex-menu', or 'esx_menu'
}

Config.UseKeySystem = false -- If you use alex-keysystem turn this true


--- ██╗      █████╗ ███╗   ██╗ ██████╗ ██╗   ██╗ █████╗  ██████╗ ███████╗
--- ██║     ██╔══██╗████╗  ██║██╔════╝ ██║   ██║██╔══██╗██╔════╝ ██╔════╝
--- ██║     ███████║██╔██╗ ██║██║  ███╗██║   ██║███████║██║  ███╗█████╗  
--- ██║     ██╔══██║██║╚██╗██║██║   ██║██║   ██║██╔══██║██║   ██║██╔══╝  
--- ███████╗██║  ██║██║ ╚████║╚██████╔╝╚██████╔╝██║  ██║╚██████╔╝███████╗
--- ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝ ╚═════╝ ╚══════╝

Config.Stand.MenuText = {
    Target = {
        OpenShop = 'Abrir Loja de Veículos',
        SellVehicle = 'Vender Veículo'
    },
    VehicleShop = {
        Title = 'Loja de Veículos',
        Categories = 'Categorias de Veículos',
        UsedVehicles = 'Veículos Usados',
        TestDrive = 'Teste Drive',
        TestDriveDescription = 'Fazer Teste Drive',
        GoBack = 'Voltar',
        Cancel = 'Cancelar',
        Confirm = 'Confirmar',
        ConfirmDescription = 'Confirmar a compra do veículo',
        Buy = 'Comprar Veículo',
        VehiclePrice = 'Preço: $',
        Price = 'Preço: $%s', --don't remove %s
        Seller = 'Vendedor: %s', --don't remove %s
        Plate = 'Matrícula: %s' --don't remove %s
    },
    SellVehicle = {
        Title = 'Vender Veículo',
        YourVehicles = 'Seus Veículos',
        ClickToSell = 'Clique para colocar à venda',
        AdName = 'Nome do Anúncio',
        Price = 'Preço',
        SuccessMessage = 'Veículo colocado à venda com sucesso!'
    }
}

Config.Stand.Notifications = {
    purchaseSuccess = "Você comprou um %s por $%s",
    purchaseFailed = "Você não tem dinheiro suficiente para comprar este veículo",
    testDriveStart = "Teste drive iniciado. Você tem %s segundos",
    testDriveEnd = "Teste drive terminado"
}


--- ██╗      ██████╗  ██████╗ █████╗ ████████╗██╗ ██████╗ ███╗   ██╗
--- ██║     ██╔═══██╗██╔════╝██╔══██╗╚══██╔══╝██║██╔═══██╗████╗  ██║
--- ██║     ██║   ██║██║     ███████║   ██║   ██║██║   ██║██╔██╗ ██║
--- ██║     ██║   ██║██║     ██╔══██║   ██║   ██║██║   ██║██║╚██╗██║
--- ███████╗╚██████╔╝╚██████╗██║  ██║   ██║   ██║╚██████╔╝██║ ╚████║
--- ╚══════╝ ╚═════╝  ╚═════╝╚═╝  ╚═╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═══╝

Config.Stand.DisplayLocations = {
    {x = -47.5203, y = -1091.91, z = 26.615, heading = 191.55},
    {x = -54.8185, y = -1096.96, z = 26.615, heading = 299.65},
    {x = -49.8805, y = -1083.69, z = 26.644, heading = 160.33},
    {x = -42.1879, y = -1101.49, z = 26.793, heading = 291.76},
    {x = -36.7698, y = -1093.06, z = 26.739, heading = 112.14}, 
}

Config.Stand.ShopLocations = {
    {x = -46.9976, y = -1095.15, z = 27.274},
    {x = -51.8778, y = -1095.16, z = 27.274},
    {x = -51.0008, y = -1086.68, z = 27.276},
    {x = -39.2833, y = -1100.41, z = 27.274},
    {x = -39.9710, y = -1094.33, z = 27.322}, 
}

Config.Stand.VehicleSpawn = {
    coords = {x = -23.8216, y = -1094.91, z = 26.618, heading = 337.78}
}

Config.Stand.TestDrive = {
    enabled = true,
    duration = 60, 
    spawnPoint = {x = -40.0, y = -1080.0, z = 26.4, heading = 70.0}
}
Config.Stand.BoxZoneSize = {
    length = 3.5,
    width = 3.5,
    height = 3.0
}

Config.Stand.MaxDisplayVehicles = 5

Config.Stand.Shop = {
    blip = {
        coords = vector3(-42.4768, -1095.21, 27.274),
        sprite = 326,
        color = 3,
        scale = 0.6,
        label = "Premium Deluxe Motorsport"
    },
    npc = {
        model = "s_m_m_autoshop_01",
        coords = {x = -31.1549, y = -1097.67, z = 27.274, heading = 69.72}
    }
}

Config.Stand.TestDriveEndPosition = {
    coords= {x = -30.1235, y = -1108.50, z = 27.274, heading = 70.0}
}


--- ██████╗  █████╗ ████████╗ █████╗ ██████╗  █████╗ ███████╗███████╗
--- ██╔══██╗██╔══██╗╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔════╝
--- ██║  ██║███████║   ██║   ███████║██████╔╝███████║███████╗█████╗  
--- ██║  ██║██╔══██║   ██║   ██╔══██║██╔══██╗██╔══██║╚════██║██╔══╝  
--- ██████╔╝██║  ██║   ██║   ██║  ██║██████╔╝██║  ██║███████║███████╗
--- ╚═════╝ ╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═╝╚═════╝ ╚═╝  ╚═╝╚══════╝╚══════╝

Config.Stand.Database = {
    vehiclesTable = "vehicles",
    categoriesTable = "vehicle_categories",
    displayTable = "vehicles_display",
    ownedVehiclesTable = "owned_vehicles"
}


--- ██╗     ██╗ ██████╗███████╗███╗   ██╗███████╗███████╗    ██████╗ ██╗      █████╗ ████████╗███████╗
--- ██║     ██║██╔════╝██╔════╝████╗  ██║██╔════╝██╔════╝    ██╔══██╗██║     ██╔══██╗╚══██╔══╝██╔════╝
--- ██║     ██║██║     █████╗  ██╔██╗ ██║███████╗█████╗      ██████╔╝██║     ███████║   ██║   █████╗  
--- ██║     ██║██║     ██╔══╝  ██║╚██╗██║╚════██║██╔══╝      ██╔═══╝ ██║     ██╔══██║   ██║   ██╔══╝  
--- ███████╗██║╚██████╗███████╗██║ ╚████║███████║███████╗    ██║     ███████╗██║  ██║   ██║   ███████╗
--- ╚══════╝╚═╝ ╚═════╝╚══════╝╚═╝  ╚═══╝╚══════╝╚══════╝    ╚═╝     ╚══════╝╚═╝  ╚═╝   ╚═╝   ╚══════╝

Config.Stand.Plate = {
    useCustomFormat = true,
    format = "11AAAA11" 
}


return Config.Stand

Last updated