Configuration
1. Configure cl_config.lua
cl_config.luaConfig = {}
Config.Header = {
title = "RESMONSTUDIO", -- The title displayed in the header
name = "Dispatches" -- The name of the system in the header
}
Config.Options = {
Language = 'en', -- The language used in the system
OpenKey = 'f1', -- Set the key used to open the dispatch
OpenCommand = 'dispatch', -- The command that players can type to open the scoreboard
UseOldEsx = false, -- Set to true if you are using the old ESX export method
UseVersionCheck = true, -- If true, version checking for the script is enabled to ensure compatibility
SharedObject = { -- Configuration for obtaining ESX shared object
client = "esx:getSharedObject", -- Client-side event to get the shared ESX object
server = "esx:getSharedObject", -- Server-side event to get the shared ESX object
},
Jobs = {
["ambulance"] = { -- Add more jobs if u need
enabled = true, -- Enable or disable the ambulance job
},
}
}
function Notify(msg)
TriggerEvent('esx:showNotification', msg)
-- TriggerEvent('rs_notify', 'Dispatch', msg, 'info', 5000)
end2. Configure sv_config.lua
sv_config.lua3. Select Languages in sh_languages.lua
sh_languages.luaLast updated