Config
-- ██╗ ██╗██╗██████╗ ██████╗ █████╗ ██████╗ ██╗ ██╗██╗███╗ ██╗ ██████╗ ██████╗ ███████╗███╗ ██╗████████╗██╗ ██╗ ██████╗ ██╗ ██╗███████╗███████╗
-- ██║ ██║██║██╔══██╗ ██╔══██╗██╔══██╗██╔══██╗██║ ██╔╝██║████╗ ██║██╔════╝ ██╔══██╗██╔════╝████╗ ██║╚══██╔══╝██║ ██║██╔═══██╗██║ ██║██╔════╝██╔════╝
-- ██║ ██║██║██████╔╝ ██████╔╝███████║██████╔╝█████╔╝ ██║██╔██╗ ██║██║ ███╗ ██████╔╝█████╗ ██╔██╗ ██║ ██║ ███████║██║ ██║██║ ██║███████╗█████╗
-- ╚██╗ ██╔╝██║██╔═══╝ ██╔═══╝ ██╔══██║██╔══██╗██╔═██╗ ██║██║╚██╗██║██║ ██║ ██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║ ██╔══██║██║ ██║██║ ██║╚════██║██╔══╝
-- ╚████╔╝ ██║██║ ██║ ██║ ██║██║ ██║██║ ██╗██║██║ ╚████║╚██████╔╝ ██║ ███████╗██║ ╚████║ ██║ ██║ ██║╚██████╔╝╚██████╔╝███████║███████╗
-- ╚═══╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝
------- dont touch -------
--[[]] config = {} --[][]
--[[]] Locales = {} --[][]
------------------------------
-- _ _ _ _ _
-- (_) | | | | | | (_)
-- _ _ __ ___| |_ __ _| | __ _| |_ _ ___ _ __
-- | | '_ \/ __| __/ _` | |/ _` | __| |/ _ \| '_ \
-- | | | | \__ \ || (_| | | (_| | |_| | (_) | | | |
-- |_|_| |_|___/\__\__,_|_|\__,_|\__|_|\___/|_| |_|
-- Framework
config.framework = 'esx_legacy' -- Options: 'esx', 'esx_legacy', or 'qbcore'
config.esextendedname = 'es_extended' -- ESX framework name (default: 'es_extended')
config.qbcorename = 'qb-core' -- QBCore framework name (default: 'qb-core')
config.identifier = 'license' -- license, license2, steam, discord, char, etc. | qb/qbx only
-- Interface
config.Locale = "pt" -- Set the localization language
config.textui = "ox_lib" -- Options: "ox_lib" or "okokTextUI"
config.useMarkers = true -- Enable or disable markers
config.Use3DText = true -- Enable or disable markers
-- VIP Settings [[ CURRENTLY NOT WORKING ]]
-- Note: VIP levels are only functional if config.zp_vip is set to true
config.VipLevelPenthouse = 1 -- Minimum VIP level required to access the penthouse
config.VipLevelParking = 1 -- Minimum VIP level required to park vehicles
-- Commands
-- Use false to disable commands (Only applicable to engine control)
config.commands = {
-- Park the vehicle
engineControl = 'motor', -- Command to control the engine (ignored if Config.stopEngine = false)
parkingVehicle = 'parking', -- Command to park vehicles in designated locations
}
-- TakeOut the vehicle
config.takeOutVehicle = 'unpark' -- Command to unpark vehicles
-- Key Bindings
-- Players can customize key bindings in-game (Pause menu > Settings > Key Bindings > FiveM)
config.keyBinding = {
-- Park the vehicle
engineControl = 'G', -- Default keybind for engine control (ignored if Config.stopEngine is false)
parkingVehicle = 'L', -- Default keybind for parking vehicles
}
-- TakeOut the vehicle
config.TakeOutVehicle = 'E' -- Keybind for unparking vehicles
-- Impound Settings
config.impound = {
command = 'impound_vip', -- Command to impound vehicles
job = {'vagos'}, -- Jobs allowed to use the impound feature
}
-- Vehicle keys
function VehicleKeys(plate)
TriggerEvent("vehiclekeys:client:SetOwner", plate)
end
----------------------------------------------------------
-- _ _ _ --
-- | | | | (_) --
-- | | ___ ___ __ _| |_ _ ___ _ __ ___ --
-- | | / _ \ / __/ _` | __| |/ _ \| '_ \/ __| --
-- | |___| (_) | (_| (_| | |_| | (_) | | | \__ \ --
-- |______\___/ \___\__,_|\__|_|\___/|_| |_|___/ --
----------------------------------------------------------
Config = {
stopEngine = false, -- Require stopping the engine before parking
lockVehicle = true, -- Automatically lock vehicles when parked
distance = 2, -- Interaction distance for parking and unparking vehicles
-- Parking Locations
parking = {
-- Example Parking for a VIP House
['Casa Vip'] = {
name = 'Casa do Vsky',
pos = vector3(-1511.72, 89.28, 55.8),
size = 100, -- Parking radius in meters
maxCars = 100, -- Maximum number of cars allowed
allowTypes = { -1 }, -- Allowed vehicle classes (-1 for all)
blacklist = {}, -- List of blacklisted vehicle models
identifier = 'license:######################', -- Unique identifier for access
},
-- Police Parking
['Police'] = {
name = 'Polícia',
vip = false,
job = "police", -- Job required for access
allowtakeout = true, -- Allow taking out vehicles not owned by the player
notowned = true, -- Allow parking vehicles not owned by the player
pos = vector3(409.21, -992.41, 28.77),
size = 20.0,
maxCars = 31,
allowTypes = { -1 },
blacklist = {},
},
-- Penthouse Parking
['penthouse_garage'] = {
name = 'Penthouse',
vip = true,
notowned = false,
pos = vector3(-315.56, -731.92, 28.04),
size = 50.0,
maxCars = 15,
allowTypes = { -1 },
blacklist = { 'banshee' },
},
-- Helipad Parking
['roof'] = {
name = 'Helipad',
vip = true,
pos = vector3(-278.64, -726.36, 131.16),
size = 10.0,
notowned = false,
maxCars = 3,
allowTypes = { -1 },
blacklist = {},
},
-- Add additional parking spots below as needed
['6srt'] = {
name = '6srt',
vip = true,
pos = vector3(-1609.97, -812.8, 10.04),
size = 30.0,
notowned = false,
maxCars = 30,
allowTypes = { -1 },
blacklist = {},
},
},
-- Global Parking Settings
globalParking = {
enable = true, -- Allow parking anywhere on the map
vip = false,
notowned = false,
maxCars = 200,
allowTypes = { -1 },
distance = 100.0,
blacklist = {},
},
}
-- ______ _ _
-- | ___ \ | | | |
-- | |_/ /__ _ __ | |_| |__ ___ _ _ ___ ___
-- | __/ _ \ '_ \| __| '_ \ / _ \| | | / __|/ _ \
-- | | | __/ | | | |_| | | | (_) | |_| \__ \ __/
-- \_| \___|_| |_|\__|_| |_|\___/ \__,_|___/\___|
Config.Penthouse = {
Use = true, -- Enable or disable penthouse markers
Blip = true,
Name = "VIP Penthouse", -- Blip name
Location = vector3(-307.714294, -716.0834, 28.01),
Blip = {
Sprite = 826, -- Blip icon
Colour = 42, -- Blip color
Scale = 0.6, -- Blip size
},
}
-- Elevator Configuration
Config.Teleport = {
['Elevator'] = {
['Enter'] = vector3(-304.96, -721.04, 28.04),
['Exit'] = vector3(-288.28, -722.6, 125.48),
},
}
-- Entry/Exit Points Outside/Inside
Config.Teleporters = {
['Penthouse'] = {
['Enter'] = vector3(-307.44, -712.56, 28.44),
['Exit'] = vector3(-310.28, -719.68, 28.04),
},
}
-- Stash Configuration
Config.Stash = true
Config.StashCoords = {
Location = vector3(-286.12, -735.12, 125.48),
}
Config.Inventory = 'qb-inventory' -- Inventory system to use (e.g., 'qs-inventory', 'ox_inventory', 'qb-inventory', 'custom')
Config.Stashes = {
stashSize = 1250000,
stashSlots = 125,
}
function StashFunction()
-- Add your custom inventory logic here
end
-- Wardrobe Configuration
Config.Wardrobe = true
Config.Wardrobe_Lager = {
Locations = {vector3(-279.36, -722.52, 125.48)},
}
function WardrobeFunction()
TriggerEvent('qb-clothing:client:openOutfitMenu') -- Example for qbcore
end
-- Helicopter Garage (ESX Only)
Config.UseHelicopterGarage = true
Config.UsePedOnHeliGarHelicopter = true
Config.HeliStoredOnly = false
Config.HelicopterGarage = {
{vector3(-283.36, -729.0, 129.45), 65.85, vector3(-279.04, -726.68, 130.25), 344.72, true, "s_m_m_highsec_01"},
}
-- Markers
text3DConfig = {
wardrobe = {
text = '~w~[E] ~y~Wardrobe',
scale = 0.35,
font = 4,
color = {255, 255, 255, 215},
center = true
},
stash = {
text = '~w~[E] ~b~Stash',
scale = 0.35,
font = 4,
color = {255, 255, 255, 215},
center = true
},
}
Last updated
Was this helpful?