Kill3r
12
I tried with this code however it didn’t return any results which I’m expecting would be local dumpsters = {218085040, 666561306, -58485588, -206690185, 1511880420, 682791951}
Citizen.CreateThread(function()
local objects = GetGamePool('CObject')
for _, entity in ipairs(objects) do
local model = GetEntityModel(entity)
if dumpsters[model] ~= nil then
print(model)
end
end
end)