Config = {}
Config.Locale = 'en'
Config.Debug = false
Config.InvImgLink = "nui://qb-inventory/html/images/" -- qb-inventoy
--[[Config.InvImgLink = "nui://ps-inventoy/html/images/" -- ps-inventoy
Config.InvImgLink = "nui://lj-inventoy/html/images/" -- lj-inventoy
Config.InvImgLink = "nui://ox_inventory/web/images/" -- ox_inventory
Config.InvImgLink = "nui://ak47_inventory/html/img/items/" -- ak47_inventory
Config.TargetScript = 'qb-target'
--你可以使用不同的方式设置管理员权限-------------------
--Ace权限
Config.AdminWithAce = true
--或者组
Config.AdminWithGroup = {
['admin'] = true,
['superadmin'] = true,
['god'] = true,
}
--或者许可证
Config.AdminWithLicense = {
['license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'] = true,
}
--或者角色ID
Config.AdminWithIdentifier = {
['xxxxxxxx'] = true,
}
----------------------------------------------------------
Config.Commands = {
createshop = 'createshop',
deleteshop = 'deleteshop',
}
Config.ShopSellValuePercent = 75 --总价的75%,包括升级
Config.PayCheckInterval = 15 * 60 --15分钟
Config.LoadDelay = 30 --秒
Config.Shipments = {
['Docks'] = {location = vector3(1201.44, -3182.96, 5.85), CostPercentage = 15}, --物品价格的15%
['Weapon Depo'] = {location = vector3(211.4, -3327.18, 5.87), CostPercentage = 30}, --物品价格的30%
-- = {location = vector3(1201.44, -3182.96, 5.85), CostPercentage = 30}, --物品价格的30%
}
Config.ShipmentByItem = { --你可以为特定物品制定发货位置
['water'] = {location = vector3(1201.44, -3182.96, 5.85), CostPercentage = 30},
['bread'] = {location = vector3(1201.44, -3182.96, 5.85), CostPercentage = 30},
}
Config.ShopkeeperPed = 'mp_m_shopkeep_01'
Config.ShopUpgrades = {
[1] = {--默认状态
upgradename = '一级',
upgradedescription = '库存:25 | 车辆:Speedo | 车辆容量:10 | 价格:$0',
itemcapacity = 25,
upgradecost = 0,
vehicledata = {model = 'speedo', capacity = 10},
},
[2] = {
upgradename = '二级',
upgradedescription = '库存:35 | 车辆:Gburrito | 车辆容量:20 | 价格:$75000',
itemcapacity = 35,
upgradecost = 75000,
vehicledata = {model = 'gburrito', capacity = 20},
},
[3] = {
upgradename = '三级',
upgradedescription = '库存:45 | 车辆:Mule | 车辆容量:30 | 价格:$150000',
itemcapacity = 45,
upgradecost = 150000,
vehicledata = {model = 'mule', capacity = 30},
},
[4] = {
upgradename = '四级',
upgradedescription = '库存:55 | 车辆:Mule 3 | 车辆容量:30 | 价格:$275000',
itemcapacity = 55,
upgradecost = 275000,
vehicledata = {model = 'mule3', capacity = 40},
},
[5] = {
upgradename = '五级',
upgradedescription = '库存:70 | 车辆:Pounder | 车辆容量:50 | 价格:$500000',
itemcapacity = 70,
upgradecost = 500000,
vehicledata = {model = 'pounder', capacity = 50},
},
}
Config.Blips = {
empty = {
color = 39, size = 0.8, singlename = false,
},
sold = {
color = 2, size = 0.8, singlename = false,
}
}