BaronBosman

Config.lua

Apr 6th, 2023
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.70 KB | None | 0 0
  1. Config = Config or {}
  2.  
  3. Config.CheckForUpdates = true -- If you don't want the check on updates, set this to false
  4.  
  5. Config.Locale = GetConvar('esx:locale', 'en')
  6.  
  7. Config.Tax = false -- Tax percentage on product sale in the shop
  8.  
  9. Config.MaxEmptyTime = 168 -- How many hours the shop may be empty before it is sold automaticly // Default 168 - 1 Week
  10.  
  11. Config.BusinessCenter = vec3(-66.427528, -801.657471, 44.227280);
  12. Config.MaxShopsPerPerson = 5 -- Max shops persons | FALSE or 0 to disable
  13. Config.SellPercentage = 75
  14. Config.ShopNameUnique = true -- If false then shops can be named the same.
  15.  
  16. Config.ValutaIcon = 'euro' -- euro / dollar
  17.  
  18. Config.Wholesale = {
  19.     coords = vec3(2680.24, 3508.94, 53.3),
  20.     blipFor = 'owners', -- owners, everyone or none
  21.     products = { -- Add your own items that people can buy at the wholesale location
  22.         ['burger'] = {
  23.             price = 1,
  24.         },
  25.         ['water'] = {
  26.             price = 1,
  27.         },
  28.         ['cola'] = {
  29.             price = 1,
  30.         },
  31.         ['bread'] = {
  32.             price = 1,
  33.         },
  34.         ['beer'] = {
  35.             price = 1,
  36.         },
  37.         ['pinacolada'] = {
  38.             price = 1,
  39.         },
  40.     }
  41. }
  42.  
  43. Config.JobTimer = 15 -- Time that some one has to do the job, after this timer the job will be cancelled and put back online
  44.  
  45. -- The player jobs that owners can create the get stock for them can have multiple locations where they need to pick up to stock.
  46. -- The location is randomly chosen
  47. Config.WholesaleJobs = {
  48.     vec3(-73.792969, 6265.895020, 31.235144),
  49.     vec3(1242.861572, -3297.552979, 5.540677),
  50.     vec3(-1231.978882, -2356.939453, 14.101535),
  51.     vec3(2677.574463, 3505.978271, 53.303368)
  52. }
  53.  
Advertisement
Add Comment
Please, Sign In to add comment