local teleport = {
{
{1185.2021484375, -1322.1068115234, 13.572245597839}, -- Spanw Hospital
-- {x,y,z}, -- Local
{2255.9592285156, -1258.3634033203, 23.968040466309}, -- Spanw
-- {x,y,z}, -- Local
{317.37149047852, -1774.1657714844, 4.7638545036316}, -- Praia
-- {x,y,z}, -- Local
{1993.7990722656, -2445.8542480469, 13.546875}, -- Ls
-- {x,y,z}, -- Local
{2245, -1041, 54}, -- Favela
-- {x,y,z}, -- Local
{-2231, -1738, 482}, -- monte
-- {x,y,z}, -- Local
{1500, -701, 95}, -- Favela2
-- {x,y,z}, -- Local
{339, -1513, 35}, -- Hotel
-- {x,y,z}, -- Local
}
}
Menu = {}
function Menu.onResourceStart()
for k, v in pairs(teleport) do
for i, v2 in pairs(v) do
local p = setmetatable({}, Pointer)
p.point = Pointer.create(v2[1],v2[2],v2[3]-1)
p.point:setColor(0, 191, 243)
end
end
end
addEventHandler("onClientResourceStart",resourceRoot,Menu.onResourceStart)
--
function deletefiles()
if fileExists("settings.lua") then
fileDelete("settings.lua")
end
addEventHandler ( "onResourceStart", getRootElement(), deletefiles)