Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config2.Zones = {
- CokeFarm = {location = {x=440.816, y=6458.066, z=38.4757}, item = 'coke', required = nil, required_count = 1, time = 10},
- CokeTreatment = {location = {x=1100.687, y=-3195.908, z=-38.993}, item = 'coke_pooch', required = 'coke', required_count = 5, time = 15},
- MethCollect = {location = {x=-440.576, y=1594.653, z=358.4757}, item = 'meth', required = nil, required_count = 1, time = 10},
- MethProcess = {location = {x=1004.798, y=-3198.319, z=-38.993}, item = 'meth_pooch', required = 'meth', required_count = 5, time = 15},
- --NZTCollect = {location = {x=233.1439, y=7424.69, z=18.993}, item = 'alphagpc', required = nil, required_count = 5, time = 5},
- --NZTProcess = {location = {x=1494.0513, y=1115.3024, z=113.334}, item = 'nzt', required = 'alphagpc', required_count = 1, time = 0.5},
- }
- Config2.ZonesCartel = {
- NZTCollect = {location = {x=-7304.322, y=4205.836, z=2.841}, item = 'alphagpc', required = nil, required_count = 5, time = 5},
- --NZTCollect = {location = {x=1495.260, y=1114.582, z=113.33}, item = 'alphagpc', required = nil, required_count = 5, time = 5},
- NZTProcess = {location = {x=-7296.203, y=4199.548, z=2.9173}, item = 'nzt', required = 'alphagpc', required_count = 1, time = 1},
- ShineCollect = {location = {x=2297.108, y=4813.47, z=40.446}, item = 'corn', required = nil, required_count = 1, time = 5},
- ShineProcess = {location = {x=-1514.064, y=1522.415, z=111.689}, item = 'moonshine', required = 'corn', required_count = 5, time = 15},
- CompanyCollect = {location = {x=3537.334, y=3666.830, z=28.146}, item = 'step1', required = nil, required_count = 1, time = 3},
- CompanyProcess = {location = {x=-1296.064, y=-3008.415, z=-44.689}, item = 'step2', required = 'step1', required_count = 5, time = 10},
- }
- if GetDistanceBetweenCoords(playerCoords, 1312.100, 4362.241, 40.855, true) <= 5.0 then
- letSleep = false
- DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
- if GetDistanceBetweenCoords(playerCoords, 1065.430, -3182.969, -39.163, true) <= 5.0 then
- letSleep = false
- DisplayHelpText('press ~INPUT_CONTEXT~ to exit warehouse')
- if GetDistanceBetweenCoords(playerCoords, 1514.405, 3784.469, 34.293, true) <= 2.0 then --coke enter
- letSleep = false
- DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
- if GetDistanceBetweenCoords(playerCoords, 2357.61, 2609.563, 47.006, true) <= 2.0 then --methhouse enter
- letSleep = false
- DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
- if GetDistanceBetweenCoords(playerCoords, 958.50, -1586.30, 30.0, true) <= 3.0 then
- letSleep = false
- DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
- if GetDistanceBetweenCoords(playerCoords, 758.885, -909.322, 25.433, true) <= 3.0 then
- letSleep = false
- DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
- if GetDistanceBetweenCoords(playerCoords, -1174.5546, -1153.5311, 5.65811, true) <= 2.0 then
- letSleep = false
- DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
- if GetDistanceBetweenCoords(playerCoords, 378.646, -834.4833, 29.292, true) <= 3.0 then
- letSleep = false
- DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
- if GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId(), true), -900.467, -2329.72, -3.507, true) < 2.0 then
- letSleep = false
- DisplayHelpText('press ~INPUT_CONTEXT~ to enter warehouse')
- {
- {name="Lester", id=84, x = 1272.385, y = -1714.821, z = 54.771, color = 49, heading=190.701, scale=0.7 },
- }
- local elements = {
- { label = "Coke Collection $300,000", value = 'coke_collection' },
- { label = "Meth Collection $30,000", value = 'meth_collection' },
- { label = "Meth Processing $15,000", value = 'meth_process' },
- { label = "Money Laundering $300,000", value = 'money_laundering' },
- { label = "Guns and Gear", value = 'black_weapons' },
- }
- function(data, menu)
- if data.current.value == 'coke_collection' then
- TriggerServerEvent('Lester:drugInformation', 'cokeCollect', 300000)
- end
- if data.current.value == 'meth_collection' then
- TriggerServerEvent('Lester:drugInformation', 'methCollect', 30000)
- end
- if data.current.value == 'meth_process' then
- TriggerServerEvent('Lester:drugInformation', 'methProcess', 15000)
- end
- if data.current.value == 'money_laundering' then
- TriggerServerEvent('Lester:drugInformation', 'moneyLaundering', 300000)
- end
- if data.current.value == 'black_weapons' then
- TriggerServerEvent('Lester:drugInformation', 'blackweapons', 10000)
- end
- menu.close()
- end,
- function(data, menu)
- menu.close()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement