Advertisement
marcinhuUu

m-Camping

Sep 1st, 2022
897
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.25 KB | None | 0 0
  1. Config = {}
  2.  
  3. --------------------------
  4. -- Utility
  5. --------------------------
  6. Config.CoreName = "qb-core" -- qb-core or esx:getSharedObject
  7. Config.Target = "qb-target" -- Your target name
  8. Config.QBMenu = "qb-menu" -- Your qb-menu name
  9. Config.Job = "all" -- Allow only one job
  10. Config.InvLink = "qs-inventory/html/images/" -- Set this to your inventory Directory
  11. Config.PoliceJob = "police" -- For search tent's
  12.  
  13. --------------------------
  14. -- Objects
  15. --------------------------
  16. Config.Objects = {
  17. ["box"] = { model = `prop_weed_tub_01b`, freeze = true },
  18. ["fire"] = { model = `prop_beach_fire`, freeze = true },
  19. ["tent"] = { model = `prop_skid_tent_01`, freeze = true },
  20. ["chair"] = { model = `prop_table_03b_chr`, freeze = true },
  21. ["table"] = { model = `prop_table_03b_cs`, freeze = true },
  22. ["yoga3"] = { model = `prop_yoga_mat_03`, freeze = true },
  23. ["yoga2"] = { model = `prop_yoga_mat_02`, freeze = true },
  24. ["yoga1"] = { model = `prop_yoga_mat_01`, freeze = true },
  25. }
  26.  
  27. ---------------
  28. -- Zones
  29. ---------------
  30. Config.CampingZones = {
  31. EnableZones = false, -- Enable specific zones to camping?
  32. CampingZones = { -- Zone available to camping if enbalezones true -- https://forums.gta5-mods.com/topic/5749/reference-map-zone-names-and-zone-labels
  33. 'MTCHIL',
  34. 'CANNY',
  35. 'MTGORDO',
  36. 'CMSW',
  37. 'MTJOSE'
  38. },
  39. }
  40.  
  41. --------------------------
  42. -- Yoga
  43. --------------------------
  44. Config.Yoga = {
  45. EnableZones = false, -- Enalbe specific zones to yoga?
  46. YogaZones = { -- Zone available to make yoga -- https://forums.gta5-mods.com/topic/5749/reference-map-zone-names-and-zone-labels
  47. 'MTCHIL',
  48. 'CANNY',
  49. 'MTGORDO',
  50. 'CMSW',
  51. 'MTJOSE'
  52. },
  53. RelieveStress = "hud:server:RelieveStress", -- Your trigger to relieve stress
  54. Amount = math.random(2,4), -- Amount relieve
  55. }
  56.  
  57. Config.Skillbar = {
  58. duration = math.random(7500, 15000), -- Duration
  59. pos = math.random(10, 30), -- Position
  60. width = math.random(10, 20), -- Width
  61. }
  62.  
  63.  
  64. --------------------------
  65. -- Chairs
  66. --------------------------
  67. Config.Chairs = {
  68. 'prop_table_03b_chr',
  69. }
  70.  
  71. Config.Position = {
  72. prop_table_03b_chr = { scenario = 'PROP_HUMAN_SEAT_BENCH', verticalOffset = -0.5, forwardOffset = 0.0, leftOffset = 0.0},
  73. }
  74.  
  75. --------------------------
  76. -- Cooking
  77. --------------------------
  78. Config.CallCops = true -- Call cops when people cooking?
  79. Config.Percentage = 5 -- 1-10 | 5 = 50%
  80. Cooking = {
  81. ['grilledmeat'] = { -- Item name
  82. menuLabel = 'Grilled Meat', -- Item name (Label)
  83. itemName = 'grilledmeat', -- Item name
  84. xpNeed = 0, -- XP need to cooking
  85. xpEarn = 1, -- XP Earn after cooking
  86. },
  87. ['grilledfish'] = {
  88. menuLabel = 'Grilled Fish',
  89. itemName = 'grilledfish',
  90. xpNeed = 5,
  91. xpEarn = 1,
  92. },
  93. ['grilledcutlets'] = {
  94. menuLabel = 'Grilled Cutlets',
  95. itemName = 'grilledcutlets',
  96. xpNeed = 10,
  97. xpEarn = 1,
  98. },
  99. ['grilledskewers'] = {
  100. menuLabel = 'Grilled Skewers',
  101. itemName = 'grilledskewers',
  102. xpNeed = 15,
  103. xpEarn = 1,
  104. },
  105. }
  106.  
  107. --------------------------
  108. -- Shop
  109. --------------------------
  110. Config.Peds = {
  111. {type = 4, hash = GetHashKey("s_m_m_gaffer_01"), x = -555.63, y = -618.76, z = 33.68, h = 180.61}, -- Los Santos
  112. }
  113.  
  114. Config.Blips = {
  115. Enable = true, -- Enable blips?
  116. Sprite = 441, -- Blip Sprite
  117. Scale = 0.8, -- Blip Scale
  118. Colour = 35, -- Blip Colour
  119. Name = "Camping Shop", -- Name of the blip
  120. Location = vector3(-555.63, -618.76, 33.68) -- Blip Location
  121. }
  122.  
  123. Config.Items = {
  124. [1] = { name = "box", price = 0, amount = 10, info = {}, type = "item", slot = 1 },
  125. [2] = { name = "fire", price = 0, amount = 10, info = {}, type = "item", slot = 2, },
  126. [3] = { name = "tent", price = 0, amount = 10, info = {}, type = "item", slot = 3, },
  127. [4] = { name = "table", price = 0, amount = 10, info = {}, type = "item", slot = 4, },
  128. [5] = { name = "chair", price = 0, amount = 10, info = {}, type = "item", slot = 5, },
  129. [6] = { name = "yoga1", price = 0, amount = 10, info = {}, type = "item", slot = 6, },
  130. [7] = { name = "yoga2", price = 0, amount = 10, info = {}, type = "item", slot = 7, },
  131. [8] = { name = "yoga3", price = 0, amount = 10, info = {}, type = "item", slot = 8, },
  132. }
  133.  
  134. --------------------------
  135. -- Shower
  136. --------------------------
  137. Config.Shower = {
  138. Command = "shower", -- Command to have a bath on ocean
  139. Probability = 10, -- 1-10 | 5 = 50% -- Probability of player gaining smell after cooking
  140. WaitingTime = math.random(10000,25000), -- Waiting time until dirt appears on the player
  141. ProgBarTime = math.random(7500, 12500), -- Time it takes the player to bathe in the water/sea
  142. QtyGained = { -- Amount of dirt the player receives after cooking something
  143. Min = 1,
  144. Max = 5,
  145. },
  146. }
  147.  
  148. --------------------------
  149. -- Commands
  150. --------------------------
  151. Config.Commands = {
  152. ["Points"] = {
  153. Enable = true, -- Enable Command for checking points?
  154. Command = "cookingpoints" -- Command to check points available to cooking
  155. },
  156. }
  157.  
  158. function CallCops()
  159. -- Your trigger event
  160. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement