Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = {
- locale = 'de',
- disabledHudComponents = {
- 1, 2, 3, 4, 5, 6, 7, 8, 9
- },
- -- if a logo should be displayed in the top-right corner.
- useServerLogo = true, -- you can replace it in web/dist/images/logo.png
- voice = {
- type = 'pma-voice', -- pma-voice / saltychat
- circle = {
- enabled = true,
- smooth = true,
- color = { r = 0, g = 128, b = 255, a = 255 },
- height = 1.0
- },
- notification = false
- },
- permissions = {
- teamchat = {
- 'admin'
- },
- announcements = {
- 'admin'
- }
- },
- features = {
- chat = true,
- status = true,
- weapon = true,
- teamchat = true,
- announce = true
- },
- command = {
- chat = {
- name = 'chat',
- defaultMapper = 'T'
- },
- hudsettings = {
- name = 'hudsettings',
- defaultMapper = 'F11'
- },
- teamchat = {
- name = 'teamchat',
- time = 5000
- },
- announce = {
- name = 'announce',
- time = 11000
- }
- },
- sounds = {
- notification = {
- info = { 'ATM_WINDOW', 'HUD_FRONTEND_DEFAULT_SOUNDSET' },
- error = { 'ERROR', 'HUD_FRONTEND_DEFAULT_SOUNDSET' },
- warning = { 'ERROR', 'HUD_FRONTEND_DEFAULT_SOUNDSET' },
- success = { 'ATM_WINDOW', 'HUD_FRONTEND_DEFAULT_SOUNDSET' },
- teamchat = { 'ATM_WINDOW', 'HUD_FRONTEND_DEFAULT_SOUNDSET' },
- lifeinvader = { 'ATM_WINDOW', 'HUD_FRONTEND_DEFAULT_SOUNDSET' }
- },
- announce = { 'CHALLENGE_UNLOCKED', 'HUD_AWARDS' },
- helpNotify = {
- fadeIn = { 'INFO', 'HUD_FRONTEND_DEFAULT_SOUNDSET' },
- fadeOut = { 'CANCEL', 'HUD_FRONTEND_DEFAULT_SOUNDSET' }
- }
- },
- events = {
- status = {
- add = 'esx_status:add',
- remove = 'esx_status:remove',
- set = 'esx_status:set',
- onTick = 'esx_status:onTick',
- load = 'esx_status:load',
- getStatus = 'esx_status:getStatus'
- },
- setAccountMoney = 'esx:setAccountMoney',
- setJob = 'esx:setJob'
- }
- };
- if not IsDuplicityVersion() then
- RegisterCommand('aqua_hud', function()
- TriggerEvent('aqua_hud:StartProgressBar', 5000, 'Test');
- Citizen.Wait(1000);
- TriggerEvent('aqua_hud:AddNotification', {
- type = 'warning',
- title = 'Warning',
- text = 'This is a test info notification',
- time = 5000
- });
- Citizen.Wait(1000);
- TriggerEvent('aqua_hud:AddNotification', {
- type = 'error',
- title = 'Error',
- text = 'This is a test error notification',
- time = 5000
- });
- Citizen.Wait(1000);
- TriggerEvent('aqua_hud:AddNotification', {
- type = 'success',
- title = 'Success',
- text = 'This is a test success notification',
- time = 5000
- });
- Citizen.Wait(1000);
- TriggerEvent('aqua_hud:AddNotification', {
- type = 'info',
- title = 'Information',
- text = 'This is a test info notification',
- time = 5000
- });
- Citizen.Wait(1000);
- TriggerEvent('aqua_hud:AddTeamchat', {
- title = 'Teamchat',
- text = 'This is a test teamchat',
- player = 'Test',
- time = 5000
- });
- Citizen.Wait(1000);
- TriggerEvent('aqua_hud:AddLifeInvader', {
- title = 'LifeInvader',
- text = 'This is a test lifeinvader',
- player = 'Test',
- number = '000000000',
- time = 5000
- });
- Citizen.Wait(1000);
- TriggerEvent('aqua_hud:AddAnnouncement', {
- title = 'Announcement',
- text = 'This is a test announcement',
- time = 5000
- });
- Citizen.Wait(1000);
- TriggerEvent('aqua_hud:HelpNotification', {
- key = 'E',
- text = 'This is a test help notification'
- });
- end, false);
- end
- WEAPON_LABELS = {
- -- Pistols
- [`WEAPON_PISTOL`] = 'Pistol',
- [`WEAPON_PISTOL_MK2`] = 'Pistol Mk II',
- [`WEAPON_COMBATPISTOL`] = 'Combat Pistol',
- [`WEAPON_APPISTOL`] = 'AP Pistol',
- [`WEAPON_STUNGUN`] = 'Stun Gun',
- [`WEAPON_PISTOL50`] = 'Pistol .50',
- [`WEAPON_SNSPISTOL`] = 'SNS Pistol',
- [`WEAPON_SNSPISTOL_MK2`] = 'SNS Pistol Mk II',
- [`WEAPON_HEAVYPISTOL`] = 'Heavy Pistol',
- [`WEAPON_VINTAGEPISTOL`] = 'Vintage Pistol',
- [`WEAPON_FLAREGUN`] = 'Flare Gun',
- [`WEAPON_MARKSMANPISTOL`] = 'Marksman Pistol',
- [`WEAPON_REVOLVER`] = 'Revolver',
- [`WEAPON_REVOLVER_MK2`] = 'Revolver Mk II',
- [`WEAPON_DOUBLEACTION`] = 'Double-Action Revolver',
- [`WEAPON_RAYPISTOL`] = 'Up-n-Atomizer',
- [`WEAPON_CERAMICPISTOL`] = 'Ceramic Pistol',
- [`WEAPON_NAVYREVOLVER`] = 'Navy Revolver',
- [`WEAPON_GADGETPISTOL`] = 'Perico Pistol',
- -- SMGs
- [`WEAPON_MICROSMG`] = 'Micro SMG',
- [`WEAPON_SMG`] = 'SMG',
- [`WEAPON_SMG_MK2`] = 'SMG Mk II',
- [`WEAPON_ASSAULTSMG`] = 'Assault SMG',
- [`WEAPON_COMBATPDW`] = 'Combat PDW',
- [`WEAPON_MACHINEPISTOL`] = 'Machine Pistol',
- [`WEAPON_MINISMG`] = 'Mini SMG',
- [`WEAPON_RAYCARBINE`] = 'Unholy Hellbringer',
- -- Shotguns
- [`WEAPON_PUMPSHOTGUN`] = 'Pump Shotgun',
- [`WEAPON_PUMPSHOTGUN_MK2`] = 'Pump Shotgun Mk II',
- [`WEAPON_SAWNOFFSHOTGUN`] = 'Sawed-Off Shotgun',
- [`WEAPON_ASSAULTSHOTGUN`] = 'Assault Shotgun',
- [`WEAPON_BULLPUPSHOTGUN`] = 'Bullpup Shotgun',
- [`WEAPON_MUSKET`] = 'Musket',
- [`WEAPON_HEAVYSHOTGUN`] = 'Heavy Shotgun',
- [`WEAPON_DBSHOTGUN`] = 'Double Barrel Shotgun',
- [`WEAPON_AUTOSHOTGUN`] = 'Sweeper Shotgun',
- [`WEAPON_COMBATSHOTGUN`] = 'Combat Shotgun',
- -- Rifles
- [`WEAPON_ASSAULTRIFLE`] = 'Assault Rifle',
- [`WEAPON_ASSAULTRIFLE_MK2`] = 'Assault Rifle Mk II',
- [`WEAPON_CARBINERIFLE`] = 'Carbine Rifle',
- [`WEAPON_CARBINERIFLE_MK2`] = 'Carbine Rifle Mk II',
- [`WEAPON_ADVANCEDRIFLE`] = 'Advanced Rifle',
- [`WEAPON_SPECIALCARBINE`] = 'Special Carbine',
- [`WEAPON_SPECIALCARBINE_MK2`] = 'Special Carbine Mk II',
- [`WEAPON_BULLPUPRIFLE`] = 'Bullpup Rifle',
- [`WEAPON_BULLPUPRIFLE_MK2`] = 'Bullpup Rifle Mk II',
- [`WEAPON_COMPACTRIFLE`] = 'Compact Rifle',
- [`WEAPON_MILITARYRIFLE`] = 'Military Rifle',
- [`WEAPON_HEAVYRIFLE`] = 'Heavy Rifle',
- [`WEAPON_TACTICALRIFLE`] = 'Service Carbine',
- -- MGs
- [`WEAPON_MG`] = 'MG',
- [`WEAPON_COMBATMG`] = 'Combat MG',
- [`WEAPON_COMBATMG_MK2`] = 'Combat MG Mk II',
- [`WEAPON_GUSENBERG`] = 'Gusenberg Sweeper',
- -- Snipers
- [`WEAPON_SNIPERRIFLE`] = 'Sniper Rifle',
- [`WEAPON_HEAVYSNIPER`] = 'Heavy Sniper',
- [`WEAPON_HEAVYSNIPER_MK2`] = 'Heavy Sniper Mk II',
- [`WEAPON_MARKSMANRIFLE`] = 'Marksman Rifle',
- [`WEAPON_MARKSMANRIFLE_MK2`] = 'Marksman Rifle Mk II',
- [`WEAPON_PRECISIONRIFLE`] = 'Precision Rifle',
- -- Heavies
- [`WEAPON_RPG`] = 'RPG',
- [`WEAPON_GRENADELAUNCHER`] = 'Grenade Launcher',
- [`WEAPON_GRENADELAUNCHER_SMOKE`] = 'Grenade Launcher Smoke',
- [`WEAPON_MINIGUN`] = 'Minigun',
- [`WEAPON_FIREWORK`] = 'Firework Launcher',
- [`WEAPON_RAILGUN`] = 'Railgun',
- [`WEAPON_HOMINGLAUNCHER`] = 'Homing Launcher',
- [`WEAPON_COMPACTLAUNCHER`] = 'Compact Grenade Launcher',
- [`WEAPON_RAYMINIGUN`] = 'Widowmaker',
- [`WEAPON_EMPLAUNCHER`] = 'Compact EMP Launcher'
- };
- ZONE_LABELS = {
- ['AIRP'] = 'Los Santos International Airport',
- ['ALAMO'] = 'Alamo Sea',
- ['ALTA'] = 'Alta',
- ['ARMYB'] = 'Fort Zancudo',
- ['BANHAMC'] = 'Banham Canyon Dr',
- ['BANNING'] = 'Banning',
- ['BEACH'] = 'Vespucci Beach',
- ['BHAMCA'] = 'Banham Canyon',
- ['BRADP'] = 'Braddock Pass',
- ['BRADT'] = 'Braddock Tunnel',
- ['BURTON'] = 'Burton',
- ['CALAFB'] = 'Calafia Bridge',
- ['CANNY'] = 'Raton Canyon',
- ['CCREAK'] = 'Cassidy Creek',
- ['CHAMH'] = 'Chamberlain Hills',
- ['CHIL'] = 'Vinewood Hills',
- ['CHU'] = 'Chumash',
- ['CMSW'] = 'Chiliad Mountain State Wilderness',
- ['CYPRE'] = 'Cypress Flats',
- ['DAVIS'] = 'Davis',
- ['DELBE'] = 'Del Perro Beach',
- ['DELPE'] = 'Del Perro',
- ['DELSOL'] = 'La Puerta',
- ['DESRT'] = 'Grand Senora Desert',
- ['DOWNT'] = 'Downtown',
- ['DTVINE'] = 'Downtown Vinewood',
- ['EAST_V'] = 'East Vinewood',
- ['EBURO'] = 'El Burro Heights',
- ['ELGORL'] = 'El Gordo Lighthouse',
- ['ELYSIAN'] = 'Elysian Island',
- ['GALFISH'] = 'Galilee',
- ['GOLF'] = 'GWC and Golfing Society',
- ['GRAPES'] = 'Grapeseed',
- ['GREATC'] = 'Great Chaparral',
- ['HARMO'] = 'Harmony',
- ['HAWICK'] = 'Hawick',
- ['HORS'] = 'Vinewood Racetrack',
- ['HUMLAB'] = 'Humane Labs and Research',
- ['JAIL'] = 'Bolingbroke Penitentiary',
- ['KOREAT'] = 'Little Seoul',
- ['LACT'] = 'Land Act Reservoir',
- ['LAGO'] = 'Lago Zancudo',
- ['LDAM'] = 'Land Act Dam',
- ['LEGSQU'] = 'Legion Square',
- ['LMESA'] = 'La Mesa',
- ['LOSPUER'] = 'La Puerta',
- ['MIRR'] = 'Mirror Park',
- ['MORN'] = 'Morningwood',
- ['MOVIE'] = 'Richards Majestic',
- ['MTCHIL'] = 'Mount Chiliad',
- ['MTGORDO'] = 'Mount Gordo',
- ['MTJOSE'] = 'Mount Josiah',
- ['MURRI'] = 'Murrieta Heights',
- ['NCHU'] = 'North Chumash',
- ['NOOSE'] = 'N.O.O.S.E',
- ['OCEANA'] = 'Pacific Ocean',
- ['PALCOV'] = 'Paleto Cove',
- ['PALETO'] = 'Paleto Bay',
- ['PALFOR'] = 'Paleto Forest',
- ['PALHIGH'] = 'Palomino Highlands',
- ['PALMPOW'] = 'Palmer-Taylor Power Station',
- ['PBLUFF'] = 'Pacific Bluffs',
- ['PBOX'] = 'Pillbox Hill',
- ['PROCOB'] = 'Procopio Beach',
- ['RANCHO'] = 'Rancho',
- ['RGLEN'] = 'Richman Glen',
- ['RICHM'] = 'Richman',
- ['ROCKF'] = 'Rockford Hills',
- ['RTRAK'] = 'Redwood Lights Track',
- ['SANAND'] = 'San Andreas',
- ['SANCHIA'] = 'San Chianski Mountain Range',
- ['SANDY'] = 'Sandy Shores',
- ['SKID'] = 'Mission Row',
- ['SLAB'] = 'Stab City',
- ['STAD'] = 'Maze Bank Arena',
- ['STRAW'] = 'Strawberry',
- ['TATAMO'] = 'Tataviam Mountains',
- ['TERMINA'] = 'Terminal',
- ['TEXTI'] = 'Textile City',
- ['TONGVAH'] = 'Tongva Hills',
- ['TONGVAV'] = 'Tongva Valley',
- ['VCANA'] = 'Vespucci Canals',
- ['VESP'] = 'Vespucci',
- ['VINE'] = 'Vinewood',
- ['WINDF'] = 'Ron Alternates Wind Farm',
- ['WVINE'] = 'West Vinewood',
- ['ZANCUDO'] = 'Zancudo River',
- ['ZP_ORT'] = 'Port of South Los Santos',
- ['ZQ_UAR'] = 'Davis Quartz'
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement