βοΈConfiguration
Configuration for KS-Garage
π§ Framework Settings
Config.Framework = 'esx' -- Options: 'esx', 'qb', 'qbx'
π Locale
Config.Locale = 'en'
π οΈ Admin Commands
Config.ConsoleOnlyGiveCar = { "admin", "god" }
Config.ConsoleOnlyGiveEli = { "admin", "god" }
Config.ConsoleOnlyGiveBoat = { "admin", "god" }
Config.ConsoleOnlyGivePlane = { "admin", "god" }
Command names:
Config.GivecarCommand = 'givecar'
Config.GiveEliCommand = 'giveeli'
Config.GiveBoatCommand = 'giveboat'
Config.GivePlaneCommand = 'giveplane'
π Vehicle Settings
Config.PlatePrefix = "KKS" -- Max 4 characters
Config.CarKeyItem = 'carkey' -- Item given when vehicle is spawned
π Notification System
Config.NotificationSystem = 'ox'
π¬ Text UI Functions
Config.TextUiShow = function(key, message)
exports["KS-Textui"]:KSTextUI(key, message)
end
Config.TextUiHide = function()
exports["KS-Textui"]:KSHideTextUI()
end
our textui is for free on our tebex
Logo displayed in the garage UI.
Config.LogoURL = 'https://r2.fivemanage.com/yourlogo.png'
π Default Garage IDs
Config.BitCarGarage = "LegionGarage"
Config.BitEliGarage = "LegionGarageEli"
Config.BitBoatGarage = "LegionGarageBoat"
Config.BitPlaneGarage = "LegionGaragePlane"
π¦ Impound System
Each entry in Config.Impound defines a vehicle impound zone:
type: car, boat, plane,eli
unimpoundcost: price to retrieve the vehicle
blip & marker: coordinates and visuals
spawnPoints: where the vehicle will be spawned
π
ΏοΈ Garage Definitions
Each garage in Config.Garage includes:
name, coords, coordspre.
type: garage, hangar, dock, plane, impound
maxSlots: number of vehicle slots available
job: (optional) restrict to job
spawnPoints: where vehicles spawn
blip: show on map with icon and color
Item for Car Key
['carkey'] = {
label = 'Chiavi Auto',
weight = 0,
stack = false,
close = true,
keep = true,
server = {
export = 'KS-Garage.toggleVehicleLock',
},
},
the key is used to open and close the car
Last updated