https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
ESX = nilhttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
Citizen.CreateThread(function()https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
while ESX == nil dohttps://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
Citizen.Wait(0)https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O
endhttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
end)https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
local DumpsterCooldown = 7 -- In Minuteshttps://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
local dumspterModel = {https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
218085040,https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
666561306,https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
-58485588,https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
-206690185,https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
1511880420,https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
682791951,https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
}https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
exports['qtarget']:AddTargetModel(dumspterModel, {https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
options = {https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
{https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
event = 'dumpsterTrigger',https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
icon = 'fas fa-dumpster',https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
label = 'Search Dumpster',https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
},https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
},https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
distance = 1.5https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
})https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
local Searched = {}https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
function CheckSearch(dumpster)https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
local dumpstermodel = dumpster.entityhttps://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2
for k, v in ipairs(Searched) dohttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K
if v == dumpstermodel thenhttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
return truehttps://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
endhttps://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
endhttps://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
return falsehttps://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
endhttps://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E
https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
RegisterNetEvent('dumpsterTrigger')https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
AddEventHandler('dumpsterTrigger', function(data)https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
local dumpstermodel = data.entityhttps://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L
print(dumpstermodel)https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
if CheckSearch(data) thenhttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
exports['mythic_notify']:SendAlert('error', "You've already searched this dumpster")https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
elsehttps://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
exports['mythic_notify']:SendAlert('inform', "Searching Dumpster")https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
table.insert(Searched, dumpstermodel)https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
TriggerEvent('dumpster:starttimer', dumpstermodel)https://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
SearchDumpster()https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
endhttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
end)https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
function SearchDumpster()https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
local time = math.random(30000, 40000)https://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
exports['mythic_progbar']:Progress({https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
name = "unique_action_name",https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
duration = time,https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
label = 'Searching Dumpster',https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
useWhileDead = false,https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
canCancel = false,https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
controlDisables = {https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
disableMovement = true,https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
disableCarMovement = true,https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
disableMouse = false,https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
disableCombat = true,https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
},https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
animation = {https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
animDict = "mini@repair",https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
anim = "fixing_a_ped",https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
},https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
})https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
Citizen.Wait(time)https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
ClearPedTasks(PlayerPedId(-1))哈哈
TriggerServerEvent('dumpster:givereward')https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
endhttps://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
RegisterNetEvent('dumpster:starttimer')https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
AddEventHandler('dumpster:starttimer', function(dumpster)https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
local timer = DumpsterCooldown * 60000https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
while timer > 0 dohttps://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
Wait(1000)https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
timer = timer - 1000https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
if timer == 0 thenhttps://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U
for i = 1, #Searched do哈哈
if Searched[i] == dumpster thenhttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
table.remove(Searched, i)https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
endhttps://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
endhttps://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
endhttps://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
endhttps://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
end)https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B?pwd=tuv6
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
https://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
|