local posTable = {
{-1341.5460205078, -149.02934265137, 14.1484375},
{-1586.5443115234, -214.85159301758, 14.1484375},
{-1478.2484130859, 12.554589271545, 14.369514465332}
}
function createRandomPos()
local x, y, z = unpack(posTable[math.random(#posTable)])
jobMarker = createMarker(x,y,z,"checkpoint",2,255,255,0,100)
end
addEvent("startPilotMarkers",true)
addEventHandler("startPilotMarkers",root,function()
createRandomPos()
addEventHandler("onClientMarkerHit",jobMarker,function()
destroyElement(jobMarker)
outputChatBox("Success")
createRandomPos()
end)
end)