1
0
Fork 0
forked from Simnation/Main
Main/resources/[phone]/roadphone/config.lua
2025-06-29 07:41:19 +02:00

147 lines
No EOL
3.9 KiB
Lua

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
Config.SimCardDLC = true -- Enable if using RoadPhone SimCard DLC
-- 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
Config.UseTarget = true
Config.TargetSystem = "qb_target" -- Options: qb-target, ox_target
-- Voice Chat Integration
Config.MumbleExport = "mumble-voip"
Config.PMAVoiceExport = "pma-voice"
Config.SaltyExport = "saltychat"
Config.UsePmaVoice = false
Config.UseMumbleVoip = false
Config.UseSaltyChat = true
Config.UseTokoVoip = false
Config.UseYacaVoice = false
Config.SaltyChatFix = false -- Fix issues with SaltyChat if true
-- Event Numbers
Config.EventNumbers = {
['77777'] = false
}
-- Addons
Config.Addons = {
['jobcalls'] = true,
['roadpods'] = true
}
-- Valet Configuration
Config.ValetServerSideCheck = true
Config.ValetPedModel = "s_m_y_valet_01"
Config.ValetRadius = 500.0
Config.ValetDeliveryPrice = 5000
Config.OwnedVehiclesTable = "player_vehicles"
-- Walkable Camera
Config.WalkableCamera = true -- Disable walkable camera if false
-- Crypto Settings
Config.Crypto = true
-- Radio Settings
Config.RemoveFromRadioWhenDead = true
Config.RadioNeedItem = true
Config.RadioItems = {
"radio"
}
Config.lockedRadioChannels = {
{ frq = 1, jobhasaccess = {"police"} },
{ frq = 2, jobhasaccess = {"ambulance"} },
{ frq = 3, jobhasaccess = {"police", "ambulance","marshal"} },
{ frq = 4, jobhasaccess = {"marshal"} },
}
-- Camera App
Config.CameraDelay = 2000 -- Delay between taking pictures
-- Taxi Configuration
Config.TaxiPrice = 100 -- Price per kilometer
Config.TaxiJob = "taxi"
Config.TaxiSociety = "taxi"
Config.TaxiSocietyEnabled = true --money goes to society account instead of player account
-- Rent Configuration
Config.RentVehicleSpawnRadius = 6000.0
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
Config.okokBanking = true
-- Garage Systems
Config.JGAdvancedGarages = false
Config.cdGarages = false
-- Miscellaneous Integrations
Config.VisnAre = true
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
Config.CallCheckExperimental = true -- Experimental call check