kusura bakmayın görmedim
for k, v in pairs(drops) do
if v.active then
local x, y, z = table.unpack(v.coords)
local marker = {
name = v.name .. '_drop',
type = 2,
coords = vector3(x, y, z + 1.0),
rotate = false,
colour = { r = 255, b = 255, g = 255 },
size = vector3(0.5, 0.5, 0.5),
}
drops[k].active = false
TriggerEvent('disc-base:registerMarker', marker)
else
TriggerEvent('disc-base:removeMarker', v.name .. '_drop')
drops[k] = nil
end
end
end
end)