1
0
Fork 0
forked from Simnation/Main
Main/resources/[phone]/roadphone/config.lua

148 lines
3.9 KiB
Lua
Raw Normal View History

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 15:29:08 +02:00
Config.SimCardDLC = false -- 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 = {
2025-06-12 15:29:08 +02:00
"phone",
2025-06-07 08:51:21 +02:00
"purple_phone",
"green_phone",
"red_phone",
"blue_phone",
"black_phone"
}
-- Target System
Config.UseTarget = false
Config.TargetSystem = "ox_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
2025-06-12 15:29:08 +02:00
Config.UseSaltyChat = false
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 15:29:08 +02:00
['jobcalls'] = 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 15:29:08 +02:00
Config.ValetDeliveryPrice = 500
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 15:29:08 +02:00
Config.RadioNeedItem = false
2025-06-07 08:51:21 +02:00
Config.RadioItems = {
"radio"
}
Config.lockedRadioChannels = {
{ frq = 1, jobhasaccess = {"police"} },
{ frq = 2, jobhasaccess = {"ambulance"} },
2025-06-12 15:29:08 +02:00
{ frq = 3, jobhasaccess = {"police", "ambulance"} }
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 15:29:08 +02:00
Config.TaxiJob = "taxi"
Config.TaxiSociety = "society_taxi"
Config.TaxiSocietyEnabled = false --money goes to society account instead of player account
2025-06-07 08:51:21 +02:00
-- Rent Configuration
2025-06-12 15:29:08 +02:00
Config.RentVehicleSpawnRadius = 500.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 15:29:08 +02:00
Config.okokBanking = false
2025-06-07 08:51:21 +02:00
-- Garage Systems
Config.JGAdvancedGarages = false
Config.cdGarages = false
-- Miscellaneous Integrations
2025-06-12 15:29:08 +02:00
Config.VisnAre = false
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 15:29:08 +02:00
Config.CallCheckExperimental = true -- Experimental call check
Config.CallControl = true -- Enable call control / example: Accept, Decline, End Call with Enter and Backspace