Config = {
Debug = false,
Framework = 'ESX', -- ESX | QBCore | Standalone
Locale = 'de',
Voice = {
System = 'saltychat', -- Saltychat | pma
Ranges = { 1, 3.5, 8, 32 },
RangeColor = {
red = 237,
green = 2,
blue = 2
}
},
TxAnnounces = {
restart = {
enable = true, -- if true it will use txAdmin restarts, dont forget to hide it in the settings from txAdmin
type = 'announcement', -- announcement | notify
timeout = 8000 -- ms how long the restart announcement should be shown
},
announcement = {
enable = true, -- if true it will use txAdmin announcements, dont forget to hide it in the settings from txAdmin
type = 'announcement', -- announcement | notify
timeout = 8000 -- ms how long the announcement should be shown
},
directMessage = {
enable = true, -- if true it will use txAdmin Direct Messages, dont forget to hide it in the settings from txAdmin
type = 'notify', -- announcement | notify
timeout = 7000 -- ms how long the direct message should be shown
},
},
TeamlerAd = {
enable = false,
defaultGroup = 'user',
reSendData = 1000 * 15, -- 15 Seconds, you can refresh it too via the event TriggerEvent('hex_4_hud:reSendTeamlerData') server only
airportDimension = 5,
},
DisableAmmoDisplay = true, -- disable the default ammo display of gta
Server = {
Name = "MercyV Roleplay",
Currency = '$'
},
Speedo = {
kmh = true, -- if false it will mp/h instead of km/h
disableSpecificVehicles = {
class = {
[13] = true, -- cycles
},
models = {
[joaat('bmx')] = true,
}
}
},
Chat = {
enabled = true,
text = 'Write a message here...',
keymapping = {
command = 'openChat',
desc = 'Open the Chat',
mapper = 'keyboard',
key = 't'
}
},
Waits = {
Vehicle = 0,
Refreshfood = 1000 * 60 * 10
},
Permissions = {
teamchat = {
'projektleitung',
'superadmin',
'admin'
},
announce = {
'projektleitung',
'superadmin',
'admin'
}
},
NotifySound = {
["notify"] = {
mp3 = false,
gta = {
audioName = 'ATM_WINDOW',
audioRef = 'HUD_FRONTEND_DEFAULT_SOUNDSET'
},
url = 'sounds/alarm.mp3'
},
["announce"] = {
mp3 = false,
gta = {
audioName = 'CHALLENGE_UNLOCKED',
audioRef = 'HUD_AWARDS'
},
url = 'sounds/alarm.mp3'
}
},
Commands = {
["settings"] = {
command = 'settings',
enabled = true,
},
["id"] = {
command = 'id',
enabled = true
},
["ids"] = {
command = 'ids',
enabled = true
},
["ooc"] = {
command = 'ooc',
enabled = true
},
["tc"] = {
command = 'tc',
enabled = true
},
["announce"] = {
command = 'announce',
enabled = true
}
},
DefaultSettings = {
food = 2,
speedo = 3,
notify = 1,
teamchat = 1,
announce = 1,
server = 1,
weapon = true,
job = true,
street = true,
enableBankOrBlack = true,
switchBankBlack = true
},
DefaultPositions = {
food = { x = 0, y = 0 },
thirst = { x = 0, y = 0 },
speedo = { x = 0, y = 0 },
modern_street = { x = 0, y = 0 },
modern_job = { x = 0, y = 0 },
classic_street = { x = 0, y = 0 },
classic_job = { x = 0, y = 0 }
},
Locales = {
['de'] = {
['info'] = 'Information!',
['your_id'] = 'Deine Id Lautet: %s',
['no_player'] = 'Kein Spieler in der Nähe!',
['near_player_id'] = 'Seine Id Lautet: %s',
['tx_admin_restart'] = 'Geplanter Neustart',
['tx_admin_announce'] = 'Serverankündigung von %s',
['tx_admin_dm'] = 'Direktnachricht von %s',
['settings_panel'] = 'EinstellungsPanel',
['settings_panel_description'] = 'Hier kannst du dein Hud Einstellen',
-- ui
['save'] = 'Setzen',
['reset'] = 'Reset',
['select'] = 'Auswählen',
['lifeinvader_title'] = 'Lifeinvader',
['lifeinvader_newad'] = 'Neue Werbung von',
['lifeinvader_number'] = 'Telefonnummer',
['weapon'] = 'Waffenanzeige',
['weapon_description'] = 'Hier kannst du die Waffenanzeige oben rechts Aktivieren oder Deaktivieren.',
['job'] = 'Jobanzeige',
['job_description'] = 'Hier kannst du die Jobanzeige Aktivieren oder Deaktivieren.',
['street'] = 'Straßenanzeige',
['street_description'] = 'Hier kannst du die Straßenanzeige Aktivieren oder Deaktivieren.',
['enableBankOrBlack'] = 'Grün oder Schwarzgeld Anzeigen',
['enableBankOrBlack_description'] = 'Hier kannst du dich entscheiden ob du deine Bank oder Schwarzgeldanzeige an haben möchtest.',
['switchBankBlack'] = 'Grün oder Schwarzgeld',
['switchBankBlack_description'] = 'Hier kannst du dich entscheiden ob du dein Bank oder Schwarzgeldanzeigen lassen möchtest.',
['food'] = 'Nahrungsanzeige',
['food_description'] = 'Hier kannst du die Nahrungsanzeige Einstellen.',
['speedo'] = 'Geschwindigkeitsanzeige',
['speedo_description'] = 'Hier kannst du die Geschwindigkeitsanzeige Einstellen.',
['notify'] = 'Benachrichtigung',
['notify_description'] = 'Hier kannst du die Benachrichtigungsanzeige Einstellen.',
['teamchat'] = 'Teamchat',
['teamchat_description'] = 'Hier kannst du die Teamchatanzeige Einstellen.',
['announce'] = 'Ankündigung',
['announce_description'] = 'Hier kannst du die Ankündigungsanzeige Einstellen.',
['server'] = 'HUD',
['server_description'] = 'Hier kannst du dein HUD Einstellen.',
},
['en'] = {
['info'] = 'Information!',
['your_id'] = 'Your Id Is: %s',
['no_player'] = 'No player nearby!',
['near_player_id'] = 'His Id Is: %s',
['tx_admin_restart'] = 'Scheduled Restart',
['tx_admin_announce'] = 'Server announcement by %s',
['tx_admin_dm'] = 'Direct Message from %s',
['settings_panel'] = 'SettingsPanel',
['settings_panel_description'] = 'Here you can set up your Hud Configuration',
-- ui
['save'] = 'Save',
['reset'] = 'Reset',
['select'] = 'Select',
['lifeinvader_title'] = 'Lifeinvader',
['lifeinvader_newad'] = 'New advertisement from',
['lifeinvader_number'] = 'Phone Number',
['weapon'] = 'Weapons display',
['weapon_description'] = 'Here, you can enable or disable the weapon display in the top right corner.',
['job'] = 'Job display',
['job_description'] = 'Here, you can enable or disable the job display.',
['street'] = 'Street display',
['street_description'] = 'Here, you can enable or disable the street display.',
['enableBankOrBlack'] = 'Bank or Black Money Display',
['enableBankOrBlack_description'] = 'Here you can decide whether you want to have your bank or black money displayed.',
['switchBankBlack'] = 'Bank or Black Money',
['switchBankBlack_description'] = 'Here, you can decide whether you`d like to have your bank account or black money.',
['food'] = 'Food indicator',
['food_description'] = 'Here you can set the food indicator.',
['speedo'] = 'Speedometer',
['speedo_description'] = 'Here you can set the speedometer.',
['notify'] = 'Notification',
['notify_description'] = 'Here you can set the notification display.',
['announce'] = 'Announce',
['announce_description'] = 'Here you can set the announce display.',
['teamchat'] = 'Teamchat',
['teamchat_description'] = 'Here you can set the teamchat display.',
['server'] = 'HUD',
['server_description'] = 'Here you can set up your Hud Configuration.',
}
}
}
Config.Options = {
{
name = 'server',
type = 'options',
maxOptions = 2
},
{
name = 'food',
type = 'options',
maxOptions = 5
},
{
name = 'speedo',
type = 'options',
maxOptions = 5
},
{
name = 'notify',
type = 'options',
maxOptions = 2
},
{
name = 'teamchat',
type = 'options',
maxOptions = 2
},
{
name = 'announce',
type = 'options',
maxOptions = 2
},
{
name = 'weapon',
type = 'checkbox'
},
{
name = 'job',
type = 'checkbox'
},
{
name = 'street',
type = 'checkbox'
},
{
name = 'enableBankOrBlack',
type = 'checkbox'
},
{
name = 'switchBankBlack',
type = 'checkbox'
},
}