Config, Locales = {}, {}Config.Locale ='en' -- en / pt / es / fr / deConfig.DevMode = true -- true = Can restart the script in game that everything works | false = You can't restart the script in game otherwise it stops working
Config.UseOkokNotify = true -- true = okokNotify | false = esxNotify ( You can change the notification system on cl_utils.lua )
Config.UseOkokTextUI =true-- true = okokTextUI | false = esxTextUIConfig.UseOkokRequests =true-- true = okokRequests | false = Hire right awayConfig.UseOkokBanking =true-- true = The transactions will be registered on okokBankingConfig.UseOkokGasStation =true-- true = The fuel will be handled by okokGasStationConfig.Currency ='€' -- The currency used on the scriptConfig.CurrencyonLeft =false-- true = The currency symbol will be in the left side | false = On the right side on UIConfig.Key = 38 -- [E] Key to open the interaction, check here the keys ID: https://docs.fivem.net/docs/game-references/controls/#controls
Config.EventPrefix = "okokShop" -- This will change the prefix of the events name so if Config.EventPrefix = "example" the events will be "example:event"
Config.MaxShopsPerPlayer =5-- How many shops a player can ownConfig.MaxEmployeesPerShop =10-- How many employees a shop can haveConfig.HireDistance =3-- How close a player needs to be to be in the hiring rangeConfig.SellBusinessReceivePercentage = 50 -- How much % a player will receive for selling his business (in percentage, 50 = 50%)
Config.RewardPercentageOnOrder = 25 -- The percentage that the employee will get when doing an order depending on the capacity price ( price is 100, reward will be 25 on 25%)
Config.BuyPercentageForBusiness = 15 -- How much % a item will cost for store owners to buy from the suplier ( 4.00 = 0.60)
Config.DefaultMaxStock =500-- The Default max stock available after purchasing the storeConfig.TotalMaxStock =5000-- The Max Stock available on total to upgrade the storeConfig.TruckBlip = { blipId = 67, blipColor = 2, blipScale = 0.8, blipText = "Mission Truck" } -- Blip of the truck when someone accepts an order
Config.OrderBlip = { blipId = 8, blipColor = 2, blipScale = 0.8, blipText = "Shop Order", blipFinish = "Finish Order" } -- Blip of the suplier location when someone accepts an order
Config.Marker = { id = 21, size = { x = 0.5, y = 0.5, z = 0.5 }, color = { r = 94, g = 255, b = 155 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 } -- The marker to tow a vehicle when someone accepts an order
Config.OrdersVehicle ="boxville4" -- The vehicle that will be used to deliver the ordersConfig.OrderLimit =20-- How many items you can order at a time for orderConfig.TimesToStock =3-- How many times a player needs to take a box to stock the truck to complete the orderConfig.MaxPercentageOnPriceChange = 100 -- The max percentage that the price of the item can change from the original price ( on Config.AvailableItems ) so 100% means double the price
Config.BackDoors =true-- true = It will check 2 back doors | false will check only the trunk doorConfig.TrunkOpenToGetBox =true-- true = The trunk needs to be opened in order to fill the truckConfig.BoxFrontAndBack =2.0-- This is to fix the X box position on the truckConfig.BoxUpAndDown =-0.1-- This is to fix the Z box position on the truckConfig.TrunkPositionFix =-5.0-- This is to fix the trunk position of the vehicleConfig.ShowBlips =true-- Activate/Deactivate all blipsConfig.ShowOwnerBlip =true-- Activate/Deactivate owner blipsConfig.ShowBuyShopBlip =true-- Activate/Deactivate buy store blipConfig.UseRoadNamesToShop =true-- true = The shop will be named after the road nameConfig.DaysToRemoveShop =15-- How many days it will take for a shopt o be removed when no stock of all itemsConfig.SubOwnerRank =4-- ID of the rank that will work as a secondary owner ( check the Config.Ranks )Config.Inventory ='esx_inventoryhud/html/img/items' -- Inventory directory for the imagesConfig.MinimumAmountForAlert =10-- Minimum amount of items to show that the item needs restockConfig.SalesHistoryLimit =25-- Records for each shop that will be saved on the sale history tableConfig.SalesDateFormat ="%d/%m - %H:%M" -- The Date that will be shown on Sales HistoryConfig.Ranks = { -- These are the ranks available on the shops, you can add or remove as many as you want but leave at least 1
{ rank =1, label ="Newbie" }, { rank =2, label ="Experienced" }, { rank =3, label ="Expert" }, { rank =4, label ="Sub-Owner" },}Config.Capacities = { -- The list of capacities available to update the max stock { capacity =100, price =1200 }, { capacity =200, price =2000 }, { capacity =500, price =3500 }, { capacity =1000, price =5000 },}Config.AvailableItems = { -- The list of items available to sell on the shop and the inicial price / amount { name ='phone', label ='Phone', price =4.00, amount =10, type ='electronic' }, { name ='electronickit', label ='Electronic Kit', price =15.00, amount =10, type ='electronic' }, { name ='fitbit', label ='Fit Bit', price =25.00, amount =10, type ='electronic' }, { name ='cleaningkit', label ='Cleaning Kit', price =35.00, amount =10, type ='global' }, { name ='grapejuice', label ='Grape Juice', price =2.00, amount =10, type ='global' }, { name ='firework1', label ='Firework', price =1.00, amount =10, type ='global' }, { name ='sandwich', label ='Sandwich', price =2.00, amount =10, type ='global' }, { name ='lighter', label ='Lighter', price =1.00, amount =10, type ='global' }, { name ='coffee', label ='Coffee', price =1.00, amount =10, type ='global' }, { name ='water_bottle', label ='Water', price =2.00, amount =10, type ='global' }, { name ='bandage', label ='Bandage', price =2.00, amount =10, type ='global' }, { name ='screwdriverset', label ='Tool Kit', price =1.00, amount =10, type ='tools' }, { name ='binoculars', label ='Binoculars', price =1.50, amount =10, type ='tools' },}Config.Stores = { { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(25.97, -1346.73, 29.5), -- Marker/Shop position for clients ownerCoords = vector3(29.67, -1339.57, 29.5), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(15.1, -1346.73, 29.19, 179.25), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
restockMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop1", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(-48.05, -1757.15, 29.42), -- Marker/Shop position for clients ownerCoords = vector3(-44.13, -1749.44, 29.42), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(-43.25, -1738.69, 28.8, 49.48), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop2", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(-707.53, -913.82, 19.22), -- Marker/Shop position for clients ownerCoords = vector3(-709.57, -905.39, 19.22), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(-700.07, -919.53, 18.59, 90.93), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop3", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(-1487.68, -378.9, 40.16), -- Marker/Shop position for clients ownerCoords = vector3(-1483.41, -375.65, 40.16), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(-1506.13, -383.92, 40.31, 47.13), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop4", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(374.27, 326.8, 103.57), -- Marker/Shop position for clients ownerCoords = vector3(379.2, 332.45, 103.57), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(365.74, 329.71, 103.16, 165.0), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop5", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(1136.04, -982.58, 46.42), -- Marker/Shop position for clients ownerCoords = vector3(1130.55, -982.31, 46.42), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(1138.32, -973.62, 46.2, 275.4), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop6", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(1163.17, -323.28, 69.21), -- Marker/Shop position for clients ownerCoords = vector3(1160.12, -315.2, 69.21), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(1163.89, -331.39, 68.82, 190.01), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop7", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(-1222.74, -906.59, 12.33), -- Marker/Shop position for clients ownerCoords = vector3(-1220.41, -911.54, 12.33), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(-1229.65, -896.05, 11.75, 306.23), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop8", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(2556.51, 382.39, 108.62), -- Marker/Shop position for clients ownerCoords = vector3(2549.66, 386.19, 108.62), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(2565.79, 384.65, 108.04, 357.62), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop9", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(-2968.16, 391.53, 15.04), -- Marker/Shop position for clients ownerCoords = vector3(-2962.92, 390.31, 15.04), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(-2969.68, 401.08, 14.67, 82.93), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop10", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(-3040.16, 585.76, 7.91), -- Marker/Shop position for clients ownerCoords = vector3(-3047.79, 586.93, 7.91), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(-3039.09, 599.64, 7.21, 290.48), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop11", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(-3242.92, 1001.62, 12.83), -- Marker/Shop position for clients ownerCoords = vector3(-3249.49, 1005.61, 12.83), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(-3239.53, 994.46, 12.01, 267.52), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop12", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(547.57, 2670.41, 42.16), -- Marker/Shop position for clients ownerCoords = vector3(545.17, 2663.07, 42.16), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(547.9, 2678.0, 41.72, 275.53), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop13", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(1165.38, 2709.21, 38.16), -- Marker/Shop position for clients ownerCoords = vector3(1166.05, 2714.43, 38.16), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(1161.21, 2696.02, 37.51, 182.78), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop14", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(1961.1, 3741.36, 32.34), -- Marker/Shop position for clients ownerCoords = vector3(1960.57, 3749.11, 32.34), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(1973.02, 3745.93, 31.85, 211.15), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop15", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(2678.08, 3281.05, 55.24), -- Marker/Shop position for clients ownerCoords = vector3(2673.8, 3287.57, 55.24), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(2685.01, 3292.36, 55.14, 241.23), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop16", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(1698.72, 4924.28, 42.06), -- Marker/Shop position for clients ownerCoords = vector3(1706.72, 4920.81, 42.06), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(1711.42, 4941.71, 42.03, 56.02), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop17", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(1729.52, 6415.13, 35.04), -- Marker/Shop position for clients ownerCoords = vector3(1735.75, 6419.96, 35.04), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(1734.86, 6401.21, 34.76, 154.55), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop18", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="Electronic Shop", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(-1080.28, -246.83, 37.76), -- Marker/Shop position for clients ownerCoords = vector3(-1066.07, -241.6, 39.73), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(-1099.63, -258.39, 37.58, 135.34), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =521, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 521, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 521, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="electronic", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop19", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="Tools Shop", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(54.32, -1738.67, 29.56), -- Marker/Shop position for clients ownerCoords = vector3(62.93, -1728.21, 29.61), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(55.73, -1722.11, 29.2, 52.01), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =566, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 566, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 566, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="tools", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop20", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop },}-------------------------- DISCORD LOGSConfig.BotName ='ServerName' -- Write the desired bot nameConfig.ServerName ='ServerName' -- Write your server's nameConfig.IconURL ='' -- Insert your desired image linkConfig.DateFormat ='%d/%m/%Y [%X]' -- To change the date format check this website - https://www.lua.org/pil/22.1.html-- To change a webhook color you need to set the decimal value of a color, you can use this website to do that - https://www.mathsisfun.com/hexadecimal-decimal-colors.html
Config.BuyBusinessWebhook =trueConfig.BuyBusinessWebhookColor ='65280'Config.SellBusinessWebhook =trueConfig.SellBusinessWebhookColor ='16711680'Config.DepositWebhook =trueConfig.DepositWebhookColor ='65280'Config.WithdrawWebhook =trueConfig.WithdrawWebhookColor ='16711680'Config.HireWebhook =trueConfig.HireWebhookColor ='65280'Config.FireWebhook =trueConfig.FireWebhookColor ='16711680'Config.FireYourselfWebhook =trueConfig.FireYourselfWebhookColor ='16711680'Config.EditEmployeeRankWebhook =trueConfig.EditEmployeeRankWebhookColor ='65280'Config.NewOrderWebhook =trueConfig.NewOrderWebhookColor ='65280'Config.OrderAcceptedWebhook =trueConfig.OrderAcceptedWebhookColor ='65280'Config.OrderCanceledWebhook =trueConfig.OrderCanceledWebhookColor ='16711680'Config.BuyItemWebhook =trueConfig.BuyItemWebhookColor ='65280'-------------------------- LOCALES (DON'T TOUCH)function_okok(id)if Locales[Config.Locale][id] thenreturn Locales[Config.Locale][id]elseprint("The locale '"..id.."' doesn't exist!")endend
Config, Locales = {}, {}Config.Locale ='en' -- en / pt / es / fr / deConfig.DevMode = true -- true = Can restart the script in game that everything works | false = You can't restart the script in game otherwise it stops working
Config.UseOkokNotify = true -- true = okokNotify | false = qb-notify ( You can change the notification system on cl_utils.lua )
Config.UseOkokTextUI =true-- true = okokTextUI | false = qb-drawtext Config.UseOkokRequests =true-- true = okokRequests | false = Hire right awayConfig.UseOkokBanking =true-- true = The transactions will be registered on okokBankingConfig.UseOkokGasStation =true-- true = The fuel will be handled by okokGasStationConfig.Currency ='€' -- The currency used on the scriptConfig.CurrencyonLeft =false-- true = The currency symbol will be in the left side | false = On the right side on UIConfig.Key = 38 -- [E] Key to open the interaction, check here the keys ID: https://docs.fivem.net/docs/game-references/controls/#controls
Config.EventPrefix = "okokShop" -- This will change the prefix of the events name so if Config.EventPrefix = "example" the events will be "example:event"
Config.MaxShopsPerPlayer =5-- How many shops a player can ownConfig.MaxEmployeesPerShop =10-- How many employees a shop can haveConfig.HireDistance =3-- How close a player needs to be to be in the hiring rangeConfig.SellBusinessReceivePercentage = 50 -- How much % a player will receive for selling his business (in percentage, 50 = 50%)
Config.RewardPercentageOnOrder = 25 -- The percentage that the employee will get when doing an order depending on the capacity price ( price is 100, reward will be 25 on 25%)
Config.BuyPercentageForBusiness = 15 -- How much % a item will cost for store owners to buy from the suplier ( 4.00 = 0.60)
Config.DefaultMaxStock =500-- The Default max stock available after purchasing the storeConfig.TotalMaxStock =5000-- The Max Stock available on total to upgrade the storeConfig.TruckBlip = { blipId = 67, blipColor = 2, blipScale = 0.8, blipText = "Mission Truck" } -- Blip of the truck when someone accepts an order
Config.OrderBlip = { blipId = 8, blipColor = 2, blipScale = 0.8, blipText = "Shop Order", blipFinish = "Finish Order" } -- Blip of the suplier location when someone accepts an order
Config.Marker = { id = 21, size = { x = 0.5, y = 0.5, z = 0.5 }, color = { r = 94, g = 255, b = 155 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 } -- The marker to tow a vehicle when someone accepts an order
Config.OrdersVehicle ="boxville4" -- The vehicle that will be used to deliver the ordersConfig.OrderLimit =20-- How many items you can order at a time for orderConfig.TimesToStock =3-- How many times a player needs to take a box to stock the truck to complete the orderConfig.MaxPercentageOnPriceChange = 100 -- The max percentage that the price of the item can change from the original price ( on Config.AvailableItems ) so 100% means double the price
Config.BackDoors =true-- true = It will check 2 back doors | false will check only the trunk doorConfig.TrunkOpenToGetBox =true-- true = The trunk needs to be opened in order to fill the truckConfig.BoxFrontAndBack =2.0-- This is to fix the X box position on the truckConfig.BoxUpAndDown =-0.1-- This is to fix the Z box position on the truckConfig.TrunkPositionFix =-5.0-- This is to fix the trunk position of the vehicleConfig.ShowBlips =true-- Activate/Deactivate all blipsConfig.ShowOwnerBlip =true-- Activate/Deactivate owner blipsConfig.ShowBuyShopBlip =true-- Activate/Deactivate buy store blipConfig.UseRoadNamesToShop =true-- true = The shop will be named after the road nameConfig.DaysToRemoveShop =15-- How many days it will take for a shopt o be removed when no stock of all itemsConfig.SubOwnerRank =4-- ID of the rank that will work as a secondary owner ( check the Config.Ranks )Config.Inventory ='qb-inventory/html/images' -- Inventory directory for the imagesConfig.MinimumAmountForAlert =10-- Minimum amount of items to show that the item needs restockConfig.SalesHistoryLimit =25-- Records for each shop that will be saved on the sale history tableConfig.SalesDateFormat ="%d/%m - %H:%M" -- The Date that will be shown on Sales HistoryConfig.Ranks = { -- These are the ranks available on the shops, you can add or remove as many as you want but leave at least 1
{ rank =1, label ="Newbie" }, { rank =2, label ="Experienced" }, { rank =3, label ="Expert" }, { rank =4, label ="Sub-Owner" },}Config.Capacities = { -- The list of capacities available to update the max stock { capacity =100, price =1200 }, { capacity =200, price =2000 }, { capacity =500, price =3500 }, { capacity =1000, price =5000 },}Config.AvailableItems = { -- The list of items available to sell on the shop and the inicial price / amount { name ='phone', label ='Phone', price =4.00, amount =10, type ='electronic' }, { name ='electronickit', label ='Electronic Kit', price =15.00, amount =10, type ='electronic' }, { name ='fitbit', label ='Fit Bit', price =25.00, amount =10, type ='electronic' }, { name ='cleaningkit', label ='Cleaning Kit', price =35.00, amount =10, type ='global' }, { name ='grapejuice', label ='Grape Juice', price =2.00, amount =10, type ='global' }, { name ='firework1', label ='Firework', price =1.00, amount =10, type ='global' }, { name ='sandwich', label ='Sandwich', price =2.00, amount =10, type ='global' }, { name ='lighter', label ='Lighter', price =1.00, amount =10, type ='global' }, { name ='coffee', label ='Coffee', price =1.00, amount =10, type ='global' }, { name ='water_bottle', label ='Water', price =2.00, amount =10, type ='global' }, { name ='bandage', label ='Bandage', price =2.00, amount =10, type ='global' }, { name ='screwdriverset', label ='Tool Kit', price =1.00, amount =10, type ='tools' }, { name ='binoculars', label ='Binoculars', price =1.50, amount =10, type ='tools' },}Config.Stores = { { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(25.97, -1346.73, 29.5), -- Marker/Shop position for clients ownerCoords = vector3(29.67, -1339.57, 29.5), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(15.1, -1346.73, 29.19, 179.25), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
restockMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop1", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(-48.05, -1757.15, 29.42), -- Marker/Shop position for clients ownerCoords = vector3(-44.13, -1749.44, 29.42), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(-43.25, -1738.69, 28.8, 49.48), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop2", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(-707.53, -913.82, 19.22), -- Marker/Shop position for clients ownerCoords = vector3(-709.57, -905.39, 19.22), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(-700.07, -919.53, 18.59, 90.93), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop3", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(-1487.68, -378.9, 40.16), -- Marker/Shop position for clients ownerCoords = vector3(-1483.41, -375.65, 40.16), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(-1506.13, -383.92, 40.31, 47.13), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop4", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(374.27, 326.8, 103.57), -- Marker/Shop position for clients ownerCoords = vector3(379.2, 332.45, 103.57), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(365.74, 329.71, 103.16, 165.0), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop5", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(1136.04, -982.58, 46.42), -- Marker/Shop position for clients ownerCoords = vector3(1130.55, -982.31, 46.42), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(1138.32, -973.62, 46.2, 275.4), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random) vector3(978.86, -1565.49, 30.78), vector3(-104.00, 37.50, 71.48), vector3(-2034.87, -274.73, 23.39) }, radius =1, -- Interaction radius for the markers price =20000, -- Price of the Shop blip = { blipId =59, blipColor =3, blipScale =0.8, blipText ="24/7" }, -- Blip informations for shop blip ownerBlip = { blipId = 59, blipColor = 2, blipScale = 0.8, blipText = "Shop Panel" }, -- Blip informations for shops you own
buyBlip = { blipId = 59, blipColor = 1, blipScale = 0.8, blipText = "Purchasable Shop" }, -- Blip informations for shop on sale
marker = { id = 20, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the shop
ownerMarker = { id = 21, color = { r = 31, g = 94, b = 255, a = 90 }, size = { x = 0.5, y = 0.5, z = 0.5 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 }, -- Marker informations for the owning menu
type ="global", -- Type of the shop used on the Config.AvailableItems ( must exist on the list ) id ="shop6", -- ID of the shop, it's used to get what shop is opened | needs to be DIFFERENT for each shop }, { name ="24/7", -- Name of the shop currency ="bank", -- Used to buy/sell the business hasOwner =true, -- true = this shop can have a owner and will need maintenance to have stock coords = vector3(1163.17, -323.28, 69.21), -- Marker/Shop position for clients ownerCoords = vector3(1160.12, -315.2, 69.21), -- Marker/Shop position for owner/employees spawnMissionVehicle = vector4(1163.89, -331.39, 68.82, 190.01), -- Where the vehicles are spawned for the missions missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random)