Job

Config.GradesOpenInformation = { 3, 4 } -- Grandes of cardealer can open the information of business

Config.NotifyCarDealerSales = true -- If true, when a player buy a vehicle, the cardealer get a notification

Config.Ownable = {
    enable = true, -- Enable vehicleshop owned?
    management = "qb-banking", -- "qb-management" or "qb-banking" or "okokbanking"
    jobOwner = "cardealer", -- Job name to acess all features
    menuLocation = vector3(-26.49, -1104.6, 27.27), -- Boss menu
    vehPricePercentage = 0.1, -- Each sale of vehicle, the owner get's 10% of the price
    restockOptions = {
        truckModel = "flatbed", -- Model of vehicle uses to pick up vehicles
        truckLocation = vector4(-18.37, -1101.77, 26.95, 158.96), -- Location where flatbed gona spawn when player start re-stock
        deliverLocation = vector3(-21.42, -1089.33, 27.27), -- Location when player deliver the vehicle after pick up
        carsRestock = math.random(1, 2), -- Player get's one, but you can put more stock for each vehicle
    }
}

-- Settings for re-stock vehicles
Config.RestockLocations = {
    vehicles = {
        [1] = {coords = vector3(-207.3, -1182.83, 23.03), heading = 87.23},
    },
    motorcycles = {
        [1] = {coords = vector3(-207.3, -1182.83, 23.03), heading = 87.23},
    },
    boats = {
        [1] = {coords = vector3(-783.32, -1497.41, 0.83), heading = 291.41},
    },
    planes = {
        [1] = {coords = vector3(-991.02, -3004.67, 13.95), heading = 58.84},
    }
}

Last updated