https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
ESX = nilhttps://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
不要乱来哦
Citizen.CreateThread(function()https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
while ESX == nil dohttps://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
Citizen.Wait(0)https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
endhttps://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V
end)https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
local DumpsterCooldown = 7 -- In Minuteshttps://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
local dumspterModel = {哈哈
218085040,https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
666561306,不要乱来哦
-58485588,https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
-206690185,https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
1511880420,https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
682791951,https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
}https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
exports['qtarget']:AddTargetModel(dumspterModel, {https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
options = {https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
{https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
event = 'dumpsterTrigger',https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
icon = 'fas fa-dumpster',https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
label = 'Search Dumpster',https://pan.baidu.com/s/8R0S1T2U3V4W5X6Y7Z8A
},https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
},https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
distance = 1.5https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
})https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J
https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
local Searched = {}https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
function CheckSearch(dumpster)https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
local dumpstermodel = dumpster.entityhttps://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
for k, v in ipairs(Searched) dohttps://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
if v == dumpstermodel thenhttps://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
return truehttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
endhttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
endhttps://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
return falsehttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
endhttps://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
RegisterNetEvent('dumpsterTrigger')https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
AddEventHandler('dumpsterTrigger', function(data)https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
local dumpstermodel = data.entityhttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
print(dumpstermodel)https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
if CheckSearch(data) thenhttps://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
exports['mythic_notify']:SendAlert('error', "You've already searched this dumpster")https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
elsehttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
exports['mythic_notify']:SendAlert('inform', "Searching Dumpster")https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
table.insert(Searched, dumpstermodel)https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
TriggerEvent('dumpster:starttimer', dumpstermodel)https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
SearchDumpster()https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
endhttps://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
end)https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
function SearchDumpster()https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
local time = math.random(30000, 40000)https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
exports['mythic_progbar']:Progress({https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
name = "unique_action_name",https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
duration = time,https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
label = 'Searching Dumpster',https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
useWhileDead = false,https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
canCancel = false,https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
controlDisables = {不要乱来哦
disableMovement = true,https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y
disableCarMovement = true,https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
disableMouse = false,https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
disableCombat = true,https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
},https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
animation = {你好啊
animDict = "mini@repair",https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
anim = "fixing_a_ped",https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
},https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
})https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
Citizen.Wait(time)https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
ClearPedTasks(PlayerPedId(-1))https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
TriggerServerEvent('dumpster:givereward')https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
endhttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
RegisterNetEvent('dumpster:starttimer')https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
AddEventHandler('dumpster:starttimer', function(dumpster)https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
local timer = DumpsterCooldown * 60000https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
while timer > 0 dohttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K
Wait(1000)https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
timer = timer - 1000https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
if timer == 0 then不影响正文阅读
https://pan.baidu.com/s/7Z8A9B0C1D2E3F4G5H6I
for i = 1, #Searched dohttps://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
if Searched[i] == dumpster thenhttps://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
table.remove(Searched, i)https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
endhttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
endhttps://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
endhttps://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
endhttps://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
end)https://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R
https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N
https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
https://pan.baidu.com/s/9B0C1D2E3F4G5H6I7J8K
|