local miejsca = {
{1},
{2},
{3...}
}
addEventHandler("onClientMarkerHit", resourceRoot, function()
local index = 0
if getElementData(source, "nazwa:daty") then
destroyElement(source)
local marker = createMarker(miejsca[index][1], miejsca[index][2], miejsca[index][3], "typ", size, r, g, b, a)
setElementData(marker, "nazwa:daty", true)
index = index + 1
end
end)