addCommandHandler("create_custom_marker",
function(plr, cmd)
local x, y, z = getElementPosition(plr)
local r, g, b = math.random(1, 255), math.random(1, 255), math.random(1, 255)
local size = math.random(1, 5)
exports.custom_markers:createCustomMarker(x, y, z-1, "cylinder", size, r, g, b)
end
)