Copy ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Feel free to check the config.lua & customize the bus stop locations.
Copy -- ███████████████████████████████████████████████████████████████████████████ --
Config = {}
--[[
add this under "description" if you want to job lock who can access what teleport.
groups = {
'none',
},
example:
[1] = {
coords = vec3(57.07, -1539.88, 29.29),
heading = 45.1057,
title = 'LSPD',
description = '',
groups = {
'police',
},
},
]]
Config.Text = {
['NoAccessTitle'] = 'No Access',
['NoAccessDescription'] = 'You do not have access to this bus stop.',
['Interact'] = 'Interact'
}
-- ____ ____
-- | _ \ _ __ ___ __ _ _ __ ___ ___ ___ | __ ) __ _ _ __
-- | |_) | | '__| / _ \ / _` | | '__| / _ \ / __| / __| | _ \ / _` | | '__|
-- | __/ | | | (_) | | (_| | | | | __/ \__ \ \__ \ | |_) | | (_| | | |
-- |_| |_| \___/ \__, | |_| \___| |___/ |___/ |____/ \__,_| |_|
-- |___/
Config.TeleportTime = 10000
Config.OxLibProgress = true
function ProgressBar()
if Config.OxLibProgress then
lib.progressCircle({
duration = Config.TeleportTime,
label = 'Taking the bus...',
position = 'bottom',
useWhileDead = false,
canCancel = false,
disable = {
car = true,
move = true,
combat = true,
},
})
else
Wait(Config.TeleportTime)
end
end
-- ____ ____ _
-- | __ ) _ _ ___ / ___| | |_ ___ _ __ ___
-- | _ \ | | | | / __| \___ \ | __| / _ \ | '_ \ / __|
-- | |_) | | |_| | \__ \ ___) | | |_ | (_) | | |_) | \__ \
-- |____/ \__,_| |___/ |____/ \__| \___/ | .__/ |___/
-- |_|
Config.Price = 5
-- This is used to be able to third eye the bus stops
Config.Item = 'lametro' -- use me if you want item to be used before traveling
--Config.Item = nil -- if you do not want a item to be used uncomment me & comment the one above
Config.Distance = 2.0
Config.BusStops = {
Busses = { -- Bus Stop
[1] = {
coords = vec3(439.0709, -2032.1765, 23.5744),
heading = 321.33,
title = 'Watts',
description = '',
},
[2] = {
coords = vec3(57.07, -1539.88, 29.29),
heading = 45.1057,
title = 'Strawberry Ave (Inglewood)',
description = '',
},
[3] = {
coords = vec3(768.3368, -941.8106, 25.7075),
heading = 0.0,
title = 'Popular St',
description = '',
},
[4] = {
coords = vec3(-1214.73, -1218.43, 7.69),
heading = 0.0,
title = 'Bay City Ave',
description = '',
},
[5] = {
coords = vec3(-1476.15, -634.91, 30.58),
heading = 0.0,
title = 'Del Perro (Santa Monica)',
description = '',
},
[6] = {
coords = vec3(356.09, -1066.97, 29.56),
heading = 0.0,
title = 'Vespucci (LSPD)',
description = '',
groups = {
'police',
},
},
},
}
-- ███████████████████████████████████████████████████████████████████████████ --
Copy ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Copy ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯