BaronBosman

Config-shops.lua

Apr 6th, 2023 (edited)
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.50 KB | None | 0 0
  1. Config.BlipColor = 69 -- Default color of shop blips  -- https://docs.fivem.net/docs/game-references/blips/#blip-colors
  2. Config.BlipColorForOwner = 0 -- Default color for the owner of the store
  3. Config.BlipScale = 0.8
  4.  
  5. Config.SetDefaultInventory = false -- If this value is true the shops that are buyable but not bought will  contain the default inventory by type
  6.  
  7. Config.ShopSprites = {
  8.     ['default'] = {
  9.         sprite = 59,
  10.         color = 69,
  11.     },
  12.     ['liquor'] = {
  13.         sprite = 93,
  14.         color = 69,
  15.     },
  16.     ['phonestore'] = {
  17.         sprite = 59,
  18.         color = 69,
  19.     },
  20.     ['youtool'] = {
  21.         sprite = 566,
  22.         color = 69,
  23.     },
  24.     ['gunstore'] = {
  25.         sprite = 110,
  26.         color = 69,
  27.     }
  28. }
  29.  
  30. Config.DefaultInventory = { -- THose are also the categories of the shops, You can add more here. Make sure you also add them to the ShopSprites.
  31.     ['default'] = {
  32.         { name = 'Bread', price = 5 },
  33.         { name = 'Water', price = 5 },
  34.         { name = 'Cola', price = 5 },
  35.         { name = 'Burger', price = 5 },
  36.         { name = 'Phone', price = 500 },
  37.     },
  38.     ['liquor'] = {
  39.         { name = 'Whiskey', price = 20 },
  40.         { name = 'Vodka', price = 20 },
  41.     },
  42.     ['phonestore'] = {
  43.         { name = 'Radio', price = 100 },
  44.         { name = 'Phone', price = 400 },
  45.         { name = 'Tablet', price = 750 },
  46.         { name = 'Laptop', price = 1000 },
  47.     },
  48.     ['youtool'] = {
  49.         { name = 'Lockpick', price = 50 },
  50.     }
  51. }
  52.  
Advertisement
Add Comment
Please, Sign In to add comment