----------------------------------------------------------------------https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
-- Garbage Configuration Options --jwdvcjrilxubsqdoidrx
-- The following options can be changed to make your --https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
-- Garbage job unique and suit your server --https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
----------------------------------------------------------------------gtdnybuitypporwpuxqerapbcqbkktbrmeelgytaxjp
https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
local Garbage_Options = {https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
Boss = {https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
Location = vector4(-319.23, -1545.41, 27.8, 327.55),rwtuljnddggtqheofljhobbaaqyctbalytfjdtngztzpaeegp
Model = 's_m_y_garbage',https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
},amyfxcczfljkpxen
Sprite = {https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
icon = 318,yuqeqpfejhugtzoijacdncevauonrzpp https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
colour = 36,https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
name = '垃圾管理公司',https://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T
https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
},https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
Truck = {https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
Spawn = vector4(-320.69, -1527.13, 27.55, 274.8),wnjoxcyzqdedwwmziorhwkgdrpprcfgztpnrsmqjpv
Type = {ujuobnhjwbbsvgvrxdnayxlcdcciywpsfjh
'trash',jwdvcjrilxubsqdoidrx
'trash2',https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
}hhpsutnbauwtygqetcftx
},gsjtjwjtwfcpack
Payment = {https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
flatRate = false,https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
flatRateAmount = 100,vtovwqgpzwyiedgfihpfxfmo
DistanceMultiplier = 1.8, -- 仅当 flatRate = false 时才适用,根据从接送到下车的距离乘以支付司机。slunaosdszxiimrpnygfjqipiibnmlxfxstxgl
itemList = {https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
{name = 'rubber', min = 1, max = 2},https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
{name = 'metalscrap', min = 1, max = 2},https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
},https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
},nepoepfdszeskdmqmpkzwjtvzuzdaprntgcyviboh
SearchGarbage = false,bcvmihkgwmvmdcmi
Objects = {https://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
-1096777189,bjvllehukfrapxwgulltwlcbrdjxuaivjdhviop
666561306,hqkcptpbsibrcmosufvsnqqqkkahmmouczwr
1437508529,https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
-1426008804,mmdutthdxzobnltnrtihpzwdvdv
-228596739,qtcqwzjwubmccqdqnatwabsbbaxy
651101403,vlhabjmhsuhfzmhoflkzmddyxkpswofsamsbvejnhttps://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
-58485588,https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
218085040,qtcqwzjwubmccqdqnatwabsbbaxy
},https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
}kujkjcbaitr
hesjyusgfyuagntkmiipunmvtdnmfsfnxyxvspcyowzvkt
local garbagejobOptions = {https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
AllowMarker = true,pjritbicawoferqcxzqsekztvllogflvpddjemlfizknqaqo
LocationMarker = 3,https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B?pwd=tuv6
Location = {rgbujgdyniriqsbp
vector3(114.83,-1462.31, 29.29508),wnjoxcyzqdedwwmziorhwkgdrpprcfgztpnrsmqjpv
vector3(-6.04,-1566.23, 29.209197),https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
vector3(-1.88,-1729.55, 29.300233),https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
vector3(159.09,-1816.69, 27.91234),bjvllehukfrapxwgulltwlcbrdjxuaivjdhviop
vector3(358.94,-1805.07, 28.96659),ojkjgiqtnbvuktgrczpjekskkcjvifywp
vector3(481.36,-1274.82, 29.64475),https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N
vector3(127.9472,-1057.73, 29.19237),gjpinqcbrzacot
vector3(-1613.123, -509.06, 34.99874),https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
vector3(342.78,-1036.47, 29.19420),https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
vector3(383.03,-903.60, 29.15601), gtdnybuitypporwpuxqerapbcqbkktbrmeelgytaxjp
vector3(165.44,-1074.68, 28.90792), https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
vector3(50.42,-1047.98, 29.31497), https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
vector3(-1463.92, -623.96, 30.20619),vhblbpyjtksujdfwfoyifdoezz
vector3(443.96,-574.33, 28.49450),oedmnexnasulmxabekgiuywpeopssxngcqspvqdvjxhvvh
vector3(-1255.41,-1286.82,3.58411), https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
vector3(-1229.35, -1221.41, 6.44954),https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
vector3(-31.94,-93.43, 57.24907),https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2
vector3(274.31,-164.43, 60.35734),gkipomuwznddyjlkcbitaemlxesdnrkuctjq
vector3(-364.33,-1864.71, 20.24249), sxntiezyldtggpna 这是干扰码
vector3(-1239.42, -1401.13, 3.75217),https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
},ekoyqvwfxwvfnjpdxcywoogkhusmifympnkfihlf
}https://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
zjnlyszzulxpiqdxivxctujxbl
----------------------------------------------------------------------https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
-- Garbage Script --https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
-- It is NOT recommended to change any of the following --https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
----------------------------------------------------------------------https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
wzfsayqourstijtswtecwriwdukkefqafvt
local PedSpawned = falsehttps://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
local garbageOnJob = falseklvdqhwvud
local garbagebag = nilvydnfqezvacclsjqjiifyaeajwqqgrycpbqu
local searched = {}tndbkydsjziufthttps://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
local searching = falsewzfsayqourstijtswtecwriwdukkefqafvt
local assignedRoute = {}rwlramabcvkfsdkbetwxflvjkaubhthzpsr
local totaldist = 0https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
jhyenroghn
if Config.GarbageJobOn thenhttps://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
CreateThread(function()fkqxyjdbiz
JobBlip(Garbage_Options.Boss.Location, Garbage_Options.Sprite.icon, Garbage_Options.Sprite.colour, Garbage_Options.Sprite.name)https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
Job3DText(Garbage_Options.Boss.Location, 'angelicxs-CivilianJobs:GarbageJob:AskForWork', 'angelicxs-CivilianJobs:GarbageJob:HowTo')kacfcfhqjmueqbmfjiznfecotdwubteltgrvmz
while true dojcbbgjoinpo
local Pos = GetEntityCoords(PlayerPedId())https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
local GarbageBoss = vector3(Garbage_Options.Boss.Location.x, Garbage_Options.Boss.Location.y, Garbage_Options.Boss.Location.z)zkcdaunawylptwteuaeeypmnznoij
local Dist = #(Pos - GarbageBoss)gtdnybuitypporwpuxqerapbcqbkktbrmeelgytaxjp
if Dist <= 50 and not PedSpawned thenfuvijkzcubl
TriggerEvent('angelicxs-CivilianJobs:MAIN:SpawnBossNPC', Garbage_Options.Boss.Model, Garbage_Options.Boss.Location, 'angelicxs-CivilianJobs:GarbageJob:AskForWork', 'angelicxs-CivilianJobs:GarbageJob:HowTo', ' GarbageJob.lua')psaghkieja
PedSpawned = truehttps://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
elseif PedSpawned and Dist > 50 thenhttps://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B?pwd=tuv6
PedSpawned = falsehttps://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
endojkjgiqtnbvuktgrczpjekskkcjvifywp
Wait(2000)qnhapziaqeldxcdijfenuycxmgttbibrwirl
endssydkcgxmfjvgyctougsmofnablxvxtnpsrzuyxgdhbkfed
end)https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
https://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
RegisterNetEvent('angelicxs-CivilianJobs:GarbageJob:HowTo', function()这是干扰码
TriggerEvent('angelicxs-CivilianJobs:Notify', Config.Lang['garbage_how_to'], Config.LangType['info'])xmdjophrwuqtk
--print(Config.Lang['garbage_how_to'])ycghqwpitkymugwtzlkvtxycafdafteew 这是干扰码
end)nimqkpzjlocryjyvyp
vlhabjmhsuhfzmhoflkzmddyxkpswofsamsbvejn https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
RegisterNetEvent('angelicxs-CivilianJobs:GarbageJob:AskForWork', function()https://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
if FreeWork or PlayerJob == Config.GarbageJobName thenhttps://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
if not MissionVehicle thenkjnmgrxsqukbfmitksrylakzlpdziprszeffwcxnwiob
local ChosenVehicle = Randomizer(Garbage_Options.Truck.Type, 'angelicxs-CivilianJobs:GarbageJob:AskForWork')https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
TriggerEvent('angelicxs-CivilianJobs:MAIN:CreateVehicle', ChosenVehicle, Garbage_Options.Truck.Spawn, 'angelicxs-CivilianJobs:GarbageJob:AskForWork')https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V
https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
while not DoesEntityExist(MissionVehicle) dogywealvomxpuxdwqxyyq
Wait(25)https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
endhttps://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
TriggerEvent('angelicxs-CivilianJobs:GarbageJob:BeginWork')amyfxcczfljkpxen
elsedwaspazwlhbuijwkfitntajfvvjyi
TriggerEvent('angelicxs-CivilianJobs:GarbageJob:BeginWork')https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
endkacfcfhqjmueqbmfjiznfecotdwubteltgrvmz
elsenimqkpzjlocryjyvyp
TriggerEvent('angelicxs-CivilianJobs:Notify', Config.Lang['wrong_job'], Config.LangType['error'])cwdklzxskkchoxjxosjlnkeeosm
endsmufhrklpjgguqmwswogqkfwbfkangmfsgkzyvk
end)eylhqxlwbbfbtkwxshnhvwxgmflchixlhjtxheuifakzkgw
https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
RegisterNetEvent('angelicxs-CivilianJobs:GarbageJob:BeginWork', function()https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
if not garbageOnJob thencllmkhlzwagxbmggnaal
garbageOnJob = truecrkrwelffbrefalxknnqvtihcnimrnbtemkarwgwyy
TriggerEvent('angelicxs-CivilianJobs:Notify', Config.Lang['garbage_start'], Config.LangType['info'])htrlssnxmaxzjgmadgieqtzukg
local assigned = GarbageRouteMaker()https://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T
https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
while not assigned do Wait(25) endhskcpfhgslifakdf
GarbageRouteManager()https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
elsekuwkfhxkaqortwcdk
TriggerEvent('angelicxs-CivilianJobs:Notify', Config.Lang['garbage_on_job'], Config.LangType['error'])gfnvpuaujjbxreihyaynawfyhf
endhttps://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
end)https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
eylhqxlwbbfbtkwxshnhvwxgmflchixlhjtxheuifakzkgw
if Garbage_Options.SearchGarbage thenhttps://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
if Config.UseThirdEye thenwenfyenaluptfdegupjojhahqskkcgrzlfek
CreateThread(function()psaghkieja
if Config.ThirdEyeName == 'ox_target' thenojkjgiqtnbvuktgrczpjekskkcjvifywp
local ox_options = {ljdllvbihhhnkqinuwfdxyvrkkfcbksnuvyfranyhv
{ggowowxcjjaogthttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
name = 'SearchGarbageBin',wzfsayqourstijtswtecwriwdukkefqafvt
onSelect = function()kuwkfhxkaqortwcdk
ThirdEyeGarbageSearch()https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
end,ggowowxcjjaogthttps://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
label = Config.Lang['garbage_search_bin'],kuwkfhxkaqortwcdk
canInteract = function(entity)https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
if searching then return false elsehttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
return not searched[entity]https://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
endvhblbpyjtksujdfwfoyifdoezz
end,nimqkpzjlocryjyvyp
},gkipomuwznddyjlkcbitaemlxesdnrkuctjq
}https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
exports.ox_target:addModel(Garbage_Options.Objects, ox_options)evgyjqjmvxsuuxvgsjsqzmndieahdqvhmcfwspiom
elsehttps://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y
https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
exports[Config.ThirdEyeName]:AddTargetModel(Garbage_Options.Objects, {https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
options = {sjcjsuligflbenitdanbzsf
{svtxiwjtcdfipgfsvibsyeqalopwheczzvw
action = function()kuwkfhxkaqortwcdk
ThirdEyeGarbageSearch()https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V
https://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
end,https://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
label = Config.Lang['garbage_search_bin'],jhyenroghn
canInteract = function(entity)https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
if searching then return false elsedzmajaoavh
return not searched[entity]https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
endoeffzyasnvpdcedydldhsipzxvxdhmhwq https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
end,ydljdpastwxzqnintmtw
}, datxbdnsqcvshvxoqztoqrvc
},mgbtbxgsuzurfcbqdrmdgdpizsfudilponjpkqifpcx
distance = 2https://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L
}) twzlizngqtqlzaz
end https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
end)https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
function ThirdEyeGarbageSearch()gywealvomxpuxdwqxyyq
local pos = GetEntityCoords(PlayerPedId())fbuzinrugkiexibwshislpbpgvoafvrkwmkfaczgnhk
for i=1, #Garbage_Options.Objects dogfvdlulrjmngjqkuocanopvdcvwxdotjupmgkxxtklaubkp
local garbage = GetClosestObjectOfType(pos, 10.5, Garbage_Options.Objects[i], false, false, false)https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2
if not searched[garbage] thennnrlhtncehhttps://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
searched[garbage] = truehttps://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
searching = trueovwhyneywatxnvadzqrzknamfcngalmohjv
SearchGarbage()qmhiuqbffculximcde
breakemespirytcbvkuwphhnlarzrbtuvdkahxf
endekoyqvwfxwvfnjpdxcywoogkhusmifympnkfihlf
endhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
endhbipzhfgpgslx
endtndbkydsjziufthttps://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
if Config.Use3DText thenhttps://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
CreateThread(function()https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
while Garbage_Options.SearchGarbage doqmhiuqbffculximcde
local sleep = 1200yvicbfwhjwtddyjiucqcuewwzhbjjschnljpqgxadregpn
local ped = PlayerPedId()sjcjsuligflbenitdanbzsf
local inVehicle = IsPedInAnyVehicle(ped, false)gltqcjwnzjotqstqtavyzkbrilrvknsqzlhbvepuodnevhup
if not inVehicle thencllmkhlzwagxbmggnaal
local pos = GetEntityCoords(ped)shtoajonezp
for i=1, #Garbage_Options.Objects doxvfqmecnobyefymupeuujaqmyd
local garbage = GetClosestObjectOfType(pos, 10.5, Garbage_Options.Objects[i], false, false, false)yvicbfwhjwtddyjiucqcuewwzhbjjschnljpqgxadregpn
local propPos = GetEntityCoords(garbage)https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
local dist = #(pos-propPos)https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
if dist <= 10 and not searched[garbage] thenwzfsayqourstijtswtecwriwdukkefqafvt
sleep = 0ptehixkjqiltvd
if dist <= 3 thenzjnlyszzulxpiqdxivxctujxbl
DrawText3Ds(propPos.x, propPos.y, propPos.z, Config.Lang['garbage_search_bin_3D'])https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
if IsControlJustReleased(0, 38) and not searching thenhttps://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
searched[garbage] = truejvpggszvgrhqgqwwtwaj
searching = truehttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K
SearchGarbage()https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
end lnhbvamungajaavlwo
endcwdklzxskkchoxjxosjlnkeeosm
endnuufaozmxmdoirrovcetjxcoqnacahzocttchspffsuojlcf
endoeffzyasnvpdcedydldhsipzxvxdhmhwq https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
endhttps://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
Wait(sleep)eortdzmyvsoafyxdvmvfjrymrejbpmatarnerzdmrsmxrkamx
endeilzrxslenvvmvgpswmipmxoyib
end)gfnvpuaujjbxreihyaynawfyhf
endpjritbicawoferqcxzqsekztvllogflvpddjemlfizknqaqo
endhttps://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
yjplrvmvceypzcxykuzdbtsccgp
function GarbageRouteMaker()https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
local init = vector3(Garbage_Options.Truck.Spawn.x, Garbage_Options.Truck.Spawn.y, Garbage_Options.Truck.Spawn.z)hxilfvtbmhcctdktaj
local previousLocation = inithttps://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
for i =1, #garbagejobOptions.Location dosvtxiwjtcdfipgfsvibsyeqalopwheczzvw
local spot = garbagejobOptions.Location[i]https://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
local routeAdd = math.random(1,3) -- 33% to add route to routehttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
if routeAdd == 1 thenhxilfvtbmhcctdktaj
table.insert(assignedRoute, spot)你好啊
local dist = #(previousLocation-spot)https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
previousLocation = spotvntzwpnhmaisngdzlpcxlgnpwkhwap
totaldist = totaldist + math.floor(dist)https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
endhttps://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B?pwd=tuv6
endhttps://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
return truehttps://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
endhttps://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
function GarbageRouteManager()cllmkhlzwagxbmggnaal
local bag = falseqmhiuqbffculximcde
local routenumber = 0zjnlyszzulxpiqdxivxctujxbl
for i = 1, #assignedRoute doomhdljbzllmbicdqegzwkrnoq
if not garbageOnJob then return endhttps://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
routenumber = routenumber + 1https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
TriggerEvent('angelicxs-CivilianJobs:MAIN:RouteMarker', false, assignedRoute[i], '垃圾位置', 'GarbageRouteManager()')rtydanilxiybmwywmrsbxlbjddehnshelghmtqxrywsktrgfjz
while true do这是干扰码
local sleep = 1100jwdvcjrilxubsqdoidrx
local ped = PlayerPedId()nepoepfdszeskdmqmpkzwjtvzuzdaprntgcyviboh
local coord = GetEntityCoords(ped)smufhrklpjgguqmwswogqkfwbfkangmfsgkzyvk
local dist = #(coord-assignedRoute[i])bjvllehukfrapxwgulltwlcbrdjxuaivjdhviop
local inVehicle = IsPedInAnyVehicle(ped, false)https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
if dist <= 50 thentphhbhyazattvxevfbbfpowavpnytvynlfummtnlthfpekljmm
sleep = 500https://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
if dist <= 25 thenhttps://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
sleep = 0eruzigvbdkhuvnrxsbxf
if garbagejobOptions.AllowMarker thenpznvlbryutnhgbdgrdmvdiyiw
DrawMarker(garbagejobOptions.LocationMarker, assignedRoute[i].x, assignedRoute[i].y, (assignedRoute[i].z+2), 0.0, 0.0, 0.0, 0.0, 180.0, 0.0, 2.0, 2.0, 2.0, 100, 200, 50, 255, true, true, 2, 0.0, false, false, false)https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
endbwbsaihowsebfplpwugemgfhoumgyjezffrgnzvksamypxnls
if not garbagebag then https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
if dist <= 5 thenhttps://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
if not inVehicle then qezwlnqytphyondgurfpcyqowfmjrechjcduqusjjaiyn
DrawText3Ds(assignedRoute[i].x, assignedRoute[i].y, assignedRoute[i].z, Config.Lang['garbage_get_garbage'])https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
if IsControlJustReleased(0,47) thenuhsjfopzaatxmvydzhbtijprnwnvldofkgopvdpveitqe
GetGarbage()https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
endhqkcptpbsibrcmosufvsnqqqkkahmmouczwr
endambujszbtodwfehpyihknlwtkqtizjuzwwugpuhj
endekoyqvwfxwvfnjpdxcywoogkhusmifympnkfihlf
elsepumzquuxddshemaxofjkakqjalqnb
local vehiclecoords = GetOffsetFromEntityInWorldCoords(MissionVehicle, 0.0, -4.5, 0.0)https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
local vDist = #(coord-vehiclecoords)https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
if vDist <= 5 thenhttps://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
DrawText3Ds(vehiclecoords.x, vehiclecoords.y, vehiclecoords.z, Config.Lang['garbage_put_garbage'])nnmijujuvztfsdymmbsihhhpmkerkdoxrafaupvqoowhruud
if IsControlJustReleased(0,47) thenhttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W
PutGarbage()mcfnaqlvxytbkdezdxtzusqhbdanwxcjziwazhwwgq
TriggerEvent('angelicxs-CivilianJobs:Notify', Config.Lang['garbage_in_truck'], Config.LangType['info'])https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
breakhttps://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
endwzfsayqourstijtswtecwriwdukkefqafvt
endovwhyneywatxnvadzqrzknamfcngalmohjv
endojkjgiqtnbvuktgrczpjekskkcjvifywp
endhttps://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
endhttps://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
Wait(sleep) dwaspazwlhbuijwkfitntajfvvjyi
endhttps://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
end ipqqjpkhwptshmrdcyixkqnqrqcdqkvzalqjbaqxqkpy
TriggerEvent('angelicxs-CivilianJobs:MAIN:RouteMarker', false, vector3(Garbage_Options.Truck.Spawn.x, Garbage_Options.Truck.Spawn.y, Garbage_Options.Truck.Spawn.z), '垃圾总站', 'GarbageRouteManager()')https://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
TriggerEvent('angelicxs-CivilianJobs:Notify', Config.Lang['garbage_route_complete'], Config.LangType['success'])nwgzxshshlunhxpovbxdnuhbksbjhqpvnwv
if Garbage_Options.Payment.flatRate thenhttps://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
local p = math.floor(routenumber * Garbage_Options.Payment.flatRateAmount)vydnfqezvacclsjqjiifyaeajwqqgrycpbqu
PaymentFlat(tonumber(p), 'Garbage Job - GarbageRouteManager()')https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
elsehttps://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
PaymentFlat((tonumber(totaldist)*tonumber(Garbage_Options.Payment.DistanceMultiplier)), 'Garbage Job - GarbageRouteManager()') -- for distance based paymentsmcfnaqlvxytbkdezdxtzusqhbdanwxcjziwazhwwgq
endhttps://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
garbageOnJob = falseeortdzmyvsoafyxdvmvfjrymrejbpmatarnerzdmrsmxrkamx
totaldist = 0https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
assignedRoute = {}twzlizngqtqlzaz
endhttps://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
function GetGarbage()https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
local ped = PlayerPedId()这是干扰码
local bag = HashGrabber('prop_cs_rub_binbag_01')https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
FreezeEntityPosition(ped, true)https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
LoadAnim('anim@amb@clubhouse@tutorial@bkr_tut_ig3@')https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
LoadAnim('missfbi4prepp1')https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S
https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
TaskPlayAnim(ped,"anim@amb@clubhouse@tutorial@bkr_tut_ig3@","machinic_loop_mechandplayer",1.0, -1.0, -1, 49, 0, 0, 0, 0)cvupvfuasfabzjurvhlsgambsjdnmauowods
Wait(math.random(1000,5000))https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
FreezeEntityPosition(ped, false)https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
ClearPedTasks(ped)dkwlxnyzgdlrdcnkzliaphmprnesimblwxxtl 不要乱来哦
garbagebag = CreateObject(bag, 0, 0, 0, true, true, true)wenfyenaluptfdegupjojhahqskkcgrzlfek
TaskPlayAnim(ped, 'missfbi4prepp1', '_bag_walk_garbage_man', 6.0, -6.0, -1, 49, 0, 0, 0, 0)https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
AttachEntityToEntity(garbagebag, ped, GetPedBoneIndex(ped, 57005), 0.12, 0.0, -0.05, 220.0, 120.0, 0.0, true, true, false, true, 1, true)https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
CreateThread(function()https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M
while garbagebag dohttps://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
local player = PlayerPedId()https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
if IsEntityPlayingAnim(ped, 'missfbi4prepp1', '_bag_throw_garbage_man',3) thenhttps://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
elseif not IsEntityPlayingAnim(ped, 'missfbi4prepp1', '_bag_walk_garbage_man',3) thenbwxwcdkysfympiomztvhs https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
ClearPedTasks(ped)https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
TaskPlayAnim(ped, 'missfbi4prepp1', '_bag_walk_garbage_man', 6.0, -6.0, -1, 49, 0, 0, 0, 0)gfvdlulrjmngjqkuocanopvdcvwxdotjupmgkxxtklaubkp
endhttps://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
Wait(0)https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
endhttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
RemoveAnimDict("missfbi4prepp1")vtovwqgpzwyiedgfihpfxfmo
RemoveAnimDict("anim@amb@clubhouse@tutorial@bkr_tut_ig3@")xpqtqsmlyhcvlqw
end)pcdwoxjvvzjrahuobbhttps://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
endhttps://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
function PutGarbage()https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
local ped = PlayerPedId()ewcqdfnnujhtskn
LoadAnim('missfbi4prepp1')https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
TaskPlayAnim(ped, 'missfbi4prepp1', '_bag_throw_garbage_man', 8.0, 8.0, 1100, 48, 0.0, 0, 0, 0)https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
FreezeEntityPosition(ped, true)vydnfqezvacclsjqjiifyaeajwqqgrycpbqu
SetEntityHeading(ped, GetEntityHeading(MissionVehicle))https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
Wait(1250)gaaynifufdojxurktjbnffntrjclcsziszggimanp
DetachEntity(garbagebag, 1, false)https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
DeleteObject(garbagebag)dkwlxnyzgdlrdcnkzliaphmprnesimblwxxtlhttps://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
TaskPlayAnim(ped, 'missfbi4prepp1', 'exit', 8.0, 8.0, 1100, 48, 0.0, 0, 0, 0)https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
garbagebag = nilhttps://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
FreezeEntityPosition(ped, false)jhyenroghn
RemoveAnimDict("missfbi4prepp1")gtdnybuitypporwpuxqerapbcqbkktbrmeelgytaxjp
endhttps://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
function SearchGarbage()gywealvomxpuxdwqxyyq
local ped = PlayerPedId()https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
FreezeEntityPosition(ped, true)https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
LoadAnim('anim@amb@clubhouse@tutorial@bkr_tut_ig3@')ecrkztighqowiip
TaskPlayAnim(ped,"anim@amb@clubhouse@tutorial@bkr_tut_ig3@","machinic_loop_mechandplayer",1.0, -1.0, -1, 49, 0, 0, 0, 0)pcdwoxjvvzjrahuobbhttps://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
Wait(math.random(1000,5000))https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
local getItem = math.random(1,3) -- 33% to actually find itemhttps://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
if getItem == 1 thencvupvfuasfabzjurvhlsgambsjdnmauowods
TriggerEvent('angelicxs-CivilianJobs:Notify', Config.Lang['garbage_item_find'], Config.LangType['success'])ekoyqvwfxwvfnjpdxcywoogkhusmifympnkfihlf
local item = Randomizer(Garbage_Options.Payment.itemList, 'angelicxs-CivilianJobs:GarbageJob:SearchGarbage()')https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
while not item do Wait(10) endijtsqtknjaalmevhhgvsekxgmlbavblekfxbyh
PaymentItem(item, 'Garbage Job Searching Bin - angelicxs-CivilianJobs:GarbageJob:SearchGarbage()')https://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
else https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
TriggerEvent('angelicxs-CivilianJobs:Notify', Config.Lang['garbage_item_nofind'], Config.LangType['info'])ssydkcgxmfjvgyctougsmofnablxvxtnpsrzuyxgdhbkfed
endjwdvcjrilxubsqdoidrx
FreezeEntityPosition(ped, false)https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
ClearPedTasks(ped)phbbfiebuuyeigrzrhyat
RemoveAnimDict("anim@amb@clubhouse@tutorial@bkr_tut_ig3@")https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
Wait(1000)https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
searching = falsergbujgdyniriqsbp
endevgyjqjmvxsuuxvgsjsqzmndieahdqvhmcfwspiom
vtovwqgpzwyiedgfihpfxfmo
AddEventHandler('angelicxs-CivilianJobs:Main:ResetJobs', function()agnxklelcmwepdpxszph
if DoesEntityExist(garbagebag) thenhttps://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
RemoveAnimDict("missfbi4prepp1")https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
RemoveAnimDict("anim@amb@clubhouse@tutorial@bkr_tut_ig3@")zjnlyszzulxpiqdxivxctujxbl
local ped = PlayerPedId()https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
DetachEntity(garbagebag, 1, false)https://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
DeleteObject(garbagebag)https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B?pwd=tuv6
ClearPedTasks(ped)axzyjfaypomdbwrtqbobovtpdezkvrxwoxvxdvvsj
endhttps://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
PedSpawned = falsehttps://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
garbageOnJob = falsefzrokbwzsercmkfmyyobpqrgafwqn
garbagebag = nilpznvlbryutnhgbdgrdmvdiyiw
searched = {}https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
searching = falsevldnfuotvdopssuscpjalyygvbcrumypxccc
assignedRoute = {}https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
totaldist = 0zlexrxyejigupedbjzullbnnvryo
end)https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
endpcdwoxjvvzjrahuobbhttps://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
wenfyenaluptfdegupjojhahqskkcgrzlfek https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
https://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T
|