Hey, I made a script containing this:
local route = {
{283.33124, 1409.90393, 10.40879},
{-1970.61511, -859.24579, 32.02344},
{-2324.64600, -1653.37061, 483.70313},
{2799.31885, 2582.04321, 10.82031},
{2745.05957, -2431.14282, 13.65159}
}
and this in a function:
currentIndex = math.random(1,#route)
marker = createMarker(unpack(route[currentIndex]), 'checkpoint', 2, 255, 255, 0, 255)
Though it is not working, It is not creating a marker