Advertisement
Guest User

ww_restaurants

a guest
Apr 14th, 2022
513
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. Config = Config or {}
  2.  
  3. Config.OrderExpireTime = 120 -- Order pickup expire time (seconds)
  4. Config.OrderPrepareTime = 15 -- Order preparing time (seconds)
  5. Config.EatingTime = 5 -- Food eating time (seconds)
  6.  
  7. Config.HelpTextStyle = 'qbcore' -- 'qbcore' or 'ww' if you are using ww_drawtext (https://github.com/Nexiakk/ww_drawtext)
  8.  
  9. Config.TrayPlaceDistance = 10.0 -- Distance in which you can put tray
  10.  
  11. Config.BankPayment = true -- Bank payment when you don't have enough cash
  12.  
  13. Config.EatingPercentCut = math.random(20, 30) -- Random number between 20 and 30 of how much percent it takes each time you click eat button
  14.  
  15. Config.Notify = {
  16. preparingorder = "Your order is being prepared.",
  17. preparingorderprogbar = "Preparing your order...",
  18. orderisready = "Your order is ready.",
  19. orderexpired = "Your order has expired.",
  20. onlyoneorder = "You can only have one order at a time.",
  21. handsbusy = "You already have tray in hands.",
  22. eating = "Eating...",
  23. notenoughmoney = "Not enough money."
  24. }
  25.  
  26. Config.Restaurants = {
  27. { -- Popeyes
  28. name = "Popeyes",
  29. buyzone = { -- qb-target zone settings
  30. coords = vector3(175.0, -1446.5, 29.13),
  31. heading = 140,
  32. width = 1,
  33. length = 1,
  34. minZ = 29.0,
  35. maxZ = 29.7,
  36. debug = false, -- turn true when setting up new zones
  37. },
  38. blip = {
  39. name = "Popeyes", -- blip name
  40. sprite = 256, -- blip sprite
  41. scale = 0.8, -- blip scale
  42. color = 17, -- blip color
  43. },
  44. items = {
  45. {
  46. name = 'Double Floppa', -- name of food
  47. price = 50, -- price of food
  48. prop = 'prop_food_bs_tray_02', -- prop model of food (some trays https://gta-objects.xyz/objects/search?text=tray)
  49. hunger = 10, -- how much hunger u get each time you eat
  50. thirst = 10 -- how much thirst u get each time you eat
  51. },
  52. {
  53. name = 'Double Chicken Floppa',
  54. price = 50,
  55. prop = 'prop_food_bs_tray_02',
  56. hunger = math.random(10,15), -- other way if you want it randomized
  57. thirst = math.random(10,15) -- other way if you want it randomized
  58. },
  59. {
  60. name = 'Longbitch sandwich',
  61. price = 30,
  62. prop = 'prop_food_bs_tray_02',
  63. hunger = 10,
  64. thirst = 10
  65. },
  66. }
  67. },
  68. { -- Lucky Plucker
  69. name = "Lucky Plucker",
  70. buyzone = { -- qb-target zone settings
  71. coords = vector3(139.55, -1468.0, 29.36),
  72. heading = 140,
  73. width = 1,
  74. length = 1,
  75. minZ = 29.3,
  76. maxZ = 30.0,
  77. debug = false, -- turn true when setting up new zones
  78. },
  79. blip = {
  80. name = "Lucky Plucker",
  81. sprite = 256,
  82. scale = 0.8,
  83. color = 5,
  84. },
  85. items = {
  86. {
  87. name = 'Double Floppa',
  88. price = 50,
  89. prop = 'prop_food_bs_tray_02',
  90. hunger = 10,
  91. thirst = 10
  92. },
  93. {
  94. name = 'Double Wrap',
  95. price = 50,
  96. prop = 'prop_food_bs_tray_02',
  97. hunger = 10,
  98. thirst = 10
  99. },
  100. },
  101. },
  102. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement