Client Configuration
Change the configuration.
PEAK_CL = {}
PEAK_CL.TestHud = { -- TestHud is a test hud that can be used to test the hud.
enabled = true, -- Enable the test hud.
command = "testHud", -- The command to trigger the test hud.
}
PEAK_CL.Sounds = {
["announcement"] = { -- Announcement is the sound that plays when an announcement is made.
enabled = true, -- Enable the announcement sound.
sounds = { "BASE_JUMP_PASSED", "HUD_AWARDS" }, -- The sounds to play.
},
["notification"] = { -- Notification is the sound that plays when a notification is made.
enabled = true, -- Enable the notification sound.
sounds = { "ATM_WINDOW", "HUD_FRONTEND_DEFAULT_SOUNDSET" }, -- The sounds to play.
},
["help-notification"] = { -- HelpNotification is the sound that plays when a help notification is made.
enabled = false, -- Enable the help notification sound.
sounds = { "BASE_JUMP_PASSED", "HUD_AWARDS" }, -- The sounds to play.
},
}
PEAK_CL.CustomJobLabels = {
["unemployed"] = { -- Unemployed is the name of the job.
label = "Arbeitslos", -- The label for the job.
grades = { -- Grades is the grades for the job.
[0] = "Arbeitslos", -- The label for the grade.
},
},
}
PEAK_CL.Voice = {
["pma-voice"] = {
use = true, -- Enable the pma-voice.
events = {
["settingsCallback"] = "pma-voice:settingsCallback", -- The event to trigger the settings callback.
["setTalkingMode"] = "pma-voice:setTalkingMode", -- The event to trigger the set talking mode.
["radioActive"] = "pma-voice:radioActive", -- The event to trigger the radio active.
["addPlayerToRadio"] = "pma-voice:addPlayerToRadio", -- The event to trigger the add player to radio.
["removePlayerFromRadio"] = "pma-voice:removePlayerFromRadio", -- The event to trigger the remove player from radio.
},
},
}
PEAK_CL.Settings = {
Command = "hud", -- The command to trigger the hud.
ResetCacheCommand = "resetSettings", -- The command to reset the cache.
Default = { -- Default is the default settings for the hud.
Show = { -- Show is the show settings for the hud.
["date"] = { -- Date is the date settings for the hud.
label = "Datum & Uhrzeit", -- The label for the date.
state = true, -- The state for the date.
},
["status"] = { -- Status is the status settings for the hud.
label = "Hunger & Durst", -- The label for the status.
state = true, -- The state for the status.
},
["job"] = { -- Job is the job settings for the hud.
label = "Job", -- The label for the job.
state = true, -- The state for the job.
},
["postal"] = { -- Postal is the postal settings for the hud.
label = "Postleitzahl", -- The label for the postal.
state = true, -- The state for the postal.
},
},
Variant = {
["status"] = { -- Status is the status settings for the hud.
label = "Hunger & Durst (Art)", -- The label for the status.
state = 1, -- The state for the status.
variants = { 1, 2, 3 },
},
["job"] = { -- Job is the job settings for the hud.
label = "Job (Art)", -- The label for the job.
state = 1, -- The state for the job.
variants = { 1, 2 },
},
["postal"] = { -- Postal is the postal settings for the hud.
label = "Postleitzahl (Art)", -- The label for the postal.
state = 1, -- The state for the postal.
variants = { 1, 2 },
},
["progress-bar"] = { -- ProgressBar is the progress bar settings for the hud.
label = "Progress Bar (Art)", -- The label for the progress bar.
state = 1, -- The state for the progress bar.
variants = { 1, 2 },
},
["speedo"] = { -- Speedo is the speedo settings for the hud.
label = "Speedometer (Art)", -- The label for the speedo.
state = 1, -- The state for the speedo.
variants = { 1, 2, 3 },
},
["money-accounts"] = { -- MoneyAccounts is the money accounts settings for the hud.
label = "Geld Accounts (Art)", -- The label for the money accounts.
state = 1, -- The state for the money accounts.
variants = { 1, 2 },
},
},
},
}
PEAK_CL.Functions = {
GetFuel = function(vehicle) -- GetFuel is the function to get the fuel of a vehicle.
return exports["LegacyFuel"]:GetFuel(vehicle)
end,
GetMaxFuel = function(vehicle) -- GetMaxFuel is the function to get the max fuel of a vehicle.
return 100
end,
}Last updated on