marcinhuU

m-DrugSelling

Mar 12th, 2022
744
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.71 KB | None | 0 0
  1. Config = {}
  2.  
  3. ------------
  4. -- Zones
  5. ------------
  6. Config.JobPolice = 'police'
  7. Config.TextUi = 'textUi'
  8. Config.QBDrawtext = 'qb-drawtext'
  9. Config.Interact = 'textui' -- "Press [E] Sell Drugs" interactions | Available: "textui" / "notify" / "qb-drawtext"
  10.  
  11. ------------
  12. -- Commands
  13. ------------
  14. Config.CommandSellWeed = 'sellweed'
  15. Config.CommandSellCoke = 'sellcoke'
  16. Config.CommandSellOpium = 'sellopium'
  17. Config.CommandSellMeta = 'sellmeta'
  18.  
  19. ------------
  20. -- Zones
  21. ------------
  22. -- ====== Weed
  23. Config.BlipWeed = {
  24. Enable = true,
  25. Icon = 437,
  26. Colour = 2,
  27. Name = "Sell Weed",
  28. }
  29. Config.InteractSellWeed = "[E] - Sell Weed"
  30. Config.NameOfWeed = 'ervapronta' -- Name Of Item
  31. Config.PriceOfWeed = math.random(2,45) -- Price Of Sell Item
  32. Config.AmountOfSellWeed = 1 -- Amount of sell
  33. Config.SellingWeed = {
  34. zona = vector3(99.4, -1936.57, 20.8), -- Zone
  35. distance = 150, -- Distance
  36. percentageSell = 70, -- From 0 to 100 if it is higher than 70 it sells.
  37. percentageIgnore = 30, -- From 0 to 100 if less than 30 he doesn't want drugs.
  38. }
  39.  
  40. -- ====== Coke
  41. Config.BlipCoke = {
  42. Enable = true,
  43. Icon = 437,
  44. Colour = 5,
  45. Name = "Sell Coke",
  46. }
  47. Config.InteractSellCoke = "[E] - Sell Coke"
  48. Config.NameOfCoke = 'cocainapronta' -- Name Of Item
  49. Config.PriceOfCoke = math.random(2,45) -- Price Of Sell Item
  50. Config.AmountOfSellCoke = 1 -- Amount of sell
  51. Config.SellingCoke = {
  52. zona = vector3(328.21, -2035.65, 20.92), -- Zone
  53. distance = 150, -- Distance
  54. percentageSell = 70, -- From 0 to 100 if it is higher than 70 it sells.
  55. percentageIgnore = 30, -- From 0 to 100 if less than 30 he doesn't want drugs.
  56. }
  57.  
  58. -- ====== Opium
  59. Config.BlipOpium = {
  60. Enable = true,
  61. Icon = 437,
  62. Colour = 56,
  63. Name = "Sell Opium",
  64. }
  65. Config.InteractSellOpium = "[E] - Sell Opium"
  66. Config.NameOfOpium = 'opiopronto' -- Name Of Item
  67. Config.PriceOfOpium = math.random(2,45) -- Price Of Sell Item
  68. Config.AmountOfSellOpium = 1 -- Amount of sell
  69. Config.SellingOpium = {
  70. zona = vector3(1281.97, -1733.7, 52.53), -- Zone
  71. distance = 150, -- Distance
  72. percentageSell = 70, -- From 0 to 100 if it is higher than 70 it sells.
  73. percentageIgnore = 30, -- From 0 to 100 if less than 30 he doesn't want drugs.
  74. }
  75.  
  76. -- ====== Meth
  77. Config.BlipMeth = {
  78. Enable = true,
  79. Icon = 437,
  80. Colour = 58,
  81. Name = "Sell Meth",
  82. }
  83. Config.InteractSellOpium = "[E] - Sell Meth"
  84. Config.NameOfMeta = 'metanfetaminasprontas' -- Name Of Item
  85. Config.PriceOfMeta = math.random(2,45) -- Price Of Sell Item
  86. Config.AmountOfSellMeta = 1 -- Amount of sell
  87. Config.SellingMeta = {
  88. zona = vector3(1373.52, -1534.22, 56.18), -- Zone
  89. distance = 150, -- Distance
  90. percentageSell = 70, -- From 0 to 100 if it is higher than 70 it sells.
  91. percentageIgnore = 30, -- From 0 to 100 if less than 30 he doesn't want drugs.
  92. }
  93.  
  94. ------------
  95. -- Levels
  96. ------------
  97. Config.EnableLevelSystem = true
  98. Config.SalesAmountToPassLevel_2 = 20 --Sales amounts needed to upgrade to level 2
  99. Config.Level2Reward = 2 -- This is the normal sale value multiplier. For example if the sale is at 5 and the player goes to level 2 he will receive 5 x 2
  100. Config.SalesAmountToPassLevel_3 = 30 --Sales amounts needed to upgrade to level 3
  101. Config.Level3Reward = 3 -- This is the normal sale value multiplier. For example if the sale is at 5 and the player goes to level 3 he will receive 5 x 3
  102. Config.SalesAmountToPassLevel_4 = 40 --Sales amounts needed to upgrade to level 4
  103. Config.Level4Reward = 4 -- This is the normal sale value multiplier. For example if the sale is at 5 and the player goes to level 4 he will receive 5 x 4
  104. Config.SalesAmountToPassLevel_5 = 50 --Sales amounts needed to upgrade to level 5
  105. Config.Level5Reward = 5 -- This is the normal sale value multiplier. For example if the sale is at 5 and the player goes to level 5 he will receive 5 x 5
  106.  
  107. ------------
  108. -- Language
  109. ------------
  110.  
  111. Config["Language"] = {
  112. ["Notificaction"] = {
  113. ["Longe"] = "You are far way.",
  114. ["VendaErva"] = "Active weed sale.",
  115. ["VendaCoca"] = "Active cocaine sale.",
  116. ["VendaOpio"] = "Active opium sales.",
  117. ["VendaMeta"] = "Active methamphetamine sales.",
  118. ["EsPolicia"] = "The buyer has seen you before, they know you're a cop!",
  119. ["SaisteZona"] = "You moved far away and the buyer was no longer interested.",
  120. ["SemInteresse"] = "The buyer was not interested.",
  121. ["NadaParaVender"] = "You have nothing to sell.",
  122. ["ChamarPolicia"] = "The buyer is calling the police!",
  123. ["YouGot"] = "You got: $"
  124. },
  125. ["ProgressBars"] ={
  126. ["Selling"] = "Selling drugs...",
  127. },
  128. }
  129.  
  130.  
  131.  
  132. function AlertCops()
  133. -- Trigger your dispatch
  134. end
Add Comment
Please, Sign In to add comment