Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.59 KB | None | 0 0
  1. Config2.Zones = {
  2. CokeFarm = {location = {x=440.816, y=6458.066, z=38.4757}, item = 'coke', required = nil, required_count = 1, time = 10},
  3. CokeTreatment = {location = {x=1100.687, y=-3195.908, z=-38.993}, item = 'coke_pooch', required = 'coke', required_count = 5, time = 15},
  4.  
  5. MethCollect = {location = {x=-440.576, y=1594.653, z=358.4757}, item = 'meth', required = nil, required_count = 1, time = 10},
  6. MethProcess = {location = {x=1004.798, y=-3198.319, z=-38.993}, item = 'meth_pooch', required = 'meth', required_count = 5, time = 15},
  7.  
  8. --NZTCollect = {location = {x=233.1439, y=7424.69, z=18.993}, item = 'alphagpc', required = nil, required_count = 5, time = 5},
  9. --NZTProcess = {location = {x=1494.0513, y=1115.3024, z=113.334}, item = 'nzt', required = 'alphagpc', required_count = 1, time = 0.5},
  10. }
  11.  
  12. Config2.ZonesCartel = {
  13. NZTCollect = {location = {x=-7304.322, y=4205.836, z=2.841}, item = 'alphagpc', required = nil, required_count = 5, time = 5},
  14. --NZTCollect = {location = {x=1495.260, y=1114.582, z=113.33}, item = 'alphagpc', required = nil, required_count = 5, time = 5},
  15. NZTProcess = {location = {x=-7296.203, y=4199.548, z=2.9173}, item = 'nzt', required = 'alphagpc', required_count = 1, time = 1},
  16.  
  17. ShineCollect = {location = {x=2297.108, y=4813.47, z=40.446}, item = 'corn', required = nil, required_count = 1, time = 5},
  18. ShineProcess = {location = {x=-1514.064, y=1522.415, z=111.689}, item = 'moonshine', required = 'corn', required_count = 5, time = 15},
  19.  
  20. CompanyCollect = {location = {x=3537.334, y=3666.830, z=28.146}, item = 'step1', required = nil, required_count = 1, time = 3},
  21. CompanyProcess = {location = {x=-1296.064, y=-3008.415, z=-44.689}, item = 'step2', required = 'step1', required_count = 5, time = 10},
  22. }
  23.  
  24. if GetDistanceBetweenCoords(playerCoords, 1312.100, 4362.241, 40.855, true) <= 5.0 then
  25. letSleep = false
  26. DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
  27.  
  28. if GetDistanceBetweenCoords(playerCoords, 1065.430, -3182.969, -39.163, true) <= 5.0 then
  29. letSleep = false
  30. DisplayHelpText('press ~INPUT_CONTEXT~ to exit warehouse')
  31.  
  32. if GetDistanceBetweenCoords(playerCoords, 1514.405, 3784.469, 34.293, true) <= 2.0 then --coke enter
  33. letSleep = false
  34. DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
  35.  
  36. if GetDistanceBetweenCoords(playerCoords, 2357.61, 2609.563, 47.006, true) <= 2.0 then --methhouse enter
  37. letSleep = false
  38. DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
  39.  
  40. if GetDistanceBetweenCoords(playerCoords, 958.50, -1586.30, 30.0, true) <= 3.0 then
  41. letSleep = false
  42. DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
  43.  
  44. if GetDistanceBetweenCoords(playerCoords, 758.885, -909.322, 25.433, true) <= 3.0 then
  45. letSleep = false
  46. DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
  47.  
  48. if GetDistanceBetweenCoords(playerCoords, -1174.5546, -1153.5311, 5.65811, true) <= 2.0 then
  49. letSleep = false
  50. DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
  51.  
  52. if GetDistanceBetweenCoords(playerCoords, 378.646, -834.4833, 29.292, true) <= 3.0 then
  53. letSleep = false
  54. DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
  55.  
  56. if GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId(), true), -900.467, -2329.72, -3.507, true) < 2.0 then
  57. letSleep = false
  58. DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
  59.  
  60. {
  61. {name="Lester", id=84, x = 1272.385, y = -1714.821, z = 54.771, color = 49, heading=190.701, scale=0.7 },
  62. }
  63.  
  64. local elements = {
  65. { label = "Coke Collection $300,000", value = 'coke_collection' },
  66. { label = "Meth Collection $30,000", value = 'meth_collection' },
  67. { label = "Meth Processing $15,000", value = 'meth_process' },
  68. { label = "Money Laundering $300,000", value = 'money_laundering' },
  69. { label = "Guns and Gear", value = 'black_weapons' },
  70. }
  71.  
  72. function(data, menu)
  73. if data.current.value == 'coke_collection' then
  74. TriggerServerEvent('Lester:drugInformation', 'cokeCollect', 300000)
  75. end
  76.  
  77. if data.current.value == 'meth_collection' then
  78. TriggerServerEvent('Lester:drugInformation', 'methCollect', 30000)
  79. end
  80.  
  81. if data.current.value == 'meth_process' then
  82. TriggerServerEvent('Lester:drugInformation', 'methProcess', 15000)
  83. end
  84.  
  85. if data.current.value == 'money_laundering' then
  86. TriggerServerEvent('Lester:drugInformation', 'moneyLaundering', 300000)
  87. end
  88.  
  89. if data.current.value == 'black_weapons' then
  90. TriggerServerEvent('Lester:drugInformation', 'blackweapons', 10000)
  91. end
  92. menu.close()
  93. end,
  94. function(data, menu)
  95. menu.close()
  96. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement