2025-06-07 08:51:21 +02:00
|
|
|
QBCore = exports['qb-core']:GetCoreObject()
|
|
|
|
|
|
|
|
-- Configuration
|
|
|
|
|
|
|
|
Config = {}
|
|
|
|
|
|
|
|
-- Upload Methods
|
|
|
|
Config.uploadMethod = 'fivemanage' -- Options: fivemanage, fivemerr (Setup API_KEY in API.lua)
|
|
|
|
|
|
|
|
-- RoadShop scripts
|
|
|
|
Config.RoadPad = false -- Enable if using RoadPad
|
|
|
|
Config.RoadCarPlay = false -- Enable if using RoadCarPlay
|
2025-06-12 22:09:59 +02:00
|
|
|
Config.SimCardDLC = true -- Enable if using RoadPhone SimCard DLC
|
2025-06-07 08:51:21 +02:00
|
|
|
|
|
|
|
-- Phone Settings
|
|
|
|
Config.PhoneCommand = "TogglePhone"
|
|
|
|
Config.NeedItem = true -- Requires an item to open the phone
|
|
|
|
Config.RegisterKeyMapping = true -- If false, the phone can only be closed using ESC
|
|
|
|
Config.OpenKey = 'f1' -- Works if RegisterKeyMapping is true
|
|
|
|
Config.OpenKeyNumber = 288 -- Works if RegisterKeyMapping is false
|
|
|
|
|
|
|
|
-- Locale Settings
|
|
|
|
Config.Fahrenheit = false -- Use Fahrenheit instead of Celsius
|
|
|
|
|
|
|
|
-- Items Configuration
|
|
|
|
Config.Items = {
|
|
|
|
"purple_phone",
|
|
|
|
"green_phone",
|
|
|
|
"red_phone",
|
|
|
|
"blue_phone",
|
|
|
|
"black_phone"
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Target System
|
2025-06-14 20:37:05 +02:00
|
|
|
Config.UseTarget = true
|
|
|
|
Config.TargetSystem = "qb_target" -- Options: qb-target, ox_target
|
2025-06-07 08:51:21 +02:00
|
|
|
|
|
|
|
-- Voice Chat Integration
|
|
|
|
Config.MumbleExport = "mumble-voip"
|
|
|
|
Config.PMAVoiceExport = "pma-voice"
|
|
|
|
Config.SaltyExport = "saltychat"
|
|
|
|
|
|
|
|
|
|
|
|
Config.UsePmaVoice = false
|
|
|
|
Config.UseMumbleVoip = false
|
2025-06-12 22:09:59 +02:00
|
|
|
Config.UseSaltyChat = true
|
2025-06-07 08:51:21 +02:00
|
|
|
Config.UseTokoVoip = false
|
|
|
|
Config.UseYacaVoice = false
|
|
|
|
Config.SaltyChatFix = false -- Fix issues with SaltyChat if true
|
|
|
|
|
|
|
|
-- Event Numbers
|
|
|
|
Config.EventNumbers = {
|
|
|
|
['77777'] = false
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Addons
|
|
|
|
Config.Addons = {
|
2025-06-12 22:09:59 +02:00
|
|
|
['jobcalls'] = true,
|
|
|
|
['roadpods'] = true
|
2025-06-07 08:51:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
-- Valet Configuration
|
|
|
|
Config.ValetServerSideCheck = true
|
|
|
|
Config.ValetPedModel = "s_m_y_valet_01"
|
|
|
|
Config.ValetRadius = 500.0
|
2025-06-12 22:09:59 +02:00
|
|
|
Config.ValetDeliveryPrice = 5000
|
2025-06-07 08:51:21 +02:00
|
|
|
Config.OwnedVehiclesTable = "player_vehicles"
|
|
|
|
|
|
|
|
-- Walkable Camera
|
|
|
|
Config.WalkableCamera = true -- Disable walkable camera if false
|
|
|
|
|
|
|
|
-- Crypto Settings
|
|
|
|
Config.Crypto = true
|
|
|
|
|
|
|
|
-- Radio Settings
|
|
|
|
Config.RemoveFromRadioWhenDead = true
|
2025-06-12 22:09:59 +02:00
|
|
|
Config.RadioNeedItem = true
|
2025-06-07 08:51:21 +02:00
|
|
|
Config.RadioItems = {
|
|
|
|
"radio"
|
|
|
|
}
|
|
|
|
Config.lockedRadioChannels = {
|
|
|
|
{ frq = 1, jobhasaccess = {"police"} },
|
|
|
|
{ frq = 2, jobhasaccess = {"ambulance"} },
|
2025-06-12 22:09:59 +02:00
|
|
|
{ frq = 3, jobhasaccess = {"police", "ambulance","marshal"} },
|
|
|
|
{ frq = 4, jobhasaccess = {"marshal"} },
|
2025-06-07 08:51:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
-- Camera App
|
|
|
|
Config.CameraDelay = 2000 -- Delay between taking pictures
|
|
|
|
|
|
|
|
-- Taxi Configuration
|
|
|
|
Config.TaxiPrice = 100 -- Price per kilometer
|
2025-06-12 22:09:59 +02:00
|
|
|
Config.TaxiJob = "cab"
|
|
|
|
Config.TaxiSociety = "cab"
|
|
|
|
Config.TaxiSocietyEnabled = true --money goes to society account instead of player account
|
2025-06-07 08:51:21 +02:00
|
|
|
|
|
|
|
-- Rent Configuration
|
2025-06-12 22:09:59 +02:00
|
|
|
Config.RentVehicleSpawnRadius = 6000.0
|
2025-06-07 08:51:21 +02:00
|
|
|
Config.RentVehicleModel = "s_m_y_valet_01"
|
|
|
|
|
|
|
|
-- Billing Systems
|
|
|
|
Config.myBilling = false
|
|
|
|
Config.okokBilling = false
|
|
|
|
Config.JaksamBilling = false
|
|
|
|
Config.bcsCompanyManager = false
|
|
|
|
Config.codemBilling = false --Codem Billing v1
|
|
|
|
Config.codemBilling2 = false --Codem Billing v2
|
|
|
|
|
|
|
|
|
|
|
|
--Billing Resource folder name
|
|
|
|
Config.codemBilling2Folder = "codem-billing"
|
|
|
|
|
|
|
|
-- Inventory Integration
|
|
|
|
Config.codeMInventory = false
|
|
|
|
|
|
|
|
-- Banking System
|
2025-06-12 22:09:59 +02:00
|
|
|
Config.okokBanking = true
|
2025-06-07 08:51:21 +02:00
|
|
|
|
|
|
|
-- Garage Systems
|
|
|
|
Config.JGAdvancedGarages = false
|
|
|
|
Config.cdGarages = false
|
|
|
|
|
|
|
|
-- Miscellaneous Integrations
|
2025-06-12 22:09:59 +02:00
|
|
|
Config.VisnAre = true
|
2025-06-07 08:51:21 +02:00
|
|
|
Config.MXSurround = false
|
|
|
|
|
|
|
|
-- Custom Props
|
|
|
|
Config.UsePhoneProps = true
|
|
|
|
|
|
|
|
-- Database Configurations
|
|
|
|
Config.UserTable = "players"
|
|
|
|
Config.CarDebug = false
|
|
|
|
|
|
|
|
-- Data Management
|
|
|
|
Config.clearDataTwoWeeks = true -- Clear image data after two weeks
|
|
|
|
|
|
|
|
-- Server Info Display
|
|
|
|
Config.ShowServerInfo = true
|
|
|
|
Config.AppNotifys = true
|
|
|
|
|
|
|
|
-- Client-Side Inventory Validation
|
|
|
|
Config.ClientSideInventoryValidation = false -- Use with caution
|
|
|
|
|
|
|
|
-- Flashlight Sync / USE WITH CAUSION HIGH CLIENT & SERVER PERFORMANCE IMPACT
|
|
|
|
Config.SyncFlashlight = false -- Sync flashlight with other players
|
|
|
|
|
2025-06-12 22:09:59 +02:00
|
|
|
Config.CallCheckExperimental = true -- Experimental call check
|