Skip to content

Instantly share code, notes, and snippets.

@aqade

aqade/config.lua Secret

Created September 15, 2023 08:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aqade/7c52341aca1f5440543ec22e9d7041cb to your computer and use it in GitHub Desktop.
Save aqade/7c52341aca1f5440543ec22e9d7041cb to your computer and use it in GitHub Desktop.
apex_vespuccibeach
-- █████╗ ██████╗ ███████╗██╗ ██╗ ███████╗████████╗██╗ ██╗██████╗ ██╗ ██████╗ ███████╗
--██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝ ██╔════╝╚══██╔══╝██║ ██║██╔══██╗██║██╔═══██╗██╔════╝
--███████║██████╔╝█████╗ ╚███╔╝ ███████╗ ██║ ██║ ██║██║ ██║██║██║ ██║███████╗
--██╔══██║██╔═══╝ ██╔══╝ ██╔██╗ ╚════██║ ██║ ██║ ██║██║ ██║██║██║ ██║╚════██║
--██║ ██║██║ ███████╗██╔╝ ██╗ ███████║ ██║ ╚██████╔╝██████╔╝██║╚██████╔╝███████║
--╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝
----------------------------------------------------------------------------------------------------
-- ██████╗ ███████╗███╗ ██╗███████╗██████╗ █████╗ ██╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
--██╔════╝ ██╔════╝████╗ ██║██╔════╝██╔══██╗██╔══██╗██║ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
--██║ ███╗█████╗ ██╔██╗ ██║█████╗ ██████╔╝███████║██║ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
--██║ ██║██╔══╝ ██║╚██╗██║██╔══╝ ██╔══██╗██╔══██║██║ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
--╚██████╔╝███████╗██║ ╚████║███████╗██║ ██║██║ ██║███████╗ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
-- ╚═════╝ ╚══════╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
Config = {}
Config.Debug = false
--███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
--██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
--███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
--╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
--███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
--╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
Config.Features = {
Jetski = true,
JetskiSettings = {
PedModel = 's_m_y_baywatch_01',
Model = "seashark",
SpawnPoint = vector4(-1624.73, -1169.91, 0.31, 130.33),
Depositum = 500,
ActivityTime = 5,
Target = {
points = vector3(-1611.37, -1159.71, 0.8),
heading = 120.59,
minZ = 0.8-1.0,
maxZ = 0.8+0.8,
Size = {0.8, 0.8},
distance = 3.0,
},
},
BikeRental = true,
BikeRentalSettings = {
PedModel = 'u_m_m_bikehire_01',
Model = "scorcher",
SpawnPoint = vector4(-1311.17, -1533.86, 4.35, 293.7),
Depositum = 500,
ActivityTime = 30,
Target = {
points = vector3(-1310.99, -1535.74, 4.33),
heading = 299.63,
minZ = 4.33-1.0,
maxZ = 4.33+0.8,
Size = {0.8, 0.8},
distance = 3.0,
},
},
CozyCorner = true,
CozyCornerSettings = {
Fireplace = {
Enabled = true,
Target = {
points = vector3(-1375.24, -1479.77, 3.53),
radius = 0.5,
distance = 2.0,
},
WarmUpDuration = 30, -- In seconds
HealthGain = 10, -- How much health you gain
},
Guitar = {
Enabled = true,
Target = {
points = vector3(-1372.47, -1478.85, 3.5),
radius = 0.5,
distance = 1.5,
},
StandLocation = vector4(-1372.21, -1479.62, 4.44, 95.22),
Duration = 30, -- In seconds
},
Boombox = {
Enabled = true,
Prop = {
Enabled = false,
Propname = 'prop_boombox_01',
},
Target = {
points = vector3(-1374.75, -1477.61, 3.6),
heading = 10.15,
minZ = 3.6-0.1,
maxZ = 3.6+0.2,
Size = {0.3, 0.7},
distance = 2.0,
},
AudioVolume = 0.1,
AudioRange = 10.0,
},
},
WaterDispenser = true,
WaterDispenserSettings = {
Duration = 5, -- In seconds
ReduceThirst = math.random(90, 100),
Target = {
{
points = vector3(-1137.21, -1646.22, 4.31),
heading = 304.0,
minZ = 4.31-1.0,
maxZ = 4.31,
Size = {0.25, 0.9},
distance = 2.0,
},
{
points = vector3(-1150.0, -1624.43, 4.35),
heading = 34.0,
minZ = 4.35-1.0,
maxZ = 4.35,
Size = {0.25, 0.9},
distance = 2.0,
},
{
points = vector3(-1172.41, -1595.96, 4.29),
heading = 304.0,
minZ = 4.29-1.0,
maxZ = 4.29,
Size = {0.25, 0.9},
distance = 2.0,
},
}
},
Yoga = true,
YogaSettings = {
Duration = 30, -- In seconds
StressRelief = math.random(10, 100),
Target = {
{
points = vector3(-1314.56, -1464.83, 4.39),
heading = 120.0,
minZ = 4.39-1.1,
maxZ = 4.39-1.0,
Size = {1.8, 1.0},
distance = 2.0,
},
{
points = vector3(-1318.19, -1465.09, 4.37),
heading = 120.0,
minZ = 4.37-1.1,
maxZ = 4.37-1.0,
Size = {1.8, 1.0},
distance = 2.0,
},
{
points = vector3(-1317.39, -1466.47, 4.37),
heading = 120.0,
minZ = 4.37-1.1,
maxZ = 4.37-1.0,
Size = {1.8, 1.0},
distance = 2.0,
},
{
points = vector3(-1316.58, -1467.88, 4.37),
heading = 120.0,
minZ = 4.37-1.1,
maxZ = 4.37-1.0,
Size = {1.8, 1.0},
distance = 2.0,
},
{
points = vector3(-1320.21, -1467.11, 4.37),
heading = 120.0,
minZ = 4.37-1.1,
maxZ = 4.37-1.0,
Size = {1.8, 1.0},
distance = 2.0,
},
{
points = vector3(-1319.38, -1468.58, 4.37),
heading = 120.0,
minZ = 4.37-1.1,
maxZ = 4.37-1.0,
Size = {1.8, 1.0},
distance = 2.0,
},
}
},
Shops = true,
ShopsSettings = {
Foodstand = {
Enabled = true,
Target = {
{
points = vector3(-1311.73, -1507.67, 4.31),
heading = 55,
minZ = 4.31-1.0,
maxZ = 4.31+1.6,
Size = {3.8, 2.4},
distance = 2.0,
},
{
points = vector3(-1315.35, -1503.92, 4.31),
heading = 296.0,
minZ = 4.31-1.0,
maxZ = 4.31+1.8,
Size = {3.8, 2.4},
distance = 2.0,
},
{
points = vector3(-1285.42, -1510.75, 4.38),
heading = 65.0,
minZ = 4.38-1.0,
maxZ = 4.38+1.8,
Size = {3.8, 2.4},
distance = 2.0,
},
-- {
-- points = vector3(0.0, 0.0, 0.0),
-- heading = 0.0,
-- minZ = 0.0-0.0,
-- maxZ = 0.0+0.0,
-- Size = {0.0, 0.0},
-- distance = 0.0,
-- },
},
Shop = {
label = "Food stand",
slots = 15,
items = {
{
name = "sandwich",
price = 5,
amount = 20,
info = {},
type = "item",
slot = 1,
},
-- {
-- name = "itemname",
-- price = 0,
-- amount = 0,
-- info = {},
-- type = "item",
-- slot = 2,
-- },
},
},
}
},
BeachShop = false,
BeachShopSettings = {
PedModel = 'a_m_y_beach_01',
Target = {
points = vector3(-1344.05, -1535.48, 4.32),
heading = 129.57,
minZ = 4.32-1.0,
maxZ = 4.32+0.8,
Size = {0.8, 0.8},
distance = 2.0,
},
Shop = {
label = "Beach Shop",
slots = 15,
items = {
{
name = "itemname",
price = 500,
amount = 2,
info = {},
type = "item",
slot = 1,
},
-- {
-- name = "itemname",
-- price = 0,
-- amount = 0,
-- info = {},
-- type = "item",
-- slot = 2,
-- },
},
},
},
Secret = true,
SecretSettings = {
PedModel = 'cs_taostranslator',
Availeblity = {
Enabled = true,
From = 22, -- In game time -- 22 = 10pm
To = 6, -- In game time -- 6 = 6am
},
Target = {
points = vector3(-1283.74, -1629.65, 3.60),
heading = 37.13,
minZ = 3.60-1.0,
maxZ = 3.60+0.8,
Size = {0.8, 0.8},
distance = 2.0,
},
Shop = {
label = "Secret Shop",
slots = 15,
items = {
{
name = "weapon_pistol",
price = 5000,
amount = 2,
info = {},
type = "item",
slot = 1,
},
{
name = "pistol_ammo",
price = 200,
amount = 10,
info = {},
type = "item",
slot = 2,
},
-- {
-- name = "itemname",
-- price = 0,
-- amount = 0,
-- info = {},
-- type = "item",
-- slot = 2,
-- },
},
},
}
}
--███████╗███████╗ █████╗ ████████╗███████╗
--██╔════╝██╔════╝██╔══██╗╚══██╔══╝██╔════╝
--███████╗█████╗ ███████║ ██║ ███████╗
--╚════██║██╔══╝ ██╔══██║ ██║ ╚════██║
--███████║███████╗██║ ██║ ██║ ███████║
--╚══════╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝
Config.Seats = {
--[[
YOU CAN ADD, REMOVE OR ADJUST AS YOU WANT FOR MORE SEATS
WE HAVE DECIDED NOT TO ADD ANY, BECAUSE THERE IS MORE THAN 300 SEATS ON THE BEACH, THAT YOU CAN ADD IF YOU LIKE TO HAVE THEM
]]--
--[[ VESPUCCI BEACH ]]--
-- { coords = vector4(0.0, 0.0, 0.0, 0.0), stand = vector3(0.0, 0.0, 0.0)}, <-- Copy this for each seat. Vector4(x,y,z,h) - Vector3(x,y,z) Stand mean, where you are places, when leaving seat
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment