From 8edb4c41c5c5d9a34ac5ea90e4d44a8a866529d7 Mon Sep 17 00:00:00 2001 From: faizy Date: Wed, 8 Feb 2023 18:14:00 -0400 Subject: [PATCH 001/236] feat(weapons): LS Drug Wars DLC Weapons --- [core]/es_extended/config.weapons.lua | 16 +++++++++++++++- [core]/es_extended/locales/cs.lua | 6 ++++++ [core]/es_extended/locales/en.lua | 6 ++++++ [core]/es_extended/locales/hu.lua | 6 ++++++ 4 files changed, 33 insertions(+), 1 deletion(-) diff --git a/[core]/es_extended/config.weapons.lua b/[core]/es_extended/config.weapons.lua index 8b89e3da..b7c63cd1 100644 --- a/[core]/es_extended/config.weapons.lua +++ b/[core]/es_extended/config.weapons.lua @@ -976,5 +976,19 @@ Config.Weapons = { {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_PRECISIONRIFLE_CLIP_01`}, } }, - {name = 'WEAPON_METALDETECTOR', label = TranslateCap('weapon_metaldetector'), components = {}} + {name = 'WEAPON_METALDETECTOR', label = TranslateCap('weapon_metaldetector'), components = {}}, + , + {name = 'WEAPON_PISTOLXM3', label = TranslateCap('weapon_pistolxm3'), ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}, tints = Config.DefaultWeaponTints, + components = { + {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_PISTOLXM3_CLIP_01`}, + {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_PISTOLXM3_SUPP`} + } + }, + {name = 'WEAPON_ACIDPACKAGE', label = TranslateCap('weapon_acidpackage'), components = {}}, + {name = 'WEAPON_CANDYCANE', label = TranslateCap('weapon_candycane'), components = {}}, + {name = 'WEAPON_RAILGUNXM3', label = TranslateCap('weapon_railgunxm3'), ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RAILGUN`}, tints = Config.DefaultWeaponTints, + components = { + {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_RAILGUNXM3_CLIP_01`}, + }, + }, } diff --git a/[core]/es_extended/locales/cs.lua b/[core]/es_extended/locales/cs.lua index 7186ef8b..1472cffc 100644 --- a/[core]/es_extended/locales/cs.lua +++ b/[core]/es_extended/locales/cs.lua @@ -216,6 +216,12 @@ Locales['cs'] = { ['weapon_precisionrifle'] = 'Precision Rifle', ['weapon_tactilerifle'] = 'Service Carbine', + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', + ['weapon_acidpackage'] = 'Acid Package', + ['weapon_pistolxm3'] = 'WM 29 Pistol', + ['weapon_railgunxm3'] = 'Railgun', + -- Thrown ['weapon_ball'] = 'Míček', ['weapon_bzgas'] = 'Smrtící slzný plyn', diff --git a/[core]/es_extended/locales/en.lua b/[core]/es_extended/locales/en.lua index e480153f..f2d0d75c 100644 --- a/[core]/es_extended/locales/en.lua +++ b/[core]/es_extended/locales/en.lua @@ -222,6 +222,12 @@ Locales['en'] = { ['weapon_precisionrifle'] = 'Precision Rifle', ['weapon_tactilerifle'] = 'Service Carbine', + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', + ['weapon_acidpackage'] = 'Acid Package', + ['weapon_pistolxm3'] = 'WM 29 Pistol', + ['weapon_railgunxm3'] = 'Railgun', + -- Thrown ['weapon_ball'] = 'Baseball', ['weapon_bzgas'] = 'BZ Gas', diff --git a/[core]/es_extended/locales/hu.lua b/[core]/es_extended/locales/hu.lua index f909601a..d4b1bd6f 100644 --- a/[core]/es_extended/locales/hu.lua +++ b/[core]/es_extended/locales/hu.lua @@ -222,6 +222,12 @@ Locales["hu"] = { ["weapon_precisionrifle"] = "Precision Rifle", ["weapon_tactilerifle"] = "Service Carbine", + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', + ['weapon_acidpackage'] = 'Acid Package', + ['weapon_pistolxm3'] = 'WM 29 Pistol', + ['weapon_railgunxm3'] = 'Railgun', + -- Thrown ["weapon_ball"] = "Baseball", ["weapon_bzgas"] = "BZ Gas", From a3de321ecb73c80fc84935af212b743a759d7006 Mon Sep 17 00:00:00 2001 From: Kraleemil <64910903+Kraleemil@users.noreply.github.com> Date: Sun, 12 Mar 2023 14:28:21 +0100 Subject: [PATCH 002/236] Update da.lua --- [core]/esx_multicharacter/locales/da.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/esx_multicharacter/locales/da.lua b/[core]/esx_multicharacter/locales/da.lua index 648138cf..7fefe818 100644 --- a/[core]/esx_multicharacter/locales/da.lua +++ b/[core]/esx_multicharacter/locales/da.lua @@ -22,7 +22,7 @@ Locales["da"] = { ["command_enablechar"] = "Aktiver en valgt karakter af en spiller", ["command_disablechar"] = "Deaktiver en valgt karakter af en spiller", ["command_charslot"] = "Karakterens plads nummer", - ["command_identifier"] = "Spiller-id", + ["command_identifier"] = "Spiller identifikator", ["command_slots"] = "# af slots", ["slotsadd"] = "Du føjede %s slots til %s", ["slotsedit"] = "Du indstillerde %s slots til %s", From 2e1bb61b0859ac394065fbaf7b8256b00bc6029c Mon Sep 17 00:00:00 2001 From: Kraleemil <64910903+Kraleemil@users.noreply.github.com> Date: Sun, 12 Mar 2023 14:32:27 +0100 Subject: [PATCH 003/236] Add files via upload --- [core]/esx_skin/locales/da.lua | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 [core]/esx_skin/locales/da.lua diff --git a/[core]/esx_skin/locales/da.lua b/[core]/esx_skin/locales/da.lua new file mode 100644 index 00000000..4c52dd35 --- /dev/null +++ b/[core]/esx_skin/locales/da.lua @@ -0,0 +1,6 @@ +Locales['da'] = { + ['skin_menu'] = 'Udseende Menu', + ['use_rotate_view'] = 'brug ~INPUT_FRONTEND_LS~ og ~INPUT_CHARACTER_WHEEL~ for at dreje kameraet.', + ['skin'] = 'skift udseende', + ['saveskin'] = 'gem udseende til en fil', +} \ No newline at end of file From 67a8f8b5787c55dee7f235933d8bef93be02ee81 Mon Sep 17 00:00:00 2001 From: Kraleemil <64910903+Kraleemil@users.noreply.github.com> Date: Sun, 12 Mar 2023 14:36:09 +0100 Subject: [PATCH 004/236] Update da.lua --- [core]/es_extended/locales/da.lua | 729 +++++++++++++++--------------- 1 file changed, 364 insertions(+), 365 deletions(-) diff --git a/[core]/es_extended/locales/da.lua b/[core]/es_extended/locales/da.lua index 5340a7aa..9b89ea49 100644 --- a/[core]/es_extended/locales/da.lua +++ b/[core]/es_extended/locales/da.lua @@ -1,366 +1,365 @@ Locales['da'] = { - -- Inventory - ['inventory'] = 'Inventar ( Vægt %s / %s )', - ['use'] = 'Brug', - ['give'] = 'Giv', - ['remove'] = 'Smid', - ['return'] = 'Tilbage', - ['give_to'] = 'Giv til', - ['amount'] = 'Beløb', - ['giveammo'] = 'Giv ammunition', - ['amountammo'] = 'Ammunition beløb', - ['noammo'] = 'Ikke nok!', - ['gave_item'] = 'Giver %sx %s til %s', - ['received_item'] = 'Modtog %sx %s fra %s', - ['gave_weapon'] = 'Giver %s til %s', - ['gave_weapon_ammo'] = 'Giver ~o~%sx %s for %s til %s', - ['gave_weapon_withammo'] = 'Giver %s med ~o~%sx %s til %s', - ['gave_weapon_hasalready'] = '%s har allerede en %s', - ['gave_weapon_noweapon'] = '%s har ikke det våben', - ['received_weapon'] = 'Modtog %s fra %s', - ['received_weapon_ammo'] = 'Modtog ~o~%sx %s for din %s fra %s', - ['received_weapon_withammo'] = 'Modtog %s med ~o~%sx %s fra %s', - ['received_weapon_hasalready'] = '%s har forsøgt at give dig en %s, men du allerede dette våben', - ['received_weapon_noweapon'] = '%s har forsøgt at give dig ammunition for en %s, men du har ikke dette våben', - ['gave_account_money'] = 'Giver %s kr. (%s) til %s', - ['received_account_money'] = 'Modtog %s kr. (%s) fra %s', - ['amount_invalid'] = 'Ugyldig mængde', - ['players_nearby'] = 'Ingen spillere i nærheden', - ['ex_inv_lim'] = 'Kan ikke udføre handling, overskrider maks. vægt på %s', - ['imp_invalid_quantity'] = 'Handlingen kan ikke udføres, mængden er ugyldig', - ['imp_invalid_amount'] = 'Handlingen kan ikke udføres, beløbet er ugyldigt', - ['threw_standard'] = 'Smider %sx %s', - ['threw_account'] = 'Smider %s kr. %s', - ['threw_weapon'] = 'Smider %s', - ['threw_weapon_ammo'] = 'Smider %s med ~o~%sx %s', - ['threw_weapon_already'] = 'Du har allerede dette våben', - ['threw_cannot_pickup'] = 'Inventory er fyldt, Kan ikke tages!', - ['threw_pickup_prompt'] = 'Tryk på E for at tage genstand', - - -- Key mapping - ['keymap_showinventory'] = 'Vis Inventory', - - -- Salary related - ['received_salary'] = 'Du er blevet betalt: %s kr.', - ['received_help'] = 'Du har fået udbetalt din velfærdscheck: %s kr.', - ['company_nomoney'] = 'den virksomhed, du er ansat i, er for fattig til at udbetale din løn', - ['received_paycheck'] = 'modtaget lønseddel', - ['bank'] = 'Maze Bank', - ['account_bank'] = 'Bank', - ['account_black_money'] = 'Beskidte penge', - ['account_money'] = 'Penge', - - ['act_imp'] = 'Kan ikke udføre handling', - ['in_vehicle'] = 'Kan ikke udføre handling, spilleren er i et køretøj', - - -- Commands - ['command_bring'] = 'Tag en spiller til dig', - ['command_car'] = 'Spawn et køretøj', - ['command_car_car'] = 'Køretøjsmodel eller hash', - ['command_cardel'] = 'Fjern køretøjer i nærheden', - ['command_cardel_radius'] = 'Fjerner alle køretøjer inden for den specificerede radius', - ['command_clear'] = 'Ryd chatten', - ['command_clearall'] = 'Ryd chatten for alle spillere', - ['command_clearinventory'] = 'Fjern alle elementer fra spillernes inventar', - ['command_clearloadout'] = 'Fjern alle våben fra Players Loadout', - ['command_freeze'] = 'Frys en spiller', - ['command_unfreeze'] = 'Frigør en spiller', - ['command_giveaccountmoney'] = 'Giv penge til en bestemt konto', - ['command_giveaccountmoney_account'] = 'Konto at tilføje til', - ['command_giveaccountmoney_amount'] = 'Beløb at tilføje', - ['command_giveaccountmoney_invalid'] = 'Kontonavn ugyldigt', - ['command_giveitem'] = 'Giv spilleren en genstand', - ['command_giveitem_item'] = 'Genstands navn', - ['command_giveitem_count'] = 'Antal', - ['command_giveweapon'] = 'Giv spilleren et våben', - ['command_giveweapon_weapon'] = 'Navn på våben', - ['command_giveweapon_ammo'] = 'Ammunitions mængde', - ['command_giveweapon_hasalready'] = 'Spilleren har allerede dette våben', - ['command_giveweaponcomponent'] = 'Giv en våbenkomponent til spilleren', - ['command_giveweaponcomponent_component'] = 'Komponent navn', - ['command_giveweaponcomponent_invalid'] = 'Ugyldig våben-komponent', - ['command_giveweaponcomponent_hasalready'] = 'Spilleren har allerede denne våben-komponent', - ['command_giveweaponcomponent_missingweapon'] = 'Spilleren har ikke dette våben', - ['command_goto'] = 'Teleporter dig selv til en spiller', - ['command_kill'] = 'Dræb en spiller', - ['command_save'] = 'Force save en spillers data', - ['command_saveall'] = 'Force save alle spillers data', - ['command_setaccountmoney'] = 'Indstil pengene på en bestemt konto', - ['command_setaccountmoney_amount'] = 'Beløb', - ['command_setcoords'] = 'Teleporter til specificerede koordinater', - ['command_setcoords_x'] = 'X værdi', - ['command_setcoords_y'] = 'Y værdi', - ['command_setcoords_z'] = 'Z værdi', - ['command_setjob'] = 'Sæt en spillers job', - ['command_setjob_job'] = 'Navn', - ['command_setjob_grade'] = 'Job karakter', - ['command_setjob_invalid'] = 'jobbet, karakteren eller begge dele er ugyldige', - ['command_setgroup'] = 'Indstil en spillers tilladelsesgruppe', - ['command_setgroup_group'] = 'Navn på gruppe', - ['commanderror_argumentmismatch'] = 'Antal ugyldige argumenter (bestået %s, ønsket %s)', - ['commanderror_argumentmismatch_number'] = 'Ugyldigt argument #%s datatype (bestået streng, ønsket nummer)', - ['commanderror_invaliditem'] = 'Ugyldig genstand', - ['commanderror_invalidweapon'] = 'Ugyldigt våben', - ['commanderror_console'] = 'Kommandoen kan ikke udføres fra konsollen', - ['commanderror_invalidcommand'] = 'Ugyldig kommando - /%s', - ['commanderror_invalidplayerid'] = 'Den angivne spiller er ikke online', - ['commandgeneric_playerid'] = 'Spillerens server-id', - ['command_giveammo_noweapon_found'] = '%s har ikke det våben', - ['command_giveammo_weapon'] = 'Våben navn', - ['command_giveammo_ammo'] = 'Ammunitions mængde', - ['tpm_nowaypoint'] = 'Ingen waypoint indstillet.', - ['tpm_success'] = 'Teleporteret med succes', - - ['noclip_message'] = 'Noclip er blevet %s', - ['enabled'] = '~g~aktiveret~s~', - ['disabled'] = '~r~deaktiveret~s~', - - -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = 'DKK%s', - - -- Weapons - - -- Melee - ['weapon_dagger'] = 'Dagger', - ['weapon_bat'] = 'Bat', - ['weapon_battleaxe'] = 'Battle Axe', - ['weapon_bottle'] = 'Bottle', - ['weapon_crowbar'] = 'Crowbar', - ['weapon_flashlight'] = 'Flashlight', - ['weapon_golfclub'] = 'Golf Club', - ['weapon_hammer'] = 'Hammer', - ['weapon_hatchet'] = 'Hatchet', - ['weapon_knife'] = 'Knife', - ['weapon_knuckle'] = 'Knuckledusters', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Nightstick', - ['weapon_wrench'] = 'Pipe Wrench', - ['weapon_poolcue'] = 'Pool Cue', - ['weapon_stone_hatchet'] = 'Stone Hatchet', - ['weapon_switchblade'] = 'Switchblade', - - -- Handguns - ['weapon_appistol'] = 'AP Pistol', - ['weapon_ceramicpistol'] = 'Ceramic Pistol', - ['weapon_combatpistol'] = 'Combat Pistol', - ['weapon_doubleaction'] = 'Double-Action Revolver', - ['weapon_navyrevolver'] = 'Navy Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadget Pistol', - ['weapon_heavypistol'] = 'Heavy Pistol', - ['weapon_revolver'] = 'Heavy Revolver', - ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', - ['weapon_marksmanpistol'] = 'Marksman Pistol', - ['weapon_pistol'] = 'Pistol', - ['weapon_pistol_mk2'] = 'Pistol MK2', - ['weapon_pistol50'] = 'Pistol .50', - ['weapon_snspistol'] = 'SNS Pistol', - ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintage Pistol', - - -- Shotguns - ['weapon_assaultshotgun'] = 'Assault Shotgun', - ['weapon_autoshotgun'] = 'Auto Shotgun', - ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', - ['weapon_combatshotgun'] = 'Combat Shotgun', - ['weapon_dbshotgun'] = 'Double Barrel Shotgun', - ['weapon_heavyshotgun'] = 'Heavy Shotgun', - ['weapon_musket'] = 'Musket', - ['weapon_pumpshotgun'] = 'Pump Shotgun', - ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', - ['weapon_sawnoffshotgun'] = 'Sawed Off Shotgun', - - -- SMG & LMG - ['weapon_assaultsmg'] = 'Assault SMG', - ['weapon_combatmg'] = 'Combat MG', - ['weapon_combatmg_mk2'] = 'Combat MG MK2', - ['weapon_combatpdw'] = 'Combat PDW', - ['weapon_gusenberg'] = 'Gusenberg Sweeper', - ['weapon_machinepistol'] = 'Machine Pistol', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Micro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Unholy Hellbringer', - - -- Rifles - ['weapon_advancedrifle'] = 'Advanced Rifle', - ['weapon_assaultrifle'] = 'Assault Rifle', - ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', - ['weapon_bullpuprifle'] = 'Bullpup Rifle', - ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', - ['weapon_carbinerifle'] = 'Carbine Rifle', - ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', - ['weapon_compactrifle'] = 'Compact Rifle', - ['weapon_militaryrifle'] = 'Military Rifle', - ['weapon_specialcarbine'] = 'Special Carbine', - ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', - - -- Sniper - ['weapon_heavysniper'] = 'Heavy Sniper', - ['weapon_heavysniper_mk2'] = 'Heavy Sniper MK2', - ['weapon_marksmanrifle'] = 'Marksman Rifle', - ['weapon_marksmanrifle_mk2'] = 'Marksman Rifle MK2', - ['weapon_sniperrifle'] = 'Sniper Rifle', - - -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Compact Launcher', - ['weapon_firework'] = 'Firework Launcher', - ['weapon_grenadelauncher'] = 'Grenade Launcher', - ['weapon_hominglauncher'] = 'Homing Launcher', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Rocket Launcher', - ['weapon_rayminigun'] = 'Widowmaker', - - -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Metal Detector', - ['weapon_precisionrifle'] = 'Precision Rifle', - ['weapon_tactilerifle'] = 'Service Carbine', - - -- Thrown - ['weapon_ball'] = 'Baseball', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_flare'] = 'Flare', - ['weapon_grenade'] = 'Grenade', - ['weapon_petrolcan'] = 'Jerrycan', - ['weapon_hazardcan'] = 'Hazardous Jerrycan', - ['weapon_molotov'] = 'Molotov Cocktail', - ['weapon_proxmine'] = 'Proximity Mine', - ['weapon_pipebomb'] = 'Pipe Bomb', - ['weapon_snowball'] = 'Snowball', - ['weapon_stickybomb'] = 'Sticky Bomb', - ['weapon_smokegrenade'] = 'Tear Gas', - - -- Special - ['weapon_fireextinguisher'] = 'Fire Extinguisher', - ['weapon_digiscanner'] = 'Digital Scanner', - ['weapon_garbagebag'] = 'Garbage Bag', - ['weapon_handcuffs'] = 'Handcuffs', - ['gadget_nightvision'] = 'Night Vision', - ['gadget_parachute'] = 'parachute', - - -- Weapon Components - ['component_knuckle_base'] = 'base Model', - ['component_knuckle_pimp'] = 'the Pimp', - ['component_knuckle_ballas'] = 'the Ballas', - ['component_knuckle_dollar'] = 'the Hustler', - ['component_knuckle_diamond'] = 'the Rock', - ['component_knuckle_hate'] = 'the Hater', - ['component_knuckle_love'] = 'the Lover', - ['component_knuckle_player'] = 'the Player', - ['component_knuckle_king'] = 'the King', - ['component_knuckle_vagos'] = 'the Vagos', - - ['component_luxary_finish'] = 'luxary Weapon Finish', - - ['component_handle_default'] = 'default Handle', - ['component_handle_vip'] = 'vIP Handle', - ['component_handle_bodyguard'] = 'bodyguard Handle', - - ['component_vip_finish'] = 'vIP Finish', - ['component_bodyguard_finish'] = 'bodyguard Finish', - - ['component_camo_finish'] = 'digital Camo', - ['component_camo_finish2'] = 'brushstroke Camo', - ['component_camo_finish3'] = 'woodland Camo', - ['component_camo_finish4'] = 'skull Camo', - ['component_camo_finish5'] = 'sessanta Nove Camo', - ['component_camo_finish6'] = 'perseus Camo', - ['component_camo_finish7'] = 'leopard Camo', - ['component_camo_finish8'] = 'zebra Camo', - ['component_camo_finish9'] = 'geometric Camo', - ['component_camo_finish10'] = 'boom Camo', - ['component_camo_finish11'] = 'patriotic Camo', - - ['component_camo_slide_finish'] = 'digital Slide Camo', - ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', - ['component_camo_slide_finish3'] = 'woodland Slide Camo', - ['component_camo_slide_finish4'] = 'skull Slide Camo', - ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', - ['component_camo_slide_finish6'] = 'perseus Slide Camo', - ['component_camo_slide_finish7'] = 'leopard Slide Camo', - ['component_camo_slide_finish8'] = 'zebra Slide Camo', - ['component_camo_slide_finish9'] = 'geometric Slide Camo', - ['component_camo_slide_finish10'] = 'boom Slide Camo', - ['component_camo_slide_finish11'] = 'patriotic Slide Camo', - - ['component_clip_default'] = 'default Magazine', - ['component_clip_extended'] = 'extended Magazine', - ['component_clip_drum'] = 'drum Magazine', - ['component_clip_box'] = 'box Magazine', - - ['component_scope_holo'] = 'holographic Scope', - ['component_scope_small'] = 'small Scope', - ['component_scope_medium'] = 'medium Scope', - ['component_scope_large'] = 'large Scope', - ['component_scope'] = 'mounted Scope', - ['component_scope_advanced'] = 'advanced Scope', - ['component_ironsights'] = 'ironsights', - - ['component_suppressor'] = 'suppressor', - ['component_compensator'] = 'compensator', - - ['component_muzzle_flat'] = 'flat Muzzle Brake', - ['component_muzzle_tactical'] = 'tactical Muzzle Brake', - ['component_muzzle_fat'] = 'fat-End Muzzle Brake', - ['component_muzzle_precision'] = 'precision Muzzle Brake', - ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', - ['component_muzzle_slanted'] = 'slanted Muzzle Brake', - ['component_muzzle_split'] = 'split-End Muzzle Brake', - ['component_muzzle_squared'] = 'squared Muzzle Brake', - - ['component_flashlight'] = 'flashlight', - ['component_grip'] = 'grip', - - ['component_barrel_default'] = 'default Barrel', - ['component_barrel_heavy'] = 'heavy Barrel', - - ['component_ammo_tracer'] = 'tracer Ammo', - ['component_ammo_incendiary'] = 'incendiary Ammo', - ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', - ['component_ammo_fmj'] = 'fMJ Ammo', - ['component_ammo_armor'] = 'armor Piercing Ammo', - ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', - - ['component_shells_default'] = 'default Shells', - ['component_shells_incendiary'] = 'dragons Breath Shells', - ['component_shells_armor'] = 'steel Buckshot Shells', - ['component_shells_hollowpoint'] = 'flechette Shells', - ['component_shells_explosive'] = 'explosive Slug Shells', - - -- Weapon Ammo - ['ammo_rounds'] = 'round(s)', - ['ammo_shells'] = 'shell(s)', - ['ammo_charge'] = 'charge', - ['ammo_petrol'] = 'gallons of fuel', - ['ammo_firework'] = 'firework(s)', - ['ammo_rockets'] = 'rocket(s)', - ['ammo_grenadelauncher'] = 'grenade(s)', - ['ammo_grenade'] = 'grenade(s)', - ['ammo_stickybomb'] = 'bomb(s)', - ['ammo_pipebomb'] = 'bomb(s)', - ['ammo_smokebomb'] = 'bomb(s)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mine(s)', - ['ammo_bzgas'] = 'can(s)', - ['ammo_ball'] = 'ball(s)', - ['ammo_snowball'] = 'snowball(s)', - ['ammo_flare'] = 'flare(s)', - ['ammo_flaregun'] = 'flare(s)', - - -- Weapon Tints - ['tint_default'] = 'default skin', - ['tint_green'] = 'green skin', - ['tint_gold'] = 'gold skin', - ['tint_pink'] = 'pink skin', - ['tint_army'] = 'army skin', - ['tint_lspd'] = 'blue skin', - ['tint_orange'] = 'orange skin', - ['tint_platinum'] = 'platinum skin', - } - + -- Inventory + ['inventory'] = 'Inventar ( Vægt %s / %s )', + ['use'] = 'Brug', + ['give'] = 'Giv', + ['remove'] = 'Smid', + ['return'] = 'Tilbage', + ['give_to'] = 'Giv til', + ['amount'] = 'Beløb', + ['giveammo'] = 'Giv ammunition', + ['amountammo'] = 'Ammunition beløb', + ['noammo'] = 'Ikke nok!', + ['gave_item'] = 'Giver %sx %s til %s', + ['received_item'] = 'Modtog %sx %s fra %s', + ['gave_weapon'] = 'Giver %s til %s', + ['gave_weapon_ammo'] = 'Giver ~o~%sx %s for %s til %s', + ['gave_weapon_withammo'] = 'Giver %s med ~o~%sx %s til %s', + ['gave_weapon_hasalready'] = '%s har allerede en %s', + ['gave_weapon_noweapon'] = '%s har ikke det våben', + ['received_weapon'] = 'Modtog %s fra %s', + ['received_weapon_ammo'] = 'Modtog ~o~%sx %s for din %s fra %s', + ['received_weapon_withammo'] = 'Modtog %s med ~o~%sx %s fra %s', + ['received_weapon_hasalready'] = '%s har forsøgt at give dig en %s, men du allerede dette våben', + ['received_weapon_noweapon'] = '%s har forsøgt at give dig ammunition for en %s, men du har ikke dette våben', + ['gave_account_money'] = 'Giver %s kr. (%s) til %s', + ['received_account_money'] = 'Modtog %s kr. (%s) fra %s', + ['amount_invalid'] = 'Ugyldig mængde', + ['players_nearby'] = 'Ingen spillere i nærheden', + ['ex_inv_lim'] = 'Kan ikke udføre handling, overskrider maks. vægt på %s', + ['imp_invalid_quantity'] = 'Handlingen kan ikke udføres, mængden er ugyldig', + ['imp_invalid_amount'] = 'Handlingen kan ikke udføres, beløbet er ugyldigt', + ['threw_standard'] = 'Smider %sx %s', + ['threw_account'] = 'Smider %s kr. %s', + ['threw_weapon'] = 'Smider %s', + ['threw_weapon_ammo'] = 'Smider %s med ~o~%sx %s', + ['threw_weapon_already'] = 'Du har allerede dette våben', + ['threw_cannot_pickup'] = 'Inventory er fyldt, Kan ikke tages!', + ['threw_pickup_prompt'] = 'Tryk på E for at tage genstand', + + -- Key mapping + ['keymap_showinventory'] = 'Vis Inventory', + + -- Salary related + ['received_salary'] = 'Du er blevet betalt: %s kr.', + ['received_help'] = 'Du har fået udbetalt din velfærdscheck: %s kr.', + ['company_nomoney'] = 'den virksomhed, du er ansat i, er for fattig til at udbetale din løn', + ['received_paycheck'] = 'modtaget lønseddel', + ['bank'] = 'Maze Bank', + ['account_bank'] = 'Bank', + ['account_black_money'] = 'Beskidte penge', + ['account_money'] = 'Penge', + + ['act_imp'] = 'Kan ikke udføre handling', + ['in_vehicle'] = 'Kan ikke udføre handling, spilleren er i et køretøj', + + -- Commands + ['command_bring'] = 'Tag en spiller til dig', + ['command_car'] = 'Spawn et køretøj', + ['command_car_car'] = 'Køretøjsmodel eller hash', + ['command_cardel'] = 'Fjern køretøjer i nærheden', + ['command_cardel_radius'] = 'Fjerner alle køretøjer inden for den specificerede radius', + ['command_clear'] = 'Ryd chatten', + ['command_clearall'] = 'Ryd chatten for alle spillere', + ['command_clearinventory'] = 'Fjern alle elementer fra spillernes inventar', + ['command_clearloadout'] = 'Fjern alle våben fra Players Loadout', + ['command_freeze'] = 'Frys en spiller', + ['command_unfreeze'] = 'Frigør en spiller', + ['command_giveaccountmoney'] = 'Giv penge til en bestemt konto', + ['command_giveaccountmoney_account'] = 'Konto at tilføje til', + ['command_giveaccountmoney_amount'] = 'Beløb at tilføje', + ['command_giveaccountmoney_invalid'] = 'Kontonavn ugyldigt', + ['command_giveitem'] = 'Giv spilleren en genstand', + ['command_giveitem_item'] = 'Genstands navn', + ['command_giveitem_count'] = 'Antal', + ['command_giveweapon'] = 'Giv spilleren et våben', + ['command_giveweapon_weapon'] = 'Navn på våben', + ['command_giveweapon_ammo'] = 'Ammunitions mængde', + ['command_giveweapon_hasalready'] = 'Spilleren har allerede dette våben', + ['command_giveweaponcomponent'] = 'Giv en våbenkomponent til spilleren', + ['command_giveweaponcomponent_component'] = 'Komponent navn', + ['command_giveweaponcomponent_invalid'] = 'Ugyldig våben-komponent', + ['command_giveweaponcomponent_hasalready'] = 'Spilleren har allerede denne våben-komponent', + ['command_giveweaponcomponent_missingweapon'] = 'Spilleren har ikke dette våben', + ['command_goto'] = 'Teleporter dig selv til en spiller', + ['command_kill'] = 'Dræb en spiller', + ['command_save'] = 'Force save en spillers data', + ['command_saveall'] = 'Force save alle spillers data', + ['command_setaccountmoney'] = 'Indstil pengene på en bestemt konto', + ['command_setaccountmoney_amount'] = 'Beløb', + ['command_setcoords'] = 'Teleporter til specificerede koordinater', + ['command_setcoords_x'] = 'X værdi', + ['command_setcoords_y'] = 'Y værdi', + ['command_setcoords_z'] = 'Z værdi', + ['command_setjob'] = 'Sæt en spillers job', + ['command_setjob_job'] = 'Navn', + ['command_setjob_grade'] = 'Job karakter', + ['command_setjob_invalid'] = 'jobbet, karakteren eller begge dele er ugyldige', + ['command_setgroup'] = 'Indstil en spillers tilladelsesgruppe', + ['command_setgroup_group'] = 'Navn på gruppe', + ['commanderror_argumentmismatch'] = 'Antal ugyldige argumenter (bestået %s, ønsket %s)', + ['commanderror_argumentmismatch_number'] = 'Ugyldigt argument #%s datatype (bestået streng, ønsket nummer)', + ['commanderror_invaliditem'] = 'Ugyldig genstand', + ['commanderror_invalidweapon'] = 'Ugyldigt våben', + ['commanderror_console'] = 'Kommandoen kan ikke udføres fra konsollen', + ['commanderror_invalidcommand'] = 'Ugyldig kommando - /%s', + ['commanderror_invalidplayerid'] = 'Den angivne spiller er ikke online', + ['commandgeneric_playerid'] = 'Spillerens server-id', + ['command_giveammo_noweapon_found'] = '%s har ikke det våben', + ['command_giveammo_weapon'] = 'Våben navn', + ['command_giveammo_ammo'] = 'Ammunitions mængde', + ['tpm_nowaypoint'] = 'Ingen waypoint indstillet.', + ['tpm_success'] = 'Teleporteret med succes', + + ['noclip_message'] = 'Noclip er blevet %s', + ['enabled'] = '~g~aktiveret~s~', + ['disabled'] = '~r~deaktiveret~s~', + + -- Locale settings + ['locale_digit_grouping_symbol'] = ',', + ['locale_currency'] = '%s DKK', + + -- Weapons + + -- Melee + ['weapon_dagger'] = 'Dolk', + ['weapon_bat'] = 'Bat', + ['weapon_battleaxe'] = 'Kampøkse', + ['weapon_bottle'] = 'Flaske', + ['weapon_crowbar'] = 'Koben', + ['weapon_flashlight'] = 'Lommelygte', + ['weapon_golfclub'] = 'Golf Club', + ['weapon_hammer'] = 'Hammer', + ['weapon_hatchet'] = 'Økse', + ['weapon_knife'] = 'Kniv', + ['weapon_knuckle'] = 'Knuckledusters', + ['weapon_machete'] = 'Machete', + ['weapon_nightstick'] = 'Nightstick', + ['weapon_wrench'] = 'Pipe Wrench', + ['weapon_poolcue'] = 'Pool Cue', + ['weapon_stone_hatchet'] = 'Stone Hatchet', + ['weapon_switchblade'] = 'Switchblade', + + -- Handguns + ['weapon_appistol'] = 'AP Pistol', + ['weapon_ceramicpistol'] = 'Ceramic Pistol', + ['weapon_combatpistol'] = 'Combat Pistol', + ['weapon_doubleaction'] = 'Double-Action Revolver', + ['weapon_navyrevolver'] = 'Navy Revolver', + ['weapon_flaregun'] = 'Flaregun', + ['weapon_gadgetpistol'] = 'Gadget Pistol', + ['weapon_heavypistol'] = 'Tung Pistol', + ['weapon_revolver'] = 'Tung Revolver', + ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', + ['weapon_marksmanpistol'] = 'Marksman Pistol', + ['weapon_pistol'] = 'Pistol', + ['weapon_pistol_mk2'] = 'Pistol MK2', + ['weapon_pistol50'] = 'Pistol .50', + ['weapon_snspistol'] = 'SNS Pistol', + ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', + ['weapon_stungun'] = 'Taser', + ['weapon_raypistol'] = 'Up-N-Atomizer', + ['weapon_vintagepistol'] = 'Vintage Pistol', + + -- Shotguns + ['weapon_assaultshotgun'] = 'Assault Shotgun', + ['weapon_autoshotgun'] = 'Auto Shotgun', + ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', + ['weapon_combatshotgun'] = 'Kamp Haglgevær', + ['weapon_dbshotgun'] = 'Dobbeltløbet gevær', + ['weapon_heavyshotgun'] = 'Tungt haglgevær', + ['weapon_musket'] = 'Musket', + ['weapon_pumpshotgun'] = 'Pumpe haglgevær', + ['weapon_pumpshotgun_mk2'] = 'Pumpe haglgevær MK2', + ['weapon_sawnoffshotgun'] = 'Oversavet haglgevær', + + -- SMG & LMG + ['weapon_assaultsmg'] = 'Assault SMG', + ['weapon_combatmg'] = 'Combat MG', + ['weapon_combatmg_mk2'] = 'Combat MG MK2', + ['weapon_combatpdw'] = 'Combat PDW', + ['weapon_gusenberg'] = 'Gusenberg Sweeper', + ['weapon_machinepistol'] = 'Maskinpistol', + ['weapon_mg'] = 'MG', + ['weapon_microsmg'] = 'Micro SMG', + ['weapon_minismg'] = 'Mini SMG', + ['weapon_smg'] = 'SMG', + ['weapon_smg_mk2'] = 'SMG MK2', + ['weapon_raycarbine'] = 'Unholy Hellbringer', + + -- Rifles + ['weapon_advancedrifle'] = 'Advanced Rifle', + ['weapon_assaultrifle'] = 'Assault Rifle', + ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', + ['weapon_bullpuprifle'] = 'Bullpup Rifle', + ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', + ['weapon_carbinerifle'] = 'Carbine Rifle', + ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', + ['weapon_compactrifle'] = 'Compact Rifle', + ['weapon_militaryrifle'] = 'Militær riffel', + ['weapon_specialcarbine'] = 'Special Carbine', + ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', + + -- Sniper + ['weapon_heavysniper'] = 'Tung snigskytte', + ['weapon_heavysniper_mk2'] = 'Tung snigskytte MK2', + ['weapon_marksmanrifle'] = 'Skytterifle', + ['weapon_marksmanrifle_mk2'] = 'Skytterifle MK2', + ['weapon_sniperrifle'] = 'Snigskytteriffel', + + -- Heavy / Launchers + ['weapon_compactlauncher'] = 'Compact Launcher', + ['weapon_firework'] = 'Firework Launcher', + ['weapon_grenadelauncher'] = 'Grenade Launcher', + ['weapon_hominglauncher'] = 'Homing Launcher', + ['weapon_minigun'] = 'Minigun', + ['weapon_railgun'] = 'Railgun', + ['weapon_rpg'] = 'Rocket Launcher', + ['weapon_rayminigun'] = 'Widowmaker', + + -- Criminal Enterprises DLC + ['weapon_metaldetector'] = 'Metal Detector', + ['weapon_precisionrifle'] = 'Precision Rifle', + ['weapon_tactilerifle'] = 'Service Carbine', + + -- Thrown + ['weapon_ball'] = 'Baseball', + ['weapon_bzgas'] = 'BZ Gas', + ['weapon_flare'] = 'Flare', + ['weapon_grenade'] = 'Granat', + ['weapon_petrolcan'] = 'Benzindunk', + ['weapon_hazardcan'] = 'Farlig Benzindunk', + ['weapon_molotov'] = 'Molotov Cocktail', + ['weapon_proxmine'] = 'Proximity Mine', + ['weapon_pipebomb'] = 'Pipe Bomb', + ['weapon_snowball'] = 'Snebold', + ['weapon_stickybomb'] = 'Sticky Bomb', + ['weapon_smokegrenade'] = 'Tåregas', + + -- Special + ['weapon_fireextinguisher'] = 'Brandslukker', + ['weapon_digiscanner'] = 'Digital scanner', + ['weapon_garbagebag'] = 'Skraldepose', + ['weapon_handcuffs'] = 'Håndjern', + ['gadget_nightvision'] = 'Night Vision', + ['gadget_parachute'] = 'faldskærm', + + -- Weapon Components + ['component_knuckle_base'] = 'base Model', + ['component_knuckle_pimp'] = 'the Pimp', + ['component_knuckle_ballas'] = 'the Ballas', + ['component_knuckle_dollar'] = 'the Hustler', + ['component_knuckle_diamond'] = 'the Rock', + ['component_knuckle_hate'] = 'the Hater', + ['component_knuckle_love'] = 'the Lover', + ['component_knuckle_player'] = 'the Player', + ['component_knuckle_king'] = 'the King', + ['component_knuckle_vagos'] = 'the Vagos', + + ['component_luxary_finish'] = 'luxary Weapon Finish', + + ['component_handle_default'] = 'standardhåndtag', + ['component_handle_vip'] = 'VIP håndtag', + ['component_handle_bodyguard'] = 'livvagt håndtag', + + ['component_vip_finish'] = 'VIP Finish', + ['component_bodyguard_finish'] = 'bodyguard Finish', + + ['component_camo_finish'] = 'digital Camo', + ['component_camo_finish2'] = 'brushstroke Camo', + ['component_camo_finish3'] = 'woodland Camo', + ['component_camo_finish4'] = 'skull Camo', + ['component_camo_finish5'] = 'sessanta Nove Camo', + ['component_camo_finish6'] = 'perseus Camo', + ['component_camo_finish7'] = 'leopard Camo', + ['component_camo_finish8'] = 'zebra Camo', + ['component_camo_finish9'] = 'geometric Camo', + ['component_camo_finish10'] = 'boom Camo', + ['component_camo_finish11'] = 'patriotic Camo', + + ['component_camo_slide_finish'] = 'digital Slide Camo', + ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', + ['component_camo_slide_finish3'] = 'woodland Slide Camo', + ['component_camo_slide_finish4'] = 'skull Slide Camo', + ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', + ['component_camo_slide_finish6'] = 'perseus Slide Camo', + ['component_camo_slide_finish7'] = 'leopard Slide Camo', + ['component_camo_slide_finish8'] = 'zebra Slide Camo', + ['component_camo_slide_finish9'] = 'geometric Slide Camo', + ['component_camo_slide_finish10'] = 'boom Slide Camo', + ['component_camo_slide_finish11'] = 'patriotic Slide Camo', + + ['component_clip_default'] = 'standard magasin', + ['component_clip_extended'] = 'udvidet Magasin', + ['component_clip_drum'] = 'drum Magasin', + ['component_clip_box'] = 'box Magazine', + + ['component_scope_holo'] = 'rødpunktsigte', + ['component_scope_small'] = 'lille sigte', + ['component_scope_medium'] = 'medium sigte', + ['component_scope_large'] = 'stort sigte', + ['component_scope'] = 'mounted Scope', + ['component_scope_advanced'] = 'avanceret sigte', + ['component_ironsights'] = 'jernsigte', + + ['component_suppressor'] = 'suppressor', + ['component_compensator'] = 'compensator', + + ['component_muzzle_flat'] = 'flat Muzzle Brake', + ['component_muzzle_tactical'] = 'tactical Muzzle Brake', + ['component_muzzle_fat'] = 'fat-End Muzzle Brake', + ['component_muzzle_precision'] = 'precision Muzzle Brake', + ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', + ['component_muzzle_slanted'] = 'slanted Muzzle Brake', + ['component_muzzle_split'] = 'split-End Muzzle Brake', + ['component_muzzle_squared'] = 'squared Muzzle Brake', + + ['component_flashlight'] = 'våbenlygte', + ['component_grip'] = 'greb', + + ['component_barrel_default'] = 'default Barrel', + ['component_barrel_heavy'] = 'heavy Barrel', + + ['component_ammo_tracer'] = 'tracer Ammo', + ['component_ammo_incendiary'] = 'incendiary Ammo', + ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', + ['component_ammo_fmj'] = 'fMJ Ammo', + ['component_ammo_armor'] = 'armor Piercing Ammo', + ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', + + ['component_shells_default'] = 'default Shells', + ['component_shells_incendiary'] = 'dragons Breath Shells', + ['component_shells_armor'] = 'steel Buckshot Shells', + ['component_shells_hollowpoint'] = 'flechette Shells', + ['component_shells_explosive'] = 'explosive Slug Shells', + + -- Weapon Ammo + ['ammo_rounds'] = 'round(s)', + ['ammo_shells'] = 'shell(s)', + ['ammo_charge'] = 'charge', + ['ammo_petrol'] = 'gallons of fuel', + ['ammo_firework'] = 'firework(s)', + ['ammo_rockets'] = 'rocket(s)', + ['ammo_grenadelauncher'] = 'grenade(s)', + ['ammo_grenade'] = 'grenade(s)', + ['ammo_stickybomb'] = 'bomb(s)', + ['ammo_pipebomb'] = 'bomb(s)', + ['ammo_smokebomb'] = 'bomb(s)', + ['ammo_molotov'] = 'cocktail(s)', + ['ammo_proxmine'] = 'mine(s)', + ['ammo_bzgas'] = 'can(s)', + ['ammo_ball'] = 'ball(s)', + ['ammo_snowball'] = 'snowball(s)', + ['ammo_flare'] = 'flare(s)', + ['ammo_flaregun'] = 'flare(s)', + + -- Weapon Tints + ['tint_default'] = 'default skin', + ['tint_green'] = 'green skin', + ['tint_gold'] = 'gold skin', + ['tint_pink'] = 'pink skin', + ['tint_army'] = 'army skin', + ['tint_lspd'] = 'blue skin', + ['tint_orange'] = 'orange skin', + ['tint_platinum'] = 'platinum skin', +} From 23a458ae3563541c9c69245d74f576ad6efce7f1 Mon Sep 17 00:00:00 2001 From: Kristian M <64910903+Kraleemil@users.noreply.github.com> Date: Sun, 12 Mar 2023 15:06:06 +0100 Subject: [PATCH 005/236] Add files via upload --- [core]/skinchanger/locales/da.lua | 100 ++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 [core]/skinchanger/locales/da.lua diff --git a/[core]/skinchanger/locales/da.lua b/[core]/skinchanger/locales/da.lua new file mode 100644 index 00000000..d20323f5 --- /dev/null +++ b/[core]/skinchanger/locales/da.lua @@ -0,0 +1,100 @@ +Locales['da'] = { + ['sex'] = 'køn', + ['mom'] = 'mors ansigt', + ['dad'] = 'fars ansigt', + ['resemblance'] = 'lighed', + ['skin_tone'] = 'hudfarve', + ['nose_1'] = 'næse bredde', + ['nose_2'] = 'næsespidshøjde', + ['nose_3'] = 'næsespidslængde', + ['nose_4'] = 'næseknoglehøjde', + ['nose_5'] = 'næsespidssænkning', + ['nose_6'] = 'nose bone twist', + ['cheeks_1'] = 'kindbens højde', + ['cheeks_2'] = 'kindbens bredde', + ['cheeks_3'] = 'kind bredde', + ['lip_fullness'] = 'læbe fylde', + ['jaw_bone_width'] = 'kæbeknoglebredde', + ['jaw_bone_length'] = 'kæbebens længde', + ['chin_height'] = 'hagehøjde', + ['chin_length'] = 'hagelængde', + ['chin_width'] = 'hagebredde', + ['chin_hole'] = 'chin hole size', + ['neck_thickness'] = 'nakke tykkelse', + ['wrinkles'] = 'rynker', + ['wrinkle_thickness'] = 'rynke tykkelse', + ['beard_type'] = 'skæg type', + ['beard_size'] = 'skæg størrelse', + ['beard_color_1'] = 'skæg farve 1', + ['beard_color_2'] = 'skæg farve 2', + ['hair_1'] = 'hår 1', + ['hair_2'] = 'hår 2', + ['hair_color_1'] = 'hårfarve 1', + ['hair_color_2'] = 'hårfarve 2', + ['eye_color'] = 'øjenfarve', + ['eye_squint'] = 'øjet skele', + ['eyebrow_type'] = 'øjenbryns type', + ['eyebrow_size'] = 'øjenbryns størrelse', + ['eyebrow_color_1'] = 'øjenbryn farve 1', + ['eyebrow_color_2'] = 'øjenbryn farve 2', + ['eyebrow_depth'] = 'øjenbryns dybde', + ['eyebrow_height'] = 'øjenbryns højde', + ['makeup_type'] = 'makeup type', + ['makeup_thickness'] = 'makeup tykkelse', + ['makeup_color_1'] = 'makeup farve 1', + ['makeup_color_2'] = 'makeup farve 2', + ['lipstick_type'] = 'læbestifts type', + ['lipstick_thickness'] = 'læbestifts tykkelse', + ['lipstick_color_1'] = 'læbestifts farve 1', + ['lipstick_color_2'] = 'læbestifts farve 2', + ['ear_accessories'] = 'øretilbehør', + ['ear_accessories_color'] = 'øretilbehør farve', + ['tshirt_1'] = 't-shirt 1', + ['tshirt_2'] = 't-shirt 2', + ['torso_1'] = 'overkrop 1', + ['torso_2'] = 'overkrop 2', + ['decals_1'] = 'mærkater 1', + ['decals_2'] = 'mærkater 2', + ['arms'] = 'arme', + ['arms_2'] = 'arme 2', + ['pants_1'] = 'bukser 1', + ['pants_2'] = 'bukser 2', + ['shoes_1'] = 'sko 1', + ['shoes_2'] = 'sko 2', + ['mask_1'] = 'maske 1', + ['mask_2'] = 'maske 2', + ['bproof_1'] = 'skudsikker vest 1', + ['bproof_2'] = 'skudsikker vest 2', + ['chain_1'] = 'kæde 1', + ['chain_2'] = 'kæde 2', + ['helmet_1'] = 'hjelm 1', + ['helmet_2'] = 'hjelm 2', + ['watches_1'] = 'ure 1', + ['watches_2'] = 'ure 2', + ['bracelets_1'] = 'armbånd 1', + ['bracelets_2'] = 'armbånd 2', + ['glasses_1'] = 'briller 1', + ['glasses_2'] = 'briller 2', + ['bag'] = 'taske', + ['bag_color'] = 'taske farve', + ['blemishes'] = 'bumser', + ['blemishes_size'] = 'bumser tykkelse', + ['ageing'] = 'aldring', + ['ageing_1'] = 'aldring tykkelse', + ['blush'] = 'rødme', + ['blush_1'] = 'rødme tykkelse', + ['blush_color'] = 'rødme farve', + ['complexion'] = 'teint', + ['complexion_1'] = 'teint tykkelse', + ['sun'] = 'sol', + ['sun_1'] = 'soltykkelse', + ['freckles'] = 'fregner', + ['freckles_1'] = 'fregnernes tykkelse', + ['chest_hair'] = 'brysthår', + ['chest_hair_1'] = 'brysthårtykkelse', + ['chest_color'] = 'brysthårfarve', + ['bodyb'] = 'krops pletter', + ['bodyb_size'] = 'krops pletter tykkelse', + ['bodyb_extra'] = 'pletter kropseffekt', + ['bodyb_extra_thickness'] = 'pletter kropseffekt tykkelse', +} \ No newline at end of file From 2c21b15a16f447739ebd8105b257b03880698975 Mon Sep 17 00:00:00 2001 From: donxp Date: Sat, 18 Mar 2023 23:15:47 +0000 Subject: [PATCH 006/236] Use debug identifier when in fxdk mode --- [core]/esx_multicharacter/server/main.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index 65d84d46..867f5387 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -26,6 +26,10 @@ elseif ESX.GetConfig().Multichar == true then local PRIMARY_IDENTIFIER = ESX.GetConfig().Identifier or GetConvar('sv_lan', '') == 'true' and 'ip' or "license" local function GetIdentifier(source) + local fxDk = GetConvarInt('sv_fxdkMode', 0) + if fxDk == 1 then + return "ESX-DEBUG-LICENCE" + end local identifier = PRIMARY_IDENTIFIER..':' for _, v in pairs(GetPlayerIdentifiers(source)) do if string.match(v, identifier) then From a341ad037ac08bddcb23d33fcf3e43ab8f562397 Mon Sep 17 00:00:00 2001 From: wasabirobby <79250053+wasabirobby@users.noreply.github.com> Date: Mon, 20 Mar 2023 14:48:30 -0700 Subject: [PATCH 007/236] feat: ESX.CreateJob(tb) --- [core]/es_extended/server/functions.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 202e1b5e..be2fead0 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -313,6 +313,25 @@ function ESX.DiscordLogFields(name, title, color, fields) }) end +function ESX.CreateJob(tb) + -- tb (array) containing: name (string), label (string) and grades (table) + -- grades (table) contains: grade (int), name (string), label (string), salary (int) + local job = {} + MySQL.Async.execute('INSERT IGNORE INTO jobs (name, label) VALUES (@name, @label)', {['name'] = tb.name, ['label'] = tb.label}) + job = {name = tb.name, label = tb.label, grades = {}} + for k,v in pairs(tb.grades) do + job.grades[tostring(v.grade)] = {job_name = tb.name, grade = v.grade, name = v.name, label = v.label, v.salary, skin_male = {}, skin_female = {}} + MySQL.Async.execute('INSERT IGNORE INTO job_grades (job_name, grade, name, label, salary) VALUES (@job_name, @grade, @name, @label, @salary)', { + ['@job_name'] = tb.name, + ['@grade'] = v.grade, + ['@name'] = v.name, + ['@label'] = v.label, + ['@salary'] = v.salary + }) + end + ESX.Jobs[tb.name] = job +end + function ESX.RefreshJobs() local Jobs = {} local jobs = MySQL.query.await('SELECT * FROM jobs') From b9f41f0b22964b12aa9f46c545a4beaf70b33481 Mon Sep 17 00:00:00 2001 From: nikartik <110419961+NikartikTheBear@users.noreply.github.com> Date: Tue, 21 Mar 2023 18:59:17 +0100 Subject: [PATCH 008/236] feat(esx_identity/locales) Added IT locale --- [core]/esx_identity/locales/it.lua | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 [core]/esx_identity/locales/it.lua diff --git a/[core]/esx_identity/locales/it.lua b/[core]/esx_identity/locales/it.lua new file mode 100644 index 00000000..29062f22 --- /dev/null +++ b/[core]/esx_identity/locales/it.lua @@ -0,0 +1,38 @@ +Locales['it'] = { + ['show_active_character'] = 'Mostra Personaggio Attivo', + ['active_character'] = 'Personaggio Attivo: %s', + ['error_active_character'] = 'Errore nel recuperare i tuoi dati.', + ['delete_character'] = 'Elimina Personaggio Attuale.', + ['deleted_character'] = 'Personaggio Eliminato', + ['error_delete_character'] = 'Errore nell\' eliminazione del personaggio'.', + ['thank_you_for_registering'] = 'Registrazione effettuata. Divertiti!', + ['debug_xPlayer_get_first_name'] = 'Ritorna il tuo nome', + ['debug_xPlayer_get_last_name'] = 'Ritorna il tuo cognome', + ['debug_xPlayer_get_full_name'] = 'Ritorna il tuo nome completo', + ['debug_xPlayer_get_sex'] = 'Ritorna il tuo sesso', + ['debug_xPlayer_get_dob'] = 'Ritorna la tua data di nascita', + ['debug_xPlayer_get_height'] = 'Ritorna la tua altezza', + ['error_debug_xPlayer_get_first_name'] = 'Errore nell\' ottenere il tuo nome.', + ['error_debug_xPlayer_get_last_name'] = 'Errore nell\' ottenere il tuo cognome.', + ['error_debug_xPlayer_get_full_name'] = 'Errore nell\' ottenere il tuo nome completo.', + ['error_debug_xPlayer_get_sex'] = 'Errore nell\' ottenere il tuo sesso.', + ['error_debug_xPlayer_get_dob'] = 'Errore nell\' ottenere la tua data di nascita.', + ['error_debug_xPlayer_get_height'] = 'Errore nell\' ottenere la tua altezza.', + ['return_debug_xPlayer_get_first_name'] = 'Nome: %s', + ['return_debug_xPlayer_get_last_name'] = 'Cognome: %s', + ['return_debug_xPlayer_get_full_name'] = 'Nome Completo: %s', + ['return_debug_xPlayer_get_sex'] = 'Sesso: %s', + ['return_debug_xPlayer_get_dob'] = 'Data di nascita: %s', + ['return_debug_xPlayer_get_height'] = 'Altezza: %s Pollici', + ['data_incorrect'] = 'Dati errati, riprova.', + ['invalid_format'] = 'Formato dati errato, riprova.', + ['no_identifier'] = '[ESX Identity]\nErrore nel caricare il tuo personaggio!\nCodice Errore: identificativo-mancante\n\nQuesto è causato dalla mancanza del tuo identificativo. Riprova più tardi o segnalalo al proprietario del server.', + ['missing_identity'] = '[ESX Identity]\nErrore nel caricare il tuo personaggio!!\nCodice Errore: identità-mancante\n\nSembra che la tua identità sia mancante, prova a riconnetterti.', + ['deleted_identity'] = 'Personaggio eliminato, Rientra per crearne uno nuovo.', + ['already_registered'] = 'Sei già registrato.', + ['invalid_firstname_format'] = 'Formato non valido (Nome): Riprova.', + ['invalid_lastname_format'] = 'Formato non valido (Cognome): Riprova.', + ['invalid_dob_format'] = 'Formato non valido (Data di nascita): Riprova.', + ['invalid_sex_format'] = 'Formato non valido (Sesso): Riprova.', + ['invalid_height_format'] = 'Formato non valido (Altezza): Riprova.' +} \ No newline at end of file From f60486d539abfa95ec4a6958db3244c2ff9fef7b Mon Sep 17 00:00:00 2001 From: pecedevelopment <97826642+pecedevelopment@users.noreply.github.com> Date: Tue, 21 Mar 2023 21:17:14 +0100 Subject: [PATCH 009/236] Update hu.lua corrected some spelling mistakes --- [core]/esx_identity/locales/hu.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/[core]/esx_identity/locales/hu.lua b/[core]/esx_identity/locales/hu.lua index b7ef6580..ee9ca6fd 100644 --- a/[core]/esx_identity/locales/hu.lua +++ b/[core]/esx_identity/locales/hu.lua @@ -1,7 +1,7 @@ Locales["hu"] = { - ["show_active_character"] = "Aktiv karakterek mutatása", - ["active_character"] = "Aktiv karakter: %s", - ["error_active_character"] = "A név nem felel meg", + ["show_active_character"] = "Aktív karakterek mutatása", + ["active_character"] = "Aktív karakter: %s", + ["error_active_character"] = "A név nem megfelelő, ["delete_character"] = "Töröld a karaktered és csinálj újat", ["deleted_character"] = "A karaktered törölve", ["error_delete_character"] = "Hiba történt a karakter törlésekor. Kérjük, lépjen kapcsolatba egy Adminisztrátorral.", @@ -21,9 +21,9 @@ Locales["hu"] = { ["return_debug_xPlayer_get_first_name"] = "Vezetéknév: %s", ["return_debug_xPlayer_get_last_name"] = "Keresztnév: %s", ["return_debug_xPlayer_get_full_name"] = "Teljes név: %s", - ["return_debug_xPlayer_get_sex"] = "Sex: %s", - ["return_debug_xPlayer_get_dob"] = "DOB: %s", - ["return_debug_xPlayer_get_height"] = "Magasság: %s Inches", + ["return_debug_xPlayer_get_sex"] = "Nem: %s", + ["return_debug_xPlayer_get_dob"] = "Születési dátum: %s", + ["return_debug_xPlayer_get_height"] = "Magasság: %s hüvelyk", ["data_incorrect"] = "Hibásan megadott adatok. Kérlek próbáld újra.", ["invalid_format"] = "Az adatok helytelen formázása. Kérlek próbáld újra.", ["no_identifier"] = "Hiba történt a karakter betöltésekor! \nHibakód: hiányzó azonosító \n\nA hiba oka nem ismert, az azonosító nem található. Kérjük, gyere vissza később, vagy jelentsd a problémát a szerver adminisztrációs csapatának.", From 9401e2a9bc15aa7e209a0586a7a8da5d9e619636 Mon Sep 17 00:00:00 2001 From: nikartik <110419961+NikartikTheBear@users.noreply.github.com> Date: Tue, 21 Mar 2023 21:23:53 +0100 Subject: [PATCH 010/236] feat(esx_identity/locale) IT locale --- [core]/esx_identity/locales/it.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/[core]/esx_identity/locales/it.lua b/[core]/esx_identity/locales/it.lua index 29062f22..70323cca 100644 --- a/[core]/esx_identity/locales/it.lua +++ b/[core]/esx_identity/locales/it.lua @@ -4,7 +4,7 @@ Locales['it'] = { ['error_active_character'] = 'Errore nel recuperare i tuoi dati.', ['delete_character'] = 'Elimina Personaggio Attuale.', ['deleted_character'] = 'Personaggio Eliminato', - ['error_delete_character'] = 'Errore nell\' eliminazione del personaggio'.', + ['error_delete_character'] = 'Errore nell\' eliminazione del personaggio.', ['thank_you_for_registering'] = 'Registrazione effettuata. Divertiti!', ['debug_xPlayer_get_first_name'] = 'Ritorna il tuo nome', ['debug_xPlayer_get_last_name'] = 'Ritorna il tuo cognome', @@ -35,4 +35,4 @@ Locales['it'] = { ['invalid_dob_format'] = 'Formato non valido (Data di nascita): Riprova.', ['invalid_sex_format'] = 'Formato non valido (Sesso): Riprova.', ['invalid_height_format'] = 'Formato non valido (Altezza): Riprova.' -} \ No newline at end of file +} From 99ef966bd5c5621d3e4e7f3008cd241ab11c3758 Mon Sep 17 00:00:00 2001 From: Csoki Date: Tue, 21 Mar 2023 22:53:33 +0100 Subject: [PATCH 011/236] Update [core]/esx_identity/locales/hu.lua fix --- [core]/esx_identity/locales/hu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/esx_identity/locales/hu.lua b/[core]/esx_identity/locales/hu.lua index ee9ca6fd..b68be2f3 100644 --- a/[core]/esx_identity/locales/hu.lua +++ b/[core]/esx_identity/locales/hu.lua @@ -1,7 +1,7 @@ Locales["hu"] = { ["show_active_character"] = "Aktív karakterek mutatása", ["active_character"] = "Aktív karakter: %s", - ["error_active_character"] = "A név nem megfelelő, + ["error_active_character"] = "A név nem megfelelő", ["delete_character"] = "Töröld a karaktered és csinálj újat", ["deleted_character"] = "A karaktered törölve", ["error_delete_character"] = "Hiba történt a karakter törlésekor. Kérjük, lépjen kapcsolatba egy Adminisztrátorral.", From 677af6cc108365afb1a9d79dd6a97bfba5140690 Mon Sep 17 00:00:00 2001 From: ExTTaSy <80329709+ExTTaSy@users.noreply.github.com> Date: Thu, 23 Mar 2023 20:54:23 +0100 Subject: [PATCH 012/236] Update fr.lua French translation --- [core]/es_extended/locales/fr.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/[core]/es_extended/locales/fr.lua b/[core]/es_extended/locales/fr.lua index 8285116e..4841f401 100644 --- a/[core]/es_extended/locales/fr.lua +++ b/[core]/es_extended/locales/fr.lua @@ -100,9 +100,9 @@ Locales['fr'] = { ['commanderror_invalidcommand'] = '/%s n\'est pas une commande valide!', ['commanderror_invalidplayerid'] = 'il n\'ya aucun joueur avec cet ID en jeu', ['commandgeneric_playerid'] = 'id joueur', - ['command_giveammo_noweapon_found'] = '%s does not have that weapon', - ['command_giveammo_weapon'] = 'Weapon name', - ['command_giveammo_ammo'] = 'Ammo Quantity', + ['command_giveammo_noweapon_found'] = '%s n\'a pas cette arme', + ['command_giveammo_weapon'] = 'Nom de l\'arme', + ['command_giveammo_ammo'] = 'Quantité de munitions', -- Locale settings ['locale_digit_grouping_symbol'] = ' ', From ce1352e42ad3cbc365e194f6e5e9a15ae3ae5ce1 Mon Sep 17 00:00:00 2001 From: ExTTaSy <80329709+ExTTaSy@users.noreply.github.com> Date: Thu, 23 Mar 2023 21:07:29 +0100 Subject: [PATCH 013/236] Create fr.lua Create Translation french --- [core]/esx_identity/locales/fr.lua | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 [core]/esx_identity/locales/fr.lua diff --git a/[core]/esx_identity/locales/fr.lua b/[core]/esx_identity/locales/fr.lua new file mode 100644 index 00000000..2286ba4f --- /dev/null +++ b/[core]/esx_identity/locales/fr.lua @@ -0,0 +1,38 @@ +Locales['fr'] = { + ['show_active_character'] = 'Afficher le personnage actif', + ['active_character'] = 'Personnage actif: %s', + ['error_active_character'] = 'Une erreur s\'est produite lors de l\'obtention de vos données.', + ['delete_character'] = 'Supprimez votre personnage actuel.', + ['deleted_character'] = 'Caractère supprimé', + ['error_delete_character'] = 'Un problème est survenu lors de la suppression de votre personnage.', + ['thank_you_for_registering'] = 'Inscription réussi. Profitez!', + ['debug_xPlayer_get_first_name'] = 'Renvoie votre prénom', + ['debug_xPlayer_get_last_name'] = 'Renvoie votre nom de famille', + ['debug_xPlayer_get_full_name'] = 'Renvoie votre nom complet', + ['debug_xPlayer_get_sex'] = 'Renvoie votre sexe', + ['debug_xPlayer_get_dob'] = 'Renvoie votre date de naissance', + ['debug_xPlayer_get_height'] = 'Renvoie votre taille', + ['error_debug_xPlayer_get_first_name'] = 'Un problème est survenu lors de l\'obtention de votre prénom.', + ['error_debug_xPlayer_get_last_name'] = 'Un problème est survenu lors de l\'obtention de votre nom de famille.', + ['error_debug_xPlayer_get_full_name'] = 'Un problème est survenu lors de l\'obtention de votre nom complet.', + ['error_debug_xPlayer_get_sex'] = 'Il y a eu un problème lors de l\'obtention de votre sexe.', + ['error_debug_xPlayer_get_dob'] = 'Un problème est survenu lors de l\'obtention de votre date de naissance.', + ['error_debug_xPlayer_get_height'] = 'Un problème est survenu lors de l\'obtention de votre taille.', + ['return_debug_xPlayer_get_first_name'] = 'Prénom: %s', + ['return_debug_xPlayer_get_last_name'] = 'Nom de famille: %s', + ['return_debug_xPlayer_get_full_name'] = 'Nom: %s', + ['return_debug_xPlayer_get_sex'] = 'Sexe: %s', + ['return_debug_xPlayer_get_dob'] = 'Date de naissance: %s', + ['return_debug_xPlayer_get_height'] = 'Hauteur: %s pouces', + ['data_incorrect'] = 'Données non valides, veuillez réessayer.', + ['invalid_format'] = 'Format de données non valide, veuillez réessayer.', + ['no_identifier'] = '[ESX Identity]\nIl y a eu un problème lors du chargement de votre personnage !\nCode d\'erreur : identifiant manquant\n\nCela est dû au fait que votre identifiant est manquant. Veuillez revenir plus tard ou signaler ce problème au propriétaire du serveur.', + ['missing_identity'] = '[ESX Identity]Un problème est survenu lors du chargement de votre personnage !Code d\'erreur : identité manquante\n\nIl semble que votre identité soit manquante, essayez de vous reconnecter.', + ['deleted_identity'] = 'Personnage supprimé. Veuillez vous réinscrire pour créer un nouveau personnage.', + ['already_registered'] = 'Vous êtes déjà inscrit.', + ['invalid_firstname_format'] = 'Format non valide (prénom) : veuillez réessayer.', + ['invalid_lastname_format'] = 'Format non valide (nom de famille) : veuillez réessayer.', + ['invalid_dob_format'] = 'Format non valide (DDN) : veuillez réessayer.', + ['invalid_sex_format'] = 'Format non valide (sexe) : veuillez réessayer.', + ['invalid_height_format'] = 'Format non valide (hauteur) : veuillez réessayer.' + } From 74193a073694e7d016a56959a082355bccf56f15 Mon Sep 17 00:00:00 2001 From: StomperG Date: Thu, 23 Mar 2023 23:08:17 +0000 Subject: [PATCH 014/236] Portuguese translations added --- [core]/esx_identity/locales/pt.lua | 39 +++++++++++ [core]/esx_skin/locales/br.lua | 6 -- [core]/esx_skin/locales/pt.lua | 7 ++ [core]/skinchanger/locales/br.lua | 76 ---------------------- [core]/skinchanger/locales/pt.lua | 101 +++++++++++++++++++++++++++++ 5 files changed, 147 insertions(+), 82 deletions(-) create mode 100644 [core]/esx_identity/locales/pt.lua delete mode 100644 [core]/esx_skin/locales/br.lua create mode 100644 [core]/esx_skin/locales/pt.lua delete mode 100644 [core]/skinchanger/locales/br.lua create mode 100644 [core]/skinchanger/locales/pt.lua diff --git a/[core]/esx_identity/locales/pt.lua b/[core]/esx_identity/locales/pt.lua new file mode 100644 index 00000000..0d5d6b4a --- /dev/null +++ b/[core]/esx_identity/locales/pt.lua @@ -0,0 +1,39 @@ +Locales['pt'] = { + ['show_active_character'] = 'Mostrar personagem ativa', + ['active_character'] = 'Personagem ativa: %s', + ['error_active_character'] = 'Houve um erro a obter os teus dados.', + ['delete_character'] = 'Apagar a tua personagem atual.', + ['deleted_character'] = 'Personagem apagada!', + ['error_delete_character'] = 'Houve um problema ao apagar a tua personagem.', + ['thank_you_for_registering'] = 'Registo concluído. Diverte-te!', + ['debug_xPlayer_get_first_name'] = 'Retorna o teu primeiro nome', + ['debug_xPlayer_get_last_name'] = 'Retorna o teu último nome', + ['debug_xPlayer_get_full_name'] = 'Retorna o teu nome completo', + ['debug_xPlayer_get_sex'] = 'Retorna o teu sexo', + ['debug_xPlayer_get_dob'] = 'Retorna a tua data de nascimento', + ['debug_xPlayer_get_height'] = 'Retorna a tua altura', + ['error_debug_xPlayer_get_first_name'] = 'Houve um problema ao obter o teu primeiro nome.', + ['error_debug_xPlayer_get_last_name'] = 'Houve um problema ao obter o teu último nome.', + ['error_debug_xPlayer_get_full_name'] = 'Houve um problema ao obter o teu nome completo.', + ['error_debug_xPlayer_get_sex'] = 'Houve um problema ao obter o teu sexo.', + ['error_debug_xPlayer_get_dob'] = 'Houve um problema ao obter a tua data de nascimento.', + ['error_debug_xPlayer_get_height'] = 'Houve um problema ao obter a tua altura.', + ['return_debug_xPlayer_get_first_name'] = 'Primeiro nome: %s', + ['return_debug_xPlayer_get_last_name'] = 'Último nome: %s', + ['return_debug_xPlayer_get_full_name'] = 'Nome: %s', + ['return_debug_xPlayer_get_sex'] = 'Sexo: %s', + ['return_debug_xPlayer_get_dob'] = 'Data de nascimento: %s', + ['return_debug_xPlayer_get_height'] = 'Altura: %s cm', + ['data_incorrect'] = 'Dados inválidos, tenta novamente.', + ['invalid_format'] = 'Formato dos dados inválido, tenta novamente.', + ['no_identifier'] = '[ESX Identity]\nHouve um erro ao carregar a tua personagem!\nCódigo do erro: identifier-missing\n\nEste erro é devido à falta do teu identificador. Porfavor volta mais tarde ou reporta este problema a um Administrador.', + ['missing_identity'] = '[ESX Identity]\nHouve um erro ao carregar a tua personagem!\nCódigo do erro: identity-missing\n\nParece que a tua identidade está em falta, experimenta reentrar no servidor!', + ['deleted_identity'] = 'Personagem apagada. Porfavor reentra para criar uma nova personagem.', + ['already_registered'] = 'Tu já estás registado.', + ['invalid_firstname_format'] = 'Formato inválido (Primeiro nome): Porfavor tenta novamente!', + ['invalid_lastname_format'] = 'Formato inválido (Último nome): Porfavor tenta novamente!', + ['invalid_dob_format'] = 'Formato inválido (Data de nascimento): Porfavor tenta novamente!', + ['invalid_sex_format'] = 'Formato inválido (Sexo): Porfavor tenta novamente!', + ['invalid_height_format'] = 'Formato inválido (Altura): Porfavor tenta novamente!' + } + \ No newline at end of file diff --git a/[core]/esx_skin/locales/br.lua b/[core]/esx_skin/locales/br.lua deleted file mode 100644 index 3e773cef..00000000 --- a/[core]/esx_skin/locales/br.lua +++ /dev/null @@ -1,6 +0,0 @@ -Locales['br'] = { - ['skin_menu'] = 'Skin Menu', - ['use_rotate_view'] = 'Use ~INPUT_FRONTEND_LS~ e ~INPUT_CHARACTER_WHEEL~ para girar a visão.', - ['skin'] = 'Trocar', - ['saveskin'] = 'Salvar', -} diff --git a/[core]/esx_skin/locales/pt.lua b/[core]/esx_skin/locales/pt.lua new file mode 100644 index 00000000..663e09d7 --- /dev/null +++ b/[core]/esx_skin/locales/pt.lua @@ -0,0 +1,7 @@ +Locales['pt'] = { + ['skin_menu'] = 'Menu de Skin', + ['use_rotate_view'] = 'Usa ~INPUT_FRONTEND_LS~ e ~INPUT_CHARACTER_WHEEL~ para rodar a câmara.', + ['skin'] = 'alterar skin', + ['saveskin'] = 'salvar a skin num ficheiro', + } + \ No newline at end of file diff --git a/[core]/skinchanger/locales/br.lua b/[core]/skinchanger/locales/br.lua deleted file mode 100644 index 355e9664..00000000 --- a/[core]/skinchanger/locales/br.lua +++ /dev/null @@ -1,76 +0,0 @@ -Locales['br'] = { - ['sex'] = 'sexo', - ['face'] = 'rosto', - ['skin'] = 'pele', - ['wrinkles'] = 'rugas', - ['wrinkle_thickness'] = 'espessura das rugas', - ['beard_type'] = 'tipo de barba', - ['beard_size'] = 'tamanho da barba', - ['beard_color_1'] = 'cor da barba 1', - ['beard_color_2'] = 'cor da barba 2', - ['hair_1'] = 'cabelo 1', - ['hair_2'] = 'cabelo 2', - ['hair_color_1'] = 'cor do cabelo 1', - ['hair_color_2'] = 'cor do cabelo 2', - ['eyebrow_type'] = 'tipo de sobrancelha', - ['eye_color'] = 'cor dos olhos', - ['eyebrow_size'] = 'tamanho da sobrancelha', - ['eyebrow_color_1'] = 'cor da sobrancelha 1', - ['eyebrow_color_2'] = 'cor da sobrancelha 2', - ['makeup_type'] = 'tipo de maquiagem', - ['makeup_thickness'] = 'espessura da maquiagem', - ['makeup_color_1'] = 'cor da maquiagem 1', - ['makeup_color_2'] = 'cor da maquiagem 2', - ['lipstick_type'] = 'tipo de batom', - ['lipstick_thickness'] = 'espessura do batom', - ['lipstick_color_1'] = 'cor do batom 1', - ['lipstick_color_2'] = 'cor do batom 2', - ['ear_accessories'] = 'acessorios para orelha', - ['ear_accessories_color'] = 'cor dos acessorios', - ['tshirt_1'] = 'camiseta 1', - ['tshirt_2'] = 'camiseta 2', - ['torso_1'] = 'tronco 1', - ['torso_2'] = 'tronco 2', - ['decals_1'] = 'adesivos 1', - ['decals_2'] = 'adesivos 2', - ['arms'] = 'braços', - ['arms_2'] = 'braços 2', - ['pants_1'] = 'calça 1', - ['pants_2'] = 'calça 2', - ['shoes_1'] = 'calçados 1', - ['shoes_2'] = 'calçados 2', - ['mask_1'] = 'máscara 1', - ['mask_2'] = 'máscara 2', - ['bproof_1'] = 'colete 1', - ['bproof_2'] = 'colete 2', - ['chain_1'] = 'acessórios pescoço 1', - ['chain_2'] = 'acessórios pescoço 2', - ['helmet_1'] = 'capacete 1', - ['helmet_2'] = 'capacete 2', - ['watches_1'] = 'relógios 1', - ['watches_2'] = 'relógios 2', - ['bracelets_1'] = 'bracelets 1', - ['bracelets_2'] = 'bracelets 2', - ['glasses_1'] = 'óculos 1', - ['glasses_2'] = 'óculos 2', - ['bag'] = 'mochilas', - ['bag_color'] = 'cor das mochilas', - ['blemishes'] = 'manchas', - ['blemishes_size']= 'espessura das manchas', - ['ageing'] = 'envelhecimento', - ['ageing_1'] = 'espessura do envelhecimento', - ['blush'] = 'blush', - ['blush_1'] = 'espessura do blush', - ['blush_color'] = 'cor do blush', - ['complexion'] = 'pele', - ['complexion_1'] = 'pele espessura', - ['sun'] = 'bronzeado', - ['sun_1'] = 'quantidade do bronzeamento', - ['freckles'] = 'sardas', - ['freckles_1'] = 'sardas quantidade', - ['chest_hair'] = 'cabelo no peito', - ['chest_hair_1'] = 'quantidade de cabelo no peito', - ['chest_color'] = 'cor do cabelo no peito', - ['bodyb'] = 'manchas no corpo', - ['bodyb_size'] = 'espessura de manchas do corpo', -} diff --git a/[core]/skinchanger/locales/pt.lua b/[core]/skinchanger/locales/pt.lua new file mode 100644 index 00000000..6d0e4fef --- /dev/null +++ b/[core]/skinchanger/locales/pt.lua @@ -0,0 +1,101 @@ +Locales['pt'] = { + ['sex'] = 'sexo', + ['mom'] = 'cara da mãe', + ['dad'] = 'cara do pai', + ['resemblance'] = 'semelhanças', + ['skin_tone'] = 'tom de pele', + ['nose_1'] = 'largura do nariz', + ['nose_2'] = 'altura da ponta do nariz', + ['nose_3'] = 'tamanho da ponta do nariz', + ['nose_4'] = 'altura do nariz', + ['nose_5'] = 'reduzir ponta do nariz', + ['nose_6'] = 'torcer o nariz', + ['cheeks_1'] = 'altura das maçãs do rosto', + ['cheeks_2'] = 'largura das maçãs do rosto', + ['cheeks_3'] = 'largura das bochechas', + ['lip_fullness'] = 'preenchimento labial', + ['jaw_bone_width'] = 'largura do maxilar', + ['jaw_bone_length'] = 'comprimento do maxilar', + ['chin_height'] = 'altura do queixo', + ['chin_length'] = 'comprimento do queixo', + ['chin_width'] = 'largura do queixo', + ['chin_hole'] = 'tamanho do buraco do queixo', + ['neck_thickness'] = 'espessura do pescoço', + ['wrinkles'] = 'rugas', + ['wrinkle_thickness'] = 'espessura das rugas', + ['beard_type'] = 'tipo de barba', + ['beard_size'] = 'tamanho da barba', + ['beard_color_1'] = 'cor da barba 1', + ['beard_color_2'] = 'cor da barba 2', + ['hair_1'] = 'cabelo 1', + ['hair_2'] = 'cabelo 2', + ['hair_color_1'] = 'cor do cabelo 1', + ['hair_color_2'] = 'cor do cabelo 2', + ['eye_color'] = 'cor dos olhos', + ['eye_squint'] = 'estrabismo', + ['eyebrow_type'] = 'tipo de sobrancelha', + ['eyebrow_size'] = 'tamanho da sobrancelha', + ['eyebrow_color_1'] = 'cor da sobrancelha 1', + ['eyebrow_color_2'] = 'cor da sobrancelha 2', + ['eyebrow_depth'] = 'profundidade da sobrancelha', + ['eyebrow_height'] = 'altura da sobrancelha', + ['makeup_type'] = 'tipo de maquiagem', + ['makeup_thickness'] = 'espessura da maquiagem', + ['makeup_color_1'] = 'cor da maquiagem 1', + ['makeup_color_2'] = 'cor da maquiagem 2', + ['lipstick_type'] = 'tipo de batom', + ['lipstick_thickness'] = 'espessura do batom', + ['lipstick_color_1'] = 'cor do batom 1', + ['lipstick_color_2'] = 'cor do batom 2', + ['ear_accessories'] = 'acessórios de ouvido', + ['ear_accessories_color'] = 'cor dos acessórios de ouvido', + ['tshirt_1'] = 't-Shirt 1', + ['tshirt_2'] = 't-Shirt 2', + ['torso_1'] = 'casaco 1', + ['torso_2'] = 'casaco 2', + ['decals_1'] = 'autocolantes 1', + ['decals_2'] = 'autocolantes 2', + ['arms'] = 'braços', + ['arms_2'] = 'braços 2', + ['pants_1'] = 'calças 1', + ['pants_2'] = 'calças 2', + ['shoes_1'] = 'sapatos 1', + ['shoes_2'] = 'sapatos 2', + ['mask_1'] = 'máscara 1', + ['mask_2'] = 'máscara 2', + ['bproof_1'] = 'colete 1', + ['bproof_2'] = 'colete 2', + ['chain_1'] = 'colar 1', + ['chain_2'] = 'colar 2', + ['helmet_1'] = 'capacete 1', + ['helmet_2'] = 'capacete 2', + ['watches_1'] = 'relógio 1', + ['watches_2'] = 'relógio 2', + ['bracelets_1'] = 'pulseiras 1', + ['bracelets_2'] = 'pulseiras 2', + ['glasses_1'] = 'óculos 1', + ['glasses_2'] = 'óculos 2', + ['bag'] = 'mochila', + ['bag_color'] = 'cor da mochila', + ['blemishes'] = 'manchas', + ['blemishes_size'] = 'espessura de manchas', + ['ageing'] = 'envelhecimento', + ['ageing_1'] = 'espessura de envelhecimento', + ['blush'] = 'corar', + ['blush_1'] = 'espessura do blush', + ['blush_color'] = 'cor de blush', + ['complexion'] = 'aparência', + ['complexion_1'] = 'aparência 2', + ['sun'] = 'sol', + ['sun_1'] = 'espessura do sol', + ['freckles'] = 'sardas', + ['freckles_1'] = 'espessura das sardas', + ['chest_hair'] = 'pelos no peito', + ['chest_hair_1'] = 'espessura dos pelos do peito', + ['chest_color'] = 'cor dos pelos dos peitos', + ['bodyb'] = 'manchas no corpo', + ['bodyb_size'] = 'espessura das manchas no corpo', + ['bodyb_extra'] = 'extra das manchas no corpo', + ['bodyb_extra_thickness'] = 'cor do extra das manchas no corpo', + } + \ No newline at end of file From f67894702320f70c41ed48621639ccec58192c6d Mon Sep 17 00:00:00 2001 From: DyroS3 <64310374+DyroS3@users.noreply.github.com> Date: Fri, 24 Mar 2023 10:21:44 +0800 Subject: [PATCH 015/236] Update Simplified Chinese translation Thanks to the Traditional Chinese team for their contribution --- [core]/es_extended/locales/sc.lua | 415 ++++++++++++++++++++---------- 1 file changed, 276 insertions(+), 139 deletions(-) diff --git a/[core]/es_extended/locales/sc.lua b/[core]/es_extended/locales/sc.lua index 8c3d6598..f18c405d 100644 --- a/[core]/es_extended/locales/sc.lua +++ b/[core]/es_extended/locales/sc.lua @@ -1,200 +1,337 @@ Locales['sc'] = { -- Inventory - ['inventory'] = '库存 %s / %s', + ['inventory'] = '背包 %s / %s', ['use'] = '使用', - ['give'] = '赠送', - ['remove'] = '丢弃', + ['give'] = '给予', + ['remove'] = '赠送', ['return'] = '返回', ['give_to'] = '赠给', ['amount'] = '数量', ['giveammo'] = '赠送弹药', ['amountammo'] = '弹药量', - ['noammo'] = '你没有足够的弹药!', - ['gave_item'] = '你把%sx%s赠给了%s', - ['received_item'] = '你收到%sx%s,来自%s', - ['gave_weapon'] = '你把%s赠给了%s', - ['gave_weapon_ammo'] = '你把~o~%sx%s %s赠给了%s', - ['gave_weapon_withammo'] = '你把%s和~o~%sx %s赠给了%s', - ['gave_weapon_hasalready'] = '%s已经拥有%s', - ['gave_weapon_noweapon'] = '%s没有那个武器', - ['received_weapon'] = '你收到了%s,来自%s', - ['received_weapon_ammo'] = '你收到了~o~%sx %s(%s),来自%s', - ['received_weapon_withammo'] = '你收到了%s和~o~%sx %s,来自%s', - ['received_weapon_hasalready'] = '%s试图给你%s,但你已经拥有了', - ['received_weapon_noweapon'] = '%s试图给你%s弹药,但你没有那个武器', - ['gave_account_money'] = '你将 $%s (%s) 给予 %s', - ['received_account_money'] = '你收到了$%s (%s) 来自 %s', + ['noammo'] = '您没有足够的弹药!', + ['gave_item'] = '您将 %sx %s 赠送给 %s', + ['received_item'] = '您收到 %sx %s, 来自于 %s 的赠送', + ['gave_weapon'] = '您把 %s 赠送给 %s', + ['gave_weapon_ammo'] = '您把 ~o~%sx %s %s 赠送给 %s', + ['gave_weapon_withammo'] = '您把 %s 和 ~o~%sx %s 赠送给 %s', + ['gave_weapon_hasalready'] = '%s 已持有 %s', + ['gave_weapon_noweapon'] = '%s 暂无该类型武器', + ['received_weapon'] = '您收到了 %s, 来自于 %s 的赠送', + ['received_weapon_ammo'] = '您收到了 ~o~%sx %s (%s),来自于%s的赠送', + ['received_weapon_withammo'] = '您收到了 %s 和~o~%sx %s,来自于%s的赠送', + ['received_weapon_hasalready'] = '%s 试图给您 %s,但您已持有', + ['received_weapon_noweapon'] = '%s 试图给您 %s 发子弹,但是您沒有该类型武器', + ['gave_account_money'] = '您将 $%s (%s) 赠送给 %s', + ['received_account_money'] = '您收到了 $%s (%s) 来自 %s 的赠送', ['amount_invalid'] = '无效数量', ['players_nearby'] = '附近没有玩家', - ['ex_inv_lim'] = '操作失败, 超过%s的物品栏限制', - ['imp_invalid_quantity'] = '操作失败,无效数量', - ['imp_invalid_amount'] = '操作失败,无效金额', - ['threw_standard'] = '你丢弃了%sx%s', - ['threw_account'] = '你丢弃了$%s%s', - ['threw_weapon'] = '你丢弃了%s', - ['threw_weapon_ammo'] = '你丢弃了%s和~o~%sx%s', - ['threw_weapon_already'] = '你已经有同样的武器了', - ['threw_cannot_pickup'] = '你不能再拿起那个了,因为你的库存已经满了', - ['threw_pickup_prompt'] = '按 E 拿起', + ['ex_inv_lim'] = '操作失败, 超过 %s 背包物品的上限', + ['imp_invalid_quantity'] = '操作失败,无效数量输入', + ['imp_invalid_amount'] = '操作失败,无效金额输入', + ['threw_standard'] = '您丢弃了 %sx %s', + ['threw_account'] = '您丢弃了 $%s %s', + ['threw_weapon'] = '您丢弃了 %s', + ['threw_weapon_ammo'] = '您丢弃了 %s 和 ~o~%sx %s', + ['threw_weapon_already'] = '您已持有相同武器!', + ['threw_cannot_pickup'] = '背包容量已满, 无法持有更多该物品!', + ['threw_pickup_prompt'] = '键下 [E] 捡起', -- Key mapping - ['keymap_showinventory'] = '显示库存', + ['keymap_showinventory'] = '显示背包', -- Salary related - ['received_salary'] = '你收到了你的工资: $%s', - ['received_help'] = '你领取到了你的失业救济金: $%s', - ['company_nomoney'] = '你受雇的公司太穷了,无法支付你的工资。', + ['received_salary'] = '您收到了您的工资: $%s', + ['received_help'] = '您领取到了您的无业性低保: $%s', + ['company_nomoney'] = '您受雇的公司太穷了,无法清算您的工资.', ['received_paycheck'] = '收到转账', ['bank'] = '花园银行', ['account_bank'] = '银行', - ['account_black_money'] = '黑钱', + ['account_black_money'] = '赃款', ['account_money'] = '现金', ['act_imp'] = '操作失败', - ['in_vehicle'] = '请离开载具', + ['in_vehicle'] = '请离开当前载具', -- Commands + ['command_bring'] = '传送玩家到您身边', ['command_car'] = '生成载具', ['command_car_car'] = '生成载具的模型名称或哈希值', - ['command_cardel'] = '删除附近的载具', - ['command_cardel_radius'] = '可选,删除指定半径内的所有车辆', + ['command_cardel'] = '删除附近载具', + ['command_cardel_radius'] = '可选,删除指定半径内的所有载具', ['command_clear'] = '清除聊天记录', ['command_clearall'] = '清除所有玩家的聊天记录', ['command_clearinventory'] = '清除玩家库存', - ['command_clearloadout'] = '清除玩家皮肤', - ['command_giveaccountmoney'] = '给帐户钱', - ['command_giveaccountmoney_account'] = '有效的帐户名', - ['command_giveaccountmoney_amount'] = '添加的数量', - ['command_giveaccountmoney_invalid'] = '无效的帐户名', - ['command_giveitem'] = '给玩家一件物品', - ['command_giveitem_item'] = '物品名称', + ['command_clearloadout'] = '清除玩家武器栏', + ['command_freeze'] = '冻结玩家', + ['command_unfreeze'] = '解冻玩家', + ['command_giveaccountmoney'] = '给予任意账户资金', + ['command_giveaccountmoney_account'] = '有效的帐户类型', + ['command_giveaccountmoney_amount'] = '添加的金额数量', + ['command_giveaccountmoney_invalid'] = '无效的帐户类型', + ['command_giveitem'] = '给予玩家一件物品', + ['command_giveitem_item'] = '物品代码', ['command_giveitem_count'] = '物品数目', - ['command_giveweapon'] = '给玩家一件武器', - ['command_giveweapon_weapon'] = '武器名称', + ['command_giveweapon'] = '给予玩家一把武器', + ['command_giveweapon_weapon'] = '武器代码', ['command_giveweapon_ammo'] = '弹药数目', - ['command_giveweapon_hasalready'] = '该玩家已经拥有该武器', - ['command_giveweaponcomponent'] = '给武器配件', - ['command_giveweaponcomponent_component'] = '配件名称', - ['command_giveweaponcomponent_invalid'] = '无效的武器配件', - ['command_giveweaponcomponent_hasalready'] = '玩家已经拥有该武器配件', - ['command_giveweaponcomponent_missingweapon'] = '该玩家没有那个武器', + ['command_giveweapon_hasalready'] = '该玩家已拥有该武器', + ['command_giveweaponcomponent'] = '给予武器改装件', + ['command_giveweaponcomponent_component'] = '改装件代码', + ['command_giveweaponcomponent_invalid'] = '无效的武器改装件', + ['command_giveweaponcomponent_hasalready'] = '玩家已拥有该武器改装件', + ['command_giveweaponcomponent_missingweapon'] = '该玩家暂无该类型改装件的武器', + ['command_goto'] = '传送至一名玩家身旁', + ['command_kill'] = '击杀一名玩家', ['command_save'] = '保存玩家数据至数据库', ['command_saveall'] = '保存所有玩家数据至数据库', - ['command_setaccountmoney'] = '为玩家设置帐户资金', - ['command_setaccountmoney_amount'] = '要设定的金额', - ['command_setcoords'] = '传送到坐标', - ['command_setcoords_x'] = 'x 轴', - ['command_setcoords_y'] = 'y 轴', - ['command_setcoords_z'] = 'z 轴', - ['command_setjob'] = '为玩家设定工作', - ['command_setjob_job'] = '工作名称', - ['command_setjob_grade'] = '工作等级', - ['command_setjob_invalid'] = '工作、等级或两者都无效', + ['command_setaccountmoney'] = '设置玩家帐户内资金', + ['command_setaccountmoney_amount'] = '账户资金金额', + ['command_setcoords'] = '传送至XYZ坐标', + ['command_setcoords_x'] = 'X 轴', + ['command_setcoords_y'] = 'Y 轴', + ['command_setcoords_z'] = 'Z 轴', + ['command_setjob'] = '配置该玩家职业', + ['command_setjob_job'] = '职业代码', + ['command_setjob_grade'] = '职业等级', + ['command_setjob_invalid'] = '职业代码、等级或输入数据无效!', ['command_setgroup'] = '设置玩家用户组', - ['command_setgroup_group'] = '用户组名称', - ['commanderror_argumentmismatch'] = '参数计数不匹配(该类型为%s, 需要传递 %s)', - ['commanderror_argumentmismatch_number'] = '参数 #%s 类型不匹配(该类型为字符串,需要传递数字类型)', - ['commanderror_invaliditem'] = '无效的物品名称', - ['commanderror_invalidweapon'] = '无效武器', - ['commanderror_console'] = '该命令不能从控制台运行', + ['command_setgroup_group'] = '用户组代码', + ['commanderror_argumentmismatch'] = '参数计数不匹配 (该类型为 %s, 需要传输 %s)', + ['commanderror_argumentmismatch_number'] = '参数 #%s 类型不匹配 (该类型为字符串,需要传递数字类型)', + ['commanderror_invaliditem'] = '无效的物品代码', + ['commanderror_invalidweapon'] = '无效的武器代码', + ['commanderror_console'] = '控制台无法执行此命令!', ['commanderror_invalidcommand'] = '/%s 不是有效的命令!', - ['commanderror_invalidplayerid'] = '没有在线玩家匹配到该服务id', - ['commandgeneric_playerid'] = '玩家id', - ['command_giveammo_noweapon_found'] = '%s does not have that weapon', - ['command_giveammo_weapon'] = 'Weapon name', - ['command_giveammo_ammo'] = 'Ammo Quantity', + ['commanderror_invalidplayerid'] = '无效的玩家服务器ID', + ['commandgeneric_playerid'] = '玩家服务器ID', + ['command_giveammo_noweapon_found'] = '%s 为无效的武器代码!', + ['command_giveammo_weapon'] = '武器代码', + ['command_giveammo_ammo'] = '弹药数量', + ['tpm_nowaypoint'] = '尚未配置导航点!', + ['tpm_success'] = '已传送至该导航点', + + ['noclip_message'] = '飞行模式已被激活 %s', + ['enabled'] = '~g~已开启~s~', + ['disabled'] = '~r~已关闭~s~', -- Locale settings ['locale_digit_grouping_symbol'] = ',', ['locale_currency'] = '$%s', -- Weapons - ['weapon_knife'] = '小刀', - ['weapon_nightstick'] = '警棍', - ['weapon_hammer'] = '铁锤', + + -- Melee + ['weapon_dagger'] = '古骑兵匕首', ['weapon_bat'] = '棒球棍', - ['weapon_golfclub'] = '高尔夫球杆', + ['weapon_battleaxe'] = '战斧', + ['weapon_bottle'] = '碎酒瓶', ['weapon_crowbar'] = '撬棍', - ['weapon_pistol'] = '手枪', - ['weapon_combatpistol'] = '战斗手枪', + ['weapon_flashlight'] = '手电筒', + ['weapon_golfclub'] = '高尔夫球杆', + ['weapon_hammer'] = '铁锤', + ['weapon_hatchet'] = '手斧', + ['weapon_knife'] = '小刀', + ['weapon_knuckle'] = '手指虎', + ['weapon_machete'] = '开山刀', + ['weapon_nightstick'] = '警棍', + ['weapon_wrench'] = '管钳扳手', + ['weapon_poolcue'] = '台球杆', + ['weapon_stone_hatchet'] = '石斧', + ['weapon_switchblade'] = '弹簧刀', + + -- Handguns ['weapon_appistol'] = '穿甲手枪', - ['weapon_pistol50'] = '0.5 口径手枪', - ['weapon_microsmg'] = '微型冲锋枪', - ['weapon_smg'] = '冲锋枪', - ['weapon_assaultsmg'] = '突击冲锋枪', - ['weapon_assaultrifle'] = '突击步枪', - ['weapon_carbinerifle'] = '卡宾步枪', - ['weapon_advancedrifle'] = '高级步枪', - ['weapon_mg'] = '机枪', - ['weapon_combatmg'] = '战斗机枪', - ['weapon_pumpshotgun'] = '泵动式霰弹枪', - ['weapon_sawnoffshotgun'] = '短管霰弹枪', - ['weapon_assaultshotgun'] = '突击霰弹枪', - ['weapon_bullpupshotgun'] = '无托式霰弹枪', + ['weapon_ceramicpistol'] = '陶瓷手枪', + ['weapon_combatpistol'] = '战斗手枪', + ['weapon_doubleaction'] = '双动式左轮手枪', + ['weapon_navyrevolver'] = '海军左轮手枪', + ['weapon_flaregun'] = '信号枪', + ['weapon_gadgetpistol'] = '佩里克手枪', + ['weapon_heavypistol'] = '重型手枪', + ['weapon_revolver'] = '重型左轮手枪', + ['weapon_revolver_mk2'] = '重型左轮手枪-MK2', + ['weapon_marksmanpistol'] = '射手手枪', + ['weapon_pistol'] = '手枪', + ['weapon_pistol_mk2'] = '手枪-MK2', + ['weapon_pistol50'] = '0.5-口径手枪', + ['weapon_snspistol'] = '劣质手枪', + ['weapon_snspistol_mk2'] = '劣质手枪-MK2', ['weapon_stungun'] = '电击枪', - ['weapon_sniperrifle'] = '狙击步枪', + ['weapon_raypistol'] = '原子堡手枪', + ['weapon_vintagepistol'] = '老式手枪', + + -- Shotguns + ['weapon_assaultshotgun'] = '突击霰弹枪', + ['weapon_autoshotgun'] = '半自动霰弹枪', + ['weapon_bullpupshotgun'] = '无托式霰弹枪', + ['weapon_combatshotgun'] = '战斗霰弹枪', + ['weapon_dbshotgun'] = '双管霰弹枪', + ['weapon_heavyshotgun'] = '重型霰弹枪', + ['weapon_musket'] = '老式火枪', + ['weapon_pumpshotgun'] = '泵动式霰弹枪', + ['weapon_pumpshotgun_mk2'] = '泵动式霰弹枪-MK2', + ['weapon_sawnoffshotgun'] = '短管霰弹枪', + + -- SMG & LMG + ['weapon_assaultsmg'] = '突击冲锋枪', + ['weapon_combatmg'] = '战斗机枪', + ['weapon_combatmg_mk2'] = '战斗机枪-MK2', + ['weapon_combatpdw'] = '作战自卫冲锋枪', + ['weapon_gusenberg'] = '古森柏冲锋枪', + ['weapon_machinepistol'] = '冲锋手枪', + ['weapon_mg'] = '机枪', + ['weapon_microsmg'] = '微型冲锋枪', + ['weapon_minismg'] = '迷你冲锋枪', + ['weapon_smg'] = '冲锋枪', + ['weapon_smg_mk2'] = '冲锋枪-MK2', + ['weapon_raycarbine'] = '不洁使者', + + -- Rifles + ['weapon_advancedrifle'] = '高级步枪', + ['weapon_assaultrifle'] = '突击步枪', + ['weapon_assaultrifle_mk2'] = '突击步枪-MK2', + ['weapon_bullpuprifle'] = '无托式步枪', + ['weapon_bullpuprifle_mk2'] = '无托式步枪-MK2', + ['weapon_carbinerifle'] = '卡宾步枪', + ['weapon_carbinerifle_mk2'] = '卡宾步枪-MK2', + ['weapon_compactrifle'] = '紧凑型步枪', + ['weapon_militaryrifle'] = '军用步枪', + ['weapon_specialcarbine'] = '特制卡宾步枪', + ['weapon_specialcarbine_mk2'] = '特制卡宾步枪-MK2', + + -- Sniper ['weapon_heavysniper'] = '重型狙击步枪', + ['weapon_heavysniper_mk2'] = '重型狙击步枪-MK2', + ['weapon_marksmanrifle'] = '射手步枪', + ['weapon_marksmanrifle_mk2'] = '射手步枪-MK2', + ['weapon_sniperrifle'] = '狙击步枪', + + -- Heavy / Launchers + ['weapon_compactlauncher'] = '紧凑型榴弹发射器', + ['weapon_firework'] = '烟花发射器', ['weapon_grenadelauncher'] = '榴弹发射器', - ['weapon_rpg'] = '火箭炮', + ['weapon_hominglauncher'] = '制导火箭发射器', ['weapon_minigun'] = '火神机枪', + ['weapon_railgun'] = '电磁轨道炮', + ['weapon_rpg'] = '火箭炮', + ['weapon_rayminigun'] = '寡妇制造者', + + -- Criminal Enterprises DLC + ['weapon_metaldetector'] = '金属探测器', + ['weapon_precisionrifle'] = '精确步枪', + ['weapon_tactilerifle'] = '制式卡宾步枪', + + -- Thrown + ['weapon_ball'] = '棒球', + ['weapon_bzgas'] = '毒气弹', + ['weapon_flare'] = '信号棒', ['weapon_grenade'] = '手榴弹', + ['weapon_petrolcan'] = '汽油桶', + ['weapon_hazardcan'] = '有害汽油桶', + ['weapon_molotov'] = '汽油弹', + ['weapon_proxmine'] = '感应式地雷', + ['weapon_pipebomb'] = '土製炸彈', + ['weapon_snowball'] = '雪球', ['weapon_stickybomb'] = '黏弹', ['weapon_smokegrenade'] = '烟雾弹', - ['weapon_bzgas'] = '催泪瓦斯', - ['weapon_molotov'] = '汽油弹', + + -- Special ['weapon_fireextinguisher'] = '灭火器', - ['weapon_petrolcan'] = '汽油桶', - ['weapon_ball'] = '棒球', - ['weapon_snspistol'] = '劣质手枪', - ['weapon_bottle'] = '酒瓶', - ['weapon_gusenberg'] = '古森柏冲锋枪', - ['weapon_specialcarbine'] = '特制卡宾枪', - ['weapon_heavypistol'] = '重型手枪', - ['weapon_bullpuprifle'] = '无托式步枪', - ['weapon_dagger'] = '匕首', - ['weapon_vintagepistol'] = '老式手枪', - ['weapon_firework'] = '烟花发射器', - ['weapon_musket'] = '老式火枪', - ['weapon_heavyshotgun'] = '重型霰弹枪', - ['weapon_marksmanrifle'] = '射手步枪', - ['weapon_hominglauncher'] = '制导火箭发射器', - ['weapon_proxmine'] = '感应地雷', - ['weapon_snowball'] = '雪球', - ['weapon_flaregun'] = '信号枪', - ['weapon_combatpdw'] = '作战自卫冲锋枪', - ['weapon_marksmanpistol'] = '射手手枪', - ['weapon_knuckle'] = '手指虎', - ['weapon_hatchet'] = '手斧', - ['weapon_railgun'] = '电磁轨道炮', - ['weapon_machete'] = '开山刀', - ['weapon_machinepistol'] = '冲锋手枪', - ['weapon_switchblade'] = '弹簧刀', - ['weapon_revolver'] = '重型左轮手枪', - ['weapon_dbshotgun'] = '双管霰弹枪', - ['weapon_compactrifle'] = '紧凑型步枪', - ['weapon_autoshotgun'] = '半自动霰弹枪', - ['weapon_battleaxe'] = '战斧', - ['weapon_compactlauncher'] = '紧凑型榴弹发射器', - ['weapon_minismg'] = '迷你冲锋枪', - ['weapon_pipebomb'] = '土制炸弹', - ['weapon_poolcue'] = '台球杆', - ['weapon_wrench'] = '管钳扳手', - ['weapon_flashlight'] = '手电筒', + ['weapon_digiscanner'] = '数位扫描仪', + ['weapon_garbagebag'] = '垃圾袋', + ['weapon_handcuffs'] = '手铐', + ['gadget_nightvision'] = '夜视仪', ['gadget_parachute'] = '降落伞', - ['weapon_flare'] = '信号棒', - ['weapon_doubleaction'] = '双动式左轮手枪', -- Weapon Components + ['component_knuckle_base'] = '基本样式', + ['component_knuckle_pimp'] = '皮条客', + ['component_knuckle_ballas'] = '巴拉斯帮', + ['component_knuckle_dollar'] = '江湖骗子', + ['component_knuckle_diamond'] = '摇滚朋克', + ['component_knuckle_hate'] = '怨气冤家', + ['component_knuckle_love'] = '甜蜜情人', + ['component_knuckle_player'] = '花花公子', + ['component_knuckle_king'] = '霸者之风', + ['component_knuckle_vagos'] = '维戈斯帮', + + ['component_luxary_finish'] = '奢华涂饰', + + ['component_handle_default'] = '默认刀柄', + ['component_handle_vip'] = '贵宾样式', + ['component_handle_bodyguard'] = '保镖款式', + + ['component_vip_finish'] = '贵宾样式', + ['component_bodyguard_finish'] = '保镖款式', + + ['component_camo_finish'] = '数码迷彩', + ['component_camo_finish2'] = '笔刷迷彩', + ['component_camo_finish3'] = '林地迷彩', + ['component_camo_finish4'] = '骷髅头', + ['component_camo_finish5'] = '希斯提·耐', + ['component_camo_finish6'] = '神之子', + ['component_camo_finish7'] = '猎豹纹理', + ['component_camo_finish8'] = '斑马纹理', + ['component_camo_finish9'] = '几何图形', + ['component_camo_finish10'] = 'BOOM!', + ['component_camo_finish11'] = '爱国者', + + ['component_camo_slide_finish'] = '数码迷涂装', + ['component_camo_slide_finish2'] = '笔刷迷彩涂装', + ['component_camo_slide_finish3'] = '林地迷彩涂装', + ['component_camo_slide_finish4'] = '骷髅头涂装', + ['component_camo_slide_finish5'] = '希斯提·耐涂装', + ['component_camo_slide_finish6'] = '神之子涂装', + ['component_camo_slide_finish7'] = '猎豹纹理涂装', + ['component_camo_slide_finish8'] = '斑马纹理涂装', + ['component_camo_slide_finish9'] = '几何图形涂装', + ['component_camo_slide_finish10'] = 'BOOM涂装', + ['component_camo_slide_finish11'] = '爱国者涂装', + ['component_clip_default'] = '默认弹夹', ['component_clip_extended'] = '扩容弹夹', ['component_clip_drum'] = '鼓式弹夹', ['component_clip_box'] = '盒型弹匣', - ['component_flashlight'] = '手电筒', + + ['component_scope_holo'] = '全息式瞄准镜', + ['component_scope_small'] = '小型瞄准镜', + ['component_scope_medium'] = '中型瞄准镜', + ['component_scope_large'] = '大型瞄准镜', ['component_scope'] = '瞄准镜', ['component_scope_advanced'] = '高级瞄准镜', + ['component_ironsights'] = '铁式瞄具', + ['component_suppressor'] = '消音器', + ['component_compensator'] = '补偿器', + + ['component_muzzle_flat'] = '扁型枪口制动器', + ['component_muzzle_tactical'] = '战术枪口制动器', + ['component_muzzle_fat'] = '宽尾型枪口制动器', + ['component_muzzle_precision'] = '精準枪口制动器', + ['component_muzzle_heavy'] = '耐用型枪口制动器', + ['component_muzzle_slanted'] = '倾斜型枪口制动器', + ['component_muzzle_split'] = '分岔型枪口制动器', + ['component_muzzle_squared'] = '方形枪口制动器', + + ['component_flashlight'] = '手电筒', ['component_grip'] = '握把', - ['component_luxary_finish'] = '奢华涂饰', + + ['component_barrel_default'] = '默认枪管', + ['component_barrel_heavy'] = '重型枪管', + + ['component_ammo_tracer'] = '曳光弹', + ['component_ammo_incendiary'] = '燃烧弹', + ['component_ammo_hollowpoint'] = '被甲空尖弹', + ['component_ammo_fmj'] = '全金属包裹弹', + ['component_ammo_armor'] = '穿甲弹', + ['component_ammo_explosive'] = '爆炸蛋弹', + + ['component_shells_default'] = '默认弹药', + ['component_shells_incendiary'] = '燃烧弹', + ['component_shells_armor'] = '钢式猎鹿蛋', + ['component_shells_hollowpoint'] = '被甲空尖弹', + ['component_shells_explosive'] = '爆裂弹', -- Weapon Ammo ['ammo_rounds'] = '发(子弹)', @@ -207,11 +344,11 @@ Locales['sc'] = { ['ammo_grenade'] = '枚(手榴弹)', ['ammo_stickybomb'] = '枚(炸弹)', ['ammo_pipebomb'] = '枚(炸弹)', - ['ammo_smokebomb'] = '枚(炸弹)', - ['ammo_molotov'] = '瓶(汽油瓶)', + ['ammo_smokebomb'] = '枚(炸彈)', + ['ammo_molotov'] = '瓶(燃烧瓶)', ['ammo_proxmine'] = '个(地雷)', ['ammo_bzgas'] = '罐', - ['ammo_ball'] = '个(球)', + ['ammo_ball'] = '个(棒球)', ['ammo_snowball'] = '个(雪球)', ['ammo_flare'] = '根(信号棒)', ['ammo_flaregun'] = '发(信号弹)', From 18dc029c38f94d9b35f26f1fa9bd33f464b121ad Mon Sep 17 00:00:00 2001 From: DyroS3 <64310374+DyroS3@users.noreply.github.com> Date: Fri, 24 Mar 2023 10:41:27 +0800 Subject: [PATCH 016/236] Added Simplified Chinese translation --- [core]/esx_multicharacter/locales/sc.lua | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 [core]/esx_multicharacter/locales/sc.lua diff --git a/[core]/esx_multicharacter/locales/sc.lua b/[core]/esx_multicharacter/locales/sc.lua new file mode 100644 index 00000000..0cf8a026 --- /dev/null +++ b/[core]/esx_multicharacter/locales/sc.lua @@ -0,0 +1,33 @@ +Locales["sc"] = { + ["male"] = "男性", + ["female"] = "女性", + ["select_char"] = "选择角色", + ["select_char_description"] = "请选择已存在的游戏角色进入.", + ["create_char"] = "创建新角色", + ["char_play"] = "游玩", + ["char_play_description"] = "继而进入城镇.", + ["char_disabled"] = "不可用", + ["char_disabled_description"] = "此角色无法使用.", + ["char_delete"] = "移除", + ["char_delete_description"] = "永久删除此角色.", + ["char_delete_confirmation"] = "删除确认", + ["char_delete_confirmation_description"] = "您确定要删除选定的角色吗?", + ["char_delete_yes_description"] = "是的,我确定删除选定的角色", + ["char_delete_no_description"] = "取消,并返回至角色选项", + ["character"] = "游戏角色: %s", + ["return"] = "返回", + ["return_description"] = "返回至角色选择.", + ["command_setslots"] = "设置玩家多玩家插槽数量", + ["command_remslots"] = "移除玩家多角色位置数量", + ["command_enablechar"] = "启用玩家游玩某个角色", + ["command_disablechar"] = "禁用玩家游玩某个角色", + ["command_charslot"] = "玩家的角色数量上限", + ["command_identifier"] = "玩家标识符", + ["command_slots"] = "# 插槽数量", + ["slotsadd"] = "增加: %s 角色插槽至 %s", + ["slotsedit"] = "成功配置 %s 角色插槽至 %s", + ["slotsrem"] = "成功移除角色插槽 %s", + ["charenabled"] = "您开启了角色: #%s使用权, 拥有人%s", + ["chardisabled"] = "您关闭了角色: #%s使用权, 拥有人%s", + ["charnotfound"] = "角色信息: #%s ,拥有人:%s 并不存在", +} From 826c8b470e3f7a95ddaa77768aece41f3ef31014 Mon Sep 17 00:00:00 2001 From: DyroS3 <64310374+DyroS3@users.noreply.github.com> Date: Fri, 24 Mar 2023 10:46:11 +0800 Subject: [PATCH 017/236] Added Simplified Chinese translation From dea8af78bdb6cbe223cb23c3f1836bc203c5b236 Mon Sep 17 00:00:00 2001 From: DyroS3 <1799321824@qq.com> Date: Fri, 24 Mar 2023 11:08:43 +0800 Subject: [PATCH 018/236] Create sc.lua --- [core]/esx_skin/locales/sc.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 [core]/esx_skin/locales/sc.lua diff --git a/[core]/esx_skin/locales/sc.lua b/[core]/esx_skin/locales/sc.lua new file mode 100644 index 00000000..15b1a60f --- /dev/null +++ b/[core]/esx_skin/locales/sc.lua @@ -0,0 +1,7 @@ +Locales['en'] = { + ['skin_menu'] = '皮肤选单', + ['use_rotate_view'] = '使用 ~INPUT_FRONTEND_LS~ 和 ~INPUT_CHARACTER_WHEEL~ 旋转镜头视角.', + ['skin'] = '更换皮肤数据', + ['saveskin'] = '保存皮肤数据', + } + \ No newline at end of file From e454d8f09aa5bf1c32131dccae76caeb257f388a Mon Sep 17 00:00:00 2001 From: Blooper <122776166+Blo0per@users.noreply.github.com> Date: Fri, 24 Mar 2023 16:24:52 +0200 Subject: [PATCH 019/236] Update fi.lua --- [core]/esx_skin/locales/fi.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/[core]/esx_skin/locales/fi.lua b/[core]/esx_skin/locales/fi.lua index a7f6164b..bd63b9d1 100644 --- a/[core]/esx_skin/locales/fi.lua +++ b/[core]/esx_skin/locales/fi.lua @@ -1,6 +1,6 @@ Locales['fi'] = { - ['skin_menu'] = 'ulkonäkö', - ['use_rotate_view'] = 'paina ~INPUT_FRONTEND_LS~ tai ~INPUT_CHARACTER_WHEEL~ liikutaaksesi kameraa.', - ['skin'] = 'vaihda ulkonäköä', - ['saveskin'] = 'talleta ulkonäkö tiedostoon', + ['skin_menu'] = 'Ulkonäkö', + ['use_rotate_view'] = 'Paina ~INPUT_FRONTEND_LS~ tai ~INPUT_CHARACTER_WHEEL~ liikutaaksesi kameraa.', + ['skin'] = 'Muokkaa ulkonäköä', + ['saveskin'] = 'Talenna', } From 1b68ca5a6bada16c8051e152bb46a58f2492e71f Mon Sep 17 00:00:00 2001 From: Blooper <122776166+Blo0per@users.noreply.github.com> Date: Fri, 24 Mar 2023 17:03:36 +0200 Subject: [PATCH 020/236] Update fi.lua This is now translated correctly. --- [core]/skinchanger/locales/fi.lua | 146 +++++++++++++++--------------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/[core]/skinchanger/locales/fi.lua b/[core]/skinchanger/locales/fi.lua index 9f676c7a..4c4a7263 100644 --- a/[core]/skinchanger/locales/fi.lua +++ b/[core]/skinchanger/locales/fi.lua @@ -1,76 +1,76 @@ Locales['fi'] = { - ['sex'] = 'sukupuoli', - ['face'] = 'kasvot', - ['skin'] = 'iho', - ['wrinkles'] = 'rypyt', - ['wrinkle_thickness'] = 'ryppyjen paksuus', - ['beard_type'] = 'parta tyyli', - ['beard_size'] = 'parran koko', - ['beard_color_1'] = 'parran väri 1', - ['beard_color_2'] = 'parran väri 2', - ['hair_1'] = 'hiukset 1', - ['hair_2'] = 'hiukset 2', - ['hair_color_1'] = 'hiuksien väri 1', - ['hair_color_2'] = 'hiuksien väri 2', + ['sex'] = 'Sukupuoli', + ['face'] = 'Kasvot', + ['skin'] = 'Iho', + ['wrinkles'] = 'Rypyt', + ['wrinkle_thickness'] = 'Ryppyjen vahvuus', + ['beard_type'] = 'Parta tyyli', + ['beard_size'] = 'Parran koko', + ['beard_color_1'] = 'Parran väri 1', + ['beard_color_2'] = 'Parran väri 2', + ['hair_1'] = 'Hiukset 1', + ['hair_2'] = 'Hiukset 2', + ['hair_color_1'] = 'Hiuksien väri 1', + ['hair_color_2'] = 'Hiuksien väri 2', ['eye_color'] = 'Silmien väri', - ['eyebrow_type'] = 'kulmakarva tyyli', - ['eyebrow_size'] = 'kulmakarvojen tiheys', - ['eyebrow_color_1'] = 'kulmakarvojen väri 1', - ['eyebrow_color_2'] = 'kulmakarvojen väri 2', - ['makeup_type'] = 'meikki tyyli', - ['makeup_thickness'] = 'meikin paksuus', - ['makeup_color_1'] = 'meikin väri 1', - ['makeup_color_2'] = 'meikin väri 2', - ['lipstick_type'] = 'huulipuna tyyli', - ['lipstick_thickness'] = 'huulipunan paksuus', - ['lipstick_color_1'] = 'huulipunan väri 1', - ['lipstick_color_2'] = 'huulipunan väri 2', - ['ear_accessories'] = 'korvakorut', - ['ear_accessories_color'] = 'korvakorujen väri', - ['tshirt_1'] = 't-Paita 1', - ['tshirt_2'] = 't-Paita 2', - ['torso_1'] = 'paita 1', - ['torso_2'] = 'paita 2', - ['decals_1'] = 'kerros 1', - ['decals_2'] = 'kerros 2', - ['arms'] = 'kädet', - ['arms_2'] = 'kädet 2', - ['pants_1'] = 'housut 1', - ['pants_2'] = 'housut 2', - ['shoes_1'] = 'kengät 1', - ['shoes_2'] = 'kengät 2', - ['mask_1'] = 'maski 1', - ['mask_2'] = 'maski 2', - ['bproof_1'] = 'luotiliivi 1', - ['bproof_2'] = 'luotiliivi 2', - ['chain_1'] = 'korut 1', - ['chain_2'] = 'korut 2', - ['helmet_1'] = 'kypärät 1', - ['helmet_2'] = 'kypärät 2', - ['watches_1'] = 'kellot 1', - ['watches_2'] = 'kellot 2', - ['bracelets_1'] = 'rannekkeet 1', - ['bracelets_2'] = 'rannekkeet 2', - ['glasses_1'] = 'lasit 1', - ['glasses_2'] = 'lasit 2', - ['bag'] = 'reput', - ['bag_color'] = 'repun väri', - ['blemishes'] = 'pisamat', - ['blemishes_size']= 'pisamien paksuus', - ['ageing'] = 'ikääntyminen', - ['ageing_1'] = 'ikääntyminen paksuus', - ['blush'] = 'punastuminen', - ['blush_1'] = 'punastumisen paksuus', - ['blush_color'] = 'punastumisen väri', - ['complexion'] = 'pigmentti', - ['complexion_1'] = 'pigmentin paksuus', - ['sun'] = 'rusketus', - ['sun_1'] = 'rusketus paksuus', - ['freckles'] = 'pilkut', - ['freckles_1'] = 'pilkkujen paksuus', - ['chest_hair'] = 'rintakarvat', - ['chest_hair_1'] = 'rintakarvojen tiheys', - ['chest_color'] = 'rintakarvojen väri', - ['bodyb'] = 'pisamat kehossa', - ['bodyb_size'] = 'kehopisamien paksuus', + ['eyebrow_type'] = 'Kulmakarva tyyli', + ['eyebrow_size'] = 'Kulmakarvojen tiheys', + ['eyebrow_color_1'] = 'Kulmakarvojen väri 1', + ['eyebrow_color_2'] = 'Kulmakarvojen väri 2', + ['makeup_type'] = 'Meikki tyyli', + ['makeup_thickness'] = 'Meikin vahvuus', + ['makeup_color_1'] = 'Meikin väri 1', + ['makeup_color_2'] = 'Meikin väri 2', + ['lipstick_type'] = 'Huulipuna tyyli', + ['lipstick_thickness'] = 'Huulipunan vahvuus', + ['lipstick_color_1'] = 'Huulipunan väri 1', + ['lipstick_color_2'] = 'Huulipunan väri 2', + ['ear_accessories'] = 'Korvakorut', + ['ear_accessories_color'] = 'Korvakorujen väri', + ['tshirt_1'] = 'T-paita 1', + ['tshirt_2'] = 'T-paita 2', + ['torso_1'] = 'Paita 1', + ['torso_2'] = 'Paita 2', + ['decals_1'] = 'Kerros 1', + ['decals_2'] = 'Kerros 2', + ['arms'] = 'Kädet', + ['arms_2'] = 'Kädet 2', + ['pants_1'] = 'Housut 1', + ['pants_2'] = 'Housut 2', + ['shoes_1'] = 'Kengät 1', + ['shoes_2'] = 'Kengät 2', + ['mask_1'] = 'Maski 1', + ['mask_2'] = 'Maski 2', + ['bproof_1'] = 'Luotiliivi 1', + ['bproof_2'] = 'Luotiliivi 2', + ['chain_1'] = 'Korut 1', + ['chain_2'] = 'Korut 2', + ['helmet_1'] = 'Kypärät 1', + ['helmet_2'] = 'Kypärät 2', + ['watches_1'] = 'Kellot 1', + ['watches_2'] = 'Kellot 2', + ['bracelets_1'] = 'Rannekkeet 1', + ['bracelets_2'] = 'Rannekkeet 2', + ['glasses_1'] = 'Lasit 1', + ['glasses_2'] = 'Lasit 2', + ['bag'] = 'Reput', + ['bag_color'] = 'Repun väri', + ['blemishes'] = 'Pisamat', + ['blemishes_size']= 'Pisamien vahvuus', + ['ageing'] = 'Ikääntyminen', + ['ageing_1'] = 'Ikääntyminen vahvuus', + ['blush'] = 'Punastuminen', + ['blush_1'] = 'Punastumisen vahvuus', + ['blush_color'] = 'Punastumisen väri', + ['complexion'] = 'Pigmentti', + ['complexion_1'] = 'Pigmentin vahvuus', + ['sun'] = 'Rusketus', + ['sun_1'] = 'Rusketus vahvuus', + ['freckles'] = 'Pilkut', + ['freckles_1'] = 'Pilkkujen vahvuus', + ['chest_hair'] = 'Rintakarvat', + ['chest_hair_1'] = 'Rintakarvojen tiheys', + ['chest_color'] = 'Rintakarvojen väri', + ['bodyb'] = 'Pisamat kehossa', + ['bodyb_size'] = 'Kehopisamien vahvuus', } From fc8e3973b3dab0886935b716239ff6c121957ee9 Mon Sep 17 00:00:00 2001 From: Blooper <122776166+Blo0per@users.noreply.github.com> Date: Fri, 24 Mar 2023 21:54:38 +0200 Subject: [PATCH 021/236] Update fi.lua Update fi.lua - Blooper --- [core]/esx_skin/locales/fi.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/[core]/esx_skin/locales/fi.lua b/[core]/esx_skin/locales/fi.lua index a7f6164b..30865ba0 100644 --- a/[core]/esx_skin/locales/fi.lua +++ b/[core]/esx_skin/locales/fi.lua @@ -1,6 +1,6 @@ Locales['fi'] = { - ['skin_menu'] = 'ulkonäkö', - ['use_rotate_view'] = 'paina ~INPUT_FRONTEND_LS~ tai ~INPUT_CHARACTER_WHEEL~ liikutaaksesi kameraa.', - ['skin'] = 'vaihda ulkonäköä', - ['saveskin'] = 'talleta ulkonäkö tiedostoon', + ['skin_menu'] = 'Ulkonäkö', + ['use_rotate_view'] = 'Paina ~INPUT_FRONTEND_LS~ tai ~INPUT_CHARACTER_WHEEL~ liikutaaksesi kameraa.', + ['skin'] = 'Muokkaa ulkonäköä', + ['saveskin'] = 'Tallenna', } From 41131212ddf6a2afbb0c18f21e486fdcb962bdd1 Mon Sep 17 00:00:00 2001 From: Blooper <122776166+Blo0per@users.noreply.github.com> Date: Fri, 24 Mar 2023 22:07:33 +0200 Subject: [PATCH 022/236] Updated ### _Correctly translated into Finnish._ --- [core]/skinchanger/locales/fi.lua | 146 +++++++++++++++--------------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/[core]/skinchanger/locales/fi.lua b/[core]/skinchanger/locales/fi.lua index 9f676c7a..f826049e 100644 --- a/[core]/skinchanger/locales/fi.lua +++ b/[core]/skinchanger/locales/fi.lua @@ -1,76 +1,76 @@ Locales['fi'] = { - ['sex'] = 'sukupuoli', - ['face'] = 'kasvot', - ['skin'] = 'iho', - ['wrinkles'] = 'rypyt', - ['wrinkle_thickness'] = 'ryppyjen paksuus', - ['beard_type'] = 'parta tyyli', - ['beard_size'] = 'parran koko', - ['beard_color_1'] = 'parran väri 1', - ['beard_color_2'] = 'parran väri 2', - ['hair_1'] = 'hiukset 1', - ['hair_2'] = 'hiukset 2', - ['hair_color_1'] = 'hiuksien väri 1', - ['hair_color_2'] = 'hiuksien väri 2', + ['sex'] = 'Sukupuoli', + ['face'] = 'Kasvot', + ['skin'] = 'Iho', + ['wrinkles'] = 'Rypyt', + ['wrinkle_thickness'] = 'Ryppyjen vahvuus', + ['beard_type'] = 'Parta tyyli', + ['beard_size'] = 'Parran koko', + ['beard_color_1'] = 'Parran väri 1', + ['beard_color_2'] = 'Parran väri 2', + ['hair_1'] = 'Hiukset 1', + ['hair_2'] = 'Hiukset 2', + ['hair_color_1'] = 'Hiuksien väri 1', + ['hair_color_2'] = 'Hiuksien väri 2', ['eye_color'] = 'Silmien väri', - ['eyebrow_type'] = 'kulmakarva tyyli', - ['eyebrow_size'] = 'kulmakarvojen tiheys', - ['eyebrow_color_1'] = 'kulmakarvojen väri 1', - ['eyebrow_color_2'] = 'kulmakarvojen väri 2', - ['makeup_type'] = 'meikki tyyli', - ['makeup_thickness'] = 'meikin paksuus', - ['makeup_color_1'] = 'meikin väri 1', - ['makeup_color_2'] = 'meikin väri 2', - ['lipstick_type'] = 'huulipuna tyyli', - ['lipstick_thickness'] = 'huulipunan paksuus', - ['lipstick_color_1'] = 'huulipunan väri 1', - ['lipstick_color_2'] = 'huulipunan väri 2', - ['ear_accessories'] = 'korvakorut', - ['ear_accessories_color'] = 'korvakorujen väri', - ['tshirt_1'] = 't-Paita 1', - ['tshirt_2'] = 't-Paita 2', - ['torso_1'] = 'paita 1', - ['torso_2'] = 'paita 2', - ['decals_1'] = 'kerros 1', - ['decals_2'] = 'kerros 2', - ['arms'] = 'kädet', - ['arms_2'] = 'kädet 2', - ['pants_1'] = 'housut 1', - ['pants_2'] = 'housut 2', - ['shoes_1'] = 'kengät 1', - ['shoes_2'] = 'kengät 2', - ['mask_1'] = 'maski 1', - ['mask_2'] = 'maski 2', - ['bproof_1'] = 'luotiliivi 1', - ['bproof_2'] = 'luotiliivi 2', - ['chain_1'] = 'korut 1', - ['chain_2'] = 'korut 2', - ['helmet_1'] = 'kypärät 1', - ['helmet_2'] = 'kypärät 2', - ['watches_1'] = 'kellot 1', - ['watches_2'] = 'kellot 2', - ['bracelets_1'] = 'rannekkeet 1', - ['bracelets_2'] = 'rannekkeet 2', - ['glasses_1'] = 'lasit 1', - ['glasses_2'] = 'lasit 2', - ['bag'] = 'reput', - ['bag_color'] = 'repun väri', - ['blemishes'] = 'pisamat', - ['blemishes_size']= 'pisamien paksuus', - ['ageing'] = 'ikääntyminen', - ['ageing_1'] = 'ikääntyminen paksuus', - ['blush'] = 'punastuminen', - ['blush_1'] = 'punastumisen paksuus', - ['blush_color'] = 'punastumisen väri', - ['complexion'] = 'pigmentti', - ['complexion_1'] = 'pigmentin paksuus', - ['sun'] = 'rusketus', - ['sun_1'] = 'rusketus paksuus', - ['freckles'] = 'pilkut', - ['freckles_1'] = 'pilkkujen paksuus', - ['chest_hair'] = 'rintakarvat', - ['chest_hair_1'] = 'rintakarvojen tiheys', - ['chest_color'] = 'rintakarvojen väri', - ['bodyb'] = 'pisamat kehossa', - ['bodyb_size'] = 'kehopisamien paksuus', + ['eyebrow_type'] = 'Kulmakarva tyyli', + ['eyebrow_size'] = 'Kulmakarvojen tiheys', + ['eyebrow_color_1'] = 'Kulmakarvojen väri 1', + ['eyebrow_color_2'] = 'Kulmakarvojen väri 2', + ['makeup_type'] = 'Meikki tyyli', + ['makeup_thickness'] = 'Meikin vahvuus', + ['makeup_color_1'] = 'Meikin väri 1', + ['makeup_color_2'] = 'Meikin väri 2', + ['lipstick_type'] = 'Huulipuna tyyli', + ['lipstick_thickness'] = 'Huulipunan vahvuus', + ['lipstick_color_1'] = 'Huulipunan väri 1', + ['lipstick_color_2'] = 'Huulipunan väri 2', + ['ear_accessories'] = 'Korvakorut', + ['ear_accessories_color'] = 'Korvakorujen väri', + ['tshirt_1'] = 'T-paita 1', + ['tshirt_2'] = 'T-paita 2', + ['torso_1'] = 'Paita 1', + ['torso_2'] = 'Paita 2', + ['decals_1'] = 'Kerros 1', + ['decals_2'] = 'Kerros 2', + ['arms'] = 'Kädet', + ['arms_2'] = 'Kädet 2', + ['pants_1'] = 'Housut 1', + ['pants_2'] = 'Housut 2', + ['shoes_1'] = 'Kengät 1', + ['shoes_2'] = 'Kengät 2', + ['mask_1'] = 'Maski 1', + ['mask_2'] = 'Maski 2', + ['bproof_1'] = 'Luotiliivi 1', + ['bproof_2'] = 'Luotiliivi 2', + ['chain_1'] = 'Korut 1', + ['chain_2'] = 'Korut 2', + ['helmet_1'] = 'Kypärät 1', + ['helmet_2'] = 'Kypärät 2', + ['watches_1'] = 'Kellot 1', + ['watches_2'] = 'Kellot 2', + ['bracelets_1'] = 'Rannekkeet 1', + ['bracelets_2'] = 'Rannekkeet 2', + ['glasses_1'] = 'Lasit 1', + ['glasses_2'] = 'Lasit 2', + ['bag'] = 'Reput', + ['bag_color'] = 'Repun väri', + ['blemishes'] = 'Pisamat', + ['blemishes_size']= 'Pisamien vahvuus', + ['ageing'] = 'Ikääntyminen', + ['ageing_1'] = 'Ikääntyminen vahvuus', + ['blush'] = 'Punastuminen', + ['blush_1'] = 'Punastumisen vahvuus', + ['blush_color'] = 'Punastumisen väri', + ['complexion'] = 'Pigmentti', + ['complexion_1'] = 'Pigmentin vahvuus', + ['sun'] = 'Rusketus', + ['sun_1'] = 'Rusketus paksuus', + ['freckles'] = 'Pilkut', + ['freckles_1'] = 'Pilkkujen vahvuus', + ['chest_hair'] = 'Rintakarvat', + ['chest_hair_1'] = 'Rintakarvojen tiheys', + ['chest_color'] = 'Rintakarvojen väri', + ['bodyb'] = 'Pisamat kehossa', + ['bodyb_size'] = 'Kehopisamien vahvuus', } From e8883a8a6bd92c8b0ec755c63b75f51436b3b01f Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Fri, 24 Mar 2023 23:15:08 +0100 Subject: [PATCH 023/236] refactor(esx_context): slight optimization --- [core]/esx_context/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/[core]/esx_context/index.html b/[core]/esx_context/index.html index 67670963..78f14c84 100644 --- a/[core]/esx_context/index.html +++ b/[core]/esx_context/index.html @@ -269,7 +269,7 @@ } if (ele.input) { - if (ele.inputType == "radio") { + if (ele.inputType === "radio") { for (let j = 0; j < ele.inputValues.length; j++) { let v = ele.inputValues[j]; let container = CreateElement("label", "container", div); @@ -390,8 +390,8 @@ }); window.addEventListener("keydown", (e) => { - if (e.key == "Escape" || e.key == "Backspace") { - if (e.target.tagName.toLowerCase() == "input") { + if (e.key === "Escape" || e.key === "Backspace") { + if (e.target.tagName.toLowerCase() === "input") { return; } From 18a7ccca234b79898fb6e950f5b14cfae89cb466 Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Fri, 24 Mar 2023 23:15:17 +0100 Subject: [PATCH 024/236] refactor(esx_menu_default): slight optimization --- [core]/esx_menu_default/html/js/app.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/[core]/esx_menu_default/html/js/app.js b/[core]/esx_menu_default/html/js/app.js index d53e3de8..9d5ea98b 100644 --- a/[core]/esx_menu_default/html/js/app.js +++ b/[core]/esx_menu_default/html/js/app.js @@ -18,7 +18,7 @@ ESX_MENU.pos = {}; ESX_MENU.open = function (namespace, name, data) { - if (typeof ESX_MENU.opened[namespace] == "undefined") { + if (typeof ESX_MENU.opened[namespace] === "undefined") { ESX_MENU.opened[namespace] = {}; } @@ -26,12 +26,12 @@ ESX_MENU.close(namespace, name); } - if (typeof ESX_MENU.pos[namespace] == "undefined") { + if (typeof ESX_MENU.pos[namespace] === "undefined") { ESX_MENU.pos[namespace] = {}; } for (let i = 0; i < data.elements.length; i++) { - if (typeof data.elements[i].type == "undefined") { + if (typeof data.elements[i].type === "undefined") { data.elements[i].type = "default"; } } @@ -72,8 +72,8 @@ for (let i = 0; i < ESX_MENU.focus.length; i++) { if ( - ESX_MENU.focus[i].namespace == namespace && - ESX_MENU.focus[i].name == name + ESX_MENU.focus[i].namespace === namespace && + ESX_MENU.focus[i].name === name ) { ESX_MENU.focus.splice(i, 1); break; @@ -104,7 +104,7 @@ case "slider": { element.isSlider = true; element.sliderLabel = - typeof element.options == "undefined" + typeof element.options === "undefined" ? element.value : element.options[element.value]; @@ -296,7 +296,7 @@ break; case "slider": { - let min = typeof elem.min == "undefined" ? 0 : elem.min; + let min = typeof elem.min === "undefined" ? 0 : elem.min; if (elem.value > min) { elem.value--; From a6f33fa5276ef7f5a00055ddaa99d27bca5700e7 Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Fri, 24 Mar 2023 23:15:24 +0100 Subject: [PATCH 025/236] refactor(esx_menu_dialog): slight optimization --- [core]/esx_menu_dialog/html/js/app.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/[core]/esx_menu_dialog/html/js/app.js b/[core]/esx_menu_dialog/html/js/app.js index 5186bcf7..c8081a35 100644 --- a/[core]/esx_menu_dialog/html/js/app.js +++ b/[core]/esx_menu_dialog/html/js/app.js @@ -15,7 +15,7 @@ ESX_MENU.pos = {}; ESX_MENU.open = function (namespace, name, data) { - if (typeof ESX_MENU.opened[namespace] == "undefined") { + if (typeof ESX_MENU.opened[namespace] === "undefined") { ESX_MENU.opened[namespace] = {}; } @@ -23,15 +23,15 @@ ESX_MENU.close(namespace, name); } - if (typeof ESX_MENU.pos[namespace] == "undefined") { + if (typeof ESX_MENU.pos[namespace] === "undefined") { ESX_MENU.pos[namespace] = {}; } - if (typeof data.type == "undefined") { + if (typeof data.type === "undefined") { data.type = "default"; } - if (typeof data.align == "undefined") { + if (typeof data.align === "undefined") { data.align = "top-left"; } @@ -65,8 +65,8 @@ for (let i = 0; i < ESX_MENU.focus.length; i++) { if ( - ESX_MENU.focus[i].namespace == namespace && - ESX_MENU.focus[i].name == name + ESX_MENU.focus[i].namespace === namespace && + ESX_MENU.focus[i].name === name ) { ESX_MENU.focus.splice(i, 1); break; From f61dbec742176c68731d7fcd55ed74cd30939e7b Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Fri, 24 Mar 2023 23:15:30 +0100 Subject: [PATCH 026/236] refactor(esx_menu_list): slight optimization --- [core]/esx_menu_list/html/js/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/[core]/esx_menu_list/html/js/app.js b/[core]/esx_menu_list/html/js/app.js index 72e0e3ee..1a5a9122 100644 --- a/[core]/esx_menu_list/html/js/app.js +++ b/[core]/esx_menu_list/html/js/app.js @@ -23,7 +23,7 @@ ESX_MENU.data = {}; ESX_MENU.open = function (namespace, name, data) { - if (typeof ESX_MENU.opened[namespace] == "undefined") { + if (typeof ESX_MENU.opened[namespace] === "undefined") { ESX_MENU.opened[namespace] = {}; } @@ -49,8 +49,8 @@ for (let i = 0; i < ESX_MENU.focus.length; i++) { if ( - ESX_MENU.focus[i].namespace == namespace && - ESX_MENU.focus[i].name == name + ESX_MENU.focus[i].namespace === namespace && + ESX_MENU.focus[i].name === name ) { ESX_MENU.focus.splice(i, 1); break; @@ -68,7 +68,7 @@ $(menuContainer).hide(); for (let namespace in ESX_MENU.opened) { - if (typeof ESX_MENU.data[namespace] == "undefined") { + if (typeof ESX_MENU.data[namespace] === "undefined") { ESX_MENU.data[namespace] = {}; } From e8211bd096f9c5288000ffe5ee622df7e3b51c8a Mon Sep 17 00:00:00 2001 From: Blooper <122776166+Blo0per@users.noreply.github.com> Date: Sat, 25 Mar 2023 14:42:25 +0200 Subject: [PATCH 027/236] fi.js ### _fi.js is missing. Here is fi.js._ --- [core]/esx_multicharacter/html/locales/fi.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 [core]/esx_multicharacter/html/locales/fi.js diff --git a/[core]/esx_multicharacter/html/locales/fi.js b/[core]/esx_multicharacter/html/locales/fi.js new file mode 100644 index 00000000..2daf5ea3 --- /dev/null +++ b/[core]/esx_multicharacter/html/locales/fi.js @@ -0,0 +1,8 @@ +const translate = new Object(); + +translate.name = "Nimi"; +translate.job = "Työ"; +translate.bank = "Pankki"; +translate.money = "Käteinen"; +translate.gender = "Sukupuoli"; +translate.dob = "Syntymäaika"; From 7ac1b50e07fc5697644a1780e2cd5e95acd849f7 Mon Sep 17 00:00:00 2001 From: DyroS3 <64310374+DyroS3@users.noreply.github.com> Date: Sat, 25 Mar 2023 21:09:04 +0800 Subject: [PATCH 028/236] Create sc.js --- [core]/esx_multicharacter/html/locales/sc.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 [core]/esx_multicharacter/html/locales/sc.js diff --git a/[core]/esx_multicharacter/html/locales/sc.js b/[core]/esx_multicharacter/html/locales/sc.js new file mode 100644 index 00000000..8caa5a2a --- /dev/null +++ b/[core]/esx_multicharacter/html/locales/sc.js @@ -0,0 +1,8 @@ +const translate = new Object(); + +translate.name = "我的姓名"; +translate.job = "我的工作"; +translate.bank = "银行存款"; +translate.money = "持有现金"; +translate.gender = "我的性别"; +translate.dob = "出生日期"; From 5626e54547e9313a124c1157bba3368e9bff2fdf Mon Sep 17 00:00:00 2001 From: Blooper <122776166+Blo0per@users.noreply.github.com> Date: Sat, 25 Mar 2023 16:23:36 +0200 Subject: [PATCH 029/236] fi.lua ### _fi.lua is missing. Here is fi.lua._ --- [core]/esx_multicharacter/locales/fi.lua | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 [core]/esx_multicharacter/locales/fi.lua diff --git a/[core]/esx_multicharacter/locales/fi.lua b/[core]/esx_multicharacter/locales/fi.lua new file mode 100644 index 00000000..ad8ecb7f --- /dev/null +++ b/[core]/esx_multicharacter/locales/fi.lua @@ -0,0 +1,33 @@ +Locales["en"] = { + ["male"] = "Mies", + ["female"] = "Nainen", + ["select_char"] = "Valitse hahmo", + ["select_char_description"] = "Valitse hahmo, jolla haluat pelata.", + ["create_char"] = "Uusi hahmo", + ["char_play"] = "Pelaa", + ["char_play_description"] = "Jatka kaupunkiin.", + ["char_disabled"] = "Ei käytössä", + ["char_disabled_description"] = "Tämä hahmo on käyttökelvoton.", + ["char_delete"] = "Poista", + ["char_delete_description"] = "Poista tämä hahmo pysyvästi.", + ["char_delete_confirmation"] = "Vahvista poistaminen.", + ["char_delete_confirmation_description"] = "Oletko varma, että poistat valitun hahmon?", + ["char_delete_yes_description"] = "Kyllä, olen varma, että poistan valitun hahmon", + ["char_delete_no_description"] = "Ei, Palaa hahmojen valintaan", + ["character"] = "Hahmo: %s", + ["return"] = "Takaisin", + ["return_description"] = "Palaa hahmojen valintaan.", + ["command_setslots"] = "Määritä pelaajan multicharacter paikkojen määrä", + ["command_remslots"] = "Vähennä pelaajan multicharacter paikkojen määrää", + ["command_enablechar"] = "Muuta pelaajan tietty hahmo käyttöön", + ["command_disablechar"] = "Muuta pelaajan tietty hahmo pois käytöstä", + ["command_charslot"] = "Hahmon paikan numero", + ["command_identifier"] = "Pelaajan tunniste", + ["command_slots"] = "# paikoista", + ["slotsadd"] = "Lisäsit %s paikkaa kohteeseen %s", + ["slotsedit"] = "Olet määrittänyt %s kohteeseen %s", + ["slotsrem"] = "Poistit paikat kohteesta %s", + ["charenabled"] = "Otit käyttöön hahmon #%s / %s", + ["chardisabled"] = "Poistit hahmon #%s / %s käytöstä", + ["charnotfound"] = "Hahmoa #%s / %s ei ole olemassa", +} From 1ef3334ab67c6aaf6bcccbf847df620d83188f08 Mon Sep 17 00:00:00 2001 From: Blooper <122776166+Blo0per@users.noreply.github.com> Date: Sat, 25 Mar 2023 18:00:18 +0200 Subject: [PATCH 030/236] Update fi.lua --- [core]/esx_multicharacter/locales/fi.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/[core]/esx_multicharacter/locales/fi.lua b/[core]/esx_multicharacter/locales/fi.lua index ad8ecb7f..77125556 100644 --- a/[core]/esx_multicharacter/locales/fi.lua +++ b/[core]/esx_multicharacter/locales/fi.lua @@ -1,4 +1,4 @@ -Locales["en"] = { +Locales["fi"] = { ["male"] = "Mies", ["female"] = "Nainen", ["select_char"] = "Valitse hahmo", @@ -17,7 +17,7 @@ Locales["en"] = { ["character"] = "Hahmo: %s", ["return"] = "Takaisin", ["return_description"] = "Palaa hahmojen valintaan.", - ["command_setslots"] = "Määritä pelaajan multicharacter paikkojen määrä", + ["command_setslots"] = "Määritä pelaajan multicharacter paikkojen määrä", ["command_remslots"] = "Vähennä pelaajan multicharacter paikkojen määrää", ["command_enablechar"] = "Muuta pelaajan tietty hahmo käyttöön", ["command_disablechar"] = "Muuta pelaajan tietty hahmo pois käytöstä", @@ -28,6 +28,6 @@ Locales["en"] = { ["slotsedit"] = "Olet määrittänyt %s kohteeseen %s", ["slotsrem"] = "Poistit paikat kohteesta %s", ["charenabled"] = "Otit käyttöön hahmon #%s / %s", - ["chardisabled"] = "Poistit hahmon #%s / %s käytöstä", + ["chardisabled"] = "Poistit hahmon #%s / %s käytöstä", ["charnotfound"] = "Hahmoa #%s / %s ei ole olemassa", } From f92b31e3e9cf7519a6b583e6bc26ecca7e1c0377 Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Sun, 26 Mar 2023 10:41:32 +0200 Subject: [PATCH 031/236] refactor: addition of the few forgotten --- [core]/es_extended/html/js/wrapper.js | 2 +- [core]/es_extended/locale.js | 4 ++-- [core]/esx_context/index.html | 2 +- [core]/esx_identity/html/index.html | 2 +- [core]/esx_menu_default/html/js/app.js | 6 +++--- [core]/esx_menu_dialog/html/js/app.js | 4 ++-- [core]/esx_menu_list/html/js/app.js | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/[core]/es_extended/html/js/wrapper.js b/[core]/es_extended/html/js/wrapper.js index 92ee2785..e4c47650 100644 --- a/[core]/es_extended/html/js/wrapper.js +++ b/[core]/es_extended/html/js/wrapper.js @@ -27,7 +27,7 @@ chunk: chunk, }; - if (i == str.length - 1) data.end = true; + if (i === str.length - 1) data.end = true; $.post("http://" + namespace + "/__chunk", JSON.stringify(data)); } diff --git a/[core]/es_extended/locale.js b/[core]/es_extended/locale.js index 4b5390f8..e47e4345 100644 --- a/[core]/es_extended/locale.js +++ b/[core]/es_extended/locale.js @@ -20,7 +20,7 @@ function _U() { } // Has the locale file been set? - if (locale.length == 0) { + if (locale.length === 0) { console.log('locale.js: no locale has been set'); return 'locale.js: no locale has been set'; } @@ -32,7 +32,7 @@ function _U() { } // Do we need to format the string? - if (args.length == 1) { + if (args.length === 1) { return capitalize(locale[string]); } else { return formatString(args); diff --git a/[core]/esx_context/index.html b/[core]/esx_context/index.html index 78f14c84..cd967955 100644 --- a/[core]/esx_context/index.html +++ b/[core]/esx_context/index.html @@ -279,7 +279,7 @@ input.type = "radio"; input.name = i + 1; input.checked = - (ele.inputValue || ele.inputPlaceholder || -1) == v.value; + (ele.inputValue || ele.inputPlaceholder || -1) === v.value; let span = CreateElement("SPAN", "checkmark", container); diff --git a/[core]/esx_identity/html/index.html b/[core]/esx_identity/html/index.html index 0e38d430..aee90298 100644 --- a/[core]/esx_identity/html/index.html +++ b/[core]/esx_identity/html/index.html @@ -110,7 +110,7 @@ function TriggeredKey(e) { var keycode; if (window.event) keycode = window.event.keyCode; - if (window.event.keyCode == 13 || window.event.keyCode == 27) + if (window.event.keyCode === 13 || window.event.keyCode === 27) return false; } diff --git a/[core]/esx_menu_default/html/js/app.js b/[core]/esx_menu_default/html/js/app.js index 9d5ea98b..24db7603 100644 --- a/[core]/esx_menu_default/html/js/app.js +++ b/[core]/esx_menu_default/html/js/app.js @@ -115,7 +115,7 @@ break; } - if (i == ESX_MENU.pos[namespace][name]) { + if (i === ESX_MENU.pos[namespace][name]) { element.selected = true; } } @@ -229,7 +229,7 @@ menu.elements[ESX_MENU.pos[focused.namespace][focused.name]]; for (let i = 0; i < menu.elements.length; i++) { - if (i == ESX_MENU.pos[focused.namespace][focused.name]) { + if (i === ESX_MENU.pos[focused.namespace][focused.name]) { menu.elements[i].selected = true; } else { menu.elements[i].selected = false; @@ -265,7 +265,7 @@ menu.elements[ESX_MENU.pos[focused.namespace][focused.name]]; for (let i = 0; i < menu.elements.length; i++) { - if (i == ESX_MENU.pos[focused.namespace][focused.name]) { + if (i === ESX_MENU.pos[focused.namespace][focused.name]) { menu.elements[i].selected = true; } else { menu.elements[i].selected = false; diff --git a/[core]/esx_menu_dialog/html/js/app.js b/[core]/esx_menu_dialog/html/js/app.js index c8081a35..bcbd97fc 100644 --- a/[core]/esx_menu_dialog/html/js/app.js +++ b/[core]/esx_menu_dialog/html/js/app.js @@ -48,10 +48,10 @@ }); document.onkeyup = function (key) { - if (key.which == 27) { + if (key.which === 27) { // Escape key SendMessage(ESX_MENU.ResourceName, "menu_cancel", data); - } else if (key.which == 13) { + } else if (key.which === 13) { // Enter key SendMessage(ESX_MENU.ResourceName, "menu_submit", data); } diff --git a/[core]/esx_menu_list/html/js/app.js b/[core]/esx_menu_list/html/js/app.js index 1a5a9122..699185e6 100644 --- a/[core]/esx_menu_list/html/js/app.js +++ b/[core]/esx_menu_list/html/js/app.js @@ -201,7 +201,7 @@ }; document.onkeyup = function (data) { - if (data.which == 27) { + if (data.which === 27) { let focused = ESX_MENU.getFocused(); ESX_MENU.cancel(focused.namespace, focused.name); } From f961a659da38506702c85b0ae055ee1573a7320a Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 26 Mar 2023 17:24:31 +0200 Subject: [PATCH 032/236] format(esx_identity/locales): Reformat hu.lua --- [core]/esx_identity/locales/hu.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/[core]/esx_identity/locales/hu.lua b/[core]/esx_identity/locales/hu.lua index b68be2f3..1a556fe1 100644 --- a/[core]/esx_identity/locales/hu.lua +++ b/[core]/esx_identity/locales/hu.lua @@ -1,7 +1,7 @@ Locales["hu"] = { - ["show_active_character"] = "Aktív karakterek mutatása", - ["active_character"] = "Aktív karakter: %s", - ["error_active_character"] = "A név nem megfelelő", + ["show_active_character"] = "Aktív karakterek mutatása", + ["active_character"] = "Aktív karakter: %s", + ["error_active_character"] = "A név nem megfelelő", ["delete_character"] = "Töröld a karaktered és csinálj újat", ["deleted_character"] = "A karaktered törölve", ["error_delete_character"] = "Hiba történt a karakter törlésekor. Kérjük, lépjen kapcsolatba egy Adminisztrátorral.", @@ -30,9 +30,9 @@ Locales["hu"] = { ["missing_identity"] = "Hiba történt a karaktered betöltésekor! \n Hibakód: hiányzik az identitás \n és \nNem úgy tűnik, hogy hiányzik a személyazonosságod, próbálkozz újra.", ["deleted_identity"] = "A karaktered törölve", ["already_registered"] = "Már regisztráltál.", - ["invalid_firstname_format"] = "Érvénytelen formátum (Keresztnév): Próbáld újra.", - ["invalid_lastname_format"] = "Érvénytelen formátum (Vezetéknév): Próbáld újra.", - ["invalid_dob_format"] = "Érvénytelen formátum (Születési Idő): Próbáld újra.", - ["invalid_sex_format"] = "Érvénytelen formátum (Nem): Próbáld újra.", - ["invalid_height_format"] = "Érvénytelen formátum (Magasság): Próbáld újra." + ["invalid_firstname_format"] = "Érvénytelen formátum (Keresztnév): Próbáld újra.", + ["invalid_lastname_format"] = "Érvénytelen formátum (Vezetéknév): Próbáld újra.", + ["invalid_dob_format"] = "Érvénytelen formátum (Születési Idő): Próbáld újra.", + ["invalid_sex_format"] = "Érvénytelen formátum (Nem): Próbáld újra.", + ["invalid_height_format"] = "Érvénytelen formátum (Magasság): Próbáld újra." } From e0cc63ec52b55bee9a246606955294f2580539e3 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 26 Mar 2023 17:27:16 +0200 Subject: [PATCH 033/236] Remove all br localizations --- [core]/es_extended/locales/br.lua | 228 ----------------------------- [core]/esx_identity/locales/hu.lua | 2 +- [core]/esx_skin/locales/br.lua | 6 - [core]/skinchanger/locales/br.lua | 76 ---------- 4 files changed, 1 insertion(+), 311 deletions(-) delete mode 100644 [core]/es_extended/locales/br.lua delete mode 100644 [core]/esx_skin/locales/br.lua delete mode 100644 [core]/skinchanger/locales/br.lua diff --git a/[core]/es_extended/locales/br.lua b/[core]/es_extended/locales/br.lua deleted file mode 100644 index a19f78be..00000000 --- a/[core]/es_extended/locales/br.lua +++ /dev/null @@ -1,228 +0,0 @@ -Locales['br'] = { - -- Inventory - ['inventory'] = 'inventário %s / %s', - ['use'] = 'usar', - ['give'] = 'dar', - ['remove'] = 'remover', - ['return'] = 'voltar', - ['give_to'] = 'dar para', - ['amount'] = 'quantidade', - ['giveammo'] = 'dar munição', - ['amountammo'] = 'quantidade de munição', - ['noammo'] = 'voce não tem todas essas munições!', - ['gave_item'] = 'voce deu %sx %s para %s', - ['received_item'] = 'voce recebeu %sx %s de %s', - ['gave_weapon'] = 'você deu %s para %s', - ['gave_weapon_ammo'] = 'você deu ~o~%sx %s para %s de %s', - ['gave_weapon_withammo'] = 'você deu %s com ~o~%sx %s para %s', - ['gave_weapon_hasalready'] = '%s já tem um(a) %s', - ['gave_weapon_noweapon'] = 'não tem essa arma %s', - ['received_weapon'] = 'você recebeu %s de %s', - ['received_weapon_ammo'] = 'você recebeu ~o~%sx %s para a sua(o seu) %s de %s', - ['received_weapon_withammo'] = 'você recebeu %s com ~o~%sx %s de %s', - ['received_weapon_hasalready'] = '%s tentou lhe dar uma %s, mas você já tem um(a)', - ['received_weapon_noweapon'] = '%s tentou lhe dar munição para %s, mas você não tem um(a)', - ['gave_account_money'] = 'voce deu $%s (%s) para %s', - ['received_account_money'] = 'voce recebeu $%s (%s) de %s', - ['amount_invalid'] = 'quantidade inválida', - ['players_nearby'] = 'nenhum cidadão por perto', - ['ex_inv_lim'] = 'ação não e possivel, excedendo o limite de estoque para %s', - ['imp_invalid_quantity'] = 'ação impossível, quantidade inválida', - ['imp_invalid_amount'] = 'ação impossível, valor invalido', - ['threw_standard'] = 'você jogou %sx %s', - ['threw_account'] = 'você jogou $%s %s', - ['threw_weapon'] = 'você jogou %s', - ['threw_weapon_ammo'] = 'você jogou %s com ~o~%sx %s', - ['threw_weapon_already'] = 'você já esta com essa arma', - ['threw_cannot_pickup'] = 'você não pode pegar porque seu inventário está cheio!', - ['threw_pickup_prompt'] = 'pressione E para pegar', - - -- Key mapping - ['keymap_showinventory'] = 'exibir inventario', - - -- Salary related - ['received_salary'] = 'voce recebeu seu salário: $%s ', - ['received_help'] = 'voce recebeu seu cheque de bem-estar: $%s ', - ['company_nomoney'] = 'a empresa em que voce esta empregado esta muito pobre para pagar seu salário', - ['received_paycheck'] = 'recebeu dinheiro', - ['bank'] = 'banco', - ['account_bank'] = 'banco', - ['account_black_money'] = 'dinheiro sujo', - ['account_money'] = 'dinheiro', - - ['act_imp'] = 'ação impossível', - ['in_vehicle'] = 'voce não pode dar nada para alguem no veículo', - - -- Commands - ['command_car'] = 'spawn um carro', - ['command_car_car'] = 'nome do carro', - ['command_cardel'] = 'excluir veículo', - ['command_cardel_radius'] = 'optional, delete every vehicle within the specified radius', - ['command_clear'] = 'limpar o chat', - ['command_clearall'] = 'limpar o chat para todos', - ['command_clearinventory'] = 'remover todos os itens do inventário', - ['command_clearloadout'] = 'remova todas as armas do carregamento', - ['command_giveaccountmoney'] = 'dar dinheiro da conta', - ['command_giveaccountmoney_account'] = 'conta', - ['command_giveaccountmoney_amount'] = 'amount', - ['command_giveaccountmoney_invalid'] = 'conta inválida', - ['command_giveitem'] = 'dar item', - ['command_giveitem_item'] = 'item', - ['command_giveitem_count'] = 'count', - ['command_giveweapon'] = 'dar arma', - ['command_giveweapon_weapon'] = 'arma', - ['command_giveweapon_ammo'] = 'ammo count', - ['command_giveweapon_hasalready'] = 'player already has that weapon', - ['command_giveweaponcomponent'] = 'give weapon component', - ['command_giveweaponcomponent_component'] = 'component name', - ['command_giveweaponcomponent_invalid'] = 'invalid weapon component', - ['command_giveweaponcomponent_hasalready'] = 'player already has that weapon component', - ['command_giveweaponcomponent_missingweapon'] = 'player does not have that weapon', - ['command_save'] = 'save a player to database', - ['command_saveall'] = 'save all players to database', - ['command_setaccountmoney'] = 'set account money for a player', - ['command_setaccountmoney_amount'] = 'amount of money to set', - ['command_setcoords'] = 'teleport to coordinates', - ['command_setcoords_x'] = 'x axis', - ['command_setcoords_y'] = 'y axis', - ['command_setcoords_z'] = 'z axis', - ['command_setjob'] = 'atribuir um trabalho a um usuario', - ['command_setjob_job'] = 'o trabalho que voce deseja atribuir', - ['command_setjob_grade'] = 'o nivel de emprego', - ['command_setjob_invalid'] = 'the job, grade or both are invalid', - ['command_setgroup'] = 'set player group', - ['command_setgroup_group'] = 'group name', - ['commanderror_argumentmismatch'] = 'argument count mismatch (passed %s, wanted %s)', - ['commanderror_argumentmismatch_number'] = 'argument #%s type mismatch (passed string, wanted number)', - ['commanderror_invaliditem'] = 'item invalido', - ['commanderror_invalidweapon'] = 'invalid weapon', - ['commanderror_console'] = 'that command can not be run from console', - ['commanderror_invalidcommand'] = '/%s is not an valid command!', - ['commanderror_invalidplayerid'] = 'there is no player online matching that server id', - ['commandgeneric_playerid'] = 'o ID do jogador', - ['command_giveammo_noweapon_found'] = '%s does not have that weapon', - ['command_giveammo_weapon'] = 'Weapon name', - ['command_giveammo_ammo'] = 'Ammo Quantity', - - -- Locale settings - ['locale_digit_grouping_symbol'] = ' ', - ['locale_currency'] = 'R$%s', - - -- Weapons - ['weapon_knife'] = 'faca', - ['weapon_nightstick'] = 'cacetete', - ['weapon_hammer'] = 'martelo', - ['weapon_bat'] = 'bastao', - ['weapon_golfclub'] = 'golf club', - ['weapon_crowbar'] = 'pe de cabra', - ['weapon_pistol'] = 'pistola', - ['weapon_combatpistol'] = 'pistola de combate', - ['weapon_appistol'] = 'ap pistola', - ['weapon_pistol50'] = 'pistola .50', - ['weapon_microsmg'] = 'micro smg', - ['weapon_smg'] = 'smg', - ['weapon_assaultsmg'] = 'smg de assalto', - ['weapon_assaultrifle'] = 'rifle de assalto', - ['weapon_carbinerifle'] = 'carabina rifle', - ['weapon_advancedrifle'] = 'rifle avançado', - ['weapon_mg'] = 'mg', - ['weapon_combatmg'] = 'combate mg', - ['weapon_pumpshotgun'] = 'espingarda', - ['weapon_sawnoffshotgun'] = 'espingarda serrada', - ['weapon_assaultshotgun'] = 'espingarda de assalto', - ['weapon_bullpupshotgun'] = 'espingarda de bullpup', - ['weapon_stungun'] = 'arma de choque', - ['weapon_sniperrifle'] = 'sniper rifle', - ['weapon_heavysniper'] = 'heavy sniper', - ['weapon_grenadelauncher'] = 'lançador de granada', - ['weapon_rpg'] = 'lançador de foguetes', - ['weapon_minigun'] = 'minigun', - ['weapon_grenade'] = 'granada', - ['weapon_stickybomb'] = 'bomba pegajosa', - ['weapon_smokegrenade'] = 'granada de fumaça', - ['weapon_bzgas'] = 'bz gas', - ['weapon_molotov'] = 'molotov', - ['weapon_fireextinguisher'] = 'extintor', - ['weapon_petrolcan'] = 'galao de combustivel', - ['weapon_ball'] = 'bola', - ['weapon_snspistol'] = 'sns pistol', - ['weapon_bottle'] = 'garrafa', - ['weapon_gusenberg'] = 'gusenberg sweeper', - ['weapon_specialcarbine'] = 'carabina especial', - ['weapon_heavypistol'] = 'heavy pistol', - ['weapon_bullpuprifle'] = 'bullpup rifle', - ['weapon_dagger'] = 'punhal', - ['weapon_vintagepistol'] = 'vintage pistol', - ['weapon_firework'] = 'fogos de artificio', - ['weapon_musket'] = 'mosquete', - ['weapon_heavyshotgun'] = 'heavy shotgun', - ['weapon_marksmanrifle'] = 'marksman rifle', - ['weapon_hominglauncher'] = 'homing launcher', - ['weapon_proxmine'] = 'mina de proximidade', - ['weapon_snowball'] = 'bola de neve', - ['weapon_flaregun'] = 'sinalizador', - ['weapon_combatpdw'] = 'combat pdw', - ['weapon_marksmanpistol'] = 'marksman pistol', - ['weapon_knuckle'] = 'soco ingles', - ['weapon_hatchet'] = 'machado', - ['weapon_railgun'] = 'railgun', - ['weapon_machete'] = 'facão', - ['weapon_machinepistol'] = 'machine pistol', - ['weapon_switchblade'] = 'canivete', - ['weapon_revolver'] = 'heavy revolver', - ['weapon_dbshotgun'] = 'espingarda de cano duplo', - ['weapon_compactrifle'] = 'compact rifle', - ['weapon_autoshotgun'] = 'auto shotgun', - ['weapon_battleaxe'] = 'battle axe', - ['weapon_compactlauncher'] = 'compact launcher', - ['weapon_minismg'] = 'mini smg', - ['weapon_pipebomb'] = 'bomba caseira', - ['weapon_poolcue'] = 'taco de sinuca', - ['weapon_wrench'] = 'chave de cano', - ['weapon_flashlight'] = 'laterna', - ['gadget_parachute'] = 'paraquedas', - ['weapon_flare'] = 'flare', - ['weapon_doubleaction'] = 'double-Action Revolver', - - -- Weapon Components - ['component_clip_default'] = 'aderência padrão', - ['component_clip_extended'] = 'aderência prolongada', - ['component_clip_drum'] = 'drum Magazine', - ['component_clip_box'] = 'box Magazine', - ['component_flashlight'] = 'lanterna', - ['component_scope'] = 'mira', - ['component_scope_advanced'] = 'mira avançada', - ['component_suppressor'] = 'supressor', - ['component_grip'] = 'grip', - ['component_luxary_finish'] = 'acabamento de arma de luxo', - - -- Weapon Ammo - ['ammo_rounds'] = 'round(s)', - ['ammo_shells'] = 'shell(s)', - ['ammo_charge'] = 'charge', - ['ammo_petrol'] = 'gallons of fuel', - ['ammo_firework'] = 'firework(s)', - ['ammo_rockets'] = 'rocket(s)', - ['ammo_grenadelauncher'] = 'grenade(s)', - ['ammo_grenade'] = 'grenade(s)', - ['ammo_stickybomb'] = 'bomb(s)', - ['ammo_pipebomb'] = 'bomb(s)', - ['ammo_smokebomb'] = 'bomb(s)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mine(s)', - ['ammo_bzgas'] = 'can(s)', - ['ammo_ball'] = 'ball(s)', - ['ammo_snowball'] = 'snowball(s)', - ['ammo_flare'] = 'flare(s)', - ['ammo_flaregun'] = 'flare(s)', - - -- Weapon Tints - ['tint_default'] = 'default skin', - ['tint_green'] = 'green skin', - ['tint_gold'] = 'gold skin', - ['tint_pink'] = 'pink skin', - ['tint_army'] = 'army skin', - ['tint_lspd'] = 'blue skin', - ['tint_orange'] = 'orange skin', - ['tint_platinum'] = 'platinum skin', -} diff --git a/[core]/esx_identity/locales/hu.lua b/[core]/esx_identity/locales/hu.lua index 1a556fe1..ec320d50 100644 --- a/[core]/esx_identity/locales/hu.lua +++ b/[core]/esx_identity/locales/hu.lua @@ -1,5 +1,5 @@ Locales["hu"] = { - ["show_active_character"] = "Aktív karakterek mutatása", + ["show_active_character"] = "Aktív karakterek mutatása", ["active_character"] = "Aktív karakter: %s", ["error_active_character"] = "A név nem megfelelő", ["delete_character"] = "Töröld a karaktered és csinálj újat", diff --git a/[core]/esx_skin/locales/br.lua b/[core]/esx_skin/locales/br.lua deleted file mode 100644 index 3e773cef..00000000 --- a/[core]/esx_skin/locales/br.lua +++ /dev/null @@ -1,6 +0,0 @@ -Locales['br'] = { - ['skin_menu'] = 'Skin Menu', - ['use_rotate_view'] = 'Use ~INPUT_FRONTEND_LS~ e ~INPUT_CHARACTER_WHEEL~ para girar a visão.', - ['skin'] = 'Trocar', - ['saveskin'] = 'Salvar', -} diff --git a/[core]/skinchanger/locales/br.lua b/[core]/skinchanger/locales/br.lua deleted file mode 100644 index 355e9664..00000000 --- a/[core]/skinchanger/locales/br.lua +++ /dev/null @@ -1,76 +0,0 @@ -Locales['br'] = { - ['sex'] = 'sexo', - ['face'] = 'rosto', - ['skin'] = 'pele', - ['wrinkles'] = 'rugas', - ['wrinkle_thickness'] = 'espessura das rugas', - ['beard_type'] = 'tipo de barba', - ['beard_size'] = 'tamanho da barba', - ['beard_color_1'] = 'cor da barba 1', - ['beard_color_2'] = 'cor da barba 2', - ['hair_1'] = 'cabelo 1', - ['hair_2'] = 'cabelo 2', - ['hair_color_1'] = 'cor do cabelo 1', - ['hair_color_2'] = 'cor do cabelo 2', - ['eyebrow_type'] = 'tipo de sobrancelha', - ['eye_color'] = 'cor dos olhos', - ['eyebrow_size'] = 'tamanho da sobrancelha', - ['eyebrow_color_1'] = 'cor da sobrancelha 1', - ['eyebrow_color_2'] = 'cor da sobrancelha 2', - ['makeup_type'] = 'tipo de maquiagem', - ['makeup_thickness'] = 'espessura da maquiagem', - ['makeup_color_1'] = 'cor da maquiagem 1', - ['makeup_color_2'] = 'cor da maquiagem 2', - ['lipstick_type'] = 'tipo de batom', - ['lipstick_thickness'] = 'espessura do batom', - ['lipstick_color_1'] = 'cor do batom 1', - ['lipstick_color_2'] = 'cor do batom 2', - ['ear_accessories'] = 'acessorios para orelha', - ['ear_accessories_color'] = 'cor dos acessorios', - ['tshirt_1'] = 'camiseta 1', - ['tshirt_2'] = 'camiseta 2', - ['torso_1'] = 'tronco 1', - ['torso_2'] = 'tronco 2', - ['decals_1'] = 'adesivos 1', - ['decals_2'] = 'adesivos 2', - ['arms'] = 'braços', - ['arms_2'] = 'braços 2', - ['pants_1'] = 'calça 1', - ['pants_2'] = 'calça 2', - ['shoes_1'] = 'calçados 1', - ['shoes_2'] = 'calçados 2', - ['mask_1'] = 'máscara 1', - ['mask_2'] = 'máscara 2', - ['bproof_1'] = 'colete 1', - ['bproof_2'] = 'colete 2', - ['chain_1'] = 'acessórios pescoço 1', - ['chain_2'] = 'acessórios pescoço 2', - ['helmet_1'] = 'capacete 1', - ['helmet_2'] = 'capacete 2', - ['watches_1'] = 'relógios 1', - ['watches_2'] = 'relógios 2', - ['bracelets_1'] = 'bracelets 1', - ['bracelets_2'] = 'bracelets 2', - ['glasses_1'] = 'óculos 1', - ['glasses_2'] = 'óculos 2', - ['bag'] = 'mochilas', - ['bag_color'] = 'cor das mochilas', - ['blemishes'] = 'manchas', - ['blemishes_size']= 'espessura das manchas', - ['ageing'] = 'envelhecimento', - ['ageing_1'] = 'espessura do envelhecimento', - ['blush'] = 'blush', - ['blush_1'] = 'espessura do blush', - ['blush_color'] = 'cor do blush', - ['complexion'] = 'pele', - ['complexion_1'] = 'pele espessura', - ['sun'] = 'bronzeado', - ['sun_1'] = 'quantidade do bronzeamento', - ['freckles'] = 'sardas', - ['freckles_1'] = 'sardas quantidade', - ['chest_hair'] = 'cabelo no peito', - ['chest_hair_1'] = 'quantidade de cabelo no peito', - ['chest_color'] = 'cor do cabelo no peito', - ['bodyb'] = 'manchas no corpo', - ['bodyb_size'] = 'espessura de manchas do corpo', -} From e5a312028a4fb04758455fba3b9f142619868742 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 26 Mar 2023 17:33:07 +0200 Subject: [PATCH 034/236] Formav v2.0 --- [core]/esx_identity/locales/hu.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/[core]/esx_identity/locales/hu.lua b/[core]/esx_identity/locales/hu.lua index ec320d50..6e5f9e9a 100644 --- a/[core]/esx_identity/locales/hu.lua +++ b/[core]/esx_identity/locales/hu.lua @@ -1,7 +1,7 @@ Locales["hu"] = { ["show_active_character"] = "Aktív karakterek mutatása", - ["active_character"] = "Aktív karakter: %s", - ["error_active_character"] = "A név nem megfelelő", + ["active_character"] = "Aktív karakter: %s", + ["error_active_character"] = "A név nem megfelelő", ["delete_character"] = "Töröld a karaktered és csinálj újat", ["deleted_character"] = "A karaktered törölve", ["error_delete_character"] = "Hiba történt a karakter törlésekor. Kérjük, lépjen kapcsolatba egy Adminisztrátorral.", @@ -30,9 +30,9 @@ Locales["hu"] = { ["missing_identity"] = "Hiba történt a karaktered betöltésekor! \n Hibakód: hiányzik az identitás \n és \nNem úgy tűnik, hogy hiányzik a személyazonosságod, próbálkozz újra.", ["deleted_identity"] = "A karaktered törölve", ["already_registered"] = "Már regisztráltál.", - ["invalid_firstname_format"] = "Érvénytelen formátum (Keresztnév): Próbáld újra.", - ["invalid_lastname_format"] = "Érvénytelen formátum (Vezetéknév): Próbáld újra.", - ["invalid_dob_format"] = "Érvénytelen formátum (Születési Idő): Próbáld újra.", - ["invalid_sex_format"] = "Érvénytelen formátum (Nem): Próbáld újra.", - ["invalid_height_format"] = "Érvénytelen formátum (Magasság): Próbáld újra." + ["invalid_firstname_format"] = "Érvénytelen formátum (Keresztnév): Próbáld újra.", + ["invalid_lastname_format"] = "Érvénytelen formátum (Vezetéknév): Próbáld újra.", + ["invalid_dob_format"] = "Érvénytelen formátum (Születési Idő): Próbáld újra.", + ["invalid_sex_format"] = "Érvénytelen formátum (Nem): Próbáld újra.", + ["invalid_height_format"] = "Érvénytelen formátum (Magasság): Próbáld újra." } From 3ef2786a90da58ae729ee246acbc7deac067fde8 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 26 Mar 2023 18:09:12 +0200 Subject: [PATCH 035/236] White line fix --- [core]/esx_skin/locales/sc.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/[core]/esx_skin/locales/sc.lua b/[core]/esx_skin/locales/sc.lua index 15b1a60f..00699034 100644 --- a/[core]/esx_skin/locales/sc.lua +++ b/[core]/esx_skin/locales/sc.lua @@ -4,4 +4,3 @@ Locales['en'] = { ['skin'] = '更换皮肤数据', ['saveskin'] = '保存皮肤数据', } - \ No newline at end of file From 8100d5e386f6e7b48b285b30ae519b1d69a7f50d Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 26 Mar 2023 18:09:44 +0200 Subject: [PATCH 036/236] White line fix --- [core]/esx_identity/locales/pt.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/[core]/esx_identity/locales/pt.lua b/[core]/esx_identity/locales/pt.lua index 0d5d6b4a..f4f7fdc5 100644 --- a/[core]/esx_identity/locales/pt.lua +++ b/[core]/esx_identity/locales/pt.lua @@ -36,4 +36,3 @@ Locales['pt'] = { ['invalid_sex_format'] = 'Formato inválido (Sexo): Porfavor tenta novamente!', ['invalid_height_format'] = 'Formato inválido (Altura): Porfavor tenta novamente!' } - \ No newline at end of file From 0d575ba5029049bfa0efbdd092cb9d993a658ff4 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 26 Mar 2023 18:09:58 +0200 Subject: [PATCH 037/236] White line fix --- [core]/esx_skin/locales/pt.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/[core]/esx_skin/locales/pt.lua b/[core]/esx_skin/locales/pt.lua index 663e09d7..0c693768 100644 --- a/[core]/esx_skin/locales/pt.lua +++ b/[core]/esx_skin/locales/pt.lua @@ -4,4 +4,3 @@ Locales['pt'] = { ['skin'] = 'alterar skin', ['saveskin'] = 'salvar a skin num ficheiro', } - \ No newline at end of file From 2223767c70a274d4ff1900c33bc5f71aab7fe75b Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 26 Mar 2023 18:10:14 +0200 Subject: [PATCH 038/236] Other white line fix --- [core]/skinchanger/locales/pt.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/[core]/skinchanger/locales/pt.lua b/[core]/skinchanger/locales/pt.lua index 6d0e4fef..de6e7978 100644 --- a/[core]/skinchanger/locales/pt.lua +++ b/[core]/skinchanger/locales/pt.lua @@ -98,4 +98,3 @@ Locales['pt'] = { ['bodyb_extra'] = 'extra das manchas no corpo', ['bodyb_extra_thickness'] = 'cor do extra das manchas no corpo', } - \ No newline at end of file From f035e2f230ab0370906513c42f4623f57c643ae5 Mon Sep 17 00:00:00 2001 From: Blooper <122776166+Blo0per@users.noreply.github.com> Date: Sun, 26 Mar 2023 21:42:25 +0100 Subject: [PATCH 039/236] Update fi.lua ### _Correctly translated fi.lua_ --- [core]/esx_identity/locales/fi.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/[core]/esx_identity/locales/fi.lua b/[core]/esx_identity/locales/fi.lua index 0f384b50..98454f4e 100644 --- a/[core]/esx_identity/locales/fi.lua +++ b/[core]/esx_identity/locales/fi.lua @@ -28,6 +28,6 @@ Locales['fi'] = { ['data_incorrect'] = 'Data syötetty väärin. Yritä uudelleen.', ['invalid_format'] = 'Data syötetty väärässä muodossa. Yritä uudelleen.', ['no_identifier'] = 'Hahmosi lataamisessa ilmeni ongelma!\nVirhekoodi: identifier-missing\n\nVirhekoodin syytä ei tiedetä, joten ota yhteyttä ylläpitoon.', - ['missing_identity'] = 'Hahmosi lataamisessa ilmeni ongelma!\nError code: identity-missing\n\nNäyttää että hahmoasi ei ole olemassa. Kokeile yhdistää uudelleen tai ota yhteyttä ylläpitoon', - ['deleted_identity'] = 'Hahmosi on poistetu. Yhdistä uudestaan palvelimelle luodaksesi uuden hahmosi.' + ['missing_identity'] = 'Hahmosi lataamisessa ilmeni ongelma!\nVirhekoodi: identity-missing\n\nNäyttää siltä että hahmoasi ei ole olemassa. Kokeile yhdistää uudelleen tai ota yhteyttä ylläpitoon', + ['deleted_identity'] = 'Hahmosi on poistetu. Yhdistä palvelimelle uudestaan luodaksesi uusi hahmo.' } From 885889ca87a98c89994822c2f9e45e6919f2cc8f Mon Sep 17 00:00:00 2001 From: Blooper <122776166+Blo0per@users.noreply.github.com> Date: Sun, 26 Mar 2023 22:39:32 +0100 Subject: [PATCH 040/236] Update fi.lua ### _Finnished fi.lua_ --- [core]/es_extended/locales/fi.lua | 406 +++++++++++++++--------------- 1 file changed, 203 insertions(+), 203 deletions(-) diff --git a/[core]/es_extended/locales/fi.lua b/[core]/es_extended/locales/fi.lua index cec26e6c..dec71c80 100644 --- a/[core]/es_extended/locales/fi.lua +++ b/[core]/es_extended/locales/fi.lua @@ -1,228 +1,228 @@ Locales['fi'] = { -- Inventory - ['inventory'] = 'reppu %s / %s', - ['use'] = 'käytä', - ['give'] = 'anna', - ['remove'] = 'poista', - ['return'] = 'takaisin', - ['give_to'] = 'give to', - ['amount'] = 'määrä', - ['giveammo'] = 'anna ammuksia', - ['amountammo'] = 'ammusten määrä', - ['noammo'] = 'sinulla ei ole ammuksia!', - ['gave_item'] = 'sinä annoit %sx %s henkilölle %s', - ['received_item'] = 'sinä sait %sx %s henkilöltä %s', - ['gave_weapon'] = 'you gave 1x %s to %s', - ['gave_weapon_ammo'] = 'you gave ~o~%sx %s for %s to %s', - ['gave_weapon_withammo'] = 'you gave 1x %s with ~o~%sx %s to %s', - ['gave_weapon_hasalready'] = '%s already have an %s', - ['gave_weapon_noweapon'] = '%s does not have that weapon', - ['received_weapon'] = 'you received 1x %s from %s', - ['received_weapon_ammo'] = 'you received ~o~%sx %s for your %s from %s', - ['received_weapon_withammo'] = 'you received 1x %s with ~o~%sx %s from %s', - ['received_weapon_hasalready'] = '%s attempted to give you an %s, but you already have one', - ['received_weapon_noweapon'] = '%s attempted to give you ammo for an %s, but you don\'t have one', - ['gave_account_money'] = 'sinä annoit $%s (%s) henkilölle %s', - ['received_account_money'] = 'sinä sait $%s (%s) henkilöltä %s', - ['amount_invalid'] = 'virheellinen määrä', - ['players_nearby'] = 'ei pelaajia lähettyvillä', - ['ex_inv_lim'] = 'toiminto mahdoton, reppu alkaa olla täysi %s', - ['imp_invalid_quantity'] = 'toiminto mahdoton, virheellinen määrä', - ['imp_invalid_amount'] = 'toiminto mahdoton, virhellinen summa', - ['threw_standard'] = 'you threw %sx %s', - ['threw_account'] = 'you threw $%s %s', - ['threw_weapon'] = 'you threw 1x %s', - ['threw_weapon_ammo'] = 'you threw 1x %s with ~o~%sx %s', - ['threw_weapon_already'] = 'you already carry the same weapon', - ['threw_cannot_pickup'] = 'you cannot pickup that because your inventory is full!', - ['threw_pickup_prompt'] = 'press E to pickup', + ['inventory'] = 'Reppu %s / %s', + ['use'] = 'Käytä', + ['give'] = 'Anna', + ['remove'] = 'Poista', + ['return'] = 'Takaisin', + ['give_to'] = 'Anna henkilölle', + ['amount'] = 'Määrä', + ['giveammo'] = 'Anna ammuksia', + ['amountammo'] = 'Ammusten määrä', + ['noammo'] = 'Sinulla ei ole ammuksia!', + ['gave_item'] = 'Sinä annoit %sx %s henkilölle %s', + ['received_item'] = 'Sinä sait %sx %s henkilöltä %s', + ['gave_weapon'] = 'Sinä annoit 1x %s henkilölle %s', + ['gave_weapon_ammo'] = 'Annoit ~o~%sx %s kohteelle %s henkilölle %s', + ['gave_weapon_withammo'] = 'Sinä annoit 1x %s ammuksella ~o~%sx %s henkilölle %s', + ['gave_weapon_hasalready'] = '%s omistaa jo %s', + ['gave_weapon_noweapon'] = '%s ei ole kyseistä asetta', + ['received_weapon'] = 'Vastaanotit 1x %s henkilöltä %s', + ['received_weapon_ammo'] = 'Sinä sait ~o~%sx %s sinun %s varten henkilöltä %s', + ['received_weapon_withammo'] = 'Sinä sait 1x %s ammuksella ~o~%sx %s henkilöltä %s', + ['received_weapon_hasalready'] = '%s yritti antaa sinulle %s, mutta sinulla on jo sellainen', + ['received_weapon_noweapon'] = '%s yritti antaa sinulle ammuksia %s:lle, mutta sinulla ei ole sellaista', + ['gave_account_money'] = 'Sinä annoit $%s (%s) henkilölle %s', + ['received_account_money'] = 'Sinä sait $%s (%s) henkilöltä %s', + ['amount_invalid'] = 'Virheellinen määrä', + ['players_nearby'] = 'Ei pelaajia lähettyvillä', + ['ex_inv_lim'] = 'Toiminto mahdoton, reppu alkaa olla täysi %s', + ['imp_invalid_quantity'] = 'Toiminto mahdoton, virheellinen määrä', + ['imp_invalid_amount'] = 'Toiminto mahdoton, virhellinen summa', + ['threw_standard'] = 'Sinä heitit %sx %s', + ['threw_account'] = 'Sinä heitit $%s %s', + ['threw_weapon'] = 'Sinä heitit 1x %s', + ['threw_weapon_ammo'] = 'Heitit 1x %s ammuksella ~o~%sx %s', + ['threw_weapon_already'] = 'Sinulla on jo sama ase', + ['threw_cannot_pickup'] = 'Et voi kerätä sitä, koska reppusi on täynnä', + ['threw_pickup_prompt'] = 'Paina E kerätäksesi', -- Key mapping - ['keymap_showinventory'] = 'show Inventory', + ['keymap_showinventory'] = 'Avaa reppu', -- Salary related - ['received_salary'] = 'sinä vastaanotit palkkaa: $%s', - ['received_help'] = 'sinä vastaanotit valtion tukea: $%s', - ['company_nomoney'] = 'yritys jolle teet töitä on köyhä eikä voi maksaa palkkaasi', - ['received_paycheck'] = 'sait palkan', - ['bank'] = 'pankki', - ['account_bank'] = 'bank', - ['account_black_money'] = 'dirty Money', - ['account_money'] = 'cash', + ['received_salary'] = 'Vastaanotit palkkaa: $%s', + ['received_help'] = 'Vastaanotit valtion tukea: $%s', + ['company_nomoney'] = 'Yrityksellä jolle teet töitä ei ole varaa maksaa palkkaasi', + ['received_paycheck'] = 'Sait palkan', + ['bank'] = 'Pankki', + ['account_bank'] = 'Pankki', + ['account_black_money'] = 'Likainen raha', + ['account_money'] = 'Käteinen', - ['act_imp'] = 'toiminto mahdoton', - ['in_vehicle'] = 'et voi antaa ajoneuvossa olevalle mitään', + ['act_imp'] = 'Toiminto mahdoton', + ['in_vehicle'] = 'Et voi antaa ajoneuvossa olevalle mitään', -- Commands - ['command_car'] = 'spawn an vehicle', - ['command_car_car'] = 'vehicle spawn name or hash', - ['command_cardel'] = 'delete vehicle in proximity', - ['command_cardel_radius'] = 'optional, delete every vehicle within the specified radius', - ['command_clear'] = 'clear chat', - ['command_clearall'] = 'clear chat for all players', - ['command_clearinventory'] = 'clear player inventory', - ['command_clearloadout'] = 'clear a player loadout', - ['command_giveaccountmoney'] = 'give account money', - ['command_giveaccountmoney_account'] = 'valid account name', - ['command_giveaccountmoney_amount'] = 'amount to add', - ['command_giveaccountmoney_invalid'] = 'invalid account name', - ['command_giveitem'] = 'give an item to a player', - ['command_giveitem_item'] = 'item name', - ['command_giveitem_count'] = 'item count', - ['command_giveweapon'] = 'give a weapon to a player', - ['command_giveweapon_weapon'] = 'weapon name', - ['command_giveweapon_ammo'] = 'ammo count', - ['command_giveweapon_hasalready'] = 'player already has that weapon', - ['command_giveweaponcomponent'] = 'give weapon component', - ['command_giveweaponcomponent_component'] = 'component name', - ['command_giveweaponcomponent_invalid'] = 'invalid weapon component', - ['command_giveweaponcomponent_hasalready'] = 'player already has that weapon component', - ['command_giveweaponcomponent_missingweapon'] = 'player does not have that weapon', - ['command_save'] = 'save a player to database', - ['command_saveall'] = 'save all players to database', - ['command_setaccountmoney'] = 'set account money for a player', - ['command_setaccountmoney_amount'] = 'amount of money to set', - ['command_setcoords'] = 'teleport to coordinates', - ['command_setcoords_x'] = 'x axis', - ['command_setcoords_y'] = 'y axis', - ['command_setcoords_z'] = 'z axis', - ['command_setjob'] = 'set job for a player', - ['command_setjob_job'] = 'job name', - ['command_setjob_grade'] = 'job grade', - ['command_setjob_invalid'] = 'the job, grade or both are invalid', - ['command_setgroup'] = 'set player group', - ['command_setgroup_group'] = 'group name', - ['commanderror_argumentmismatch'] = 'argument count mismatch (passed %s, wanted %s)', - ['commanderror_argumentmismatch_number'] = 'argument #%s type mismatch (passed string, wanted number)', - ['commanderror_invaliditem'] = 'invalid item name', - ['commanderror_invalidweapon'] = 'invalid weapon', - ['commanderror_console'] = 'that command can not be run from console', - ['commanderror_invalidcommand'] = '/%s is not an valid command!', - ['commanderror_invalidplayerid'] = 'there is no player online matching that server id', - ['commandgeneric_playerid'] = 'player id', - ['command_giveammo_noweapon_found'] = '%s does not have that weapon', - ['command_giveammo_weapon'] = 'Weapon name', - ['command_giveammo_ammo'] = 'Ammo Quantity', + ['command_car'] = 'Luo ajoneuvo', + ['command_car_car'] = 'Ajoneuvon nimi tai hash', + ['command_cardel'] = 'Poistaa ajoneuvon läheltä', + ['command_cardel_radius'] = 'Valinnainen, poista kaikki ajoneuvot määritetyllä säteellä', + ['command_clear'] = 'Tyhjennä keskustelu', + ['command_clearall'] = 'Tyhjennä keskustelu kaikilta pelaajilta', + ['command_clearinventory'] = 'Tyhjennä pelaajan reppu', + ['command_clearloadout'] = 'Tyhjennä pelaajan varustus', + ['command_giveaccountmoney'] = 'Anna tilirahaa', + ['command_giveaccountmoney_account'] = 'Kelvollinen tilin nimi', + ['command_giveaccountmoney_amount'] = 'Lisättävä määrä', + ['command_giveaccountmoney_invalid'] = 'Virheellinen tili nimi', + ['command_giveitem'] = 'Anna pelaajalle esine', + ['command_giveitem_item'] = 'Esineen nimi', + ['command_giveitem_count'] = 'Esineiden määrä', + ['command_giveweapon'] = 'Anna pelaajalle ase', + ['command_giveweapon_weapon'] = 'Aseen nimi', + ['command_giveweapon_ammo'] = 'Ammusten määrä', + ['command_giveweapon_hasalready'] = 'Pelaajalla on jo kyseinen ase', + ['command_giveweaponcomponent'] = 'Anna aseen komponentti', + ['command_giveweaponcomponent_component'] = 'Komponentin nimi', + ['command_giveweaponcomponent_invalid'] = 'Virheellinen aseen komponentti', + ['command_giveweaponcomponent_hasalready'] = 'Pelaajalla on jo kyseinen asekomponentti', + ['command_giveweaponcomponent_missingweapon'] = 'Pelaajalla ei ole kyseistä asetta', + ['command_save'] = 'Talenna pelaaja tietokantaan', + ['command_saveall'] = 'Tallenna kaikki pelaajat tietokantaan', + ['command_setaccountmoney'] = 'Aseta tilirahaa pelaajalle', + ['command_setaccountmoney_amount'] = 'Asetettava rahamäärä', + ['command_setcoords'] = 'Teleporttaa koordinaatteihin', + ['command_setcoords_x'] = 'x akseli', + ['command_setcoords_y'] = 'y akseli', + ['command_setcoords_z'] = 'z akseli', + ['command_setjob'] = 'Aseta pelaajalle työ', + ['command_setjob_job'] = 'Työ', + ['command_setjob_grade'] = 'Arvo', + ['command_setjob_invalid'] = 'Työ ja arvo tai molemmat ovat virheellisiä', + ['command_setgroup'] = 'Aseta pelaajan ryhmä', + ['command_setgroup_group'] = 'Ryhmän nimi', + ['commanderror_argumentmismatch'] = 'Argumenttien määrä ei täsmää (hyväksytty %s, haluttu %s)', + ['commanderror_argumentmismatch_number'] = 'Argumentin #%s tyyppi ei täsmää (syötetty merkkijono, haluttu numero)', + ['commanderror_invaliditem'] = 'Virheellinen esineen nimi', + ['commanderror_invalidweapon'] = 'Virheellinen ase', + ['commanderror_console'] = 'Komentoa ei voi suorittaa konsolissa', + ['commanderror_invalidcommand'] = '/%s ei ole kelvollinen komento!', + ['commanderror_invalidplayerid'] = 'Palvelimella ei ole pelaajaa, joka vastaa annetua ID', + ['commandgeneric_playerid'] = 'Pelaajan ID', + ['command_giveammo_noweapon_found'] = '%s ei ole sitä asetta', + ['command_giveammo_weapon'] = 'Aseen nimi', + ['command_giveammo_ammo'] = 'Ammusten määrä', -- Locale settings ['locale_digit_grouping_symbol'] = ' ', ['locale_currency'] = '$%s', -- Weapons - ['weapon_knife'] = 'veitsi', - ['weapon_nightstick'] = 'pamppu', - ['weapon_hammer'] = 'vasara', - ['weapon_bat'] = 'pesäpallomaila', - ['weapon_golfclub'] = 'golf maila', - ['weapon_crowbar'] = 'sorkkarauta', - ['weapon_pistol'] = 'pistooli', - ['weapon_combatpistol'] = 'taistelu pistooli', - ['weapon_appistol'] = 'automaatti pistooli', + ['weapon_knife'] = 'Veitsi', + ['weapon_nightstick'] = 'Pamppu', + ['weapon_hammer'] = 'Vasara', + ['weapon_bat'] = 'Pesäpallomaila', + ['weapon_golfclub'] = 'Golf maila', + ['weapon_crowbar'] = 'Sorkkarauta', + ['weapon_pistol'] = 'Pistooli', + ['weapon_combatpistol'] = 'Taistelu pistooli', + ['weapon_appistol'] = 'Automaatti pistooli', ['weapon_pistol50'] = '50 kaliiperinen pistooli', - ['weapon_microsmg'] = 'mikro konepistooli', - ['weapon_smg'] = 'konepistooli', - ['weapon_assaultsmg'] = 'rynnäkkö konepistooli', - ['weapon_assaultrifle'] = 'rynnäkkökivääri', - ['weapon_carbinerifle'] = 'karbiini kivääri', - ['weapon_advancedrifle'] = 'edistynyt kivääri', - ['weapon_mg'] = 'konekivääri', - ['weapon_combatmg'] = 'rynnäkkö konekivääri', - ['weapon_pumpshotgun'] = 'pumppu haulikko', - ['weapon_sawnoffshotgun'] = 'katkaistuhaulikko', - ['weapon_assaultshotgun'] = 'hyökkäyshaulikko', - ['weapon_bullpupshotgun'] = 'bullpup haulikko', - ['weapon_stungun'] = 'tainutusase', - ['weapon_sniperrifle'] = 'tarkkuuskivääri', - ['weapon_heavysniper'] = 'raskas tarkkuuskivääri', - ['weapon_grenadelauncher'] = 'kranaatinheitin', - ['weapon_rpg'] = 'raketinheitin', - ['weapon_minigun'] = 'minigun', - ['weapon_grenade'] = 'kranaatti', - ['weapon_stickybomb'] = 'tahma pommi', - ['weapon_smokegrenade'] = 'savu kranaatti', - ['weapon_bzgas'] = 'bz-kaasu', - ['weapon_molotov'] = 'polttopullo', - ['weapon_fireextinguisher'] = 'palosammutin', - ['weapon_petrolcan'] = 'jerrykannu', - ['weapon_ball'] = 'pallo', - ['weapon_snspistol'] = 'pienpistooli', - ['weapon_bottle'] = 'pullo', - ['weapon_gusenberg'] = 'tommy gun', + ['weapon_microsmg'] = 'Mikro konepistooli', + ['weapon_smg'] = 'Konepistooli', + ['weapon_assaultsmg'] = 'Rynnäkkö konepistooli', + ['weapon_assaultrifle'] = 'Rynnäkkökivääri', + ['weapon_carbinerifle'] = 'Karbiini kivääri', + ['weapon_advancedrifle'] = 'Edistynyt kivääri', + ['weapon_mg'] = 'Konekivääri', + ['weapon_combatmg'] = 'Rynnäkkö konekivääri', + ['weapon_pumpshotgun'] = 'Pumppu haulikko', + ['weapon_sawnoffshotgun'] = 'Katkaistuhaulikko', + ['weapon_assaultshotgun'] = 'Hyökkäyshaulikko', + ['weapon_bullpupshotgun'] = 'Bullpup haulikko', + ['weapon_stungun'] = 'Tainutusase', + ['weapon_sniperrifle'] = 'Tarkkuuskivääri', + ['weapon_heavysniper'] = 'Raskas tarkkuuskivääri', + ['weapon_grenadelauncher'] = 'Kranaatinheitin', + ['weapon_rpg'] = 'Raketinheitin', + ['weapon_minigun'] = 'Minigun', + ['weapon_grenade'] = 'Kranaatti', + ['weapon_stickybomb'] = 'Tahma pommi', + ['weapon_smokegrenade'] = 'Savukranaatti', + ['weapon_bzgas'] = 'Bz-kaasu', + ['weapon_molotov'] = 'Polttopullo', + ['weapon_fireextinguisher'] = 'Palosammutin', + ['weapon_petrolcan'] = 'Jerrykannu', + ['weapon_ball'] = 'Pallo', + ['weapon_snspistol'] = 'Pienpistooli', + ['weapon_bottle'] = 'Pullo', + ['weapon_gusenberg'] = 'Thompson-konepistooli', ['weapon_specialcarbine'] = 'G86C', - ['weapon_heavypistol'] = 'raskas pistooli', - ['weapon_bullpuprifle'] = 'bullpup kivääri', - ['weapon_dagger'] = 'tikari', - ['weapon_vintagepistol'] = 'vanha pistooli', - ['weapon_firework'] = 'ilotulitus', - ['weapon_musket'] = 'musketti', - ['weapon_heavyshotgun'] = 'raskas haulikko', - ['weapon_marksmanrifle'] = 'marksman kivääri', - ['weapon_hominglauncher'] = 'ohjautuva raketinheitin', - ['weapon_proxmine'] = 'lähellä räjähtävä miina', - ['weapon_snowball'] = 'lumipallo', - ['weapon_flaregun'] = 'valopyssy', - ['weapon_combatpdw'] = 'rynnäkkö pdw', - ['weapon_marksmanpistol'] = 'marksman pistooli', - ['weapon_knuckle'] = 'nyrkkirauta', - ['weapon_hatchet'] = 'kirves', - ['weapon_railgun'] = 'raidetykki', - ['weapon_machete'] = 'viidakkoveitsi', - ['weapon_machinepistol'] = 'konepistooli', - ['weapon_switchblade'] = 'stiletti', - ['weapon_revolver'] = 'raskas revolveri', - ['weapon_dbshotgun'] = 'kakspiippunen haulikko', - ['weapon_compactrifle'] = 'pikku AK', - ['weapon_autoshotgun'] = 'automaattinen haulikko', + ['weapon_heavypistol'] = 'Raskas pistooli', + ['weapon_bullpuprifle'] = 'Bullpup kivääri', + ['weapon_dagger'] = 'Tikari', + ['weapon_vintagepistol'] = 'Vanha pistooli', + ['weapon_firework'] = 'Ilotulite', + ['weapon_musket'] = 'Musketti', + ['weapon_heavyshotgun'] = 'Raskas haulikko', + ['weapon_marksmanrifle'] = 'Marksman kivääri', + ['weapon_hominglauncher'] = 'Ohjautuva raketinheitin', + ['weapon_proxmine'] = 'Lähellä räjähtävä miina', + ['weapon_snowball'] = 'Lumipallo', + ['weapon_flaregun'] = 'Valopistooli', + ['weapon_combatpdw'] = 'Rynnäkkö pdw', + ['weapon_marksmanpistol'] = 'Marksman pistooli', + ['weapon_knuckle'] = 'Nyrkkirauta', + ['weapon_hatchet'] = 'Kirves', + ['weapon_railgun'] = 'Raidetykki', + ['weapon_machete'] = 'Viidakkoveitsi', + ['weapon_machinepistol'] = 'Konepistooli', + ['weapon_switchblade'] = 'Stiletti', + ['weapon_revolver'] = 'Raskas revolveri', + ['weapon_dbshotgun'] = 'Kaksipiippunen haulikko', + ['weapon_compactrifle'] = 'Pikku AK', + ['weapon_autoshotgun'] = 'Automaattinen haulikko', ['weapon_battleaxe'] = 'Taistelukirves', - ['weapon_compactlauncher'] = 'pien kranaatinheitin', - ['weapon_minismg'] = 'mini konepistooli', - ['weapon_pipebomb'] = 'putkipommi', - ['weapon_poolcue'] = 'biljardimaila', - ['weapon_wrench'] = 'putkipihdit', - ['weapon_flashlight'] = 'taskulamppu', - ['gadget_parachute'] = 'laskuvarjo', - ['weapon_flare'] = 'hätäraketti', - ['weapon_doubleaction'] = 'double-Action Revolver', + ['weapon_compactlauncher'] = 'Pien kranaatinheitin', + ['weapon_minismg'] = 'Mini konepistooli', + ['weapon_pipebomb'] = 'Putkipommi', + ['weapon_poolcue'] = 'Biljardimaila', + ['weapon_wrench'] = 'Putkipihdit', + ['weapon_flashlight'] = 'Taskulamppu', + ['gadget_parachute'] = 'Laskuvarjo', + ['weapon_flare'] = 'Hätäraketti', + ['weapon_doubleaction'] = 'Double action revolveri', -- Weapon Components - ['component_clip_default'] = 'default Clip', - ['component_clip_extended'] = 'extended Clip', - ['component_clip_drum'] = 'drum Magazine', - ['component_clip_box'] = 'box Magazine', - ['component_flashlight'] = 'flashlight', - ['component_scope'] = 'scope', - ['component_scope_advanced'] = 'advanced Scope', - ['component_suppressor'] = 'suppressor', - ['component_grip'] = 'grip', - ['component_luxary_finish'] = 'luxary Weapon Finish', + ['component_clip_default'] = 'Oletus lipas', + ['component_clip_extended'] = 'Paranneltu lipas', + ['component_clip_drum'] = 'Rumpulipas', + ['component_clip_box'] = 'Laatikkolipas', + ['component_flashlight'] = 'Taskulamppu', + ['component_scope'] = 'Tähtäin', + ['component_scope_advanced'] = 'Paranneltu tähtäin', + ['component_suppressor'] = 'Äänenvaimennin', + ['component_grip'] = 'Kahva', + ['component_luxary_finish'] = 'Luksus ulkokuori', -- Weapon Ammo - ['ammo_rounds'] = 'round(s)', - ['ammo_shells'] = 'shell(s)', - ['ammo_charge'] = 'charge', - ['ammo_petrol'] = 'gallons of fuel', - ['ammo_firework'] = 'firework(s)', - ['ammo_rockets'] = 'rocket(s)', - ['ammo_grenadelauncher'] = 'grenade(s)', - ['ammo_grenade'] = 'grenade(s)', - ['ammo_stickybomb'] = 'bomb(s)', - ['ammo_pipebomb'] = 'bomb(s)', - ['ammo_smokebomb'] = 'bomb(s)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mine(s)', - ['ammo_bzgas'] = 'can(s)', - ['ammo_ball'] = 'ball(s)', - ['ammo_snowball'] = 'snowball(s)', - ['ammo_flare'] = 'flare(s)', - ['ammo_flaregun'] = 'flare(s)', + ['ammo_rounds'] = 'Ammukset(s)', + ['ammo_shells'] = 'Hylsy(s)', + ['ammo_charge'] = 'Lataa', + ['ammo_petrol'] = 'Gallonaa polttoainetta', + ['ammo_firework'] = 'Ilotulite(s)', + ['ammo_rockets'] = 'Raketti(s)', + ['ammo_grenadelauncher'] = 'Kranaatti(s)', + ['ammo_grenade'] = 'Kranaatti(s)', + ['ammo_stickybomb'] = 'Pommi(s)', + ['ammo_pipebomb'] = 'Pommi(s)', + ['ammo_smokebomb'] = 'Pommi(s)', + ['ammo_molotov'] = 'Polttopullo(s)', + ['ammo_proxmine'] = 'Miina(s)', + ['ammo_bzgas'] = 'Tölkki(s)', + ['ammo_ball'] = 'Pallo(s)', + ['ammo_snowball'] = 'Lumipallo(s)', + ['ammo_flare'] = 'Valoraketti(s)', + ['ammo_flaregun'] = 'Valoraketti(s)', -- Weapon Tints - ['tint_default'] = 'default skin', - ['tint_green'] = 'green skin', - ['tint_gold'] = 'gold skin', - ['tint_pink'] = 'pink skin', - ['tint_army'] = 'army skin', - ['tint_lspd'] = 'blue skin', - ['tint_orange'] = 'orange skin', - ['tint_platinum'] = 'platinum skin', + ['tint_default'] = 'Oletus ulkokuori', + ['tint_green'] = 'Vihreä ulkokuori', + ['tint_gold'] = 'Kultainen ulkokuori', + ['tint_pink'] = 'Vaaleanpunainen ulkokuori', + ['tint_army'] = 'Armeija ulkokuori', + ['tint_lspd'] = 'Sininen ulkokuori', + ['tint_orange'] = 'Oranssi ulkokuori', + ['tint_platinum'] = 'Platina ulkokuori', } From 921c435c619aaf97c047fc8a7c0f17b66a3bd374 Mon Sep 17 00:00:00 2001 From: wasabirobby <79250053+wasabirobby@users.noreply.github.com> Date: Mon, 27 Mar 2023 20:10:40 -0700 Subject: [PATCH 041/236] refactor (ESX.CreateJob) --- [core]/es_extended/server/functions.lua | 41 +++++++++++++++++-------- 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index be2fead0..5c02683f 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -314,21 +314,36 @@ function ESX.DiscordLogFields(name, title, color, fields) end function ESX.CreateJob(tb) - -- tb (array) containing: name (string), label (string) and grades (table) + -- tb (table) containing: name (string), label (string) and grades (table) -- grades (table) contains: grade (int), name (string), label (string), salary (int) - local job = {} - MySQL.Async.execute('INSERT IGNORE INTO jobs (name, label) VALUES (@name, @label)', {['name'] = tb.name, ['label'] = tb.label}) - job = {name = tb.name, label = tb.label, grades = {}} - for k,v in pairs(tb.grades) do - job.grades[tostring(v.grade)] = {job_name = tb.name, grade = v.grade, name = v.name, label = v.label, v.salary, skin_male = {}, skin_female = {}} - MySQL.Async.execute('INSERT IGNORE INTO job_grades (job_name, grade, name, label, salary) VALUES (@job_name, @grade, @name, @label, @salary)', { - ['@job_name'] = tb.name, - ['@grade'] = v.grade, - ['@name'] = v.name, - ['@label'] = v.label, - ['@salary'] = v.salary - }) + + if tb == nil or next(tb) == nil then + return print('[^3WARNING^7] paramter must be a table.') end + + if tb.name == nil then + return print('[^3WARNING^7] table must contain name(string) for the job name') + end + + if tb.label == nil then + return print('[^3WARNING^7] table must contain label(string) for the job name label') + end + + if tb.grades == nil or next(tb.grades) == nil then + return print('[^3WARNING^7] table must contain grades(table)!') + end + + local parameters = {} + local job = {name = tb.name, label = tb.label, grades = {}} + + for k,v in pairs(tb.grades) do + job.grades[tostring(v.grade)] = {job_name = tb.name, grade = v.grade, name = v.name, label = v.label, salary = v.salary, skin_male = {}, skin_female = {}} + parameters[#parameters + 1] = { tb.name, v.grade, v.name, v.label, v.salary} + end + + MySQL.insert('INSERT IGNORE INTO jobs (name, label) VALUES (?, ?)', {tb.name, tb.label}) + MySQL.prepare('INSERT INTO job_grades (job_name, grade, name, label, salary) VALUES (?, ?, ?, ?, ?)', parameters) + ESX.Jobs[tb.name] = job end From f7d0cc754ad89c9da0cb189138c7f7f4b1b82d9e Mon Sep 17 00:00:00 2001 From: DyroS3 <64310374+DyroS3@users.noreply.github.com> Date: Wed, 29 Mar 2023 14:44:45 +0800 Subject: [PATCH 042/236] Add files via upload --- [core]/esx_multicharacter/html/locales/zh-cn.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 [core]/esx_multicharacter/html/locales/zh-cn.js diff --git a/[core]/esx_multicharacter/html/locales/zh-cn.js b/[core]/esx_multicharacter/html/locales/zh-cn.js new file mode 100644 index 00000000..9cb34a83 --- /dev/null +++ b/[core]/esx_multicharacter/html/locales/zh-cn.js @@ -0,0 +1,8 @@ + const translate = new Object(); + +translate.name = "我的姓名"; +translate.job = "我的职业"; +translate.bank = "银行存款"; +translate.money = "手持现金"; +translate.gender = "我的性别"; +translate.dob = "出生日期"; From 1ab3c6ad9d687796e949d4617bd04fc5176ea32e Mon Sep 17 00:00:00 2001 From: pk <123796031+pelaoloko@users.noreply.github.com> Date: Wed, 29 Mar 2023 18:25:36 -0300 Subject: [PATCH 043/236] Update es.lua --- [core]/skinchanger/locales/es.lua | 196 +++++++++++++++--------------- 1 file changed, 98 insertions(+), 98 deletions(-) diff --git a/[core]/skinchanger/locales/es.lua b/[core]/skinchanger/locales/es.lua index 0f5c74f2..e707b2df 100644 --- a/[core]/skinchanger/locales/es.lua +++ b/[core]/skinchanger/locales/es.lua @@ -1,100 +1,100 @@ Locales['es'] = { - ['sex'] = 'sexo', - ['mom'] = 'cara de la madre', - ['dad'] = 'cara del padre', - ['resemblance'] = 'parecido', - ['skin_tone'] = 'tono de piel', - ['nose_1'] = 'ancho de la nariz', - ['nose_2'] = 'altura del pico de la nariz', - ['nose_3'] = 'longitud del pico de la nariz', - ['nose_4'] = 'altura del hueso de la nariz', - ['nose_5'] = 'bajada del pico de la nariz', - ['nose_6'] = 'torsión del hueso de la nariz', - ['cheeks_1'] = 'altura de los pómulos', - ['cheeks_2'] = 'anchura de los pómulos', - ['cheeks_3'] = 'ancho de las mejillas', - ['lip_fullness'] = 'relleno de los labios', - ['jaw_bone_width'] = 'anchura del hueso de la mandíbula', - ['jaw_bone_length'] = 'longitud del hueso de la mandíbula', - ['chin_height'] = 'altura de la barbilla', - ['chin_length'] = 'longitud de la barbilla', - ['chin_width'] = 'ancho de la barbilla', - ['chin_hole'] = 'tamaño del agujero de la barbilla', - ['neck_thickness'] = 'grosor del cuello', - ['wrinkles'] = 'arrugas', - ['wrinkle_thickness'] = 'cantidad de arrugas', - ['beard_type'] = 'tipo de barba', - ['beard_size'] = 'tamaño de la barba', - ['beard_color_1'] = 'color de la barba 1', - ['beard_color_2'] = 'color de la barba 2', - ['hair_1'] = 'pelo 1', - ['hair_2'] = 'pelo 2', - ['hair_color_1'] = 'color de pelo 1', - ['hair_color_2'] = 'color de pelo 2', - ['eye_color'] = 'color de ojos', - ['eye_squint'] = 'achinado de ojos', - ['eyebrow_type'] = 'tipo de ceja', - ['eyebrow_size'] = 'tipo de ceja', - ['eyebrow_color_1'] = 'color de ceja 1', - ['eyebrow_color_2'] = 'color de ceja 2', - ['eyebrow_depth'] = 'profundidad de las cejas', - ['eyebrow_height'] = 'altura de las cejas', - ['makeup_type'] = 'tipo de maquillaje', - ['makeup_thickness'] = 'cantidad de maquillaje', - ['makeup_color_1'] = 'color de maquillaje 1', - ['makeup_color_2'] = 'color de maquillaje 2', - ['lipstick_type'] = 'tipo de pintalabios', - ['lipstick_thickness'] = 'cantidad de pintalabios', - ['lipstick_color_1'] = 'color de pintalabios 1', - ['lipstick_color_2'] = 'color de pintalabios 2', - ['ear_accessories'] = 'accesorios de oreja', - ['ear_accessories_color'] = 'color de accesorios', - ['tshirt_1'] = 'camiseta 1', - ['tshirt_2'] = 'camiseta 2', - ['torso_1'] = 'torso 1', - ['torso_2'] = 'torso 2', - ['decals_1'] = 'tatuajes 1', - ['decals_2'] = 'tatuajes 2', - ['arms'] = 'brazos', - ['arms_2'] = 'brazos 2', - ['pants_1'] = 'pantalones 1', - ['pants_2'] = 'pantalones 2', - ['shoes_1'] = 'calzado 1', - ['shoes_2'] = 'calzado 2', - ['mask_1'] = 'mascara 1', - ['mask_2'] = 'mascara 2', - ['bproof_1'] = 'chaleco antibalas 1', - ['bproof_2'] = 'chaleco antibalas 2', - ['chain_1'] = 'cadena 1', - ['chain_2'] = 'cadena 2', - ['helmet_1'] = 'casco 1', - ['helmet_2'] = 'casco 2', - ['watches_1'] = 'reloj 1', - ['watches_2'] = 'reloj 2', - ['bracelets_1'] = 'pulseras 1', - ['bracelets_2'] = 'pulseras 2', - ['glasses_1'] = 'gafas 1', - ['glasses_2'] = 'gafas 2', - ['bag'] = 'mochila', - ['bag_color'] = 'color mochila', - ['blemishes'] = 'manchas', - ['blemishes_size'] = 'cantidad de manchas', - ['ageing'] = 'envejecimiento', - ['ageing_1'] = 'cantidad de envejecimiento', - ['blush'] = 'colorete', - ['blush_1'] = 'cantidad de colorete', - ['blush_color'] = 'color de colorete', - ['complexion'] = 'complexión', - ['complexion_1'] = 'cantidad de complexión', - ['sun'] = 'bronceado', - ['sun_1'] = 'cantidad de bronceado', - ['freckles'] = 'pecas', - ['freckles_1'] = 'cantidad de pecas', - ['chest_hair'] = 'vello corporal', - ['chest_hair_1'] = 'cantidad de vello corporal', - ['chest_color'] = 'color de vello corporal', - ['bodyb'] = 'manchas en el cuerpo', - ['bodyb_size'] = 'tipo de manchas en el cuerpo', - ['bodyb_extra'] = 'efecto de manchas en el cuerpo', - ['bodyb_extra_thickness'] = 'espesor de manchas efecto cuerpo', + ['sex'] = 'Sexo', + ['mom'] = 'Herencia de la Madre', + ['dad'] = 'Herencia del Padre', + ['resemblance'] = 'Parecido', + ['skin_tone'] = 'Tono de piel', + ['nose_1'] = 'Ancho de la Nariz', + ['nose_2'] = 'Altura del pico de la Nariz', + ['nose_3'] = 'Longitud del pico de la Nariz', + ['nose_4'] = 'Altura del hueso de la Nariz', + ['nose_5'] = 'Bajada del pico de la Nariz', + ['nose_6'] = 'Torsión del hueso de la Nariz', + ['cheeks_1'] = 'Altura de los pómulos', + ['cheeks_2'] = 'Anchura de los pómulos', + ['cheeks_3'] = 'Ancho de las mejillas', + ['lip_fullness'] = 'Relleno de los labios', + ['jaw_bone_width'] = 'Anchura del hueso de la mandíbula', + ['jaw_bone_length'] = 'Longitud del hueso de la mandíbula', + ['chin_height'] = 'Altura de la barbilla', + ['chin_length'] = 'Longitud de la barbilla', + ['chin_width'] = 'Ancho de la barbilla', + ['chin_hole'] = 'Tamaño del agujero de la barbilla', + ['neck_thickness'] = 'Grosor del cuello', + ['wrinkles'] = 'Arrugas', + ['wrinkle_thickness'] = 'Cantidad de arrugas', + ['beard_type'] = 'Tipo de barba', + ['beard_size'] = 'Tamaño de la barba', + ['beard_color_1'] = 'Color de la barba 1', + ['beard_color_2'] = 'Color de la barba 2', + ['hair_1'] = 'Pelo 1', + ['hair_2'] = 'Pelo 2', + ['hair_color_1'] = 'Color de pelo 1', + ['hair_color_2'] = 'Color de pelo 2', + ['eye_color'] = 'Color de ojos', + ['eye_squint'] = 'Apertura de ojos', + ['eyebrow_type'] = 'Tipo de ceja', + ['eyebrow_size'] = 'Tipo de ceja', + ['eyebrow_color_1'] = 'Color de ceja 1', + ['eyebrow_color_2'] = 'Color de ceja 2', + ['eyebrow_depth'] = 'Profundidad de las cejas', + ['eyebrow_height'] = 'Altura de las cejas', + ['makeup_type'] = 'Tipo de maquillaje', + ['makeup_thickness'] = 'Cantidad de maquillaje', + ['makeup_color_1'] = 'Color de maquillaje 1', + ['makeup_color_2'] = 'Color de maquillaje 2', + ['lipstick_type'] = 'Tipo de pintalabios', + ['lipstick_thickness'] = 'Cantidad de pintalabios', + ['lipstick_color_1'] = 'Color de pintalabios 1', + ['lipstick_color_2'] = 'Color de pintalabios 2', + ['ear_accessories'] = 'Accesorios de oreja', + ['ear_accessories_color'] = 'Color de accesorios', + ['tshirt_1'] = 'Camiseta 1', + ['tshirt_2'] = 'Camiseta 2', + ['torso_1'] = 'Torso 1', + ['torso_2'] = 'Torso 2', + ['decals_1'] = 'Tatuajes 1', + ['decals_2'] = 'Tatuajes 2', + ['arms'] = 'Brazos', + ['arms_2'] = 'Brazos 2', + ['pants_1'] = 'Pantalones 1', + ['pants_2'] = 'Pantalones 2', + ['shoes_1'] = 'Calzado 1', + ['shoes_2'] = 'Calzado 2', + ['mask_1'] = 'Mascara 1', + ['mask_2'] = 'Mascara 2', + ['bproof_1'] = 'Chaleco antibalas 1', + ['bproof_2'] = 'Chaleco antibalas 2', + ['chain_1'] = 'Cadena 1', + ['chain_2'] = 'Cadena 2', + ['helmet_1'] = 'Casco 1', + ['helmet_2'] = 'Casco 2', + ['watches_1'] = 'Reloj 1', + ['watches_2'] = 'Reloj 2', + ['bracelets_1'] = 'Pulseras 1', + ['bracelets_2'] = 'Pulseras 2', + ['glasses_1'] = 'Gafas 1', + ['glasses_2'] = 'Gafas 2', + ['bag'] = 'Mochila', + ['bag_color'] = 'Color mochila', + ['blemishes'] = 'Manchas', + ['blemishes_size'] = 'Cantidad de manchas', + ['ageing'] = 'Envejecimiento', + ['ageing_1'] = 'Cantidad de envejecimiento', + ['blush'] = 'Colorete', + ['blush_1'] = 'Cantidad de colorete', + ['blush_color'] = 'Color de colorete', + ['complexion'] = 'Complexión', + ['complexion_1'] = 'Cantidad de complexión', + ['sun'] = 'Bronceado', + ['sun_1'] = 'Cantidad de bronceado', + ['freckles'] = 'Pecas', + ['freckles_1'] = 'Cantidad de pecas', + ['chest_hair'] = 'Vello corporal', + ['chest_hair_1'] = 'Cantidad de vello corporal', + ['chest_color'] = 'Color de vello corporal', + ['bodyb'] = 'Manchas en el cuerpo', + ['bodyb_size'] = 'Tipo de manchas en el cuerpo', + ['bodyb_extra'] = 'Efecto de manchas en el cuerpo', + ['bodyb_extra_thickness'] = 'Espesor de manchas efecto cuerpo', } From 7f55cdc77d12bad7d1aa19707d195659451f8d3b Mon Sep 17 00:00:00 2001 From: pk <123796031+pelaoloko@users.noreply.github.com> Date: Wed, 29 Mar 2023 18:27:09 -0300 Subject: [PATCH 044/236] Update es.lua --- [core]/esx_skin/locales/es.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/[core]/esx_skin/locales/es.lua b/[core]/esx_skin/locales/es.lua index b5d4f4a0..11cfab4d 100644 --- a/[core]/esx_skin/locales/es.lua +++ b/[core]/esx_skin/locales/es.lua @@ -1,6 +1,6 @@ Locales['es'] = { - ['skin_menu'] = 'Menú Aspecto', + ['skin_menu'] = 'Menú de apariencia', ['use_rotate_view'] = 'Utiliza ~INPUT_FRONTEND_LS~ y ~INPUT_CHARACTER_WHEEL~ para rotar la vista.', - ['skin'] = 'cambiar aspecto', - ['saveskin'] = 'guardar aspecto en un archivo', + ['skin'] = 'Cambiar aspecto', + ['saveskin'] = 'Guarda tu aspecto actual', } From 9742af6c8f9ebddc9692d2dda5d8aacd90bc9257 Mon Sep 17 00:00:00 2001 From: pk <123796031+pelaoloko@users.noreply.github.com> Date: Wed, 29 Mar 2023 18:27:51 -0300 Subject: [PATCH 045/236] Update es.lua --- [core]/es_extended/locales/es.lua | 58 +++++++++++++++---------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/[core]/es_extended/locales/es.lua b/[core]/es_extended/locales/es.lua index 0d47efb2..058f5d8d 100644 --- a/[core]/es_extended/locales/es.lua +++ b/[core]/es_extended/locales/es.lua @@ -50,16 +50,16 @@ Locales['es'] = { ['account_black_money'] = 'Dinero Negro', ['account_money'] = 'Efectivo', - ['act_imp'] = 'Acción imposible', - ['in_vehicle'] = 'No se puede dar nada a alguien en un vehículo', + ['act_imp'] = 'No se pudo realizar la acción.', + ['in_vehicle'] = 'Acción rechazada. El jugador se encuentra en un vehículo', -- Commands ['command_bring'] = 'Traer un jugador hacia ti', - ['command_car'] = 'Generar un vehiculo', - ['command_car_car'] = 'Nombre o hash del vehículo', + ['command_car'] = 'Spawnear un vehículo', + ['command_car_car'] = 'Nombre del vehículo', ['command_cardel'] = 'Eliminar vehículos cercanos', ['command_cardel_radius'] = 'Opcional, eliminar todos los vehículos en el radio especificado', - ['command_clear'] = 'Limpiar chat', + ['command_clear'] = 'Limpiar chat para ti', ['command_clearall'] = 'Limpiar chat para todos los jugadores', ['command_clearinventory'] = 'Limpiar el inventario del jugador', ['command_clearloadout'] = 'Limpiar inventario de un jugador', @@ -68,7 +68,7 @@ Locales['es'] = { ['command_giveaccountmoney'] = 'Dar dinero', ['command_giveaccountmoney_account'] = 'Nombre de cuenta válido', ['command_giveaccountmoney_amount'] = 'Cantidad a añadir', - ['command_giveaccountmoney_invalid'] = 'Nombre de cuenta inválido', + ['command_giveaccountmoney_invalid'] = 'Nombre de cuenta no existente. [bank, money, black_money]', ['command_giveitem'] = 'Dar un objeto a un jugador', ['command_giveitem_item'] = 'Nombre del artículo', ['command_giveitem_count'] = 'Cantidad de articulos', @@ -81,12 +81,12 @@ Locales['es'] = { ['command_giveweaponcomponent_invalid'] = 'Componente del arma no válido', ['command_giveweaponcomponent_hasalready'] = 'El jugador ya tiene ese componente del arma', ['command_giveweaponcomponent_missingweapon'] = 'El jugador no tiene esa arma', - ['command_goto'] = 'Teletransporte hacia un jugador', + ['command_goto'] = 'Teletransportarte hacia un jugador', ['command_kill'] = 'Matar un jugador', - ['command_save'] = 'Guardar un jugador en la base de datos', - ['command_saveall'] = 'Guardar todos los jugadores en la base de datos', + ['command_save'] = 'Guardar la informacion de un jugador en la base de datos.', + ['command_saveall'] = 'Guardar toda la informacion de jugadores en la base de datos.', ['command_setaccountmoney'] = 'Establecer el dinero de la cuenta para un jugador', - ['command_setaccountmoney_amount'] = 'Cantidad de dinero para fijar', + ['command_setaccountmoney_amount'] = 'Cantidad de dinero a establecer', ['command_setcoords'] = 'Teletransporte a coordenadas', ['command_setcoords_x'] = 'Eje X', ['command_setcoords_y'] = 'Eje Y', @@ -94,20 +94,20 @@ Locales['es'] = { ['command_setjob'] = 'Dar un trabajo a un jugador', ['command_setjob_job'] = 'Nombre del trabajo', ['command_setjob_grade'] = 'Rango del trabajo', - ['command_setjob_invalid'] = 'El trabajo, el rango o ambos no son válidos', + ['command_setjob_invalid'] = 'El trabajo o el rango no son válidos', ['command_setgroup'] = 'Establecer el grupo de un jugador', ['command_setgroup_group'] = 'Nombre del grupo', - ['commanderror_argumentmismatch'] = 'error en el recuento de argumentos (pasado %s, deseado %s)', - ['commanderror_argumentmismatch_number'] = 'argumento #%s tipo no coincide (cadena pasada, número deseado)', + ['commanderror_argumentmismatch'] = 'Error en el recuento de argumentos (pasado %s, deseado %s)', + ['commanderror_argumentmismatch_number'] = 'Argumento #%s tipo no coincide (cadena pasada, número deseado)', ['commanderror_invaliditem'] = 'Nombre del artículo no válido', ['commanderror_invalidweapon'] = 'Arma inválida', ['commanderror_console'] = 'Ese comando no se puede ejecutar desde la consola', ['commanderror_invalidcommand'] = '/%s ¡No es un comando válido!', - ['commanderror_invalidplayerid'] = 'No hay ningún jugador en línea que coincida con la ID del servidor', + ['commanderror_invalidplayerid'] = 'No hay ningún jugador online con la ID especificada', ['commandgeneric_playerid'] = 'ID del jugador', - ['command_giveammo_noweapon_found'] = '%s does not have that weapon', - ['command_giveammo_weapon'] = 'Weapon name', - ['command_giveammo_ammo'] = 'Ammo Quantity', + ['command_giveammo_noweapon_found'] = '%s no posee esa arma', + ['command_giveammo_weapon'] = 'Nombre del arma', + ['command_giveammo_ammo'] = 'Cantidad de municion', -- Locale settings ['locale_digit_grouping_symbol'] = ',', @@ -122,11 +122,11 @@ Locales['es'] = { ['weapon_bottle'] = 'Botella', ['weapon_crowbar'] = 'Palanca', ['weapon_flashlight'] = 'Linterna', - ['weapon_golfclub'] = 'Palos de Golf', + ['weapon_golfclub'] = 'Palo de Golf', ['weapon_hammer'] = 'Martillo', ['weapon_hatchet'] = 'Hacha', ['weapon_knife'] = 'Cuchillo', - ['weapon_knuckle'] = 'Puños Americanos', + ['weapon_knuckle'] = 'Puño Americano', ['weapon_machete'] = 'Machete', ['weapon_nightstick'] = 'Porra', ['weapon_wrench'] = 'Llave Inglesa', @@ -135,9 +135,9 @@ Locales['es'] = { ['weapon_switchblade'] = 'Navaja', -- Handguns - ['weapon_appistol'] = 'Pistola AP ', - ['weapon_ceramicpistol'] = 'Pistola Corta', - ['weapon_combatpistol'] = 'Pistola Combate', + ['weapon_appistol'] = 'Pistola AP', + ['weapon_ceramicpistol'] = 'Pistola de Ceramica', + ['weapon_combatpistol'] = 'Pistola de Combate', ['weapon_doubleaction'] = 'Revólver de Doble Acción', ['weapon_navyrevolver'] = 'Revólver de la Armada', ['weapon_flaregun'] = 'Pistola de Bengalas', @@ -146,7 +146,7 @@ Locales['es'] = { ['weapon_revolver'] = 'Revólver Pesado', ['weapon_revolver_mk2'] = 'Revólver Pesado MK2', ['weapon_marksmanpistol'] = 'Pistola Marksman', - ['weapon_pistol'] = 'Pistola', + ['weapon_pistol'] = 'Pistola 9mm', ['weapon_pistol_mk2'] = 'Pistola MK2', ['weapon_pistol50'] = 'Pistola .50', ['weapon_snspistol'] = 'Pistola SNS', @@ -220,9 +220,9 @@ Locales['es'] = { ['weapon_hazardcan'] = 'Bidón de Gasolina Peligroso', ['weapon_molotov'] = 'Molotov', ['weapon_proxmine'] = 'Mina de Proximidad ', - ['weapon_pipebomb'] = 'Bomba de Tubo', + ['weapon_pipebomb'] = 'Bomba casera', ['weapon_snowball'] = 'Bola de nieve', - ['weapon_stickybomb'] = 'Bomba Pegajosa', + ['weapon_stickybomb'] = 'C4', ['weapon_smokegrenade'] = 'Granada de Humo', -- Special @@ -283,7 +283,7 @@ Locales['es'] = { ['component_clip_drum'] = 'Cargador Barril', ['component_clip_box'] = 'Caja de Cargador', - ['component_scope_holo'] = 'Mira Holográfico', + ['component_scope_holo'] = 'Mira Holográfica', ['component_scope_small'] = 'Mira Pequeña', ['component_scope_medium'] = 'Mira Mediana', ['component_scope_large'] = 'Mira Larga', @@ -291,8 +291,8 @@ Locales['es'] = { ['component_scope_advanced'] = 'Mira Avanzada', ['component_ironsights'] = 'Mira de Hierro', - ['component_suppressor'] = 'Supresor', - ['component_compensator'] = 'Compensador', + ['component_suppressor'] = 'Silenciador', + ['component_compensator'] = 'Estabilizador', ['component_muzzle_flat'] = 'Boquilla de Freno Plana', ['component_muzzle_tactical'] = 'Boquilla de Freno Tactica', @@ -343,7 +343,7 @@ Locales['es'] = { ['ammo_flaregun'] = 'Bengala(s)', -- Weapon Tints - ['tint_default'] = 'Skin Por Defecto', + ['tint_default'] = 'Skin común', ['tint_green'] = 'Skin Verde', ['tint_gold'] = 'Skin Oro', ['tint_pink'] = 'Skin Rosa', From e9476ba2095e1db989212b4a00bfce48d3ebea22 Mon Sep 17 00:00:00 2001 From: pk <123796031+pelaoloko@users.noreply.github.com> Date: Wed, 29 Mar 2023 18:30:27 -0300 Subject: [PATCH 046/236] Update es.lua --- [core]/esx_identity/locales/es.lua | 72 +++++++++++++++--------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/[core]/esx_identity/locales/es.lua b/[core]/esx_identity/locales/es.lua index cb68c9f3..8533e5fc 100644 --- a/[core]/esx_identity/locales/es.lua +++ b/[core]/esx_identity/locales/es.lua @@ -1,38 +1,38 @@ Locales['es'] = { - ['show_active_character'] = 'Mostrar personaje activo', - ['active_character'] = 'Personaje activo: %s', - ['error_active_character'] = "Se produjo un error al recuperar tu nombre. Por favor contacta con un administrador", - ['delete_character'] = 'Elimina tu personaje y crea uno nuevo', - ['deleted_character'] = 'Tu personaje ha sido eliminado', - ['error_delete_character'] = "Se produjo un error al eliminar tu personaje. Por favor contacta con un administrador", - ['thank_you_for_registering'] = "Gracias por registrarte. Que te diviertas", - ['debug_xPlayer_get_first_name'] = "Devuelve tu nombre", - ['debug_xPlayer_get_last_name'] = "Devuelve tu apellido", - ['debug_xPlayer_get_full_name'] = "Devuelve tu nombre completo", - ['debug_xPlayer_get_sex'] = "Devuelve tu sexo", - ['debug_xPlayer_get_dob'] = "Devuelve tu fecha de nacimiento", - ['debug_xPlayer_get_height'] = "Devuelve tu altura", - ['error_debug_xPlayer_get_first_name'] = "Se produjo un error al recuperar tu nombre", - ['error_debug_xPlayer_get_last_name'] = "Se produjo un error al recuperar tu apellido", - ['error_debug_xPlayer_get_full_name'] = "Se produjo un error al recuperar tu nombre completo", - ['error_debug_xPlayer_get_sex'] = "Se produjo un error al recuperar tu sexo", - ['error_debug_xPlayer_get_dob'] = "Se produjo un error al recuperar tu fecha de nacimiento", - ['error_debug_xPlayer_get_height'] = "Se produjo un error al recuperar tu altura", - ['return_debug_xPlayer_get_first_name'] = "Nombre: %s", - ['return_debug_xPlayer_get_last_name'] = "Apellido: %s", - ['return_debug_xPlayer_get_full_name'] = "Nombre completo: %s", - ['return_debug_xPlayer_get_sex'] = "Sexo: %s", - ['return_debug_xPlayer_get_dob'] = "Fecha de nacimiento: %s", - ['return_debug_xPlayer_get_height'] = "Altura: %s centímetros", - ['data_incorrect'] = 'Datos introducidos de forma incorrecta. Inténtalo de nuevo', - ['invalid_format'] = 'Datos con formato incorrecto. Inténtalo de nuevo', - ['no_identifier'] = '¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identifier-missing\n\nSe desconoce la causa de este error, no se pudo encontrar su identificador. Regrese más tarde o informe este problema al equipo de administración del servidor', - ['missing_identity'] = '¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identity-missing\n\nParece que falta su identidad, intente conectarse nuevamente', - ['deleted_identity'] = 'Tu personaje ha sido borrado. Vuelva a iniciar sesión para crear un nuevo personaje', - ['already_registered'] = 'Ya estás registrado.', - ['invalid_firstname_format'] = 'Formato Inválido (Nombre): Inténtalo de nuevo.', - ['invalid_lastname_format'] = 'Formato Inválido (Apellido): Inténtalo de nuevo.', - ['invalid_dob_format'] = 'Formato Inválido (Fec. Nac.): Inténtalo de nuevo.', - ['invalid_sex_format'] = 'Formato Inválido (Sexo): Inténtalo de nuevo.', - ['invalid_height_format'] = 'Formato Inválido (Altura): Inténtalo de nuevo.' +['show_active_character'] = 'Mostrar personaje actual', +['active_character'] = 'Personaje actual: %s', +['error_active_character'] = "Se produjo un error al recuperar tu nombre. Por favor contacta con un administrador", +['delete_character'] = 'Elimina tu personaje y crea uno nuevo', +['deleted_character'] = 'Tu personaje ha sido eliminado', +['error_delete_character'] = "Se produjo un error al eliminar tu personaje. Por favor contacta con un administrador", +['thank_you_for_registering'] = "Gracias por registrarte. Bienvenido a la ciudad", +['debug_xPlayer_get_first_name'] = "Devuelve tu nombre", +['debug_xPlayer_get_last_name'] = "Devuelve tu apellido", +['debug_xPlayer_get_full_name'] = "Devuelve tu nombre completo", +['debug_xPlayer_get_sex'] = "Devuelve tu sexo", +['debug_xPlayer_get_dob'] = "Devuelve tu fecha de nacimiento", +['debug_xPlayer_get_height'] = "Devuelve tu altura", +['error_debug_xPlayer_get_first_name'] = "Se produjo un error al recuperar tu nombre", +['error_debug_xPlayer_get_last_name'] = "Se produjo un error al recuperar tu apellido", +['error_debug_xPlayer_get_full_name'] = "Se produjo un error al recuperar tu nombre completo", +['error_debug_xPlayer_get_sex'] = "Se produjo un error al recuperar tu sexo", +['error_debug_xPlayer_get_dob'] = "Se produjo un error al recuperar tu fecha de nacimiento", +['error_debug_xPlayer_get_height'] = "Se produjo un error al recuperar tu altura", +['return_debug_xPlayer_get_first_name'] = "Nombre: %s", +['return_debug_xPlayer_get_last_name'] = "Apellido: %s", +['return_debug_xPlayer_get_full_name'] = "Nombre completo: %s", +['return_debug_xPlayer_get_sex'] = "Sexo: %s", +['return_debug_xPlayer_get_dob'] = "Fecha de nacimiento: %s", +['return_debug_xPlayer_get_height'] = "Altura: %s centímetros", +['data_incorrect'] = 'Datos introducidos de forma incorrecta. Inténtalo de nuevo', +['invalid_format'] = 'Datos con formato incorrecto. Inténtalo de nuevo', +['no_identifier'] = '¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identifier-missing\n\nSe desconoce la causa de este error, no se pudo encontrar su identificador. Intentalo más tarde o informa de este problema al equipo administrativo del servidor', +['missing_identity'] = '¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identity-missing\n\nParece que falta su identidad, intenta conectarte nuevamente', +['deleted_identity'] = 'Tu personaje ha sido borrado. Vuelva a iniciar sesión para crear un nuevo personaje', +['already_registered'] = 'Ya estás registrado.', +['invalid_firstname_format'] = 'Formato Inválido (Nombre): Inténtalo de nuevo.', +['invalid_lastname_format'] = 'Formato Inválido (Apellido): Inténtalo de nuevo.', +['invalid_dob_format'] = 'Formato Inválido (Fec. Nac.): Inténtalo de nuevo.', +['invalid_sex_format'] = 'Formato Inválido (Sexo): Inténtalo de nuevo.', +['invalid_height_format'] = 'Formato Inválido (Altura): Inténtalo de nuevo.' } From 06fa6294942ba33a4a10700da49baba76b71d090 Mon Sep 17 00:00:00 2001 From: pk <123796031+pelaoloko@users.noreply.github.com> Date: Wed, 29 Mar 2023 18:32:26 -0300 Subject: [PATCH 047/236] Update es.lua --- [core]/esx_multicharacter/locales/es.lua | 58 ++++++++++++------------ 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/[core]/esx_multicharacter/locales/es.lua b/[core]/esx_multicharacter/locales/es.lua index 4bef70ed..d925b213 100644 --- a/[core]/esx_multicharacter/locales/es.lua +++ b/[core]/esx_multicharacter/locales/es.lua @@ -1,29 +1,29 @@ -Locales["es"] = { - ["male"] = "Hombre", - ["female"] = "Mujer", - ["select_char"] = "Seleccionar personaje", - ["select_char_description"] = "Selecciona un personaje para jugar.", - ["create_char"] = "Crear nuevo personaje", - ["char_play"] = "Jugar este personaje", - ["char_play_description"] = "Continúe hacia la ciudad.", - ["char_disabled"] = "Este personaje está deshabilitado", - ["char_disabled_description"] = "Este personaje es inutilizable.", - ["char_delete"] = "Borrar este personaje", - ["char_delete_description"] = "Eliminar permanentemente este personaje.", - ["character"] = "Personaje: %s", - ["return"] = "Volver", - ["return_description"] = "Volver a la selección de personajes.", - ["command_setslots"] = "Establecer el numero de espacios de un jugador", - ["command_remslots"] = "Elimina espacios multipersonaje de un jugador", - ["command_enablechar"] = "Habilita el personaje de un jugador", - ["command_disablechar"] = "Deshabilita el personaje de un jugador", - ["command_charslot"] = "Número de espacio del personaje", - ["command_identifier"] = "Identificador del jugador", - ["command_slots"] = "Nº de espacios", - ["slotsadd"] = "Has añadido %s espacios a %s", - ["slotsedit"] = "Has establecido los espacios de %s a %s", - ["slotsrem"] = "Has eliminado espacios a %s", - ["charenabled"] = "Has habilitado el personaje Nº%s de %s", - ["chardisabled"] = "Has deshabilitado el personaje Nº%s de %s", - ["charnotfound"] = "Personaje Nº%s de %s no existe", -} +Locales['es']={ + ['male'] = 'Masculino”, + ['female'] = 'Femenino”, + ['select_char'] = 'Seleccionar personaje', + ['select_char_description'] = 'Selecciona un personaje para jugar.', + ['create_char'] = 'Crear nuevo personaje', + ['char_play'] = 'Seleccionar personaje', + ['char_play_description'] = 'Ingresar a la ciudad.', + ['char_disabled'] = 'Este personaje está deshabilitado', + ['char_disabled_description'] = 'Este personaje no se encuentra disponible.', + ['char_delete'] = 'Borrar el personaje seleccionado”, + ['char_delete_description'] = 'Eliminar este personaje.', + ['character'] = 'Personaje: %s', + ['return'] = 'Volver', + ['return_description'] = 'Volver a la selección de personajes.', + ['command_setslots'] = 'Establecer el numero de slots de un jugador', + ['command_remslots'] = 'Elimina slots de un jugador.”, + ['command_enablechar'] = 'Activar el personaje de un jugador', + ['command_disablechar'] = 'Deshabilitar personaje al jugador.', + ['command_charslot'] = 'Número de slot del personaje', + ['command_identifier'] = 'Identificador del jugador', + ['command_slots'] = 'Nº de slots', + ['slotsadd'] = 'Has añadido %s slots a %s', + ['slotsedit'] = 'Has establecido los slots de %s a %s', + ['slotsrem'] = 'Has eliminado un slot a %s', + ['charenabled'] = 'Has habilitado el personaje Nº%s de %s', + ['chardisabled'] = 'Has deshabilitado el personaje Nº%s de %s', + ['charnotfound'] = 'Personaje Nº%s de %s no existe', + } From 415083de6942598463941a9621513817fb0ac95d Mon Sep 17 00:00:00 2001 From: Nema Date: Thu, 30 Mar 2023 18:14:15 -0300 Subject: [PATCH 048/236] fix (quotes) --- [core]/esx_multicharacter/locales/es.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/[core]/esx_multicharacter/locales/es.lua b/[core]/esx_multicharacter/locales/es.lua index d925b213..1edf97e8 100644 --- a/[core]/esx_multicharacter/locales/es.lua +++ b/[core]/esx_multicharacter/locales/es.lua @@ -1,20 +1,20 @@ Locales['es']={ - ['male'] = 'Masculino”, - ['female'] = 'Femenino”, - ['select_char'] = 'Seleccionar personaje', - ['select_char_description'] = 'Selecciona un personaje para jugar.', - ['create_char'] = 'Crear nuevo personaje', + ['male'] = 'Masculino', + ['female'] = 'Femenino', + ['select_char'] = 'Seleccionar personaje', + ['select_char_description'] = 'Selecciona un personaje para jugar.', + ['create_char'] = 'Crear nuevo personaje', ['char_play'] = 'Seleccionar personaje', ['char_play_description'] = 'Ingresar a la ciudad.', ['char_disabled'] = 'Este personaje está deshabilitado', ['char_disabled_description'] = 'Este personaje no se encuentra disponible.', - ['char_delete'] = 'Borrar el personaje seleccionado”, + ['char_delete'] = 'Borrar el personaje seleccionado', ['char_delete_description'] = 'Eliminar este personaje.', ['character'] = 'Personaje: %s', ['return'] = 'Volver', ['return_description'] = 'Volver a la selección de personajes.', ['command_setslots'] = 'Establecer el numero de slots de un jugador', - ['command_remslots'] = 'Elimina slots de un jugador.”, + ['command_remslots'] = 'Elimina slots de un jugador.', ['command_enablechar'] = 'Activar el personaje de un jugador', ['command_disablechar'] = 'Deshabilitar personaje al jugador.', ['command_charslot'] = 'Número de slot del personaje', From 79415798431270edc5f4ebf6ab68ab1798fa5667 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sat, 1 Apr 2023 11:54:01 +0200 Subject: [PATCH 049/236] Delete old locale (We don't have translator) --- [core]/es_extended/locales/sv.lua | 349 ------------------------------ 1 file changed, 349 deletions(-) delete mode 100644 [core]/es_extended/locales/sv.lua diff --git a/[core]/es_extended/locales/sv.lua b/[core]/es_extended/locales/sv.lua deleted file mode 100644 index 734752b1..00000000 --- a/[core]/es_extended/locales/sv.lua +++ /dev/null @@ -1,349 +0,0 @@ -Locales['sv'] = { - -- Inventory - ['inventory'] = 'Förråd ( Vikt %s / %s )', - ['use'] = 'Använd', - ['give'] = 'Ge', - ['remove'] = 'Kasta', - ['return'] = 'Gå tillbaka', - ['give_to'] = 'Ge till', - ['amount'] = 'Antal', - ['giveammo'] = 'Ge ammunition', - ['amountammo'] = 'Mängd ammunition', - ['noammo'] = 'Inte tillräckligt med ammunition!', - ['gave_item'] = 'Ge %sx %s till %s', - ['received_item'] = 'Fick %sx %s från %s', - ['gave_weapon'] = 'Ge %s till %s', - ['gave_weapon_ammo'] = 'Ge ~o~%sx %s för %s till %s', - ['gave_weapon_withammo'] = 'Ge %s med ~o~%sx %s till %s', - ['gave_weapon_hasalready'] = '%s har redan en %s', - ['gave_weapon_noweapon'] = '%s har inte det vapnet', - ['received_weapon'] = 'Mottog %s från %s', - ['received_weapon_ammo'] = 'Fick ~o~%sx %s för din %s från %s', - ['received_weapon_withammo'] = 'Mottog %s med ~o~%sx %s från %s', - ['received_weapon_hasalready'] = '%s har försökt ge dig en %s, men du har redan det här vapnet', - ['received_weapon_noweapon'] = '%s har försökt ge dig ammunition för en %s, men du har inte det här vapnet', - ['gave_account_money'] = 'Ge $%s (%s) till %s', - ['received_account_money'] = 'Mottog $%s (%s) från %s', - ['amount_invalid'] = 'Ogiltig mängd', - ['players_nearby'] = 'Inga spelare i närheten', - ['ex_inv_lim'] = 'Kan inte utföra åtgärden, överstiger maxvikten %s', - ['imp_invalid_quantity'] = 'Det går inte att utföra åtgärden, mängden är ogiltig', - ['imp_invalid_amount'] = 'Det går inte att utföra åtgärden, mängden är ogiltigt', - ['threw_standard'] = 'Kastade %sx %s', - ['threw_account'] = 'Kastade $%s %s', - ['threw_weapon'] = 'Kastade %s', - ['threw_weapon_ammo'] = 'Kastade %s med ~o~%sx %s', - ['threw_weapon_already'] = 'Du har redan det här vapnet', - ['threw_cannot_pickup'] = 'Förrådet är fullt, kan inte plocka upp!', - ['threw_pickup_prompt'] = 'Tryck E för att plocka upp', - - -- Key mapping - ['keymap_showinventory'] = 'Visa förrådet', - - -- Salary related - ['received_salary'] = 'Du har fått lön: $%s', - ['received_help'] = 'Du har fått bidrag: $%s', - ['company_nomoney'] = 'företaget du är anställt hos har inte råd att betala ut din lön', - ['received_paycheck'] = 'Mottagit lön', - ['bank'] = 'Bank', - ['account_bank'] = 'Bank', - ['account_black_money'] = 'Svarta pengar', - ['account_money'] = 'Kontanter', - - ['act_imp'] = 'Kan inte utföra åtgärd', - ['in_vehicle'] = 'Kan inte utföra åtgärd, spelaren är i ett fordon', - - -- Commands - ['command_car'] = 'Spawna ett fordon', - ['command_car_car'] = 'Fordonsmodell eller hash', - ['command_cardel'] = 'Ta bort fordon i närheten', - ['command_cardel_radius'] = 'Tar bort alla fordon inom angiven radie', - ['command_clear'] = 'Rensa chatttext', - ['command_clearall'] = 'Rensa chatttext för alla spelare', - ['command_clearinventory'] = 'Ta bort alla föremål från spelarens förråd', - ['command_clearloadout'] = 'Ta bort alla vapen från spelarens förråd', - ['command_giveaccountmoney'] = 'Ge pengar till ett specifikt konto', - ['command_giveaccountmoney_account'] = 'Konto att lägga till i', - ['command_giveaccountmoney_amount'] = 'Belopp att lägga till', - ['command_giveaccountmoney_invalid'] = 'Kontonamn ogiltigt', - ['command_giveitem'] = 'Ge spelaren ett föremål', - ['command_giveitem_item'] = 'Föremålsnamn', - ['command_giveitem_count'] = 'Mängd', - ['command_giveweapon'] = 'Ge spelaren ett vapen', - ['command_giveweapon_weapon'] = 'Vapennamn', - ['command_giveweapon_ammo'] = 'Ammunitionsmängd', - ['command_giveweapon_hasalready'] = 'Spelaren har redan det här vapnet', - ['command_giveweaponcomponent'] = 'Ge en vapenkomponent till spelaren', - ['command_giveweaponcomponent_component'] = 'Vapenkomponentnamn', - ['command_giveweaponcomponent_invalid'] = 'Ogiltig vapenkomponent', - ['command_giveweaponcomponent_hasalready'] = 'Spelaren har redan denna vapenkomponent', - ['command_giveweaponcomponent_missingweapon'] = 'Spelaren har inte det här vapnet', - ['command_save'] = 'Tvångspara en spelares data', - ['command_saveall'] = 'Tvångspara allas spelardata', - ['command_setaccountmoney'] = 'Ställ in pengarna på ett angivet konto', - ['command_setaccountmoney_amount'] = 'Ny Summa', - ['command_setcoords'] = 'Teleportera till specificerade koordinater', - ['command_setcoords_x'] = 'X-värde', - ['command_setcoords_y'] = 'Y-värde', - ['command_setcoords_z'] = 'Z-värde', - ['command_setjob'] = 'Ställ in en spelares jobb', - ['command_setjob_job'] = 'Jobbnamn', - ['command_setjob_grade'] = 'Jobbnivå', - ['command_setjob_invalid'] = 'jobbet, nivån eller båda är ogiltiga', - ['command_setgroup'] = 'Ställ in en spelares behörighetsgrupp', - ['command_setgroup_group'] = 'Gruppens namn', - ['commanderror_argumentmismatch'] = 'Ogiltigt antal argument (godkänt %s, önskat %s)', - ['commanderror_argumentmismatch_number'] = 'Ogiltigt argument #%s datatyp (godkänd sträng, önskat nummer)', - ['commanderror_invaliditem'] = 'Ogiltig artikel', - ['commanderror_invalidweapon'] = 'Ogiltigt vapen', - ['commanderror_console'] = 'Kommandot kan inte köras från konsolen', - ['commanderror_invalidcommand'] = 'Ogiltigt kommando - /%s', - ['commanderror_invalidplayerid'] = 'Angiven spelare är inte online', - ['commandgeneric_playerid'] = 'Spelarens server-id', - ['command_giveammo_noweapon_found'] = '%s does not have that weapon', - ['command_giveammo_weapon'] = 'Weapon name', - ['command_giveammo_ammo'] = 'Ammo Quantity', - - -- Locale settings - ['locale_digit_grouping_symbol'] = ' ', - ['locale_currency'] = '%s SEK', - - -- Weapons - - -- Melee - ['weapon_dagger'] = 'Dolk', - ['weapon_bat'] = 'Slagträ', - ['weapon_battleaxe'] = 'Stridsyxa', - ['weapon_bottle'] = 'Flaska', - ['weapon_crowbar'] = 'Kofot', - ['weapon_flashlight'] = 'Ficklampa', - ['weapon_golfclub'] = 'Golfklubba', - ['weapon_hammer'] = 'Hammare', - ['weapon_hatchet'] = 'Yxa', - ['weapon_knife'] = 'Kniv', - ['weapon_knuckle'] = 'Knogjärn', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Batong', - ['weapon_wrench'] = 'Rörtång', - ['weapon_poolcue'] = 'Biljardkö', - ['weapon_stone_hatchet'] = 'Stenyxa', - ['weapon_switchblade'] = 'Fällkniv', - - -- Handguns - ['weapon_appistol'] = 'AP Pistol', - ['weapon_ceramicpistol'] = 'Ceramic Pistol', - ['weapon_combatpistol'] = 'Combat Pistol', - ['weapon_doubleaction'] = 'Double-Action Revolver', - ['weapon_navyrevolver'] = 'Navy Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadget Pistol', - ['weapon_heavypistol'] = 'Heavy Pistol', - ['weapon_revolver'] = 'Heavy Revolver', - ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', - ['weapon_marksmanpistol'] = 'Marksman Pistol', - ['weapon_pistol'] = 'Pistol', - ['weapon_pistol_mk2'] = 'Pistol MK2', - ['weapon_pistol50'] = 'Pistol .50', - ['weapon_snspistol'] = 'SNS Pistol', - ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintage Pistol', - - -- Shotguns - ['weapon_assaultshotgun'] = 'Assault Shotgun', - ['weapon_autoshotgun'] = 'Auto Shotgun', - ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', - ['weapon_combatshotgun'] = 'Combat Shotgun', - ['weapon_dbshotgun'] = 'Double Barrel Shotgun', - ['weapon_heavyshotgun'] = 'Heavy Shotgun', - ['weapon_musket'] = 'Musket', - ['weapon_pumpshotgun'] = 'Pump Shotgun', - ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', - ['weapon_sawnoffshotgun'] = 'Sawed Off Shotgun', - - -- SMG & LMG - ['weapon_assaultsmg'] = 'Assault SMG', - ['weapon_combatmg'] = 'Combat MG', - ['weapon_combatmg_mk2'] = 'Combat MG MK2', - ['weapon_combatpdw'] = 'Combat PDW', - ['weapon_gusenberg'] = 'Gusenberg Sweeper', - ['weapon_machinepistol'] = 'Machine Pistol', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Micro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Unholy Hellbringer', - - -- Rifles - ['weapon_advancedrifle'] = 'Advanced Rifle', - ['weapon_assaultrifle'] = 'Assault Rifle', - ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', - ['weapon_bullpuprifle'] = 'Bullpup Rifle', - ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', - ['weapon_carbinerifle'] = 'Carbine Rifle', - ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', - ['weapon_compactrifle'] = 'Compact Rifle', - ['weapon_militaryrifle'] = 'Military Rifle', - ['weapon_specialcarbine'] = 'Special Carbine', - ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', - - -- Sniper - ['weapon_heavysniper'] = 'Heavy Sniper', - ['weapon_heavysniper_mk2'] = 'Heavy Sniper MK2', - ['weapon_marksmanrifle'] = 'Marksman Rifle', - ['weapon_marksmanrifle_mk2'] = 'Marksman Rifle MK2', - ['weapon_sniperrifle'] = 'Sniper Rifle', - - -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Compact Launcher', - ['weapon_firework'] = 'Firework Launcher', - ['weapon_grenadelauncher'] = 'Grenade Launcher', - ['weapon_hominglauncher'] = 'Homing Launcher', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Rocket Launcher', - ['weapon_rayminigun'] = 'Widowmaker', - - -- Thrown - ['weapon_ball'] = 'Baseball', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_flare'] = 'Flare', - ['weapon_grenade'] = 'Grenade', - ['weapon_petrolcan'] = 'Jerrycan', - ['weapon_hazardcan'] = 'Hazardous Jerrycan', - ['weapon_molotov'] = 'Molotov Cocktail', - ['weapon_proxmine'] = 'Proximity Mine', - ['weapon_pipebomb'] = 'Pipe Bomb', - ['weapon_snowball'] = 'Snowball', - ['weapon_stickybomb'] = 'Sticky Bomb', - ['weapon_smokegrenade'] = 'Tear Gas', - - -- Special - ['weapon_fireextinguisher'] = 'Fire Extinguisher', - ['weapon_digiscanner'] = 'Digital Scanner', - ['weapon_garbagebag'] = 'Garbage Bag', - ['weapon_handcuffs'] = 'Handcuffs', - ['gadget_nightvision'] = 'Night Vision', - ['gadget_parachute'] = 'parachute', - - -- Weapon Components - ['component_knuckle_base'] = 'base Model', - ['component_knuckle_pimp'] = 'the Pimp', - ['component_knuckle_ballas'] = 'the Ballas', - ['component_knuckle_dollar'] = 'the Hustler', - ['component_knuckle_diamond'] = 'the Rock', - ['component_knuckle_hate'] = 'the Hater', - ['component_knuckle_love'] = 'the Lover', - ['component_knuckle_player'] = 'the Player', - ['component_knuckle_king'] = 'the King', - ['component_knuckle_vagos'] = 'the Vagos', - - ['component_luxary_finish'] = 'luxary Weapon Finish', - - ['component_handle_default'] = 'default Handle', - ['component_handle_vip'] = 'vIP Handle', - ['component_handle_bodyguard'] = 'bodyguard Handle', - - ['component_vip_finish'] = 'vIP Finish', - ['component_bodyguard_finish'] = 'bodyguard Finish', - - ['component_camo_finish'] = 'digital Camo', - ['component_camo_finish2'] = 'brushstroke Camo', - ['component_camo_finish3'] = 'woodland Camo', - ['component_camo_finish4'] = 'skull Camo', - ['component_camo_finish5'] = 'sessanta Nove Camo', - ['component_camo_finish6'] = 'perseus Camo', - ['component_camo_finish7'] = 'leopard Camo', - ['component_camo_finish8'] = 'zebra Camo', - ['component_camo_finish9'] = 'geometric Camo', - ['component_camo_finish10'] = 'boom Camo', - ['component_camo_finish11'] = 'patriotic Camo', - - ['component_camo_slide_finish'] = 'digital Slide Camo', - ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', - ['component_camo_slide_finish3'] = 'woodland Slide Camo', - ['component_camo_slide_finish4'] = 'skull Slide Camo', - ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', - ['component_camo_slide_finish6'] = 'perseus Slide Camo', - ['component_camo_slide_finish7'] = 'leopard Slide Camo', - ['component_camo_slide_finish8'] = 'zebra Slide Camo', - ['component_camo_slide_finish9'] = 'geometric Slide Camo', - ['component_camo_slide_finish10'] = 'boom Slide Camo', - ['component_camo_slide_finish11'] = 'patriotic Slide Camo', - - ['component_clip_default'] = 'default Magazine', - ['component_clip_extended'] = 'extended Magazine', - ['component_clip_drum'] = 'drum Magazine', - ['component_clip_box'] = 'box Magazine', - - ['component_scope_holo'] = 'holographic Scope', - ['component_scope_small'] = 'small Scope', - ['component_scope_medium'] = 'medium Scope', - ['component_scope_large'] = 'large Scope', - ['component_scope'] = 'mounted Scope', - ['component_scope_advanced'] = 'advanced Scope', - ['component_ironsights'] = 'ironsights', - - ['component_suppressor'] = 'suppressor', - ['component_compensator'] = 'compensator', - - ['component_muzzle_flat'] = 'flat Muzzle Brake', - ['component_muzzle_tactical'] = 'tactical Muzzle Brake', - ['component_muzzle_fat'] = 'fat-End Muzzle Brake', - ['component_muzzle_precision'] = 'precision Muzzle Brake', - ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', - ['component_muzzle_slanted'] = 'slanted Muzzle Brake', - ['component_muzzle_split'] = 'split-End Muzzle Brake', - ['component_muzzle_squared'] = 'squared Muzzle Brake', - - ['component_flashlight'] = 'flashlight', - ['component_grip'] = 'grip', - - ['component_barrel_default'] = 'default Barrel', - ['component_barrel_heavy'] = 'heavy Barrel', - - ['component_ammo_tracer'] = 'tracer Ammo', - ['component_ammo_incendiary'] = 'incendiary Ammo', - ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', - ['component_ammo_fmj'] = 'fMJ Ammo', - ['component_ammo_armor'] = 'armor Piercing Ammo', - ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', - - ['component_shells_default'] = 'default Shells', - ['component_shells_incendiary'] = 'dragons Breath Shells', - ['component_shells_armor'] = 'steel Buckshot Shells', - ['component_shells_hollowpoint'] = 'flechette Shells', - ['component_shells_explosive'] = 'explosive Slug Shells', - - -- Weapon Ammo - ['ammo_rounds'] = 'ammunition', - ['ammo_shells'] = 'hagel', - ['ammo_charge'] = 'laddning', - ['ammo_petrol'] = 'bensin', - ['ammo_firework'] = 'fyrverkeri(er)', - ['ammo_rockets'] = 'raket(er)', - ['ammo_grenadelauncher'] = 'grenat(er)', - ['ammo_grenade'] = 'grenat(er)', - ['ammo_stickybomb'] = 'bomb(er)', - ['ammo_pipebomb'] = 'bomb(er)', - ['ammo_smokebomb'] = 'bomb(er)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'bomb(er)', - ['ammo_bzgas'] = 'burk(ar)', - ['ammo_ball'] = 'boll(ar)', - ['ammo_snowball'] = 'snöboll(ar)', - ['ammo_flare'] = 'lysraket(er)', - ['ammo_flaregun'] = 'lysraket(er)', - - -- Weapon Tints - ['tint_default'] = 'Standard färg', - ['tint_green'] = 'Grön färg', - ['tint_gold'] = 'Guld färg', - ['tint_pink'] = 'Rosa färg', - ['tint_army'] = 'Armé färg', - ['tint_lspd'] = 'Blå färg', - ['tint_orange'] = 'Orange färg', - ['tint_platinum'] = 'Platina färg', -} \ No newline at end of file From ea049f1e7c4f3104420aadb818e779af07ddfa85 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sat, 1 Apr 2023 12:05:42 +0200 Subject: [PATCH 050/236] Remove and rename some locales --- [core]/es_extended/locales/tc.lua | 365 ------------------ .../es_extended/locales/{sc.lua => zh-cn.lua} | 2 +- [core]/esx_identity/locales/sv.lua | 38 -- [core]/esx_identity/locales/tc.lua | 33 -- [core]/esx_multicharacter/html/locales/tr.js | 8 - .../html/locales/{sc.js => zh-cn.js} | 0 [core]/esx_multicharacter/locales/tr.lua | 11 - .../locales/{sc.lua => zh-cn.lua} | 2 +- [core]/esx_skin/locales/sv.lua | 6 - [core]/esx_skin/locales/tr.lua | 6 - [core]/esx_skin/locales/{sc.lua => zh-cn.lua} | 2 +- [core]/skinchanger/locales/sv.lua | 100 ----- [core]/skinchanger/locales/tr.lua | 76 ---- 13 files changed, 3 insertions(+), 646 deletions(-) delete mode 100644 [core]/es_extended/locales/tc.lua rename [core]/es_extended/locales/{sc.lua => zh-cn.lua} (99%) delete mode 100644 [core]/esx_identity/locales/sv.lua delete mode 100644 [core]/esx_identity/locales/tc.lua delete mode 100644 [core]/esx_multicharacter/html/locales/tr.js rename [core]/esx_multicharacter/html/locales/{sc.js => zh-cn.js} (100%) delete mode 100644 [core]/esx_multicharacter/locales/tr.lua rename [core]/esx_multicharacter/locales/{sc.lua => zh-cn.lua} (98%) delete mode 100644 [core]/esx_skin/locales/sv.lua delete mode 100644 [core]/esx_skin/locales/tr.lua rename [core]/esx_skin/locales/{sc.lua => zh-cn.lua} (91%) delete mode 100644 [core]/skinchanger/locales/sv.lua delete mode 100644 [core]/skinchanger/locales/tr.lua diff --git a/[core]/es_extended/locales/tc.lua b/[core]/es_extended/locales/tc.lua deleted file mode 100644 index 59c269f1..00000000 --- a/[core]/es_extended/locales/tc.lua +++ /dev/null @@ -1,365 +0,0 @@ -Locales['tc'] = { - -- Inventory - ['inventory'] = '背包 %s / %s', - ['use'] = '使用', - ['give'] = '給', - ['remove'] = '丟棄', - ['return'] = '返回', - ['give_to'] = '給予', - ['amount'] = '數量', - ['giveammo'] = '給予子彈', - ['amountammo'] = '子彈數量', - ['noammo'] = '您沒有足夠的子彈!', - ['gave_item'] = '您把 %sx %s 給予了 %s', - ['received_item'] = '您收到 %sx %s,來自 %s', - ['gave_weapon'] = '您把 %s 給予了 %s', - ['gave_weapon_ammo'] = '您把 ~o~%sx %s %s 給予了 %s', - ['gave_weapon_withammo'] = '您把 %s 和 ~o~%sx %s 給予了 %s', - ['gave_weapon_hasalready'] = '%s 已經有 %s', - ['gave_weapon_noweapon'] = '%s 沒有那把武器', - ['received_weapon'] = '您收到了 %s,來自 %s', - ['received_weapon_ammo'] = '您收到了 ~o~%sx %s (%s),來自%s', - ['received_weapon_withammo'] = '您收到了 %s 和~o~%sx %s,來自%s', - ['received_weapon_hasalready'] = '%s 嘗試給您 %s,但您已經有了', - ['received_weapon_noweapon'] = '%s 嘗試給您 %s 子彈,但是您沒有那把武器', - ['gave_account_money'] = '您將 $%s (%s) 給予 %s', - ['received_account_money'] = '您收到了 $%s (%s) 來自 %s', - ['amount_invalid'] = '無效的數量', - ['players_nearby'] = '附近沒有玩家', - ['ex_inv_lim'] = '操作失敗, 超過 %s 物品欄位的限制', - ['imp_invalid_quantity'] = '操作失敗,無效的數量', - ['imp_invalid_amount'] = '操作失敗,無效的金額', - ['threw_standard'] = '您丟棄了 %sx %s', - ['threw_account'] = '您丟棄了 $%s %s', - ['threw_weapon'] = '您丟棄了 %s', - ['threw_weapon_ammo'] = '您丟棄了 %s 和 ~o~%sx %s', - ['threw_weapon_already'] = '您已經有相同的武器了', - ['threw_cannot_pickup'] = '您不能再撿起該物品,因為您的背包已經滿了', - ['threw_pickup_prompt'] = '按下 E 撿起', - - -- Key mapping - ['keymap_showinventory'] = '顯示背包', - - -- Salary related - ['received_salary'] = '您收到您的薪水: $%s', - ['received_help'] = '你領取到了你的失業救濟金: $%s', - ['company_nomoney'] = '您的公司太窮了,無法給予您薪水。', - ['received_paycheck'] = '收到轉帳', - ['bank'] = '花園銀行', - ['account_bank'] = '銀行', - ['account_black_money'] = '黑錢', - ['account_money'] = '現金', - - ['act_imp'] = '操作失敗', - ['in_vehicle'] = '請離開載具', - - -- Commands - ['command_bring'] = '傳送玩家到你旁邊', - ['command_car'] = '生成載具', - ['command_car_car'] = '生成載具的模型名稱或希哈值', - ['command_cardel'] = '刪除附近的載具', - ['command_cardel_radius'] = '可選擇,刪除指定半徑內的所有車輛', - ['command_clear'] = '清除聊天紀錄', - ['command_clearall'] = '清除所有玩家的聊天紀錄', - ['command_clearinventory'] = '清除玩家背包', - ['command_clearloadout'] = '清除玩家武器配置', - ['command_freeze'] = '凍結玩家', - ['command_unfreeze'] = '解凍玩家', - ['command_giveaccountmoney'] = '給予帳戶錢', - ['command_giveaccountmoney_account'] = '有效的帳戶名稱', - ['command_giveaccountmoney_amount'] = '添加的數量', - ['command_giveaccountmoney_invalid'] = '無效的帳戶名稱', - ['command_giveitem'] = '給玩家一個物品', - ['command_giveitem_item'] = '物品名稱', - ['command_giveitem_count'] = '物品數量', - ['command_giveweapon'] = '給玩家一把武器', - ['command_giveweapon_weapon'] = '武器名稱', - ['command_giveweapon_ammo'] = '子彈數量', - ['command_giveweapon_hasalready'] = '該玩家已經擁有了該武器', - ['command_giveweaponcomponent'] = '給予武器配件', - ['command_giveweaponcomponent_component'] = '配件名稱', - ['command_giveweaponcomponent_invalid'] = '無效的武器配件', - ['command_giveweaponcomponent_hasalready'] = '該玩家已經擁有了武器配件', - ['command_giveweaponcomponent_missingweapon'] = '該玩家沒有那把武器', - ['command_goto'] = '傳送到一名玩家旁邊', - ['command_kill'] = '殺死一名玩家', - ['command_save'] = '保存玩家數據至資料庫', - ['command_saveall'] = '保存所有玩家數據至資料庫', - ['command_setaccountmoney'] = '為玩家設置賬戶資金', - ['command_setaccountmoney_amount'] = '要設置的金額', - ['command_setcoords'] = '傳送到座標上', - ['command_setcoords_x'] = 'x 軸', - ['command_setcoords_y'] = 'y 軸', - ['command_setcoords_z'] = 'z 軸', - ['command_setjob'] = '設定該玩家職業', - ['command_setjob_job'] = '職業名稱', - ['command_setjob_grade'] = '職業階級', - ['command_setjob_invalid'] = '職業、階級或者兩者都無效', - ['command_setgroup'] = '設定玩家群組階級', - ['command_setgroup_group'] = '玩家群組階級名稱', - ['commanderror_argumentmismatch'] = '參數數量不正確(該類型為 %s, 需要給予 %s)', - ['commanderror_argumentmismatch_number'] = '參數 #%s 類型不匹配(該類型為字串,需要給予的數字類型)', - ['commanderror_invaliditem'] = '無效的物品名稱', - ['commanderror_invalidweapon'] = '無效武器', - ['commanderror_console'] = '該指令不能從控制台執行', - ['commanderror_invalidcommand'] = '/%s 不是有效的指令!', - ['commanderror_invalidplayerid'] = '無效的玩家ID', - ['commandgeneric_playerid'] = '玩家id', - ['command_giveammo_noweapon_found'] = '%s 沒有找到這個武器', - ['command_giveammo_weapon'] = '武器名稱', - ['command_giveammo_ammo'] = '彈藥數量', - ['tpm_nowaypoint'] = '沒有設定導航點', - ['tpm_success'] = '成功傳送', - - ['noclip_message'] = 'Noclip 已被開啟 %s', - ['enabled'] = '~g~開啟~s~', - ['disabled'] = '~r~關閉~s~', - - -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '$%s', - - -- Weapons - - -- Melee - ['weapon_dagger'] = '古董騎兵匕首', - ['weapon_bat'] = '球棒', - ['weapon_battleaxe'] = '戰鬥斧頭', - ['weapon_bottle'] = '瓶子', - ['weapon_crowbar'] = '鐵撬', - ['weapon_flashlight'] = '手電筒', - ['weapon_golfclub'] = '高爾夫球桿', - ['weapon_hammer'] = '鐵鎚', - ['weapon_hatchet'] = '斧頭', - ['weapon_knife'] = '小刀', - ['weapon_knuckle'] = '手指虎', - ['weapon_machete'] = '開山刀', - ['weapon_nightstick'] = '警棍', - ['weapon_wrench'] = '管鉗扳手', - ['weapon_poolcue'] = '桌球桿', - ['weapon_stone_hatchet'] = '石斧', - ['weapon_switchblade'] = '彈簧刀', - - -- Handguns - ['weapon_appistol'] = '穿甲手槍', - ['weapon_ceramicpistol'] = '陶瓷手槍', - ['weapon_combatpistol'] = '戰鬥手槍', - ['weapon_doubleaction'] = '雙動式左輪手槍', - ['weapon_navyrevolver'] = '海軍左輪手槍', - ['weapon_flaregun'] = '信號槍', - ['weapon_gadgetpistol'] = '佩里克手槍', - ['weapon_heavypistol'] = '重型手槍', - ['weapon_revolver'] = '重型左輪手槍', - ['weapon_revolver_mk2'] = '重型左輪手槍 MK2', - ['weapon_marksmanpistol'] = '射手手槍', - ['weapon_pistol'] = '手槍', - ['weapon_pistol_mk2'] = '手槍 MK2', - ['weapon_pistol50'] = '50 口徑手槍', - ['weapon_snspistol'] = '劣質手槍', - ['weapon_snspistol_mk2'] = '劣質手槍 MK2', - ['weapon_stungun'] = '電擊槍', - ['weapon_raypistol'] = '原子堡手槍', - ['weapon_vintagepistol'] = '復古手槍', - - -- Shotguns - ['weapon_assaultshotgun'] = '突擊霰彈槍', - ['weapon_autoshotgun'] = '衝鋒霰彈槍', - ['weapon_bullpupshotgun'] = '犢牛式霰彈槍', - ['weapon_combatshotgun'] = '戰鬥霰彈槍', - ['weapon_dbshotgun'] = '雙管霰彈槍', - ['weapon_heavyshotgun'] = '重型霰彈槍', - ['weapon_musket'] = '老式火槍', - ['weapon_pumpshotgun'] = '泵動式霰彈槍', - ['weapon_pumpshotgun_mk2'] = '泵動式霰彈槍 MK2', - ['weapon_sawnoffshotgun'] = '削短型霰彈槍', - - -- SMG & LMG - ['weapon_assaultsmg'] = '突擊衝鋒槍', - ['weapon_combatmg'] = '戰鬥機關槍', - ['weapon_combatmg_mk2'] = '戰鬥機關槍 MK2', - ['weapon_combatpdw'] = '戰鬥自衛衝鋒槍', - ['weapon_gusenberg'] = '古森柏衝鋒槍', - ['weapon_machinepistol'] = '衝鋒手槍', - ['weapon_mg'] = '機關槍', - ['weapon_microsmg'] = '小型衝鋒槍', - ['weapon_minismg'] = '迷你衝鋒槍', - ['weapon_smg'] = '衝鋒槍', - ['weapon_smg_mk2'] = '衝鋒槍', - ['weapon_raycarbine'] = '不潔使者', - - -- Rifles - ['weapon_advancedrifle'] = '高階步槍', - ['weapon_assaultrifle'] = '突擊步槍', - ['weapon_assaultrifle_mk2'] = '突擊步槍 MK2', - ['weapon_bullpuprifle'] = '犢牛式步槍', - ['weapon_bullpuprifle_mk2'] = '犢牛式步槍 MK2', - ['weapon_carbinerifle'] = '卡賓步槍', - ['weapon_carbinerifle_mk2'] = '卡賓步槍 MK2', - ['weapon_compactrifle'] = '精簡型步槍', - ['weapon_militaryrifle'] = '軍用步槍', - ['weapon_specialcarbine'] = '特製卡賓步槍', - ['weapon_specialcarbine_mk2'] = '特製卡賓步槍 MK2', - - -- Sniper - ['weapon_heavysniper'] = '重型狙擊槍', - ['weapon_heavysniper_mk2'] = '重型狙擊槍 MK2', - ['weapon_marksmanrifle'] = '射手步槍', - ['weapon_marksmanrifle_mk2'] = '射手步槍 MK2', - ['weapon_sniperrifle'] = '狙擊槍', - - -- Heavy / Launchers - ['weapon_compactlauncher'] = '精簡榴彈發射器', - ['weapon_firework'] = '煙火發射器', - ['weapon_grenadelauncher'] = '榴彈發射器', - ['weapon_hominglauncher'] = '追蹤彈發射器', - ['weapon_minigun'] = '火神機槍', - ['weapon_railgun'] = '雷射槍', - ['weapon_rpg'] = '火箭砲', - ['weapon_rayminigun'] = '寡婦製造者', - - -- Criminal Enterprises DLC - ['weapon_metaldetector'] = '金屬探測器', - ['weapon_precisionrifle'] = '精準步槍', - ['weapon_tactilerifle'] = '制式卡賓步槍', - - -- Thrown - ['weapon_ball'] = '球', - ['weapon_bzgas'] = '毒氣彈', - ['weapon_flare'] = '信號彈', - ['weapon_grenade'] = '手榴彈', - ['weapon_petrolcan'] = '汽油桶', - ['weapon_hazardcan'] = '有害汽油桶', - ['weapon_molotov'] = '汽油彈', - ['weapon_proxmine'] = '感應式地雷', - ['weapon_pipebomb'] = '土製炸彈', - ['weapon_snowball'] = '雪球', - ['weapon_stickybomb'] = '黏彈', - ['weapon_smokegrenade'] = '催淚瓦斯', - - -- Special - ['weapon_fireextinguisher'] = '滅火器', - ['weapon_digiscanner'] = '數位掃描儀', - ['weapon_garbagebag'] = '垃圾袋', - ['weapon_handcuffs'] = '手銬', - ['gadget_nightvision'] = '夜視鏡', - ['gadget_parachute'] = '降落傘', - - -- Weapon Components - ['component_knuckle_base'] = '基本款', - ['component_knuckle_pimp'] = '皮條客', - ['component_knuckle_ballas'] = '巴勒幫', - ['component_knuckle_dollar'] = '江湖騙子', - ['component_knuckle_diamond'] = '搖滾龐克', - ['component_knuckle_hate'] = '仇恨份子', - ['component_knuckle_love'] = '甜蜜情人', - ['component_knuckle_player'] = '花花公子', - ['component_knuckle_king'] = '王者無敵', - ['component_knuckle_vagos'] = '維戈斯幫', - - ['component_luxary_finish'] = '尤瑟夫·阿米爾富豪塗裝', - - ['component_handle_default'] = '原裝刀柄', - ['component_handle_vip'] = '老大款式', - ['component_handle_bodyguard'] = '保鑣款式', - - ['component_vip_finish'] = '老大款式', - ['component_bodyguard_finish'] = '保鑣款式', - - ['component_camo_finish'] = '數碼迷彩', - ['component_camo_finish2'] = '筆刷迷彩', - ['component_camo_finish3'] = '林地迷彩', - ['component_camo_finish4'] = '骷髏頭', - ['component_camo_finish5'] = '希斯提·耐', - ['component_camo_finish6'] = '神之子', - ['component_camo_finish7'] = '豹紋', - ['component_camo_finish8'] = '斑馬紋', - ['component_camo_finish9'] = '幾何', - ['component_camo_finish10'] = 'BOOM!', - ['component_camo_finish11'] = '愛國者', - - ['component_camo_slide_finish'] = '數碼迷彩塗裝', - ['component_camo_slide_finish2'] = '筆刷迷彩塗裝', - ['component_camo_slide_finish3'] = '林地迷彩塗裝', - ['component_camo_slide_finish4'] = '骷髏頭塗裝', - ['component_camo_slide_finish5'] = '希斯提·耐塗裝', - ['component_camo_slide_finish6'] = '神之子塗裝', - ['component_camo_slide_finish7'] = '豹紋塗裝', - ['component_camo_slide_finish8'] = '斑馬紋塗裝', - ['component_camo_slide_finish9'] = '幾何塗裝', - ['component_camo_slide_finish10'] = 'BOOM塗裝', - ['component_camo_slide_finish11'] = '愛國者塗裝', - - ['component_clip_default'] = '預設彈匣', - ['component_clip_extended'] = '擴充彈匣', - ['component_clip_drum'] = '彈鼓', - ['component_clip_box'] = '盒型彈匣', - - ['component_scope_holo'] = '全像式瞄準鏡', - ['component_scope_small'] = '小型瞄準鏡', - ['component_scope_medium'] = '中型瞄準鏡', - ['component_scope_large'] = '大型瞄準鏡', - ['component_scope'] = '瞄準鏡', - ['component_scope_advanced'] = '先進瞄準鏡', - ['component_ironsights'] = '鐵瞄具', - - ['component_suppressor'] = '消音器', - ['component_compensator'] = '補償器', - - ['component_muzzle_flat'] = '扁型槍口制動器', - ['component_muzzle_tactical'] = '戰術槍口制動器', - ['component_muzzle_fat'] = '寬尾型槍口制動器', - ['component_muzzle_precision'] = '精準槍口制動器', - ['component_muzzle_heavy'] = '耐用型槍口制動器', - ['component_muzzle_slanted'] = '傾斜型槍口制動器', - ['component_muzzle_split'] = '分岔型槍口制動器', - ['component_muzzle_squared'] = '方形槍口制動器', - - ['component_flashlight'] = '手電筒', - ['component_grip'] = '握把', - - ['component_barrel_default'] = '預設槍管', - ['component_barrel_heavy'] = '重型槍管', - - ['component_ammo_tracer'] = '曳光彈', - ['component_ammo_incendiary'] = '燃燒彈', - ['component_ammo_hollowpoint'] = '空包彈', - ['component_ammo_fmj'] = '全金屬外殼彈', - ['component_ammo_armor'] = '穿甲彈', - ['component_ammo_explosive'] = '爆裂彈', - - ['component_shells_default'] = '預設彈藥', - ['component_shells_incendiary'] = '龍息彈', - ['component_shells_armor'] = '鋼製獵鹿彈', - ['component_shells_hollowpoint'] = '飛鏢彈', - ['component_shells_explosive'] = '爆裂彈', - - -- Weapon Ammo - ['ammo_rounds'] = '發(子彈)', - ['ammo_shells'] = '發(子彈)', - ['ammo_charge'] = '噴', - ['ammo_petrol'] = '加崙(燃料)', - ['ammo_firework'] = '發(煙火)', - ['ammo_rockets'] = '枚(火箭彈)', - ['ammo_grenadelauncher'] = '發(榴彈)', - ['ammo_grenade'] = '枚(手榴彈)', - ['ammo_stickybomb'] = '枚(炸彈)', - ['ammo_pipebomb'] = '枚(炸彈)', - ['ammo_smokebomb'] = '枚(炸彈)', - ['ammo_molotov'] = '瓶(汽油瓶)', - ['ammo_proxmine'] = '個(地雷)', - ['ammo_bzgas'] = '罐', - ['ammo_ball'] = '顆(球)', - ['ammo_snowball'] = '顆(雪球)', - ['ammo_flare'] = '根(信號棒)', - ['ammo_flaregun'] = '發(信號彈)', - - -- Weapon Tints - ['tint_default'] = '預設色調', - ['tint_green'] = '綠色調', - ['tint_gold'] = '金色調', - ['tint_pink'] = '粉色調', - ['tint_army'] = '軍用色調', - ['tint_lspd'] = '洛聖都警察局色調', - ['tint_orange'] = '橘色調', - ['tint_platinum'] = '白金色調', -} diff --git a/[core]/es_extended/locales/sc.lua b/[core]/es_extended/locales/zh-cn.lua similarity index 99% rename from [core]/es_extended/locales/sc.lua rename to [core]/es_extended/locales/zh-cn.lua index f18c405d..81e39133 100644 --- a/[core]/es_extended/locales/sc.lua +++ b/[core]/es_extended/locales/zh-cn.lua @@ -1,4 +1,4 @@ -Locales['sc'] = { +Locales['zh-cn'] = { -- Inventory ['inventory'] = '背包 %s / %s', ['use'] = '使用', diff --git a/[core]/esx_identity/locales/sv.lua b/[core]/esx_identity/locales/sv.lua deleted file mode 100644 index 0b74e289..00000000 --- a/[core]/esx_identity/locales/sv.lua +++ /dev/null @@ -1,38 +0,0 @@ -Locales['sv'] = { - ['show_active_character'] = 'Visa aktiva karaktär', - ['active_character'] = 'Aktiv karaktär: %s', - ['error_active_character'] = "Det gick inte att hämta din data.", - ['delete_character'] = 'Ta bort nuvarande karaktär och skapa en ny.', - ['deleted_character'] = 'Karaktär raderad.', - ['error_delete_character'] = "Det gick inte att ta bort din karaktär.", - ['thank_you_for_registering'] = "Registrering lyckades, Ha så kul!", - ['registration_error'] = "Det uppstod ett problem när du registrerade din karaktär, se till att informationen är korrekt.", - ['debug_xPlayer_get_first_name'] = "Returnerar ditt förnamn", - ['debug_xPlayer_get_last_name'] = "Returnerar ditt efternamn", - ['debug_xPlayer_get_full_name'] = "Returnerar ditt fullständiga namn", - ['debug_xPlayer_get_sex'] = "Returnerar ditt kön", - ['debug_xPlayer_get_dob'] = "Returnerar ditt födelsedatum", - ['debug_xPlayer_get_height'] = "Returnerar din längd", - ['error_debug_xPlayer_get_first_name'] = "Det uppstod ett problem när du fick ditt förnamn.", - ['error_debug_xPlayer_get_last_name'] = "Det uppstod ett problem när du fick ditt efternamn.", - ['error_debug_xPlayer_get_full_name'] = "Det uppstod ett problem när du fick ditt fullständiga namn.", - ['error_debug_xPlayer_get_sex'] = "Det uppstod ett problem när du skaffade ditt kön.", - ['error_debug_xPlayer_get_dob'] = "Det uppstod ett problem när du skaffade ditt födelsedatum.", - ['error_debug_xPlayer_get_height'] = "Det uppstod ett problem när du fick din längd.", - ['return_debug_xPlayer_get_first_name'] = "Förnamn: %s", - ['return_debug_xPlayer_get_last_name'] = "Efternamn: %s", - ['return_debug_xPlayer_get_full_name'] = "Fullständiga namn: %s", - ['return_debug_xPlayer_get_sex'] = "Kön: %s", - ['return_debug_xPlayer_get_dob'] = "Födelsedatum: %s", - ['return_debug_xPlayer_get_height'] = "Längd: %s Centimeter", - ['data_incorrect'] = 'Uppgifterna har angetts felaktigt. Var god försök igen.', - ['invalid_format'] = 'Data är felaktigt formaterade. Var god försök igen.', - ['no_identifier'] = 'Det uppstod ett fel när din karaktär skulle laddas!\nError code: identifier-missing\n\nOrsaken till detta fel är inte känd, din identifierare kunde inte hittas. Kom tillbaka senare eller rapportera det här problemet till en administratör.', - ['missing_identity'] = 'Det uppstod ett fel när din karaktär skulle laddas!\nError code: identity-missing\n\nDet verkar som om din identitet saknas, försök ansluta igen.', - ['deleted_identity'] = 'Din karaktär har tagits bort. Logga in igen för att skapa en ny karaktär.', - ['invalid_firstname_format'] = 'Ogiltigt format (Namn): Försök igen.', - ['invalid_lastname_format'] = 'Ogiltigt format (Efternamn): Försök igen.', - ['invalid_dob_format'] = 'Ogiltigt format (DOB): Please try again.', - ['invalid_sex_format'] = 'Ogiltigt formatOgiltigt format (Kön): Försök igen.', - ['invalid_height_format'] = 'Ogiltigt format (Längd): Försök igen.' -} diff --git a/[core]/esx_identity/locales/tc.lua b/[core]/esx_identity/locales/tc.lua deleted file mode 100644 index 65f210b7..00000000 --- a/[core]/esx_identity/locales/tc.lua +++ /dev/null @@ -1,33 +0,0 @@ -Locales['tc'] = { - ['show_active_character'] = '顯示已啟用的人物', - ['active_character'] = '已啟用的人物: %s', - ['error_active_character'] = "獲取您的數據時出現錯誤", - ['delete_character'] = '刪除當前的人物並創建一個新的人物', - ['deleted_character'] = '人物已刪除', - ['error_delete_character'] = "刪除您的人物時出現錯誤", - ['thank_you_for_registering'] = "註冊成功, 歡迎遊玩!", - ['registration_error'] = "您的資料不正確", - ['debug_xPlayer_get_first_name'] = "回呼你的名稱", - ['debug_xPlayer_get_last_name'] = "回呼您的姓氏", - ['debug_xPlayer_get_full_name'] = "回呼你的姓名", - ['debug_xPlayer_get_sex'] = "回呼你的性別", - ['debug_xPlayer_get_dob'] = "回呼你的出生日期", - ['debug_xPlayer_get_height'] = "回呼你的身高", - ['error_debug_xPlayer_get_first_name'] = "獲取您的名稱時出現錯誤", - ['error_debug_xPlayer_get_last_name'] = "獲取您的姓氏時出現錯誤", - ['error_debug_xPlayer_get_full_name'] = "獲取您的姓名時出現錯誤", - ['error_debug_xPlayer_get_sex'] = "獲取您的性別時出現錯誤", - ['error_debug_xPlayer_get_dob'] = "獲取您的出生日期時出現錯誤", - ['error_debug_xPlayer_get_height'] = "獲取您的身高時出現錯誤", - ['return_debug_xPlayer_get_first_name'] = "名稱: %s", - ['return_debug_xPlayer_get_last_name'] = "姓氏: %s", - ['return_debug_xPlayer_get_full_name'] = "姓名: %s", - ['return_debug_xPlayer_get_sex'] = "性別: %s", - ['return_debug_xPlayer_get_dob'] = "出生日期: %s", - ['return_debug_xPlayer_get_height'] = "身高: %s cm", - ['data_incorrect'] = '您輸入的資料無效, 請重試', - ['invalid_format'] = '您輸入的資料格式無效, 請重試', - ['no_identifier'] = '[ESX Identity]\n加載人物時出現錯誤!\n錯誤代碼: identifier-missing\n\n這是由於您的標識符丟失造成的, 請稍後再回來或將此問題報告給伺服器所有者', - ['missing_identity'] = '[ESX Identity]\n加載人物時出現錯誤!\n錯誤代碼: identity-missing\n\n您的人物似乎丟失了, 請嘗試重新連接', - ['deleted_identity'] = '人物已刪除, 請重新加入以創建新人物' -} diff --git a/[core]/esx_multicharacter/html/locales/tr.js b/[core]/esx_multicharacter/html/locales/tr.js deleted file mode 100644 index ab820732..00000000 --- a/[core]/esx_multicharacter/html/locales/tr.js +++ /dev/null @@ -1,8 +0,0 @@ -const translate = new Object(); - -translate.name = "İsim"; -translate.job = "Meslek"; -translate.bank = "Banka"; -translate.money = "Nakit"; -translate.gender = "Cinsiyet"; -translate.dob = "Doğum Tarihi"; diff --git a/[core]/esx_multicharacter/html/locales/sc.js b/[core]/esx_multicharacter/html/locales/zh-cn.js similarity index 100% rename from [core]/esx_multicharacter/html/locales/sc.js rename to [core]/esx_multicharacter/html/locales/zh-cn.js diff --git a/[core]/esx_multicharacter/locales/tr.lua b/[core]/esx_multicharacter/locales/tr.lua deleted file mode 100644 index 8a3aa060..00000000 --- a/[core]/esx_multicharacter/locales/tr.lua +++ /dev/null @@ -1,11 +0,0 @@ -Locales['tr'] = { - ['male'] = "Erkek", - ['female'] = "Kadın", - ['delete_label'] = "Sil %s %s?", - ['select_char'] = "Karakter Seç", - ['create_char'] = "Yeni Karakter Oluştur", - ['char_play'] = "Bu Karakterle Oyna", - ['char_delete'] = "Bu Karakteri Sil", - ['cancel'] = "İptal", - ['confirm'] = "Onayla", -} diff --git a/[core]/esx_multicharacter/locales/sc.lua b/[core]/esx_multicharacter/locales/zh-cn.lua similarity index 98% rename from [core]/esx_multicharacter/locales/sc.lua rename to [core]/esx_multicharacter/locales/zh-cn.lua index 0cf8a026..2b1caca5 100644 --- a/[core]/esx_multicharacter/locales/sc.lua +++ b/[core]/esx_multicharacter/locales/zh-cn.lua @@ -1,4 +1,4 @@ -Locales["sc"] = { +Locales["zh-cn"] = { ["male"] = "男性", ["female"] = "女性", ["select_char"] = "选择角色", diff --git a/[core]/esx_skin/locales/sv.lua b/[core]/esx_skin/locales/sv.lua deleted file mode 100644 index b728903a..00000000 --- a/[core]/esx_skin/locales/sv.lua +++ /dev/null @@ -1,6 +0,0 @@ -Locales['sv'] = { - ['skin_menu'] = 'Skin meny', - ['use_rotate_view'] = 'Använd ~INPUT_FRONTEND_LS~ och ~INPUT_CHARACTER_WHEEL~ för att rotera vyn.', - ['skin'] = 'Ändra skin', - ['saveskin'] = 'Spara skin till en fil', -} diff --git a/[core]/esx_skin/locales/tr.lua b/[core]/esx_skin/locales/tr.lua deleted file mode 100644 index ca53e487..00000000 --- a/[core]/esx_skin/locales/tr.lua +++ /dev/null @@ -1,6 +0,0 @@ -Locales['tr'] = { - ['skin_menu'] = 'Karakter Menüsü', - ['use_rotate_view'] = '~INPUT_FRONTEND_LS~ ve ~INPUT_CHARACTER_WHEEL~ ile kamera açısını değiştirebilirsiniz.', - ['skin'] = 'Karakter Değiştir', - ['saveskin'] = 'Karakteri bir dosyaya kaydet', -} diff --git a/[core]/esx_skin/locales/sc.lua b/[core]/esx_skin/locales/zh-cn.lua similarity index 91% rename from [core]/esx_skin/locales/sc.lua rename to [core]/esx_skin/locales/zh-cn.lua index 00699034..f1d715a3 100644 --- a/[core]/esx_skin/locales/sc.lua +++ b/[core]/esx_skin/locales/zh-cn.lua @@ -1,4 +1,4 @@ -Locales['en'] = { +Locales['zh-cn'] = { ['skin_menu'] = '皮肤选单', ['use_rotate_view'] = '使用 ~INPUT_FRONTEND_LS~ 和 ~INPUT_CHARACTER_WHEEL~ 旋转镜头视角.', ['skin'] = '更换皮肤数据', diff --git a/[core]/skinchanger/locales/sv.lua b/[core]/skinchanger/locales/sv.lua deleted file mode 100644 index 651e47d2..00000000 --- a/[core]/skinchanger/locales/sv.lua +++ /dev/null @@ -1,100 +0,0 @@ -Locales['sv'] = { - ['sex'] = 'Kön', - ['mom'] = 'Mammas ansikte', - ['dad'] = 'Pappas ansikte', - ['resemblance'] = 'Likhet', - ['skin_tone'] = 'Hudton', - ['nose_1'] = 'Näsvidd', - ['nose_2'] = 'Nästoppshöjd', - ['nose_3'] = 'Nästoppslängd', - ['nose_4'] = 'Näsbenshöjd', - ['nose_5'] = 'Nästoppssänkning', - ['nose_6'] = 'Näsbensvridning', - ['cheeks_1'] = 'Kindbens höjd', - ['cheeks_2'] = 'Kindbens bredd', - ['cheeks_3'] = 'Kinder bredd', - ['lip_fullness'] = 'Läppfullhet', - ['jaw_bone_width'] = 'Käkbensbredd', - ['jaw_bone_length'] = 'Käkbenslängd', - ['chin_height'] = 'Hakhöjd', - ['chin_length'] = 'Haklängd', - ['chin_width'] = 'Hakbredd', - ['chin_hole'] = 'Hakhålsstorlek', - ['neck_thickness'] = 'Halstjocklek', - ['wrinkles'] = 'Rynkor', - ['wrinkle_thickness'] = 'Rynktjocklek', - ['beard_type'] = 'Skägg typ', - ['beard_size'] = 'Skäggstorlek', - ['beard_color_1'] = 'Skäggfärg 1', - ['beard_color_2'] = 'Skäggfärg 2', - ['hair_1'] = 'Hår 1', - ['hair_2'] = 'Hår 2', - ['hair_color_1'] = 'Hårfärg 1', - ['hair_color_2'] = 'Hårfärg 1', - ['eye_color'] = 'Ögonfärg', - ['eye_squint'] = 'Ögonkisning', - ['eyebrow_type'] = 'Ögonbrynstyp', - ['eyebrow_size'] = 'Storlek på ögonbrynen', - ['eyebrow_color_1'] = 'Ögonbrynsfärg 1', - ['eyebrow_color_2'] = 'Ögonbrynsfärg 2', - ['eyebrow_depth'] = 'Ögonbryns djup', - ['eyebrow_height'] = 'Ögonbrynshöjd', - ['makeup_type'] = 'Typ av smink', - ['makeup_thickness'] = 'Sminktjocklek', - ['makeup_color_1'] = 'Sminkfärg 1', - ['makeup_color_2'] = 'Sminkfärg 2', - ['lipstick_type'] = 'Läppstiftstyp', - ['lipstick_thickness'] = 'Läppstift tjocklek', - ['lipstick_color_1'] = 'Läppstiftsfärg 1', - ['lipstick_color_2'] = 'Läppstiftsfärg 2', - ['ear_accessories'] = 'Örontillbehör', - ['ear_accessories_color'] = 'Örontillbehör färg', - ['tshirt_1'] = 'T-Shirt 1', - ['tshirt_2'] = 'T-Shirt 2', - ['torso_1'] = 'Kropp 1', - ['torso_2'] = 'Kropp 2', - ['decals_1'] = 'Dekaler 1', - ['decals_2'] = 'Dekaler 2', - ['arms'] = 'Armar', - ['arms_2'] = 'Armar 2', - ['pants_1'] = 'Byxor 1', - ['pants_2'] = 'Byxor 2', - ['shoes_1'] = 'Skor 1', - ['shoes_2'] = 'Skor 2', - ['mask_1'] = 'Mask 1', - ['mask_2'] = 'Mask 2', - ['bproof_1'] = 'Skottsäker väst 1', - ['bproof_2'] = 'Skottsäker väst 2', - ['chain_1'] = 'Kedja 1', - ['chain_2'] = 'kedja 2', - ['helmet_1'] = 'Hjälm 1', - ['helmet_2'] = 'Hjälm 2', - ['watches_1'] = 'Klockor 1', - ['watches_2'] = 'Klockor 2', - ['bracelets_1'] = 'Armband 1', - ['bracelets_2'] = 'Armband 2', - ['glasses_1'] = 'Glasögon 1', - ['glasses_2'] = 'Glasögon 2', - ['bag'] = 'Väska', - ['bag_color'] = 'Väsk färg', - ['blemishes'] = 'Fläckar', - ['blemishes_size'] = 'Fläckar tjocklek', - ['ageing'] = 'Åldrande', - ['ageing_1'] = 'Åldrande tjocklek', - ['blush'] = 'Rouge', - ['blush_1'] = 'Rouge tjocklek', - ['blush_color'] = 'Rouge färg', - ['complexion'] = 'Hy', - ['complexion_1'] = 'Hy tjocklek', - ['sun'] = 'Sol', - ['sun_1'] = 'Soltjocklek', - ['freckles'] = 'Fräknar', - ['freckles_1'] = 'Fräknar tjocklek', - ['chest_hair'] = 'Brösthår', - ['chest_hair_1'] = 'Brösthårets tjocklek', - ['chest_color'] = 'Hårfärg på bröstet', - ['bodyb'] = 'Kroppsfläckar', - ['bodyb_size'] = 'Kroppsfläckar tjocklek', - ['bodyb_extra'] = 'Fläckar kroppseffekt', - ['bodyb_extra_thickness'] = 'Fläckar kroppseffekt tjocklek', -} \ No newline at end of file diff --git a/[core]/skinchanger/locales/tr.lua b/[core]/skinchanger/locales/tr.lua deleted file mode 100644 index cec054f7..00000000 --- a/[core]/skinchanger/locales/tr.lua +++ /dev/null @@ -1,76 +0,0 @@ -Locales['tr'] = { - ['sex'] = 'cinsiyet', - ['face'] = 'yüz', - ['skin'] = 'deri', - ['wrinkles'] = 'kırışıklıklar', - ['wrinkle_thickness'] = 'kırışıklık yoğunluğu', - ['beard_type'] = 'sakal tipi', - ['beard_size'] = 'sakal boyutu', - ['beard_color_1'] = 'sakal rengi 1', - ['beard_color_2'] = 'sakal rengi 2', - ['hair_1'] = 'saç 1', - ['hair_2'] = 'saç 2', - ['hair_color_1'] = 'saç rengi 1', - ['hair_color_2'] = 'saç rengi 2', - ['eye_color'] = 'göz rengi', - ['eyebrow_type'] = 'kaş tipi', - ['eyebrow_size'] = 'kaş boyutu', - ['eyebrow_color_1'] = 'kaş rengi 1', - ['eyebrow_color_2'] = 'Kaş Rengi 2', - ['makeup_type'] = 'makyaj tipi', - ['makeup_thickness'] = 'makyaj kalınlığı', - ['makeup_color_1'] = 'makyaj rengi 1', - ['makeup_color_2'] = 'makyaj rengi 2', - ['lipstick_type'] = 'ruj tipi', - ['lipstick_thickness'] = 'ruj kalınlığı', - ['lipstick_color_1'] = 'ruj rengi 1', - ['lipstick_color_2'] = 'ruj rengi 2', - ['ear_accessories'] = 'kulak aksessuarları', - ['ear_accessories_color'] = 'kulak aksessuar rengi', - ['tshirt_1'] = 'tişört 1', - ['tshirt_2'] = 'tişört 2', - ['torso_1'] = 'gövde 1', - ['torso_2'] = 'gövde 2', - ['decals_1'] = 'çıkartma 1', - ['decals_2'] = 'çıkartma 2', - ['arms'] = 'kollar', - ['arms_2'] = 'kollar 2', - ['pants_1'] = 'pantolonlar 1', - ['pants_2'] = 'pantolonlar 2', - ['shoes_1'] = 'ayakkabılar 1', - ['shoes_2'] = 'ayakkabılar 2', - ['mask_1'] = 'maske 1', - ['mask_2'] = 'maske 2', - ['bproof_1'] = 'zırh 1', - ['bproof_2'] = 'zırh 2', - ['chain_1'] = 'zincir 1', - ['chain_2'] = 'zincir 2', - ['helmet_1'] = 'kask 1', - ['helmet_2'] = 'kask 2', - ['watches_1'] = 'saat 1', - ['watches_2'] = 'saat 2', - ['bracelets_1'] = 'takı 1', - ['bracelets_2'] = 'takı 2', - ['glasses_1'] = 'gözlük 1', - ['glasses_2'] = 'gözlük 2', - ['bag'] = 'çanta', - ['bag_color'] = 'çanta rengi', - ['blemishes'] = 'leke', - ['blemishes_size']= 'leke kalınlığı', - ['ageing'] = 'yaşlanma', - ['ageing_1'] = 'yaşlanma kalınlığı', - ['blush'] = 'kızarıklık', - ['blush_1'] = 'kızarıklık kalınlığı', - ['blush_color'] = 'kızarıklık rengi', - ['complexion'] = 'ten', - ['complexion_1'] = 'ten Kalınlığı', - ['sun'] = 'yanık', - ['sun_1'] = 'yanık kalınlığı', - ['freckles'] = 'çiller', - ['freckles_1'] = 'çil kalınlığı', - ['chest_hair'] = 'gövde kılı', - ['chest_hair_1'] = 'gövde kılı kalınlığı', - ['chest_color'] = 'gövde kılı rengi', - ['bodyb'] = 'gövde lekesi', - ['bodyb_size'] = 'gövde lekesi kalınlığı', -} From 90ccd91caf4871aec30d085337e3e80a3b2a5feb Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sat, 1 Apr 2023 19:58:51 +0200 Subject: [PATCH 051/236] chore(esx_core): Remove German (No translators for that) --- [core]/es_extended/locales/de.lua | 228 ----------------------- [core]/esx_identity/locales/de.lua | 39 ---- [core]/esx_multicharacter/locales/de.lua | 11 -- [core]/esx_skin/locales/de.lua | 6 - [core]/skinchanger/locales/de.lua | 104 ----------- 5 files changed, 388 deletions(-) delete mode 100644 [core]/es_extended/locales/de.lua delete mode 100644 [core]/esx_identity/locales/de.lua delete mode 100644 [core]/esx_multicharacter/locales/de.lua delete mode 100644 [core]/esx_skin/locales/de.lua delete mode 100644 [core]/skinchanger/locales/de.lua diff --git a/[core]/es_extended/locales/de.lua b/[core]/es_extended/locales/de.lua deleted file mode 100644 index 9a6ea35c..00000000 --- a/[core]/es_extended/locales/de.lua +++ /dev/null @@ -1,228 +0,0 @@ -Locales['de'] = { - -- Inventory - ['inventory'] = 'Inventar %s / %s', - ['use'] = 'benutzen', - ['give'] = 'geben', - ['remove'] = 'entfernen', - ['return'] = 'zurück', - ['give_to'] = 'geben an', - ['amount'] = 'Betrag', - ['giveammo'] = 'Munition geben', - ['amountammo'] = 'Anzahl der Munition', - ['noammo'] = 'du hast keine Munition!', - ['gave_item'] = 'du gibst %sx %s an %s', - ['received_item'] = 'du empfängst %sx %s von %s', - ['gave_weapon'] = 'du gibst %s an %s', - ['gave_weapon_ammo'] = 'du gibst ~o~%sx %s von %s an %s', - ['gave_weapon_withammo'] = 'du gibst %s mit ~o~%sx %s an %s', - ['gave_weapon_hasalready'] = '%s hat bereits eine(n) %s', - ['gave_weapon_noweapon'] = '%s hat diese Waffe nicht', - ['received_weapon'] = 'du erhälst %s von %s', - ['received_weapon_ammo'] = 'du erhälst %sx %s für dein %s von %s', - ['received_weapon_withammo'] = 'du erhälst %s mit %sx %s von %s', - ['received_weapon_hasalready'] = '%s hat versucht dir eine(n) %s zu geben, aber du hast bereits eine(n)', - ['received_weapon_noweapon'] = '%s hat versucht dir Munition für eine(n) %s, aber du besitzt diese Waffe nicht', - ['gave_account_money'] = 'du gibst $%s (%s) an %s', - ['received_account_money'] = 'du empfängst $%s (%s) von %s', - ['amount_invalid'] = 'ungültiger Betrag', - ['players_nearby'] = 'keine Spieler in der Nähe', - ['ex_inv_lim'] = 'Aktion nicht möglich, Inventarlimit überschritten für %s', - ['imp_invalid_quantity'] = 'Aktion nicht möglich, ungültige Anzahl', - ['imp_invalid_amount'] = 'Aktion nicht möglich, ungültiger Betrag', - ['threw_standard'] = 'du wirfst %sx %s', - ['threw_account'] = 'du wirfst $%s %s weg', - ['threw_weapon'] = 'du wirfst %s weg', - ['threw_weapon_ammo'] = 'du wirfst %s mit %sx %s weg', - ['threw_weapon_already'] = 'Du hast bereits diese Waffe', - ['threw_cannot_pickup'] = 'Du kannst das nicht aufheben, da dein Inventar voll ist', - ['threw_pickup_prompt'] = 'drücke E um aufzuheben', - - -- Key mapping - ['keymap_showinventory'] = 'Inventar anzeigen', - - -- Salary related - ['received_salary'] = 'du hast dein Gehalt erhalten: $%s', - ['received_help'] = 'du hast deine Sozialhilfe erhalten: $%s', - ['company_nomoney'] = 'die Firma in der du angestellt bist, ist zu arm um dir dein Gehalt zu zahlen', - ['received_paycheck'] = 'erhaltener Gehaltsscheck', - ['bank'] = 'Bank', - ['account_bank'] = 'Bank', - ['account_black_money'] = 'Schwarzgeld', - ['account_money'] = 'Geld', - - ['act_imp'] = 'Aktion nicht möglich', - ['in_vehicle'] = 'du kannst keine Items in einem Fahrzeug weitergeben', - - -- Commands - ['command_car'] = 'Fahrzeug spawnen', - ['command_car_car'] = 'Fahrzeug spawnname oder hash', - ['command_cardel'] = 'Fahrzeuge in der nähe löschen', - ['command_cardel_radius'] = 'Optional, jedes Fahrzeug innerhalb des angegebenen Radius löschen', - ['command_clear'] = 'Chat leeren', - ['command_clearall'] = 'Chat leeren für alle spieler', - ['command_clearinventory'] = 'Spielerinventar leeren', - ['command_clearloadout'] = 'Spielerausstattung löschen', - ['command_giveaccountmoney'] = 'Geld aufs Konto laden', - ['command_giveaccountmoney_account'] = 'gültiger Kontoname', - ['command_giveaccountmoney_amount'] = 'Anzahl zum hinzufügen', - ['command_giveaccountmoney_invalid'] = 'Ungültiger Kontoname', - ['command_giveitem'] = 'Item an Spieler geben', - ['command_giveitem_item'] = 'Itemname', - ['command_giveitem_count'] = 'item Anzahl', - ['command_giveweapon'] = 'Spieler eine Waffe geben', - ['command_giveweapon_weapon'] = 'Waffenname', - ['command_giveweapon_ammo'] = 'Munitionsanzahl', - ['command_giveweapon_hasalready'] = 'Spieler bereits im Besitz dieser Waffe', - ['command_giveweaponcomponent'] = 'Spieler Waffenaufsatz geben', - ['command_giveweaponcomponent_component'] = 'Waffenaufsatz Name', - ['command_giveweaponcomponent_invalid'] = 'ungültiger Waffenaufsatz', - ['command_giveweaponcomponent_hasalready'] = 'Spieler hat bereits diesen Waffenaufsatz', - ['command_giveweaponcomponent_missingweapon'] = 'Der Spieler besitzt diese Waffe nicht', - ['command_save'] = 'Spieler in der Datenbank sichern', - ['command_saveall'] = 'Sichern von allen Spielern auf der Datenbank', - ['command_setaccountmoney'] = 'Kontosumme des Spielers setzen', - ['command_setaccountmoney_amount'] = 'Summe', - ['command_setcoords'] = 'Zu den Koordinaten Teleportieren', - ['command_setcoords_x'] = 'x Position', - ['command_setcoords_y'] = 'y Position', - ['command_setcoords_z'] = 'z Position', - ['command_setjob'] = 'Dem Spieler einen Job setzen', - ['command_setjob_job'] = 'Name des Jobs', - ['command_setjob_grade'] = 'Rang des Jobs', - ['command_setjob_invalid'] = 'Der Rang oder der Job ist nicht gültigt.', - ['command_setgroup'] = 'Spielergruppe setzen', - ['command_setgroup_group'] = 'Gruppenname', - ['commanderror_argumentmismatch'] = 'Die Anzahl der Argumente stimmen nicht überein (übergeben %s, gesucht %s)', - ['commanderror_argumentmismatch_number'] = 'argument #%s typ stimmt nicht überein (übergeben string, gewünscht zahl)', - ['commanderror_invaliditem'] = 'falscher Itemname', - ['commanderror_invalidweapon'] = 'ungültige Waffe', - ['commanderror_console'] = 'Der Befehl kann nicht in der Konsole genutzt werden', - ['commanderror_invalidcommand'] = '/%s ist kein verfügbarer Befehl!', - ['commanderror_invalidplayerid'] = 'Kein Spieler mit dieser ID scheint online zu sein', - ['commandgeneric_playerid'] = 'Spieler ID', - ['command_giveammo_noweapon_found'] = '%s besitzt diese Waffe nicht', - ['command_giveammo_weapon'] = 'Waffenname', - ['command_giveammo_ammo'] = 'Munitionsanzahl', - - -- Locale settings - ['locale_digit_grouping_symbol'] = ' ', - ['locale_currency'] = '$%s', - - -- Weapons - ['weapon_knife'] = 'Messer', - ['weapon_nightstick'] = 'Schlagstock', - ['weapon_hammer'] = 'Hammer', - ['weapon_bat'] = 'Schläger', - ['weapon_golfclub'] = 'Golfschläger', - ['weapon_crowbar'] = 'Brecheisen', - ['weapon_pistol'] = 'Pistole', - ['weapon_combatpistol'] = 'Kampfpistole', - ['weapon_appistol'] = 'AP Pistole', - ['weapon_pistol50'] = 'Pistole .50', - ['weapon_microsmg'] = 'Mikro SMG', - ['weapon_smg'] = 'SMG', - ['weapon_assaultsmg'] = 'Kampf SMG', - ['weapon_assaultrifle'] = 'Kampfgewehr', - ['weapon_carbinerifle'] = 'Karabinergewehr', - ['weapon_advancedrifle'] = 'Advancedgewehr', - ['weapon_mg'] = 'MG', - ['weapon_combatmg'] = 'Kampf MG', - ['weapon_pumpshotgun'] = 'Pumpgun', - ['weapon_sawnoffshotgun'] = 'Abgesägte Schrotflinte', - ['weapon_assaultshotgun'] = 'Kampf Schrotflinte', - ['weapon_bullpupshotgun'] = 'Bullpup Schrotflinte', - ['weapon_stungun'] = 'Tazer', - ['weapon_sniperrifle'] = 'Scharfschützengewehr', - ['weapon_heavysniper'] = 'Schweres Sniper', - ['weapon_grenadelauncher'] = 'Granatwerfer', - ['weapon_rpg'] = 'RPG', - ['weapon_minigun'] = 'Minigun', - ['weapon_grenade'] = 'Granate', - ['weapon_stickybomb'] = 'Haftbombe', - ['weapon_smokegrenade'] = 'Rauchgranate', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_molotov'] = 'Molotov Cocktail', - ['weapon_fireextinguisher'] = 'Feuerlöscher', - ['weapon_petrolcan'] = 'Benzinkanister', - ['weapon_ball'] = 'Ball', - ['weapon_snspistol'] = 'SNS Pistole', - ['weapon_bottle'] = 'Flasche', - ['weapon_gusenberg'] = 'Gusenberg', - ['weapon_specialcarbine'] = 'Spezialkarabiner', - ['weapon_heavypistol'] = 'Schwere Pistole', - ['weapon_bullpuprifle'] = 'Bullpupgewehr', - ['weapon_dagger'] = 'Dolch', - ['weapon_vintagepistol'] = 'Vintage Pistole', - ['weapon_firework'] = 'Feuerwerk', - ['weapon_musket'] = 'Muskete', - ['weapon_heavyshotgun'] = 'Schwere Schrotflinte', - ['weapon_marksmanrifle'] = 'Marksmangewehr', - ['weapon_hominglauncher'] = 'Homing Launcher', - ['weapon_proxmine'] = 'Annäherungsmine', - ['weapon_snowball'] = 'Schneeball', - ['weapon_flaregun'] = 'Leuchtpistole', - ['weapon_combatpdw'] = 'Kampf PDW', - ['weapon_marksmanpistol'] = 'Marksman Pistole', - ['weapon_knuckle'] = 'Schlagring', - ['weapon_hatchet'] = 'Axt', - ['weapon_railgun'] = 'Railgun', - ['weapon_machete'] = 'Machete', - ['weapon_machinepistol'] = 'Maschinenpistole', - ['weapon_switchblade'] = 'Klappmesser', - ['weapon_revolver'] = 'Schwerer Revolver', - ['weapon_dbshotgun'] = 'Doppelläufige Schrotflinte', - ['weapon_compactrifle'] = 'Kampfgewehr', - ['weapon_autoshotgun'] = 'Auto Schrotflinte', - ['weapon_battleaxe'] = 'Kampfaxt', - ['weapon_compactlauncher'] = 'Kompakt Granatwerfer', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_pipebomb'] = 'Rohrbombe', - ['weapon_poolcue'] = 'Billiard-Kö', - ['weapon_wrench'] = 'Rohrzange', - ['weapon_flashlight'] = 'Taschenlampe', - ['gadget_parachute'] = 'Fallschirm', - ['weapon_flare'] = 'Leuchtpistole', - ['weapon_doubleaction'] = 'double-Action Revolver', - - -- Weapon Components - ['component_clip_default'] = 'standart Magazin', - ['component_clip_extended'] = 'erweiterters Magazin', - ['component_clip_drum'] = 'Trommelmagazin', - ['component_clip_box'] = 'Kastenmagazin', - ['component_flashlight'] = 'Taschenlampe', - ['component_scope'] = 'Zielfernrohr', - ['component_scope_advanced'] = 'erweitertes Zielfernrohr', - ['component_suppressor'] = 'Schalldämpfer', - ['component_grip'] = 'Griff', - ['component_luxary_finish'] = 'luxus Waffendesign', - - -- Weapon Ammo - ['ammo_rounds'] = 'Kugel(n)', - ['ammo_shells'] = 'Schrotpatrone(n)', - ['ammo_charge'] = 'Ladung', - ['ammo_petrol'] = 'Benzinkanister', - ['ammo_firework'] = 'Feuerwerksrakete(n)', - ['ammo_rockets'] = 'Rakete(n)', - ['ammo_grenadelauncher'] = 'Granate(n)', - ['ammo_grenade'] = 'Granate(n)', - ['ammo_stickybomb'] = 'C4(s)', - ['ammo_pipebomb'] = 'Rohrbombe(n)', - ['ammo_smokebomb'] = 'Rauchgranate(n)', - ['ammo_molotov'] = 'Molotovcocktail(s)', - ['ammo_proxmine'] = 'Annäherungsmine(n)', - ['ammo_bzgas'] = 'Bzgas', - ['ammo_ball'] = 'Ball', - ['ammo_snowball'] = 'Schneebälle', - ['ammo_flare'] = 'Signalfackel(n)', - ['ammo_flaregun'] = 'Signalfackeln(munition)', - - -- Weapon Tints - ['tint_default'] = 'standard', - ['tint_green'] = 'grün', - ['tint_gold'] = 'gold', - ['tint_pink'] = 'pink', - ['tint_army'] = 'camouflage', - ['tint_lspd'] = 'blau', - ['tint_orange'] = 'orange', - ['tint_platinum'] = 'platin', -} diff --git a/[core]/esx_identity/locales/de.lua b/[core]/esx_identity/locales/de.lua deleted file mode 100644 index e8e5c897..00000000 --- a/[core]/esx_identity/locales/de.lua +++ /dev/null @@ -1,39 +0,0 @@ -Locales['de'] = { - ['show_active_character'] = 'Zeige aktiven Charakter', - ['active_character'] = 'Aktiver Charackter: %s', - ['error_active_character'] = "Wir konnten deinen Namen nicht auslesen. Bitte kontaktiere einen Admin.", - ['delete_character'] = 'Lösche deinen Charackter und erstelle einen neuen', - ['deleted_character'] = 'Dein Charakter wurde gelöscht.', - ['error_delete_character'] = "Wir konnten deinen Charakter nicht löschen. Bitte kontaktiere einen Admin.", - ['thank_you_for_registering'] = "Danke fürs Registrieren. Viel Spaß.", - ['registration_error'] = "Es gab einen Fehler während der Registration. Bitte kontaktiere einen Admin.", - ['debug_xPlayer_get_first_name'] = "Gibt deinen Vornamen zurück", - ['debug_xPlayer_get_last_name'] = "Gibt deinen Nachnamen zurück", - ['debug_xPlayer_get_full_name'] = "Gibt deinen vollen Namen zurück", - ['debug_xPlayer_get_sex'] = "Gibt dein Geschlecht zurück", - ['debug_xPlayer_get_dob'] = "Gibt deinen Geburtstag zurück", - ['debug_xPlayer_get_height'] = "Gibt deine Größe zurück", - ['error_debug_xPlayer_get_first_name'] = "Ein Fehler entstand dabei, deinen Vornamen auszulesen.", - ['error_debug_xPlayer_get_last_name'] = "Ein Fehler entstand dabei, deinen Nachnamen auszulesen.", - ['error_debug_xPlayer_get_full_name'] = "Ein Fehler entstand dabei, deinen vollen Namen auszulesen.", - ['error_debug_xPlayer_get_sex'] = "Ein Fehler entstand dabei, dein Geschlecht auszulesen.", - ['error_debug_xPlayer_get_dob'] = "Ein Fehler entstand dabei, dein Geburtsdatum auszulesen.", - ['error_debug_xPlayer_get_height'] = "Ein Fehler entstand dabei, deine Größe auszulesen.", - ['return_debug_xPlayer_get_first_name'] = "Vornmame: %s", - ['return_debug_xPlayer_get_last_name'] = "Nachname: %s", - ['return_debug_xPlayer_get_full_name'] = "Voller Name: %s", - ['return_debug_xPlayer_get_sex'] = "Geschlecht: %s", - ['return_debug_xPlayer_get_dob'] = "Geburtsdatum: %s", - ['return_debug_xPlayer_get_height'] = "Höhe: %s Meter", - ['data_incorrect'] = 'Daten sind fehlerhaft. Versuche es erneut.', - ['invalid_format'] = 'Daten falsch formatiert. Versuche es erneut.', - ['no_identifier'] = 'Es gab einen Fehler beim Laden deines Charackters!\nFehler Code: identifier-missing\n\nDie Ursache des Fehlers ist nicht bekannt, dein Identifier konnte nicht gefunden werden. Bitte versuche es später erneut oder kontaktiere einen Admin.', - ['missing_identity'] = 'Es gab einen Fehler beim Laden deines Charackters!\nError code: identity-missing\n\nEs scheint, keine Identität zu geben. Bitte versuche, erneut zu verbinden.', - ['deleted_identity'] = 'Dein Charakter wurde gelöscht. Bitte logge neu ein, um einen neuen zu erstellen.', - ['invalid_firstname_format'] = 'Ungültiges Format (Vorname): Bitte überprüfe deine Eingabe', - ['invalid_lastname_format'] = 'Ungültiges Format (Nachname): Bitte überprüfe deine Eingabe', - ['invalid_dob_format'] = 'Ungültiges Format (Geburtsdatum): Bitte überprüfe deine Eingabe', - ['invalid_sex_format'] = 'Ungültiges Format (Geschlecht): Bitte überprüfe deine Eingabe', - ['invalid_height_format'] = 'Ungültiges Format (Größe): Bitte überprüfe deine Eingabe.' -} - diff --git a/[core]/esx_multicharacter/locales/de.lua b/[core]/esx_multicharacter/locales/de.lua deleted file mode 100644 index ab90e3b9..00000000 --- a/[core]/esx_multicharacter/locales/de.lua +++ /dev/null @@ -1,11 +0,0 @@ -Locales['de'] = { - ['male'] = "Männlich", - ['female'] = "Weiblich", - ['delete_label'] = "Lösche %s %s?", - ['select_char'] = "Charakter auswählen", - ['create_char'] = "Neuen Charakter erstellen", - ['char_play'] = "Diesen Charakter auswählen", - ['char_delete'] = "Diesen Charakter löschen", - ['cancel'] = "Abbrechen", - ['confirm'] = "Bestätigen", -} diff --git a/[core]/esx_skin/locales/de.lua b/[core]/esx_skin/locales/de.lua deleted file mode 100644 index 5f0c1442..00000000 --- a/[core]/esx_skin/locales/de.lua +++ /dev/null @@ -1,6 +0,0 @@ -Locales['de'] = { - ['skin_menu'] = 'Skin Menü', - ['use_rotate_view'] = 'Nutze ~INPUT_FRONTEND_LS~ und ~INPUT_CHARACTER_WHEEL~ um dich umzuschauen.', - ['skin'] = 'Skin ändern', - ['saveskin'] = 'Skin in Datei speichern', -} diff --git a/[core]/skinchanger/locales/de.lua b/[core]/skinchanger/locales/de.lua deleted file mode 100644 index 59bca2f8..00000000 --- a/[core]/skinchanger/locales/de.lua +++ /dev/null @@ -1,104 +0,0 @@ -Locales['de'] = { - ['sex'] = 'Geschlecht', - ['mom'] = 'Gesicht der Mutter', - ['dad'] = 'Gesicht des Vaters', - ['resemblance'] = 'Wiederspiegelung', - ['skin_tone'] = 'Hautfarbe', - ['nose_1'] = 'Nasen Dicke', - ['nose_2'] = 'Nasen Spitzenlänge', - ['nose_3'] = 'Nasen Spitzenlänge', - ['nose_4'] = 'Nasen Knochen Höhe', - ['nose_5'] = 'Nasen Spitzen Erhöhung', - ['nose_6'] = 'Nasen Knochen Drehung', - ['cheeks_1'] = 'Wangenknochen Höhe', - ['cheeks_2'] = 'Wangenknochen Breite', - ['cheeks_3'] = 'Wangen Breite', - ['lip_fullness'] = 'Lippen Volle', - ['jaw_bone_width'] = 'Kiefer Breite', - ['jaw_bone_length'] = 'Kiefer Länge', - ['chin_height'] = 'Kinn Höhe', - ['chin_length'] = 'Kinn Länge', - ['chin_width'] = 'Kinn Breite', - ['chin_hole'] = 'Kinn Loch Breite', - ['neck_thickness'] = 'Genick Breite', - ['face'] = 'Gesicht', - ['skin'] = 'Skin', - ['Wrinkles'] = 'Falten', - ['Wrinkle_thickness'] = 'Faltendicke', - ['beard_type'] = 'Bart Typ', - ['beard_size'] = 'Bartdichte', - ['beard_color_1'] = 'Bartfarbe 1', - ['beard_color_2'] = 'Bartfarbe 2', - ['hair_1'] = 'Haare 1', - ['hair_2'] = 'Haare 2', - ['hair_color_1'] = 'Haarfarbe 1', - ['hair_color_2'] = 'Haarfarbe 2', - ['eye_color'] = 'Augenfarbe', - ['eye_squint'] = 'Augenöffnung', - ['eyebrow_type'] = 'Augenbrauen Typ', - ['eyebrow_size'] = 'Augenbrauen Größe', - ['eyebrow_color_1'] = 'Augenbrauenfarbe 1', - ['eyebrow_color_2'] = 'Augenbrauenfarbe 2', - ['eyebrow_depth'] = 'Augenbrauen Tiefe', - ['eyebrow_height'] = 'Augenbrauen Höhe', - ['makeup_type'] = 'Makeup Typ', - ['makeup_thickness'] = 'Makeup dicke', - ['makeup_color_1'] = 'Makeupfarbe 1', - ['makeup_color_2'] = 'Makeupfarbe 2', - ['lipstick_type'] = 'Lippenstift Typ', - ['lipstick_thickness'] = 'Lippenstift dicke', - ['lipstick_color_1'] = 'Lippenstiffarbe 1', - ['lipstick_color_2'] = 'Lippenstiftfarbe 2', - ['ear_accessories'] = 'Ohr Accessories', - ['ear_accessories_color'] = 'Ohr Accessories Farbe', - ['tshirt_1'] = 'T-Shirt 1', - ['tshirt_2'] = 'T-Shirt 2', - ['torso_1'] = 'Torso 1', - ['torso_2'] = 'Torso 2', - ['decals_1'] = 'Tattoos 1', - ['decals_2'] = 'Tattoos 2', - ['arms'] = 'Arme', - ['arms_2'] = 'Arme 2', - ['pants_1'] = 'Hosen 1', - ['pants_2'] = 'Hosen 2', - ['shoes_1'] = 'Schuhe 1', - ['shoes_2'] = 'Schuhe 2', - ['mask_1'] = 'Maske 1', - ['mask_2'] = 'Maske 2', - ['bproof_1'] = 'Schusssichere Weste 1', - ['bproof_2'] = 'Schusssichere Weste 2', - ['chain_1'] = 'Kette 1', - ['chain_2'] = 'Kette 2', - ['helmet_1'] = 'Helm 1', - ['helmet_2'] = 'Helm 2', - ['watches_1'] = 'Watches 1', - ['watches_2'] = 'Watches 2', - ['bracelets_1'] = 'Bracelets 1', - ['bracelets_2'] = 'Bracelets 2', - ['glasses_1'] = 'Brille 1', - ['glasses_2'] = 'Brille 2', - ['bag'] = 'Rucksack', - ['bag_color'] = 'Rucksackfarbe', - ['blemishes'] = 'Körper Verfärbuing 1', - ['blemishes_size']= 'Körper Verfärbung Größe', - ['ageing'] = 'Alterung', - ['ageing_1'] = 'Alterungsdichte', - ['blush'] = 'Blush', - ['blush_1'] = 'Blush Dichte', - ['blush_color'] = 'Blush Farbe', - ['complexion'] = 'Komplexion', - ['complexion_1'] = 'Komplexionsdichte', - ['sun'] = 'Sonnenbrand', - ['sun_1'] = 'Sonnenbrandstärke', - ['freckles'] = 'Sommersprossen', - ['freckles_1'] = 'Sommersprossen Dichte', - ['chest_hair'] = 'Brusthaare', - ['chest_hair_1'] = 'Brusthaardichte', - ['chest_color'] = 'Brusthaarfarbe', - ['bodyb'] = 'Körper Verfärbungen 2', - ['bodyb_size'] = 'Körper Verfärbung Dicke', - ['bodyb_extra'] = 'Körper Verfärbung Effekt', - ['bodyb_extra_thickness'] = 'Körper Verfärbung Effek Stärke', - ['wrinkles'] = 'Falten', - ['wrinkle_thickness'] = 'Falten Stärke', -} From 8a5aae1479c02523c9e72d62ecdd98f9c17a41b4 Mon Sep 17 00:00:00 2001 From: KiLaOriginal <120842110+KiLaOriginal@users.noreply.github.com> Date: Sun, 2 Apr 2023 01:36:52 +0200 Subject: [PATCH 052/236] Create sr.lua --- [core]/esx_skin/locales/sr.lua | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 [core]/esx_skin/locales/sr.lua diff --git a/[core]/esx_skin/locales/sr.lua b/[core]/esx_skin/locales/sr.lua new file mode 100644 index 00000000..95a8c1c7 --- /dev/null +++ b/[core]/esx_skin/locales/sr.lua @@ -0,0 +1,6 @@ +Locales['en'] = { + ['skin_menu'] = 'Skin Meni', + ['use_rotate_view'] = 'koristi ~INPUT_FRONTEND_LS~ i ~INPUT_CHARACTER_WHEEL~ da rotiras kameru.', + ['skin'] = 'promeni skin', + ['saveskin'] = 'sacuvaj skin u file', +} From 891864b67bd4b9210861bcae8837ed909047278f Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 2 Apr 2023 10:47:30 +0200 Subject: [PATCH 053/236] Update sr.lua --- [core]/esx_skin/locales/sr.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/esx_skin/locales/sr.lua b/[core]/esx_skin/locales/sr.lua index 95a8c1c7..5022e1aa 100644 --- a/[core]/esx_skin/locales/sr.lua +++ b/[core]/esx_skin/locales/sr.lua @@ -1,4 +1,4 @@ -Locales['en'] = { +Locales['sr'] = { ['skin_menu'] = 'Skin Meni', ['use_rotate_view'] = 'koristi ~INPUT_FRONTEND_LS~ i ~INPUT_CHARACTER_WHEEL~ da rotiras kameru.', ['skin'] = 'promeni skin', From be8b5213e14275b529dd1edeec489e8039a81b51 Mon Sep 17 00:00:00 2001 From: C3h1c Date: Sun, 2 Apr 2023 11:11:07 +0200 Subject: [PATCH 054/236] Locale SL for CORE Co-Authored-By: cehic <98315104+Cehic@users.noreply.github.com> --- [core]/es_extended/locales/sl.lua | 366 +++++++++++++++++++++++ [core]/esx_identity/locales/sl.lua | 38 +++ [core]/esx_multicharacter/locales/sl.lua | 33 ++ [core]/esx_skin/locales/sl.lua | 6 + [core]/skinchanger/locales/sl.lua | 100 +++++++ 5 files changed, 543 insertions(+) create mode 100644 [core]/es_extended/locales/sl.lua create mode 100644 [core]/esx_identity/locales/sl.lua create mode 100644 [core]/esx_multicharacter/locales/sl.lua create mode 100644 [core]/esx_skin/locales/sl.lua create mode 100644 [core]/skinchanger/locales/sl.lua diff --git a/[core]/es_extended/locales/sl.lua b/[core]/es_extended/locales/sl.lua new file mode 100644 index 00000000..0a0b234c --- /dev/null +++ b/[core]/es_extended/locales/sl.lua @@ -0,0 +1,366 @@ +Locales['sl'] = { + -- Inventory + ['inventory'] = 'Shramba ( Teza %s / %s )', + ['use'] = 'Uporabi', + ['give'] = 'Daj', + ['remove'] = 'Vrzi', + ['return'] = 'Povratek', + ['give_to'] = 'Daj', + ['amount'] = 'Vsota', + ['giveammo'] = 'Daj Strelivo', + ['amountammo'] = 'Količina streliva', + ['noammo'] = 'Ni dovolj!', + ['gave_item'] = 'Dal si %sx %s k %s', + ['received_item'] = 'Dobil si %sx %s od %s', + ['gave_weapon'] = 'Dajanje %s do %s', + ['gave_weapon_ammo'] = 'Dajanje ~o~%sx %s za %s do %s', + ['gave_weapon_withammo'] = 'Dajanje %s z ~o~%sx %s do %s', + ['gave_weapon_hasalready'] = '%s ze ima %s', + ['gave_weapon_noweapon'] = '%s se nima tega orozja', + ['received_weapon'] = 'Dobil si %s od %s', + ['received_weapon_ammo'] = 'Dobil ~o~%sx %s za tvoj/o %s od %s', + ['received_weapon_withammo'] = 'Dobil si %s z ~o~%sx %s od %s', + ['received_weapon_hasalready'] = '%s vam je poskušal dati %s, vendar že imate to orožje', + ['received_weapon_noweapon'] = '%s vam je poskušal dati strelivo za %s, vendar nimate tega orožja', + ['gave_account_money'] = 'Dajanje $%s (%s) do %s', + ['received_account_money'] = 'Dobil $%s (%s) od %s', + ['amount_invalid'] = 'Neveljavna količina', + ['players_nearby'] = 'V blizini ni ljudi', + ['ex_inv_lim'] = 'Dejanja ni mogoče izvesti, saj presega največjo težo %s', + ['imp_invalid_quantity'] = 'Dejanja ni mogoče izvesti, količina je neveljavna', + ['imp_invalid_amount'] = 'Dejanja ni mogoče izvesti, znesek je neveljaven', + ['threw_standard'] = 'Metanje %sx %s', + ['threw_account'] = 'Metanje $%s %s', + ['threw_weapon'] = 'Metanje %s', + ['threw_weapon_ammo'] = 'Metanje %s z ~o~%sx %s', + ['threw_weapon_already'] = 'Ti ze imas to orozje', + ['threw_cannot_pickup'] = 'Shramba je poln, nemorem pobrati!', + ['threw_pickup_prompt'] = 'Pritisni E da poberes', + + -- Key mapping + ['keymap_showinventory'] = 'Pokazi Shrambo', + + -- Salary related + ['received_salary'] = 'Vi ste plačali: $%s', + ['received_help'] = 'Vi ste placali svoj CEK v vrednosti: $%s', + ['company_nomoney'] = 'podjetje, v katerem ste zaposleni, je prerevno, da bi vam izplačevalo plačo', + ['received_paycheck'] = 'Prejel si Placilo', + ['bank'] = 'NLB', + ['account_bank'] = 'Banka', + ['account_black_money'] = 'Umazan Denar', + ['account_money'] = 'Denar', + + ['act_imp'] = 'Dejanja ni mogoče izvesti', + ['in_vehicle'] = 'Dejanja ni mogoče izvesti, Oseba je v vozilu', + + -- Commands + ['command_bring'] = 'Teleportiraj osebo do sebe', + ['command_car'] = 'Spawnaj si vozilo', + ['command_car_car'] = 'Koda vozila', + ['command_cardel'] = 'Odstranite vozila v bližini', + ['command_cardel_radius'] = 'Odstrani vsa vozila v določenem radiju', + ['command_clear'] = 'Odstrani vsa sporocila v CHATU', + ['command_clearall'] = 'Počisti besedilo klepeta za vse igralce', + ['command_clearinventory'] = 'Vzemi vse stvari iz osebove shrambe', + ['command_clearloadout'] = 'Odstranite vse orožje iz nalaganja igralcev', + ['command_freeze'] = 'Zmrzni osebno', + ['command_unfreeze'] = 'Odmrzni osebo', + ['command_giveaccountmoney'] = 'Poslji denar na dolocen Bancni racun', + ['command_giveaccountmoney_account'] = 'Račun za dodajanje', + ['command_giveaccountmoney_amount'] = 'Znesek za dodajanje', + ['command_giveaccountmoney_invalid'] = 'Ime računa je neveljavno', + ['command_giveitem'] = 'Daj osebi neko stvar', + ['command_giveitem_item'] = 'Ime Stvari', + ['command_giveitem_count'] = 'Kolicina', + ['command_giveweapon'] = 'Daj osebi orozje', + ['command_giveweapon_weapon'] = 'Ime orozja', + ['command_giveweapon_ammo'] = 'Kolicina', + ['command_giveweapon_hasalready'] = 'Oseba ze ima to orozje!', + ['command_giveweaponcomponent'] = 'Daj komponento orožja igralcu', + ['command_giveweaponcomponent_component'] = 'Ime Komponente', + ['command_giveweaponcomponent_invalid'] = 'Neveljavna komponenta orožja', + ['command_giveweaponcomponent_hasalready'] = 'Oseba ze ima to komponento', + ['command_giveweaponcomponent_missingweapon'] = 'Oseba nima tega orozja!', + ['command_goto'] = 'Teleportirajte se k igralcu', + ['command_kill'] = 'Ubij igralca', + ['command_save'] = 'Prisilno shrani podatke igralca!', + ['command_saveall'] = 'Prisilno shrani vse podatke igralca', + ['command_setaccountmoney'] = 'Nastavite denar znotraj dolocenega racuna', + ['command_setaccountmoney_amount'] = 'Znesek', + ['command_setcoords'] = 'Teleport na dolocene koordinate', + ['command_setcoords_x'] = 'Vrednost X', + ['command_setcoords_y'] = 'Vrednost Y', + ['command_setcoords_z'] = 'Z vrednost', + ['command_setjob'] = 'Nastavi opravilo igralca', + ['command_setjob_job'] = 'Ime', + ['command_setjob_grade'] = 'Delovna ocena', + ['command_setjob_invalid'] = 'delovno mesto, ocena ali oboje ni veljavno', + ['command_setgroup'] = 'Nastavi skupino dovoljenj igralcev', + ['command_setgroup_group'] = 'Ime skupine', + ['commanderror_argumentmismatch'] = 'Neveljavno stetje argumentov (podano %s, zeleno %s)', + ['commanderror_argumentmismatch_number'] = 'Neveljaven podatkovni tip argumenta #%s (posredovan niz, zeleno stevilo)', + ['commanderror_invaliditem'] = 'Neveljaven element', + ['commanderror_invalidweapon'] = 'Neveljavno orozje', + ['commanderror_console'] = 'Ukaza ni mogoce izvesti s konzole', + ['commanderror_invalidcommand'] = 'Neveljaven ukaz - /%s', + ['commanderror_invalidplayerid'] = 'Naveden igralec ni na spletu', + ['commandgeneric_playerid'] = 'Id streznika igralca', + ['command_giveammo_noweapon_found'] = '%s nima tega orozja', + ['command_giveammo_weapon'] = 'Ime orozja', + ['command_giveammo_ammo'] = 'Kolicina streliva', + ['tpm_nowaypoint'] = 'Ni nastavljene poti!.', + ['tpm_success'] = 'Uspesno teleportiran', + + ['noclip_message'] = 'Noclip je bil %s', + ['enabled'] = '~g~Vkljucen~s~', + ['disabled'] = '~r~Izkljucen~s~', + + -- Locale settings + ['locale_digit_grouping_symbol'] = ',', + ['locale_currency'] = '€%s', + + -- Weapons + + -- Melee + ['weapon_dagger'] = 'Dagger', + ['weapon_bat'] = 'Bat', + ['weapon_battleaxe'] = 'Battle Axe', + ['weapon_bottle'] = 'Bottle', + ['weapon_crowbar'] = 'Crowbar', + ['weapon_flashlight'] = 'Flashlight', + ['weapon_golfclub'] = 'Golf Club', + ['weapon_hammer'] = 'Hammer', + ['weapon_hatchet'] = 'Hatchet', + ['weapon_knife'] = 'Knife', + ['weapon_knuckle'] = 'Knuckledusters', + ['weapon_machete'] = 'Machete', + ['weapon_nightstick'] = 'Nightstick', + ['weapon_wrench'] = 'Pipe Wrench', + ['weapon_poolcue'] = 'Pool Cue', + ['weapon_stone_hatchet'] = 'Stone Hatchet', + ['weapon_switchblade'] = 'Switchblade', + + -- Handguns + ['weapon_appistol'] = 'AP Pistol', + ['weapon_ceramicpistol'] = 'Ceramic Pistol', + ['weapon_combatpistol'] = 'Combat Pistol', + ['weapon_doubleaction'] = 'Double-Action Revolver', + ['weapon_navyrevolver'] = 'Navy Revolver', + ['weapon_flaregun'] = 'Flaregun', + ['weapon_gadgetpistol'] = 'Gadget Pistol', + ['weapon_heavypistol'] = 'Heavy Pistol', + ['weapon_revolver'] = 'Heavy Revolver', + ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', + ['weapon_marksmanpistol'] = 'Marksman Pistol', + ['weapon_pistol'] = 'Pistol', + ['weapon_pistol_mk2'] = 'Pistol MK2', + ['weapon_pistol50'] = 'Pistol .50', + ['weapon_snspistol'] = 'SNS Pistol', + ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', + ['weapon_stungun'] = 'Taser', + ['weapon_raypistol'] = 'Up-N-Atomizer', + ['weapon_vintagepistol'] = 'Vintage Pistol', + + -- Shotguns + ['weapon_assaultshotgun'] = 'Assault Shotgun', + ['weapon_autoshotgun'] = 'Auto Shotgun', + ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', + ['weapon_combatshotgun'] = 'Combat Shotgun', + ['weapon_dbshotgun'] = 'Double Barrel Shotgun', + ['weapon_heavyshotgun'] = 'Heavy Shotgun', + ['weapon_musket'] = 'Musket', + ['weapon_pumpshotgun'] = 'Pump Shotgun', + ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', + ['weapon_sawnoffshotgun'] = 'Sawed Off Shotgun', + + -- SMG & LMG + ['weapon_assaultsmg'] = 'Assault SMG', + ['weapon_combatmg'] = 'Combat MG', + ['weapon_combatmg_mk2'] = 'Combat MG MK2', + ['weapon_combatpdw'] = 'Combat PDW', + ['weapon_gusenberg'] = 'Gusenberg Sweeper', + ['weapon_machinepistol'] = 'Machine Pistol', + ['weapon_mg'] = 'MG', + ['weapon_microsmg'] = 'Micro SMG', + ['weapon_minismg'] = 'Mini SMG', + ['weapon_smg'] = 'SMG', + ['weapon_smg_mk2'] = 'SMG MK2', + ['weapon_raycarbine'] = 'Unholy Hellbringer', + + -- Rifles + ['weapon_advancedrifle'] = 'Advanced Rifle', + ['weapon_assaultrifle'] = 'Assault Rifle', + ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', + ['weapon_bullpuprifle'] = 'Bullpup Rifle', + ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', + ['weapon_carbinerifle'] = 'Carbine Rifle', + ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', + ['weapon_compactrifle'] = 'Compact Rifle', + ['weapon_militaryrifle'] = 'Military Rifle', + ['weapon_specialcarbine'] = 'Special Carbine', + ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', + + -- Sniper + ['weapon_heavysniper'] = 'Heavy Sniper', + ['weapon_heavysniper_mk2'] = 'Heavy Sniper MK2', + ['weapon_marksmanrifle'] = 'Marksman Rifle', + ['weapon_marksmanrifle_mk2'] = 'Marksman Rifle MK2', + ['weapon_sniperrifle'] = 'Sniper Rifle', + + -- Heavy / Launchers + ['weapon_compactlauncher'] = 'Compact Launcher', + ['weapon_firework'] = 'Firework Launcher', + ['weapon_grenadelauncher'] = 'Grenade Launcher', + ['weapon_hominglauncher'] = 'Homing Launcher', + ['weapon_minigun'] = 'Minigun', + ['weapon_railgun'] = 'Railgun', + ['weapon_rpg'] = 'Rocket Launcher', + ['weapon_rayminigun'] = 'Widowmaker', + + -- Criminal Enterprises DLC + ['weapon_metaldetector'] = 'Metal Detector', + ['weapon_precisionrifle'] = 'Precision Rifle', + ['weapon_tactilerifle'] = 'Service Carbine', + + -- Thrown + ['weapon_ball'] = 'Baseball', + ['weapon_bzgas'] = 'BZ Gas', + ['weapon_flare'] = 'Flare', + ['weapon_grenade'] = 'Grenade', + ['weapon_petrolcan'] = 'Jerrycan', + ['weapon_hazardcan'] = 'Hazardous Jerrycan', + ['weapon_molotov'] = 'Molotov Cocktail', + ['weapon_proxmine'] = 'Proximity Mine', + ['weapon_pipebomb'] = 'Pipe Bomb', + ['weapon_snowball'] = 'Snowball', + ['weapon_stickybomb'] = 'Sticky Bomb', + ['weapon_smokegrenade'] = 'Tear Gas', + + -- Special + ['weapon_fireextinguisher'] = 'Fire Extinguisher', + ['weapon_digiscanner'] = 'Digital Scanner', + ['weapon_garbagebag'] = 'Garbage Bag', + ['weapon_handcuffs'] = 'Handcuffs', + ['gadget_nightvision'] = 'Night Vision', + ['gadget_parachute'] = 'parachute', + + -- Weapon Components + ['component_knuckle_base'] = 'base Model', + ['component_knuckle_pimp'] = 'the Pimp', + ['component_knuckle_ballas'] = 'the Ballas', + ['component_knuckle_dollar'] = 'the Hustler', + ['component_knuckle_diamond'] = 'the Rock', + ['component_knuckle_hate'] = 'the Hater', + ['component_knuckle_love'] = 'the Lover', + ['component_knuckle_player'] = 'the Player', + ['component_knuckle_king'] = 'the King', + ['component_knuckle_vagos'] = 'the Vagos', + + ['component_luxary_finish'] = 'luxary Weapon Finish', + + ['component_handle_default'] = 'default Handle', + ['component_handle_vip'] = 'vIP Handle', + ['component_handle_bodyguard'] = 'bodyguard Handle', + + ['component_vip_finish'] = 'vIP Finish', + ['component_bodyguard_finish'] = 'bodyguard Finish', + + ['component_camo_finish'] = 'digital Camo', + ['component_camo_finish2'] = 'brushstroke Camo', + ['component_camo_finish3'] = 'woodland Camo', + ['component_camo_finish4'] = 'skull Camo', + ['component_camo_finish5'] = 'sessanta Nove Camo', + ['component_camo_finish6'] = 'perseus Camo', + ['component_camo_finish7'] = 'leopard Camo', + ['component_camo_finish8'] = 'zebra Camo', + ['component_camo_finish9'] = 'geometric Camo', + ['component_camo_finish10'] = 'boom Camo', + ['component_camo_finish11'] = 'patriotic Camo', + + ['component_camo_slide_finish'] = 'digital Slide Camo', + ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', + ['component_camo_slide_finish3'] = 'woodland Slide Camo', + ['component_camo_slide_finish4'] = 'skull Slide Camo', + ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', + ['component_camo_slide_finish6'] = 'perseus Slide Camo', + ['component_camo_slide_finish7'] = 'leopard Slide Camo', + ['component_camo_slide_finish8'] = 'zebra Slide Camo', + ['component_camo_slide_finish9'] = 'geometric Slide Camo', + ['component_camo_slide_finish10'] = 'boom Slide Camo', + ['component_camo_slide_finish11'] = 'patriotic Slide Camo', + + ['component_clip_default'] = 'default Magazine', + ['component_clip_extended'] = 'extended Magazine', + ['component_clip_drum'] = 'drum Magazine', + ['component_clip_box'] = 'box Magazine', + + ['component_scope_holo'] = 'holographic Scope', + ['component_scope_small'] = 'small Scope', + ['component_scope_medium'] = 'medium Scope', + ['component_scope_large'] = 'large Scope', + ['component_scope'] = 'mounted Scope', + ['component_scope_advanced'] = 'advanced Scope', + ['component_ironsights'] = 'ironsights', + + ['component_suppressor'] = 'suppressor', + ['component_compensator'] = 'compensator', + + ['component_muzzle_flat'] = 'flat Muzzle Brake', + ['component_muzzle_tactical'] = 'tactical Muzzle Brake', + ['component_muzzle_fat'] = 'fat-End Muzzle Brake', + ['component_muzzle_precision'] = 'precision Muzzle Brake', + ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', + ['component_muzzle_slanted'] = 'slanted Muzzle Brake', + ['component_muzzle_split'] = 'split-End Muzzle Brake', + ['component_muzzle_squared'] = 'squared Muzzle Brake', + + ['component_flashlight'] = 'flashlight', + ['component_grip'] = 'grip', + + ['component_barrel_default'] = 'default Barrel', + ['component_barrel_heavy'] = 'heavy Barrel', + + ['component_ammo_tracer'] = 'tracer Ammo', + ['component_ammo_incendiary'] = 'incendiary Ammo', + ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', + ['component_ammo_fmj'] = 'fMJ Ammo', + ['component_ammo_armor'] = 'armor Piercing Ammo', + ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', + + ['component_shells_default'] = 'default Shells', + ['component_shells_incendiary'] = 'dragons Breath Shells', + ['component_shells_armor'] = 'steel Buckshot Shells', + ['component_shells_hollowpoint'] = 'flechette Shells', + ['component_shells_explosive'] = 'explosive Slug Shells', + + -- Weapon Ammo + ['ammo_rounds'] = 'round(s)', + ['ammo_shells'] = 'shell(s)', + ['ammo_charge'] = 'charge', + ['ammo_petrol'] = 'gallons of fuel', + ['ammo_firework'] = 'firework(s)', + ['ammo_rockets'] = 'rocket(s)', + ['ammo_grenadelauncher'] = 'grenade(s)', + ['ammo_grenade'] = 'grenade(s)', + ['ammo_stickybomb'] = 'bomb(s)', + ['ammo_pipebomb'] = 'bomb(s)', + ['ammo_smokebomb'] = 'bomb(s)', + ['ammo_molotov'] = 'cocktail(s)', + ['ammo_proxmine'] = 'mine(s)', + ['ammo_bzgas'] = 'can(s)', + ['ammo_ball'] = 'ball(s)', + ['ammo_snowball'] = 'snowball(s)', + ['ammo_flare'] = 'flare(s)', + ['ammo_flaregun'] = 'flare(s)', + + -- Weapon Tints + ['tint_default'] = 'default skin', + ['tint_green'] = 'green skin', + ['tint_gold'] = 'gold skin', + ['tint_pink'] = 'pink skin', + ['tint_army'] = 'army skin', + ['tint_lspd'] = 'blue skin', + ['tint_orange'] = 'orange skin', + ['tint_platinum'] = 'platinum skin', + } + \ No newline at end of file diff --git a/[core]/esx_identity/locales/sl.lua b/[core]/esx_identity/locales/sl.lua new file mode 100644 index 00000000..d66dc981 --- /dev/null +++ b/[core]/esx_identity/locales/sl.lua @@ -0,0 +1,38 @@ +Locales['sl'] = { + ['show_active_character'] = 'Prikazi aktivni Karakter', + ['active_character'] = 'Aktivni Karakter: %s', + ['error_active_character'] = 'Pri pridobivanju vasih podatkov je prislo do napake.', + ['delete_character'] = 'Izbrisi vas trenutni Karakter.', + ['deleted_character'] = 'Karakter izbrisan', + ['error_delete_character'] = 'Pri brisanju vasega lika je prislo do tezave.', + ['thank_you_for_registering'] = 'Registracija uspesna. Uzivajte!', + ['debug_xPlayer_get_first_name'] = 'Vrne vase ime', + ['debug_xPlayer_get_last_name'] = 'Vrne vas priimek', + ['debug_xPlayer_get_full_name'] = 'Vrne vase polno ime', + ['debug_xPlayer_get_sex'] = 'Vrne vas spol', + ['debug_xPlayer_get_dob'] = 'Vrne vas DOB', + ['debug_xPlayer_get_height'] = 'Vrne vaso visino', + ['error_debug_xPlayer_get_first_name'] = 'Pri pridobivanju vasega imena je prislo do tezave.', + ['error_debug_xPlayer_get_last_name'] = 'Pri pridobivanju vasega priimka je prislo do tezave.', + ['error_debug_xPlayer_get_full_name'] = 'Pri pridobivanju vasega polnega imena je prislo do tezave.', + ['error_debug_xPlayer_get_sex'] = 'Pri pridobivanju vasega spola je prislo do tezave.', + ['error_debug_xPlayer_get_dob'] = 'Pri pridobivanju vasega datuma rojstva je prislo do tezave.', + ['error_debug_xPlayer_get_height'] = 'Pri pridobivanju vase visine je prislo do tezave.', + ['return_debug_xPlayer_get_first_name'] = 'Ime: %s', + ['return_debug_xPlayer_get_last_name'] = 'Priimek: %s', + ['return_debug_xPlayer_get_full_name'] = 'Ime: %s', + ['return_debug_xPlayer_get_sex'] = 'Spol: %s', + ['return_debug_xPlayer_get_dob'] = 'DOB: %s', + ['return_debug_xPlayer_get_height'] = 'Visina: %s palcev', + ['data_incorrect'] = 'Neveljavni podatki, poskusite znova.', + ['invalid_format'] = 'Neveljavna oblika podatkov, poskusite znova.', + ['no_identifier'] = '[ESX Identiteta]\nPri nalaganju vasega lika je prislo do tezave!\nKoda napake: identifikator-manjka\n\nTo je posledica tega, da manjka vas identifikator. Vrnite se pozneje ali prijavite to tezavo lastniku streznika.', + ['missing_identity'] = '[ESX Identity]\nPri nalaganju vasega lika je prislo do tezave!\nKoda napake: identity-missing\n\nVideti je, da vasa identiteta manjka, poskusite znova vzpostaviti povezavo.', + ['deleted_identity'] = 'Karakter izbrisan. Ponovno se pridruzite, da ustvarite nov lik.', + ['already_registered'] = 'Registrirali ste se ze.', + ['invalid_firstname_format'] = 'Neveljavna oblika (ime): Prosimo, poskusite znova.', + ['invalid_lastname_format'] = 'Neveljavna oblika (priimek): Poskusite ponovno.', + ['invalid_dob_format'] = 'Neveljavna oblika (DOB): Prosimo, poskusite znova.', + ['invalid_sex_format'] = 'Neveljavna oblika (spol): Poskusite ponovno.', + ['invalid_height_format'] = 'Neveljavna oblika (visina): Prosimo, poskusite znova.' + } \ No newline at end of file diff --git a/[core]/esx_multicharacter/locales/sl.lua b/[core]/esx_multicharacter/locales/sl.lua new file mode 100644 index 00000000..aa203105 --- /dev/null +++ b/[core]/esx_multicharacter/locales/sl.lua @@ -0,0 +1,33 @@ +Locales["sl"] = { + ["male"] = "Moški", + ["female"] = "Ženska", + ["select_char"] = "Izberi znak", + ["select_char_description"] = "Izberite lik za igranje.", + ["create_char"] = "Nov lik", + ["char_play"] = "Predvajaj", + ["char_play_description"] = "Nadaljujte v mesto.", + ["char_disabled"] = "Onemogočeno", + ["char_disabled_description"] = "Ta znak je neuporaben.", + ["char_delete"] = "Izbriši", + ["char_delete_description"] = "Trajno odstrani ta znak.", + ["char_delete_confirmation"] = "Potrditev brisanja", + ["char_delete_confirmation_description"] = "Ali ste prepicani da hocete zbrisati svoj karakter*", + ["char_delete_yes_description"] = "Da", + ["char_delete_no_description"] = "Ne", + ["character"] = "Znak: %s", + ["return"] = "Vrni se", + ["return_description"] = "Nazaj na izbiro znakov.", + ["command_setslots"] = "Nastavi število večznakovnih mest za igralca", + ["command_remslots"] = "Odstrani večznakovno število rež igralca", + ["command_enablechar"] = "Omogoči določen lik igralca", + ["command_disablechar"] = "Onemogoči določen lik igralca", + ["command_charslot"] = "Številka reže znaka", + ["command_identifier"] = "Identifikator igralca", + ["command_slots"] = "Št. rež", + ["slotsadd"] = "Dodali ste %s rež v %s", + ["slotsedit"] = "%s rež ste nastavili na %s", + ["slotsrem"] = "Odstranili ste reže za %s", + ["charenabled"] = "Omogočili ste znak #%s od %s", + ["chardisabled"] = "Onemogočili ste znak #%s od %s", + ["charnotfound"] = "Znak #%s od %s ne obstaja", +} \ No newline at end of file diff --git a/[core]/esx_skin/locales/sl.lua b/[core]/esx_skin/locales/sl.lua new file mode 100644 index 00000000..2a326fd2 --- /dev/null +++ b/[core]/esx_skin/locales/sl.lua @@ -0,0 +1,6 @@ +Locales['sl'] = { + ['skin_menu'] = 'Oblacilni menu.', + ['use_rotate_view'] = 'Pritisni ~INPUT_FRONTEND_LS~ in ~INPUT_CHARACTER_WHEEL~ da se obracas s pogledom.', + ['skin'] = 'Zamenjaj Skin.', + ['saveskin'] = 'Shrani skin.', +} diff --git a/[core]/skinchanger/locales/sl.lua b/[core]/skinchanger/locales/sl.lua new file mode 100644 index 00000000..301f7765 --- /dev/null +++ b/[core]/skinchanger/locales/sl.lua @@ -0,0 +1,100 @@ +Locales['sl'] = { + ['sex'] = 'Spol', + ['mom'] = 'mom\'s face', + ['dad'] = 'dad\'s face', + ['resemblance'] = 'resemblance', + ['skin_tone'] = 'skin tone', + ['nose_1'] = 'nose width', + ['nose_2'] = 'nose peak height', + ['nose_3'] = 'nose peak length', + ['nose_4'] = 'nose bone height', + ['nose_5'] = 'nose peak lowering', + ['nose_6'] = 'nose bone twist', + ['cheeks_1'] = 'cheekbones height', + ['cheeks_2'] = 'cheekbones width', + ['cheeks_3'] = 'cheeks width', + ['lip_fullness'] = 'lip fullness', + ['jaw_bone_width'] = 'jaw bone width', + ['jaw_bone_length'] = 'jaw bone length', + ['chin_height'] = 'chin height', + ['chin_length'] = 'chin length', + ['chin_width'] = 'chin width', + ['chin_hole'] = 'chin hole size', + ['neck_thickness'] = 'neck thickness', + ['wrinkles'] = 'wrinkles', + ['wrinkle_thickness'] = 'wrinkle thickness', + ['beard_type'] = 'beard type', + ['beard_size'] = 'beard size', + ['beard_color_1'] = 'beard color 1', + ['beard_color_2'] = 'beard color 2', + ['hair_1'] = 'hair 1', + ['hair_2'] = 'hair 2', + ['hair_color_1'] = 'hair color 1', + ['hair_color_2'] = 'hair color 2', + ['eye_color'] = 'eye color', + ['eye_squint'] = 'eye squint', + ['eyebrow_type'] = 'eyebrow type', + ['eyebrow_size'] = 'eyebrow size', + ['eyebrow_color_1'] = 'eyebrow color 1', + ['eyebrow_color_2'] = 'eyebrow color 2', + ['eyebrow_depth'] = 'eyebrow depth', + ['eyebrow_height'] = 'eyebrow height', + ['makeup_type'] = 'makeup type', + ['makeup_thickness'] = 'makeup thickness', + ['makeup_color_1'] = 'makeup color 1', + ['makeup_color_2'] = 'makeup color 2', + ['lipstick_type'] = 'lipstick type', + ['lipstick_thickness'] = 'lipstick thickness', + ['lipstick_color_1'] = 'lipstick color 1', + ['lipstick_color_2'] = 'lipstick color 2', + ['ear_accessories'] = 'ear accessories', + ['ear_accessories_color'] = 'ear accessories color', + ['tshirt_1'] = 't-Shirt 1', + ['tshirt_2'] = 't-Shirt 2', + ['torso_1'] = 'torso 1', + ['torso_2'] = 'torso 2', + ['decals_1'] = 'decals 1', + ['decals_2'] = 'decals 2', + ['arms'] = 'arms', + ['arms_2'] = 'arms 2', + ['pants_1'] = 'pants 1', + ['pants_2'] = 'pants 2', + ['shoes_1'] = 'shoes 1', + ['shoes_2'] = 'shoes 2', + ['mask_1'] = 'mask 1', + ['mask_2'] = 'mask 2', + ['bproof_1'] = 'bulletproof vest 1', + ['bproof_2'] = 'bulletproof vest 2', + ['chain_1'] = 'chain 1', + ['chain_2'] = 'chain 2', + ['helmet_1'] = 'helmet 1', + ['helmet_2'] = 'helmet 2', + ['watches_1'] = 'watches 1', + ['watches_2'] = 'watches 2', + ['bracelets_1'] = 'bracelets 1', + ['bracelets_2'] = 'bracelets 2', + ['glasses_1'] = 'glasses 1', + ['glasses_2'] = 'glasses 2', + ['bag'] = 'bag', + ['bag_color'] = 'bag color', + ['blemishes'] = 'blemishes', + ['blemishes_size'] = 'blemishes thickness', + ['ageing'] = 'ageing', + ['ageing_1'] = 'ageing thickness', + ['blush'] = 'blush', + ['blush_1'] = 'blush thickness', + ['blush_color'] = 'blush color', + ['complexion'] = 'complexion', + ['complexion_1'] = 'complexion thickness', + ['sun'] = 'sun', + ['sun_1'] = 'sun thickness', + ['freckles'] = 'freckles', + ['freckles_1'] = 'freckles thickness', + ['chest_hair'] = 'chest hair', + ['chest_hair_1'] = 'chest hair thickness', + ['chest_color'] = 'chest hair color', + ['bodyb'] = 'body blemishes', + ['bodyb_size'] = 'body blemishes thickness', + ['bodyb_extra'] = 'blemishes body effect', + ['bodyb_extra_thickness'] = 'blemishes body effect thickness', +} From 7606e985329525c41cffa06e88a3a6108f42603c Mon Sep 17 00:00:00 2001 From: KiLaOriginal <120842110+KiLaOriginal@users.noreply.github.com> Date: Sun, 2 Apr 2023 20:36:48 +0200 Subject: [PATCH 055/236] Create sr.lua --- [core]/esx_identity/locales/sr.lua | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 [core]/esx_identity/locales/sr.lua diff --git a/[core]/esx_identity/locales/sr.lua b/[core]/esx_identity/locales/sr.lua new file mode 100644 index 00000000..746b6efb --- /dev/null +++ b/[core]/esx_identity/locales/sr.lua @@ -0,0 +1,38 @@ +Locales['sr'] = { + ['show_active_character'] = 'Prikazi karaktere', + ['active_character'] = 'Karakteri: %s', + ['error_active_character'] = 'Imamo problem sa ucitavanjem karaktera.', + ['delete_character'] = 'Obrisite karaktera.', + ['deleted_character'] = 'Karakter obrisan', + ['error_delete_character'] = 'Doslo je do greske pri brisanju karaktera.', + ['thank_you_for_registering'] = 'Registracija uspesna. Uzivajte!', + ['debug_xPlayer_get_first_name'] = 'Vraca vase ime', + ['debug_xPlayer_get_last_name'] = 'Vraca vase prezime', + ['debug_xPlayer_get_full_name'] = 'Vraca vase puno ime', + ['debug_xPlayer_get_sex'] = 'Vraca vas pol', + ['debug_xPlayer_get_dob'] = 'Vraca vas datum rodjenja', + ['debug_xPlayer_get_height'] = 'Vraca vasu visinu', + ['error_debug_xPlayer_get_first_name'] = 'Doslo je do greske pri pronalazenju vaseg imena.', + ['error_debug_xPlayer_get_last_name'] = 'Doslo je do greske pri pronalazenju vaseg prezimena.', + ['error_debug_xPlayer_get_full_name'] = 'Doslo je do greske pri pronalazenju vaseg punog imena.', + ['error_debug_xPlayer_get_sex'] = 'Doslo je do greske pri pronalazenju vaseg pola.', + ['error_debug_xPlayer_get_dob'] = 'Doslo je do greske pri pronalazenju vaseg datuma rodjenja.', + ['error_debug_xPlayer_get_height'] = 'Doslo je do greske pri pronalazenju vase visine.', + ['return_debug_xPlayer_get_first_name'] = 'Ime: %s', + ['return_debug_xPlayer_get_last_name'] = 'Prezime: %s', + ['return_debug_xPlayer_get_full_name'] = 'Ime: %s', + ['return_debug_xPlayer_get_sex'] = 'Pol: %s', + ['return_debug_xPlayer_get_dob'] = 'Datum rodjenja: %s', + ['return_debug_xPlayer_get_height'] = 'Visina: %s', + ['data_incorrect'] = 'Nevazeci podatci, pokusajte ponovo.', + ['invalid_format'] = 'Nevazeci format podataka, pokusajte ponovo.', + ['no_identifier'] = '[ESX Identity]\nDoslo je do greske pri ucitavanju vaseg karaktera!\nError Code: identifier-missing\n\nUpalite steam pa pokusajte ponovo.', + ['missing_identity'] = '[ESX Identity]\nDoslo je do greske pri ucitavanju vaseg karaktera!\nError Code: identity-missing\n\nIzgleda da je vas steam nepostojeci. Pokusajte ponovo.', + ['deleted_identity'] = 'Karakter obrisan. Uradite relog kako bi napravili novog karaktera.', + ['already_registered'] = 'Vi ste vec registrovani.', + ['invalid_firstname_format'] = 'Nevazeci Format (Ime): Pokusajte ponovo.', + ['invalid_lastname_format'] = 'Nevazeci Format (Prezime): Pokusajte ponovo.', + ['invalid_dob_format'] = 'Nevazeci Format (Datum Rodjenja): Pokusajte ponovo.', + ['invalid_sex_format'] = 'Nevazeci Format (Pol): Pokusajte ponovo.', + ['invalid_height_format'] = 'Nevazeci Format (Visina): Pokusajte ponovo.' +} From 8b18a9b97c2ef55e68838d6af6765a7d4c7caa38 Mon Sep 17 00:00:00 2001 From: KiLaOriginal <120842110+KiLaOriginal@users.noreply.github.com> Date: Sun, 2 Apr 2023 20:43:09 +0200 Subject: [PATCH 056/236] Create sr.lua --- [core]/esx_multicharacter/locales/sr.lua | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 [core]/esx_multicharacter/locales/sr.lua diff --git a/[core]/esx_multicharacter/locales/sr.lua b/[core]/esx_multicharacter/locales/sr.lua new file mode 100644 index 00000000..ad2f4727 --- /dev/null +++ b/[core]/esx_multicharacter/locales/sr.lua @@ -0,0 +1,33 @@ +Locales["sr"] = { + ["male"] = "Musko", + ["female"] = "Zensko", + ["select_char"] = "Izaberite karaktera", + ["select_char_description"] = "Izaberite karaktera za igru.", + ["create_char"] = "Novi karakter", + ["char_play"] = "Igraj", + ["char_play_description"] = "Nastavi.", + ["char_disabled"] = "Ugaseno", + ["char_disabled_description"] = "Ovaj karakter je neupotrebljiv.", + ["char_delete"] = "Izbrisi", + ["char_delete_description"] = "Trajno obrisite karaktera.", + ["char_delete_confirmation"] = "Potvrdite brisanje", + ["char_delete_confirmation_description"] = "Da li ste sigurni da zelite obrisati karaktera?", + ["char_delete_yes_description"] = "Da, siguran sam", + ["char_delete_no_description"] = "Ne, vrati me nazad", + ["character"] = "Karakter: %s", + ["return"] = "Nazad", + ["return_description"] = "Nazad na biranje karaktera.", + ["command_setslots"] = "Podesite broj slotova za karaktere igracu", + ["command_remslots"] = "Izbrisite slotove za vise od 1 karaktera igracu", + ["command_enablechar"] = "Omogucite dati karakter igracu", + ["command_disablechar"] = "Onemogucite dati karakter igracu", + ["command_charslot"] = "Broj slotova", + ["command_identifier"] = "Identifier igraca", + ["command_slots"] = "# slota", + ["slotsadd"] = "Dodali ste %s slota %s", + ["slotsedit"] = "Postavili ste %s slota %s", + ["slotsrem"] = "Uklonili ste slotove %s", + ["charenabled"] = "Omogucili ste karaktera #%s od %s", + ["chardisabled"] = "Onemogucili ste karaktera #%s od %s", + ["charnotfound"] = "Karakter #%s od %s ne postoji", +} From 2eac900202cc2588d23649ebd83d63dc091e5fc3 Mon Sep 17 00:00:00 2001 From: Fores <64091692+GurraG004@users.noreply.github.com> Date: Sun, 2 Apr 2023 23:00:14 +0200 Subject: [PATCH 057/236] Merge Args in command added so you can merge the args for reports command and other functions when you are sending a message with spaces. Needs to be the last args and validate set to false. / Fores --- [core]/es_extended/server/functions.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 202e1b5e..b68dc327 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -100,6 +100,14 @@ function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion) end elseif v.type == 'any' then newArgs[v.name] = args[k] + elseif v.type == 'merge' then + local lenght = 0 + for i = 1, k-1 do + lenght = lenght + string.len(args[i]) +1 + end + local merge = table.concat(args, " ") + + newArgs[v.name] = string.sub(merge, lenght) end end From 9703fc0a7ebb8d39ded0b243a298f583a27ec375 Mon Sep 17 00:00:00 2001 From: Nemanja <71012671+NeMyOriginal@users.noreply.github.com> Date: Tue, 4 Apr 2023 00:26:49 +0200 Subject: [PATCH 058/236] Create sr.js --- [core]/esx_multicharacter/html/locales/sr.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 [core]/esx_multicharacter/html/locales/sr.js diff --git a/[core]/esx_multicharacter/html/locales/sr.js b/[core]/esx_multicharacter/html/locales/sr.js new file mode 100644 index 00000000..57ef243d --- /dev/null +++ b/[core]/esx_multicharacter/html/locales/sr.js @@ -0,0 +1,9 @@ + +const translate = new Object(); + +translate.name = "Ime"; +translate.job = "Posao"; +translate.bank = "Banka"; +translate.money = "Novac"; +translate.gender = "Pol"; +translate.dob = "Datum rodjenja"; From 06e594ef12ea4036d4f6b514b6fc14f697c6d506 Mon Sep 17 00:00:00 2001 From: Nemanja <71012671+NeMyOriginal@users.noreply.github.com> Date: Tue, 4 Apr 2023 00:31:17 +0200 Subject: [PATCH 059/236] Create sr.lua --- [core]/esx_multicharacter/locales/sr.lua | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 [core]/esx_multicharacter/locales/sr.lua diff --git a/[core]/esx_multicharacter/locales/sr.lua b/[core]/esx_multicharacter/locales/sr.lua new file mode 100644 index 00000000..6d9f33b8 --- /dev/null +++ b/[core]/esx_multicharacter/locales/sr.lua @@ -0,0 +1,34 @@ + +Locales["sr"] = { + ["male"] = "Muško", + ["female"] = "Žensko", + ["select_char"] = "Izaberi Karakter", + ["select_char_description"] = "Izaberi karakter kojim ćeš igrati", + ["create_char"] = "Novi Karakter", + ["char_play"] = "Igraj", + ["char_play_description"] = "Nastavi u grad.", + ["char_disabled"] = "Onemogućeno", + ["char_disabled_description"] = "Taj karakter je onemogućen", + ["char_delete"] = "Izbriši", + ["char_delete_description"] = "Nepovratno obrišite karakter", + ["char_delete_confirmation"] = "Potvrda brisanja", + ["char_delete_confirmation_description"] = "Da li ste sigurni da želite da obrišete karakter?", + ["char_delete_yes_description"] = "Da, siguran sam da želim obrisati karakter", + ["char_delete_no_description"] = "Ne, vrati se nazad", + ["character"] = "Karakter: %s", + ["return"] = "Nazad", + ["return_description"] = "Povratak na biranje karaktera.", + ["command_setslots"] = "Postavi broj slotova karaktera igraču", + ["command_remslots"] = "Izbriši slotove igraču", + ["command_enablechar"] = "Dozvoli karakter igraču", + ["command_disablechar"] = "Zabrani karakter igraču", + ["command_charslot"] = "Broj slotova", + ["command_identifier"] = "Identifikator Igrača", + ["command_slots"] = "# slotova", + ["slotsadd"] = "Dodali ste %s slotova %s", + ["slotsedit"] = "Postavili ste %s slotova %s", + ["slotsrem"] = "Oduzeli ste slotove %s", + ["charenabled"] = "Dozvolili ste karakter #%s od %s", + ["chardisabled"] = "Zabranili ste karakter #%s od %s", + ["charnotfound"] = "Karakter #%s od %s ne postoji", +} From a9e8661b9972114573081c048500a0d82bc92aee Mon Sep 17 00:00:00 2001 From: Taavi <97351942+Taavi-AU@users.noreply.github.com> Date: Wed, 5 Apr 2023 20:18:15 +0800 Subject: [PATCH 060/236] add esx:spawnVehicle callback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to spawn vehicles client side using a callback to server side spawn vehicles 👍 --- [core]/es_extended/server/main.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 892b5a5e..9602d469 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -628,6 +628,22 @@ ESX.RegisterServerCallback('esx:getPlayerNames', function(source, cb, players) cb(players) end) +ESX.RegisterServerCallback("esx:spawnVehicle", function(source,cb,model,coords,heading,props,warp) + local ped = GetPlayerPed(source) + local vehicle = nil + props = props or {} + ESX.OneSync.SpawnVehicle(model, coords, heading, props, function(id) + vehicle = NetworkGetEntityFromNetworkId(id) + if warp then + while GetVehiclePedIsIn(ped) ~= vehicle do + Wait(0) + TaskWarpPedIntoVehicle(ped, vehicle, -1) + end + end + cb(id) + end) +end) + AddEventHandler('txAdmin:events:scheduledRestart', function(eventData) if eventData.secondsRemaining == 60 then CreateThread(function() From 2dc90b4410bee4628a3892dfef734b2946fe79a3 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Thu, 6 Apr 2023 09:25:59 +1000 Subject: [PATCH 061/236] fix(esx/ox_inventory): trigger esx:setAccountMoney when syncing inventory Change was excluded from https://github.com/esx-framework/esx_core/commit/2851032034f93eb48863b909f2bfdb9c7b3fa76f --- .../server/classes/overrides/oxinventory.lua | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/[core]/es_extended/server/classes/overrides/oxinventory.lua b/[core]/es_extended/server/classes/overrides/oxinventory.lua index d983b714..7a7a2c84 100644 --- a/[core]/es_extended/server/classes/overrides/oxinventory.lua +++ b/[core]/es_extended/server/classes/overrides/oxinventory.lua @@ -208,14 +208,16 @@ Core.PlayerFunctionOverrides.OxInventory = { self.inventory = items if money then - for k, v in pairs(money) do - local account = self.getAccount(k) - if ESX.Math.Round(account.money) ~= v then - account.money = v + for accountName, amount in pairs(money) do + local account = self.getAccount(accountName) + + if account and ESX.Math.Round(account.money) ~= amount then + account.money = amount self.triggerEvent('esx:setAccountMoney', account) + TriggerEvent('esx:setAccountMoney', self.source, accountName, amount, 'Sync account with item') end end end end end -} \ No newline at end of file +} From 423953906ead82650dea5d277716606eeae08553 Mon Sep 17 00:00:00 2001 From: KiLaOriginal <120842110+KiLaOriginal@users.noreply.github.com> Date: Thu, 6 Apr 2023 18:46:21 +0200 Subject: [PATCH 062/236] Create sr.lua --- [core]/es_extended/locales/sr.lua | 365 ++++++++++++++++++++++++++++++ 1 file changed, 365 insertions(+) create mode 100644 [core]/es_extended/locales/sr.lua diff --git a/[core]/es_extended/locales/sr.lua b/[core]/es_extended/locales/sr.lua new file mode 100644 index 00000000..a28c8643 --- /dev/null +++ b/[core]/es_extended/locales/sr.lua @@ -0,0 +1,365 @@ +Locales['en'] = { + -- Inventory + ['inventory'] = 'Inventar ( Težina %s / %s )', + ['use'] = 'Koristi', + ['give'] = 'Daj', + ['remove'] = 'Baci', + ['return'] = 'Nazad', + ['give_to'] = 'Daj', + ['amount'] = 'Količina', + ['giveammo'] = 'Daj municiju', + ['amountammo'] = 'Količina municije', + ['noammo'] = 'Nemate dovoljno!', + ['gave_item'] = 'Davanje %sx %s igraču %s', + ['received_item'] = 'Dobijeno %sx %s od %s', + ['gave_weapon'] = 'Davanje %s igraču %s', + ['gave_weapon_ammo'] = 'Davanje ~o~%sx %s za %s igraču %s', + ['gave_weapon_withammo'] = 'Davanje %s sa ~o~%sx %s igraču %s', + ['gave_weapon_hasalready'] = '%s već ima %s', + ['gave_weapon_noweapon'] = '%s nema to oružje', + ['received_weapon'] = 'Dobijeno %s od %s', + ['received_weapon_ammo'] = 'Dobijeno ~o~%sx %s za vaš %s od %s', + ['received_weapon_withammo'] = 'Dobijeno %s sa ~o~%sx %s od %s', + ['received_weapon_hasalready'] = '%s je pokušao da Vam da %s, ali vi već imate to oružje', + ['received_weapon_noweapon'] = '%s je pokušao da Vam da municiju za %s, ali vi nemate to oružje', + ['gave_account_money'] = 'Davanje $%s (%s) igraču %s', + ['received_account_money'] = 'Dobijeno $%s (%s) od %s', + ['amount_invalid'] = 'Nevažeća količina', + ['players_nearby'] = 'Nema igrača u blizini', + ['ex_inv_lim'] = 'Ne možete uraditi to, premašuje max težinu od %s', + ['imp_invalid_quantity'] = 'Nevažeća količina', + ['imp_invalid_amount'] = 'Nevažeći iznos', + ['threw_standard'] = 'Bacanje %sx %s', + ['threw_account'] = 'Bacanje $%s %s', + ['threw_weapon'] = 'Bacanje %s', + ['threw_weapon_ammo'] = 'Bacanje %s sa ~o~%sx %s', + ['threw_weapon_already'] = 'Vi već imate to oružje', + ['threw_cannot_pickup'] = 'Inventar je pun, ne možete pokupiti to!', + ['threw_pickup_prompt'] = 'Pritisni E da pokupiš', + + -- Key mapping + ['keymap_showinventory'] = 'Otvaranje inventara', + + -- Salary related + ['received_salary'] = 'Plaćeno Vam je: $%s', + ['received_help'] = 'Isplaćen Vam je ček: $%s', + ['company_nomoney'] = 'Kompanija u kojoj ste zapošljeni nema više novca', + ['received_paycheck'] = 'primili ste platu', + ['bank'] = 'Maze Banka', + ['account_bank'] = 'Banka', + ['account_black_money'] = 'Prljav novac', + ['account_money'] = 'Novac', + + ['act_imp'] = 'Ne možete izvršiti radnju', + ['in_vehicle'] = 'Ne možete uraditi to dok je igrač u vozilu', + + -- Commands + ['command_bring'] = 'TP-ajte igrača do Vas', + ['command_car'] = 'Stvorite vozilo', + ['command_car_car'] = 'Model ili hash vozila', + ['command_cardel'] = 'Obrišite vozilo u blizini', + ['command_cardel_radius'] = 'Obrišite sva vozila unutar navedenog radiusa', + ['command_clear'] = 'Obrišite chat', + ['command_clearall'] = 'Obrišite chat za sve igrače', + ['command_clearinventory'] = 'Obrišite sve stvari iz inventara igrača', + ['command_clearloadout'] = 'Obrišite sva oružja iz inventara igrača', + ['command_freeze'] = 'Zaledite igrača', + ['command_unfreeze'] = 'Odledite igrača', + ['command_giveaccountmoney'] = 'Dajte novac na odredjeni nalog', + ['command_giveaccountmoney_account'] = 'Nalog za slanje', + ['command_giveaccountmoney_amount'] = 'Količina', + ['command_giveaccountmoney_invalid'] = 'Nalog nepostojeći', + ['command_giveitem'] = 'Dajte item igraču', + ['command_giveitem_item'] = 'Ime item-a', + ['command_giveitem_count'] = 'Količina', + ['command_giveweapon'] = 'Dajte oružje igraču', + ['command_giveweapon_weapon'] = 'Ime oružja', + ['command_giveweapon_ammo'] = 'Količina municije', + ['command_giveweapon_hasalready'] = 'Igrač već ima to oružje', + ['command_giveweaponcomponent'] = 'Dajte dodatak za oružje igraču', + ['command_giveweaponcomponent_component'] = 'Ime dodatka', + ['command_giveweaponcomponent_invalid'] = 'Nevažeći dodatak', + ['command_giveweaponcomponent_hasalready'] = 'Igrač već ima taj dodatak', + ['command_giveweaponcomponent_missingweapon'] = 'Igrač nema oružje', + ['command_goto'] = 'Idite do igrača', + ['command_kill'] = 'Ubijte igrača', + ['command_save'] = 'Forsirajte čuvanje date igrača', + ['command_saveall'] = 'Forsirajte čuvanje date svih igrača', + ['command_setaccountmoney'] = 'Postavite novac na određeni račun', + ['command_setaccountmoney_amount'] = 'Količina', + ['command_setcoords'] = 'Teleportujte se na koordinate', + ['command_setcoords_x'] = 'X', + ['command_setcoords_y'] = 'Y', + ['command_setcoords_z'] = 'Z', + ['command_setjob'] = 'Postavite posao igraču', + ['command_setjob_job'] = 'Ime', + ['command_setjob_grade'] = 'Stepen posla', + ['command_setjob_invalid'] = 'posao, stepen ili oba nisu validna', + ['command_setgroup'] = 'Postavite permisiju', + ['command_setgroup_group'] = 'Ime grupe', + ['commanderror_argumentmismatch'] = 'Nevazeci broj argumenata (položio %s, željeno %s)', + ['commanderror_argumentmismatch_number'] = 'Nevažeći argument #%s tip podataka (položeno, željeno)', + ['commanderror_invaliditem'] = 'Nevažeći item', + ['commanderror_invalidweapon'] = 'Nevažeće oružje', + ['commanderror_console'] = 'Komanda se ne može izvršiti iz konzole', + ['commanderror_invalidcommand'] = 'Nevažeća komanda - /%s', + ['commanderror_invalidplayerid'] = 'Igrač nije online', + ['commandgeneric_playerid'] = 'Igračev server ID', + ['command_giveammo_noweapon_found'] = '%s nema to oružje', + ['command_giveammo_weapon'] = 'Ime oružja', + ['command_giveammo_ammo'] = 'Količina municije', + ['tpm_nowaypoint'] = 'Morate označiti lokaciju.', + ['tpm_success'] = 'Teleportovani ste na lokaciju', + + ['noclip_message'] = 'Noclip %s', + ['enabled'] = '~g~upaljen~s~', + ['disabled'] = '~r~ugašen~s~', + + -- Locale settings + ['locale_digit_grouping_symbol'] = ',', + ['locale_currency'] = '£%s', + + -- Weapons + + -- Melee + ['weapon_dagger'] = 'Dagger', + ['weapon_bat'] = 'Bat', + ['weapon_battleaxe'] = 'Battle Axe', + ['weapon_bottle'] = 'Bottle', + ['weapon_crowbar'] = 'Crowbar', + ['weapon_flashlight'] = 'Flashlight', + ['weapon_golfclub'] = 'Golf Club', + ['weapon_hammer'] = 'Hammer', + ['weapon_hatchet'] = 'Hatchet', + ['weapon_knife'] = 'Knife', + ['weapon_knuckle'] = 'Knuckledusters', + ['weapon_machete'] = 'Machete', + ['weapon_nightstick'] = 'Nightstick', + ['weapon_wrench'] = 'Pipe Wrench', + ['weapon_poolcue'] = 'Pool Cue', + ['weapon_stone_hatchet'] = 'Stone Hatchet', + ['weapon_switchblade'] = 'Switchblade', + + -- Handguns + ['weapon_appistol'] = 'AP Pistol', + ['weapon_ceramicpistol'] = 'Ceramic Pistol', + ['weapon_combatpistol'] = 'Combat Pistol', + ['weapon_doubleaction'] = 'Double-Action Revolver', + ['weapon_navyrevolver'] = 'Navy Revolver', + ['weapon_flaregun'] = 'Flaregun', + ['weapon_gadgetpistol'] = 'Gadget Pistol', + ['weapon_heavypistol'] = 'Heavy Pistol', + ['weapon_revolver'] = 'Heavy Revolver', + ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', + ['weapon_marksmanpistol'] = 'Marksman Pistol', + ['weapon_pistol'] = 'Pistol', + ['weapon_pistol_mk2'] = 'Pistol MK2', + ['weapon_pistol50'] = 'Pistol .50', + ['weapon_snspistol'] = 'SNS Pistol', + ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', + ['weapon_stungun'] = 'Taser', + ['weapon_raypistol'] = 'Up-N-Atomizer', + ['weapon_vintagepistol'] = 'Vintage Pistol', + + -- Shotguns + ['weapon_assaultshotgun'] = 'Assault Shotgun', + ['weapon_autoshotgun'] = 'Auto Shotgun', + ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', + ['weapon_combatshotgun'] = 'Combat Shotgun', + ['weapon_dbshotgun'] = 'Double Barrel Shotgun', + ['weapon_heavyshotgun'] = 'Heavy Shotgun', + ['weapon_musket'] = 'Musket', + ['weapon_pumpshotgun'] = 'Pump Shotgun', + ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', + ['weapon_sawnoffshotgun'] = 'Sawed Off Shotgun', + + -- SMG & LMG + ['weapon_assaultsmg'] = 'Assault SMG', + ['weapon_combatmg'] = 'Combat MG', + ['weapon_combatmg_mk2'] = 'Combat MG MK2', + ['weapon_combatpdw'] = 'Combat PDW', + ['weapon_gusenberg'] = 'Gusenberg Sweeper', + ['weapon_machinepistol'] = 'Machine Pistol', + ['weapon_mg'] = 'MG', + ['weapon_microsmg'] = 'Micro SMG', + ['weapon_minismg'] = 'Mini SMG', + ['weapon_smg'] = 'SMG', + ['weapon_smg_mk2'] = 'SMG MK2', + ['weapon_raycarbine'] = 'Unholy Hellbringer', + + -- Rifles + ['weapon_advancedrifle'] = 'Advanced Rifle', + ['weapon_assaultrifle'] = 'Assault Rifle', + ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', + ['weapon_bullpuprifle'] = 'Bullpup Rifle', + ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', + ['weapon_carbinerifle'] = 'Carbine Rifle', + ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', + ['weapon_compactrifle'] = 'Compact Rifle', + ['weapon_militaryrifle'] = 'Military Rifle', + ['weapon_specialcarbine'] = 'Special Carbine', + ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', + + -- Sniper + ['weapon_heavysniper'] = 'Heavy Sniper', + ['weapon_heavysniper_mk2'] = 'Heavy Sniper MK2', + ['weapon_marksmanrifle'] = 'Marksman Rifle', + ['weapon_marksmanrifle_mk2'] = 'Marksman Rifle MK2', + ['weapon_sniperrifle'] = 'Sniper Rifle', + + -- Heavy / Launchers + ['weapon_compactlauncher'] = 'Compact Launcher', + ['weapon_firework'] = 'Firework Launcher', + ['weapon_grenadelauncher'] = 'Grenade Launcher', + ['weapon_hominglauncher'] = 'Homing Launcher', + ['weapon_minigun'] = 'Minigun', + ['weapon_railgun'] = 'Railgun', + ['weapon_rpg'] = 'Rocket Launcher', + ['weapon_rayminigun'] = 'Widowmaker', + + -- Criminal Enterprises DLC + ['weapon_metaldetector'] = 'Metal Detector', + ['weapon_precisionrifle'] = 'Precision Rifle', + ['weapon_tactilerifle'] = 'Service Carbine', + + -- Thrown + ['weapon_ball'] = 'Baseball', + ['weapon_bzgas'] = 'BZ Gas', + ['weapon_flare'] = 'Flare', + ['weapon_grenade'] = 'Grenade', + ['weapon_petrolcan'] = 'Jerrycan', + ['weapon_hazardcan'] = 'Hazardous Jerrycan', + ['weapon_molotov'] = 'Molotov Cocktail', + ['weapon_proxmine'] = 'Proximity Mine', + ['weapon_pipebomb'] = 'Pipe Bomb', + ['weapon_snowball'] = 'Snowball', + ['weapon_stickybomb'] = 'Sticky Bomb', + ['weapon_smokegrenade'] = 'Tear Gas', + + -- Special + ['weapon_fireextinguisher'] = 'Fire Extinguisher', + ['weapon_digiscanner'] = 'Digital Scanner', + ['weapon_garbagebag'] = 'Garbage Bag', + ['weapon_handcuffs'] = 'Handcuffs', + ['gadget_nightvision'] = 'Night Vision', + ['gadget_parachute'] = 'parachute', + + -- Weapon Components + ['component_knuckle_base'] = 'base Model', + ['component_knuckle_pimp'] = 'the Pimp', + ['component_knuckle_ballas'] = 'the Ballas', + ['component_knuckle_dollar'] = 'the Hustler', + ['component_knuckle_diamond'] = 'the Rock', + ['component_knuckle_hate'] = 'the Hater', + ['component_knuckle_love'] = 'the Lover', + ['component_knuckle_player'] = 'the Player', + ['component_knuckle_king'] = 'the King', + ['component_knuckle_vagos'] = 'the Vagos', + + ['component_luxary_finish'] = 'luxary Weapon Finish', + + ['component_handle_default'] = 'default Handle', + ['component_handle_vip'] = 'vIP Handle', + ['component_handle_bodyguard'] = 'bodyguard Handle', + + ['component_vip_finish'] = 'vIP Finish', + ['component_bodyguard_finish'] = 'bodyguard Finish', + + ['component_camo_finish'] = 'digital Camo', + ['component_camo_finish2'] = 'brushstroke Camo', + ['component_camo_finish3'] = 'woodland Camo', + ['component_camo_finish4'] = 'skull Camo', + ['component_camo_finish5'] = 'sessanta Nove Camo', + ['component_camo_finish6'] = 'perseus Camo', + ['component_camo_finish7'] = 'leopard Camo', + ['component_camo_finish8'] = 'zebra Camo', + ['component_camo_finish9'] = 'geometric Camo', + ['component_camo_finish10'] = 'boom Camo', + ['component_camo_finish11'] = 'patriotic Camo', + + ['component_camo_slide_finish'] = 'digital Slide Camo', + ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', + ['component_camo_slide_finish3'] = 'woodland Slide Camo', + ['component_camo_slide_finish4'] = 'skull Slide Camo', + ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', + ['component_camo_slide_finish6'] = 'perseus Slide Camo', + ['component_camo_slide_finish7'] = 'leopard Slide Camo', + ['component_camo_slide_finish8'] = 'zebra Slide Camo', + ['component_camo_slide_finish9'] = 'geometric Slide Camo', + ['component_camo_slide_finish10'] = 'boom Slide Camo', + ['component_camo_slide_finish11'] = 'patriotic Slide Camo', + + ['component_clip_default'] = 'default Magazine', + ['component_clip_extended'] = 'extended Magazine', + ['component_clip_drum'] = 'drum Magazine', + ['component_clip_box'] = 'box Magazine', + + ['component_scope_holo'] = 'holographic Scope', + ['component_scope_small'] = 'small Scope', + ['component_scope_medium'] = 'medium Scope', + ['component_scope_large'] = 'large Scope', + ['component_scope'] = 'mounted Scope', + ['component_scope_advanced'] = 'advanced Scope', + ['component_ironsights'] = 'ironsights', + + ['component_suppressor'] = 'suppressor', + ['component_compensator'] = 'compensator', + + ['component_muzzle_flat'] = 'flat Muzzle Brake', + ['component_muzzle_tactical'] = 'tactical Muzzle Brake', + ['component_muzzle_fat'] = 'fat-End Muzzle Brake', + ['component_muzzle_precision'] = 'precision Muzzle Brake', + ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', + ['component_muzzle_slanted'] = 'slanted Muzzle Brake', + ['component_muzzle_split'] = 'split-End Muzzle Brake', + ['component_muzzle_squared'] = 'squared Muzzle Brake', + + ['component_flashlight'] = 'flashlight', + ['component_grip'] = 'grip', + + ['component_barrel_default'] = 'default Barrel', + ['component_barrel_heavy'] = 'heavy Barrel', + + ['component_ammo_tracer'] = 'tracer Ammo', + ['component_ammo_incendiary'] = 'incendiary Ammo', + ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', + ['component_ammo_fmj'] = 'fMJ Ammo', + ['component_ammo_armor'] = 'armor Piercing Ammo', + ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', + + ['component_shells_default'] = 'default Shells', + ['component_shells_incendiary'] = 'dragons Breath Shells', + ['component_shells_armor'] = 'steel Buckshot Shells', + ['component_shells_hollowpoint'] = 'flechette Shells', + ['component_shells_explosive'] = 'explosive Slug Shells', + + -- Weapon Ammo + ['ammo_rounds'] = 'round(s)', + ['ammo_shells'] = 'shell(s)', + ['ammo_charge'] = 'charge', + ['ammo_petrol'] = 'gallons of fuel', + ['ammo_firework'] = 'firework(s)', + ['ammo_rockets'] = 'rocket(s)', + ['ammo_grenadelauncher'] = 'grenade(s)', + ['ammo_grenade'] = 'grenade(s)', + ['ammo_stickybomb'] = 'bomb(s)', + ['ammo_pipebomb'] = 'bomb(s)', + ['ammo_smokebomb'] = 'bomb(s)', + ['ammo_molotov'] = 'cocktail(s)', + ['ammo_proxmine'] = 'mine(s)', + ['ammo_bzgas'] = 'can(s)', + ['ammo_ball'] = 'ball(s)', + ['ammo_snowball'] = 'snowball(s)', + ['ammo_flare'] = 'flare(s)', + ['ammo_flaregun'] = 'flare(s)', + + -- Weapon Tints + ['tint_default'] = 'default skin', + ['tint_green'] = 'green skin', + ['tint_gold'] = 'gold skin', + ['tint_pink'] = 'pink skin', + ['tint_army'] = 'army skin', + ['tint_lspd'] = 'blue skin', + ['tint_orange'] = 'orange skin', + ['tint_platinum'] = 'platinum skin', +} From bbd59a8a56d8bfaf08b9ec45e7c24553ad77bc5d Mon Sep 17 00:00:00 2001 From: FacoSL <130232891+FacoSL@users.noreply.github.com> Date: Sat, 8 Apr 2023 18:17:00 +0200 Subject: [PATCH 063/236] Update fr.lua Skinchanger --- [core]/skinchanger/locales/fr.lua | 130 ++++++++++++++++++------------ 1 file changed, 77 insertions(+), 53 deletions(-) diff --git a/[core]/skinchanger/locales/fr.lua b/[core]/skinchanger/locales/fr.lua index 5551b29e..cc799047 100644 --- a/[core]/skinchanger/locales/fr.lua +++ b/[core]/skinchanger/locales/fr.lua @@ -1,76 +1,100 @@ Locales['fr'] = { ['sex'] = 'sexe', - ['face'] = 'visage', - ['skin'] = 'peau', - ['wrinkles'] = 'rides', - ['wrinkle_thickness'] = 'épaisseur rides', - ['beard_type'] = 'type barbe', - ['beard_size'] = 'taille barbe', - ['beard_color_1'] = 'couleur barbe 1', - ['beard_color_2'] = 'couleur barbe 2', + ['mom'] = 'mère\'s visage', + ['dad'] = 'père\'s visage', + ['resemblance'] = 'ressemblance', + ['skin_tone'] = 'teint', + ['nose_1'] = 'largeur du nez', + ['nose_2'] = 'hauteur du pic du nez', + ['nose_3'] = 'longueur du pic du nez', + ['nose_4'] = "hauteur de l'os du nez", + ['nose_5'] = 'abaissement du pic du nez', + ['nose_6'] = "torsion de l'os du nez", + ['cheeks_1'] = 'hauteur des pommettes', + ['cheeks_2'] = 'largeur des pommettes', + ['cheeks_3'] = 'largeur des joues', + ['lip_fullness'] = 'plénitude des lèvres', + ['jaw_bone_width'] = "largeur de l'os de la mâchoire", + ['jaw_bone_length'] = "longueur de l'os de la mâchoire", + ['chin_height'] = 'hauteur du menton', + ['chin_length'] = 'longueur du menton', + ['chin_width'] = 'largeur du menton', + ['chin_hole'] = 'taille du trou du menton', + ['neck_thickness'] = 'épaisseur du cou', + ['wrinkles'] = 'les rides', + ['wrinkle_thickness'] = 'épaisseur des rides', + ['beard_type'] = 'type de barbe', + ['beard_size'] = 'taille de barbe', + ['beard_color_1'] = 'couleur de barbe 1', + ['beard_color_2'] = 'couleur de barbe 2', ['hair_1'] = 'cheveux 1', ['hair_2'] = 'cheveux 2', - ['hair_color_1'] = 'couleur cheveux 1', - ['hair_color_2'] = 'couleur cheveux 2', - ['eye_color'] = 'lentilles colorées', - ['eyebrow_type'] = 'type sourcils', - ['eyebrow_size'] = 'taille sourcils', - ['eyebrow_color_1'] = 'couleur sourcils 1', - ['eyebrow_color_2'] = 'couleur sourcils 2', - ['makeup_type'] = 'type maquillage', - ['makeup_thickness'] = 'épaisseur maquillage', - ['makeup_color_1'] = 'couleur maquillage 1', - ['makeup_color_2'] = 'couleur maquillage 2', - ['lipstick_type'] = 'type lipstick', - ['lipstick_thickness'] = 'épaisseur lipstick', - ['lipstick_color_1'] = 'couleur lipstick 1', - ['lipstick_color_2'] = 'couleur lipstick 2', - ['ear_accessories'] = 'accessoire oreilles', - ['ear_accessories_color'] = 'couleur accessoire', + ['hair_color_1'] = 'couleur de cheveux 1', + ['hair_color_2'] = 'couleur de cheveux 2', + ['eye_color'] = 'couleur des yeux', + ['eye_squint'] = 'eye squint', + ['eyebrow_type'] = 'type de sourcil', + ['eyebrow_size'] = 'taille des sourcils', + ['eyebrow_color_1'] = 'couleur des sourcils 1', + ['eyebrow_color_2'] = 'couleur des sourcils 2', + ['eyebrow_depth'] = 'profondeur des sourcils', + ['eyebrow_height'] = 'hauteur des sourcils', + ['makeup_type'] = 'type de maquillage', + ['makeup_thickness'] = 'épaisseur de maquillage', + ['makeup_color_1'] = 'couleur de maquillage 1', + ['makeup_color_2'] = 'couleur de maquillage 2', + ['lipstick_type'] = 'type de rouge à lèvres', + ['lipstick_thickness'] = 'épaisseur du rouge à lèvres', + ['lipstick_color_1'] = 'couleur de rouge à lèvres 1', + ['lipstick_color_2'] = 'couleur de rouge à lèvres 2', + ['ear_accessories'] = 'ear accessories', + ['ear_accessories_color'] = "couleur des accessoires d'oreille", ['tshirt_1'] = 't-Shirt 1', ['tshirt_2'] = 't-Shirt 2', ['torso_1'] = 'torse 1', ['torso_2'] = 'torse 2', - ['decals_1'] = 'calques 1', - ['decals_2'] = 'calques 2', + ['decals_1'] = 'décalcomanies 1', + ['decals_2'] = 'décalcomanies 2', ['arms'] = 'bras', ['arms_2'] = 'bras 2', - ['pants_1'] = 'jambes 1', - ['pants_2'] = 'jambes 2', + ['pants_1'] = 'pantalon 1', + ['pants_2'] = 'pantalon 2', ['shoes_1'] = 'chaussures 1', ['shoes_2'] = 'chaussures 2', ['mask_1'] = 'masque 1', ['mask_2'] = 'masque 2', - ['bproof_1'] = 'gilet pare-balle 1', - ['bproof_2'] = 'gilet pare-balle 2', - ['chain_1'] = 'chaine 1', - ['chain_2'] = 'chaine 2', + ['bproof_1'] = 'gilet pare-balles 1', + ['bproof_2'] = 'gilet pare-balles 2', + ['chain_1'] = 'chaîne 1', + ['chain_2'] = 'chaîne 2', ['helmet_1'] = 'casque 1', ['helmet_2'] = 'casque 2', - ['watches_1'] = 'montre 1', - ['watches_2'] = 'montre 2', - ['bracelets_1'] = 'bracelet 1', - ['bracelets_2'] = 'bracelet 2', + ['watches_1'] = 'montres 1', + ['watches_2'] = 'montres 2', + ['bracelets_1'] = 'bracelets 1', + ['bracelets_2'] = 'bracelets 2', ['glasses_1'] = 'lunettes 1', ['glasses_2'] = 'lunettes 2', ['bag'] = 'sac', - ['bag_color'] = 'couleur sac', - ['blemishes'] = 'Boutons', - ['blemishes_size']= 'opacité des boutons', + ['bag_color'] = 'couleur du sac', + ['blemishes'] = 'imperfections', + ['blemishes_size'] = 'épaisseur des imperfections', ['ageing'] = 'vieillissement', - ['ageing_1'] = 'opacité du vieillissement', - ['blush'] = 'rougeur', - ['blush_1'] = 'opacité rougeur', - ['blush_color'] = 'couleur rougeur', - ['complexion'] = 'teint', - ['complexion_1'] = 'opacité teint', - ['sun'] = 'dommages UV', - ['sun_1'] = 'opacité dommages UV', + ['ageing_1'] = 'épaisseur de vieillissement', + ['blush'] = 'rougir', + ['blush_1'] = 'épaisseur du fard à joues', + ['blush_color'] = 'couleur fard à joues', + ['complexion'] = 'complexion', + ['complexion_1'] = 'épaisseur du teint', + ['sun'] = 'soleil', + ['sun_1'] = 'épaisseur du soleil', ['freckles'] = 'taches de rousseur', - ['freckles_1'] = 'opacité rousseur', - ['chest_hair'] = 'pilosité torse', - ['chest_hair_1'] = 'opacité pilosité', - ['chest_color'] = 'couleur pilosité', + ['freckles_1'] = 'épaisseur des taches de rousseur', + ['chest_hair'] = 'les poils du torse', + ['chest_hair_1'] = 'épaisseur des poils de la poitrine', + ['chest_color'] = 'couleur des cheveux de la poitrine', ['bodyb'] = 'imperfections du corps', - ['bodyb_size'] = 'opacité imperfections', + ['bodyb_size'] = 'épaisseur des imperfections corporelles', + ['bodyb_extra'] = 'effet corps', + ['bodyb_extra_thickness'] = 'imperfections effet corps épaisseur', } From ad63a0b47603a21ce9a23f2f00adb526145cb905 Mon Sep 17 00:00:00 2001 From: KiLaOriginal <120842110+KiLaOriginal@users.noreply.github.com> Date: Sat, 8 Apr 2023 22:48:37 +0200 Subject: [PATCH 064/236] Create sr.lua --- [core]/skinchanger/locales/sr.lua | 100 ++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 [core]/skinchanger/locales/sr.lua diff --git a/[core]/skinchanger/locales/sr.lua b/[core]/skinchanger/locales/sr.lua new file mode 100644 index 00000000..5e5fa438 --- /dev/null +++ b/[core]/skinchanger/locales/sr.lua @@ -0,0 +1,100 @@ +Locales['sr'] = { + ['sex'] = 'pol', + ['mom'] = 'mamina faca', + ['dad'] = 'tatina faca', + ['resemblance'] = 'sličnost', + ['skin_tone'] = 'ten', + ['nose_1'] = 'širina nosa', + ['nose_2'] = 'visina vrha nosa', + ['nose_3'] = 'dužina vrha nosa', + ['nose_4'] = 'visina nosne kosti', + ['nose_5'] = 'spuštanje vrha nosa', + ['nose_6'] = 'uvrtanje nosne kosti', + ['cheeks_1'] = 'visina jagodica', + ['cheeks_2'] = 'širina jagodica', + ['cheeks_3'] = 'širina obraza', + ['lip_fullness'] = 'punoća usana', + ['jaw_bone_width'] = 'širina kostiju vilice', + ['jaw_bone_length'] = 'dužina kostiju vilice', + ['chin_height'] = 'visina brade', + ['chin_length'] = 'dužina brade', + ['chin_width'] = 'širina brade', + ['chin_hole'] = 'veličina rupe za bradu', + ['neck_thickness'] = 'debljina vrata', + ['wrinkles'] = 'bore', + ['wrinkle_thickness'] = 'debljina bora', + ['beard_type'] = 'tip brade', + ['beard_size'] = 'veličina brade', + ['beard_color_1'] = 'boja brade 1', + ['beard_color_2'] = 'boja brade 2', + ['hair_1'] = 'kosa 1', + ['hair_2'] = 'kosa 2', + ['hair_color_1'] = 'boja kose 1', + ['hair_color_2'] = 'boja kose 2', + ['eye_color'] = 'boja očiju', + ['eye_squint'] = 'raširenost oka', + ['eyebrow_type'] = 'tip obrva', + ['eyebrow_size'] = 'veličina obrva', + ['eyebrow_color_1'] = 'boja obrva 1', + ['eyebrow_color_2'] = 'boja obrva 2', + ['eyebrow_depth'] = 'dubina obrva', + ['eyebrow_height'] = 'visina obrva', + ['makeup_type'] = 'šminka', + ['makeup_thickness'] = 'debljina šminke', + ['makeup_color_1'] = 'boja šminke 1', + ['makeup_color_2'] = 'boja šminke 2', + ['lipstick_type'] = 'tip karmina', + ['lipstick_thickness'] = 'debljina karmina', + ['lipstick_color_1'] = 'boja karmina 1', + ['lipstick_color_2'] = 'boja karmina 2', + ['ear_accessories'] = 'naušnice', + ['ear_accessories_color'] = 'boja naušnica', + ['tshirt_1'] = 'majica ', + ['tshirt_2'] = 'boja majice', + ['torso_1'] = 'gornjak', + ['torso_2'] = 'boja gornjaka', + ['decals_1'] = 'detalji', + ['decals_2'] = 'boja detalja', + ['arms'] = 'ruke', + ['arms_2'] = 'boja rukavica', + ['pants_1'] = 'pantalone', + ['pants_2'] = 'boja pantalona', + ['shoes_1'] = 'patike', + ['shoes_2'] = 'boja patika', + ['mask_1'] = 'maska', + ['mask_2'] = 'boja maske', + ['bproof_1'] = 'pancir', + ['bproof_2'] = 'boja pancira', + ['chain_1'] = 'lanac', + ['chain_2'] = 'boja lanca', + ['helmet_1'] = 'kaciga', + ['helmet_2'] = 'boja kacige', + ['watches_1'] = 'sat', + ['watches_2'] = 'boja sata', + ['bracelets_1'] = 'narukvice', + ['bracelets_2'] = 'boja narukvice', + ['glasses_1'] = 'naočare', + ['glasses_2'] = 'boja naočara', + ['bag'] = 'torba', + ['bag_color'] = 'boja torbe', + ['blemishes'] = 'mrlje', + ['blemishes_size'] = 'debljina mrlja', + ['ageing'] = 'starenje', + ['ageing_1'] = 'debljina starenja', + ['blush'] = 'rumenilo', + ['blush_1'] = 'debljina rumenila', + ['blush_color'] = 'boja rumenila', + ['complexion'] = 'ten', + ['complexion_1'] = 'debljina tena', + ['sun'] = 'sunce', + ['sun_1'] = 'debljina sunca', + ['freckles'] = 'pege', + ['freckles_1'] = 'debljina pega', + ['chest_hair'] = 'dlake na grudima', + ['chest_hair_1'] = 'debljina dlaka na grudima', + ['chest_color'] = 'boja dlaka na grudima', + ['bodyb'] = 'mrlje na telu', + ['bodyb_size'] = 'debljina mrlja na telu', + ['bodyb_extra'] = 'efekat mrlja na telu', + ['bodyb_extra_thickness'] = 'mrlje telo efekat debljine', +} From 631d3613c2f5b638ed517eac9dd91c0a9be2a9f3 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Mon, 10 Apr 2023 11:16:51 +0200 Subject: [PATCH 065/236] change name from en to sr --- [core]/es_extended/locales/sr.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/locales/sr.lua b/[core]/es_extended/locales/sr.lua index a28c8643..ae959ad3 100644 --- a/[core]/es_extended/locales/sr.lua +++ b/[core]/es_extended/locales/sr.lua @@ -1,4 +1,4 @@ -Locales['en'] = { +Locales['sr'] = { -- Inventory ['inventory'] = 'Inventar ( Težina %s / %s )', ['use'] = 'Koristi', From c1455376624eee52fde063ab123897a0e48341c6 Mon Sep 17 00:00:00 2001 From: Mycroft Date: Tue, 11 Apr 2023 13:58:21 +0100 Subject: [PATCH 066/236] twea;(esx_multicharacter): Blame OxMySQL for the database issues People cant read --- [core]/esx_multicharacter/server/main.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index 12864d99..64fbfe88 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -100,11 +100,11 @@ end end if not databaseFound then - deferrals.done(('[ESX Multicharacter] Cannot Find the servers mysql_connection_string. Please make sure it is correctly configured in your server.cfg'):format(oneSyncState)) + deferrals.done('[ESX] Cannot Find the servers mysql_connection_string. Please make sure it is correctly configured in your server.cfg') end if not databaseConnected then - deferrals.done(('[ESX Multicharacter] ESX Cannot Connect to your database. Please make sure it is correctly configured in your server.cfg'):format(oneSyncState)) + deferrals.done('[ESX] OxMySQL Was Unable Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') end if identifier then @@ -236,4 +236,4 @@ end RegisterNetEvent('esx_multicharacter:relog', function() local source = source TriggerEvent('esx:playerLogout', source) - end) \ No newline at end of file + end) From e13711c119121824ad5701a6832b1f7579fa10fa Mon Sep 17 00:00:00 2001 From: Mycroft Date: Tue, 11 Apr 2023 14:01:15 +0100 Subject: [PATCH 067/236] tweak(es_extended): Blame OxMySQL for Database issues --- [core]/es_extended/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 892b5a5e..bd052536 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -102,7 +102,7 @@ if not Config.Multichar then end if not Core.DatabaseConnected then - return deferrals.done(('[ESX] ESX Cannot Connect to your database. Please make sure it is correctly configured in your server.cfg'):format(oneSyncState)) + return deferrals.done('[ESX] OxMySQL Was Unable Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') end if identifier then From 833fbd42e5d5d5bd3e52cd004c3efca421737ec7 Mon Sep 17 00:00:00 2001 From: Mycroft Date: Tue, 11 Apr 2023 14:12:45 +0100 Subject: [PATCH 068/236] fix: typo --- [core]/esx_multicharacter/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index 64fbfe88..19dc2a94 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -104,7 +104,7 @@ end end if not databaseConnected then - deferrals.done('[ESX] OxMySQL Was Unable Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') + deferrals.done('[ESX] OxMySQL Was Unable To Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') end if identifier then From 42eb8aafd208bf87b2fbe1a9b32a2030839e14da Mon Sep 17 00:00:00 2001 From: Mycroft Date: Tue, 11 Apr 2023 14:13:07 +0100 Subject: [PATCH 069/236] fix: typo --- [core]/es_extended/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index bd052536..228e99c0 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -102,7 +102,7 @@ if not Config.Multichar then end if not Core.DatabaseConnected then - return deferrals.done('[ESX] OxMySQL Was Unable Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') + return deferrals.done('[ESX] OxMySQL Was Unable To Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') end if identifier then From 27d2d8113fa24f7f1d37e03b935103ed107954d1 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sat, 15 Apr 2023 12:09:59 +0200 Subject: [PATCH 070/236] chore(es_extended): Create german locales MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Credits: Lönny#9999 --- [core]/es_extended/locales/de.lua | 365 ++++++++++++++++++++++++++++++ 1 file changed, 365 insertions(+) create mode 100644 [core]/es_extended/locales/de.lua diff --git a/[core]/es_extended/locales/de.lua b/[core]/es_extended/locales/de.lua new file mode 100644 index 00000000..1af5cbfe --- /dev/null +++ b/[core]/es_extended/locales/de.lua @@ -0,0 +1,365 @@ +Locales['de'] = { + -- Inventory + ['inventory'] = 'Inventar ( Gewicht %s / %s )', + ['use'] = 'Benutzen', + ['give'] = 'Geben', + ['remove'] = 'Entsorgen', + ['return'] = 'Zurück', + ['give_to'] = 'Geben an', + ['amount'] = 'Anzahl', + ['giveammo'] = 'Munition geben', + ['amountammo'] = 'Munitions Anzahl', + ['noammo'] = 'Nicht Genug!', + ['gave_item'] = 'Du gibst %sx %s an %s', + ['received_item'] = 'Du bekommst %sx %s von %s', + ['gave_weapon'] = 'Du gibst %s an %s', + ['gave_weapon_ammo'] = 'Du gibst ~o~%sx %s für %s an %s', + ['gave_weapon_withammo'] = 'Du gibst %s mit ~o~%sx %s an %s', + ['gave_weapon_hasalready'] = '%s hat bereits %s', + ['gave_weapon_noweapon'] = '%s hat diese Waffe nicht', + ['received_weapon'] = 'Du bekommst %s von %s', + ['received_weapon_ammo'] = 'Du bekommst ~o~%sx %s für deine %s von %s', + ['received_weapon_withammo'] = 'Du bekommst %s mit ~o~%sx %s von %s', + ['received_weapon_hasalready'] = '%s hat versucht dir eine %s zu geben, jedoch hast du diese Waffe bereits!', + ['received_weapon_noweapon'] = '%s hat versucht dir Munition für eine %s zu geben, jedoch hast du diese Waffe bereits!', + ['gave_account_money'] = 'Du gibst %s€ (%s) an %s', + ['received_account_money'] = 'Du bekommst %s€ (%s) von %s', + ['amount_invalid'] = 'Ungültige Anzahl', + ['players_nearby'] = 'Keine Personen in der Nähe!', + ['ex_inv_lim'] = 'Du kannst diese Aktion nicht ausführen!, Inventarlimit für %s überschritten.', + ['imp_invalid_quantity'] = 'Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl!', + ['imp_invalid_amount'] = 'Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl', + ['threw_standard'] = 'Du entsorgst %sx %s', + ['threw_account'] = 'Du Entsorgst %s€ %s', + ['threw_weapon'] = 'Du entsorgst %s', + ['threw_weapon_ammo'] = 'Du entsorgst %s mit ~o~%sx %s', + ['threw_weapon_already'] = 'Du hast diese Waffe bereits!', + ['threw_cannot_pickup'] = 'Inventar ist voll! Du kannst dies nicht aufheben', + ['threw_pickup_prompt'] = 'Drücke [E] zum aufheben', + + -- Key mapping + ['keymap_showinventory'] = 'Inventar Anzeigen', + + -- Salary related + ['received_salary'] = 'Dein Gehaltscheck ist angekommen!: %s€', + ['received_help'] = 'Deine Sozialhilfe ist angekommen: %s€', + ['company_nomoney'] = 'Die Firma an der du Angestellt bist, ist leider Arm und kann dich nicht bezahlen :(', + ['received_paycheck'] = 'Gehaltscheck erhalten', + ['bank'] = 'Maze Bank', + ['account_bank'] = 'Bank', + ['account_black_money'] = 'Schwarzgeld', + ['account_money'] = 'Bargeld', + + ['act_imp'] = 'Du kannst diese Aktion nicht ausführen!', + ['in_vehicle'] = 'Du kannst diese Aktion nicht ausführen! Person ist in einem Fahrzeug', + + -- Commands + ['command_bring'] = 'Person zu dir bringen', + ['command_car'] = 'Fahrzeug Spawnen', + ['command_car_car'] = 'Fahrzeug Model oder Hash', + ['command_cardel'] = 'Fahrzeuge entfernen', + ['command_cardel_radius'] = 'Entfernt alle Fahrzeuge in einem bestimmten Radius', + ['command_clear'] = 'Textchat leeren', + ['command_clearall'] = 'Textchat leeren für alle Spieler leeren', + ['command_clearinventory'] = 'Alle Items von dem Inventar eines Spielers entfernen', + ['command_clearloadout'] = 'Alle waffen von dem Spieler Loadout entfernen', + ['command_freeze'] = 'Spieler Freezen', + ['command_unfreeze'] = 'Spieler Entfreezen', + ['command_giveaccountmoney'] = 'Geld an einen bestimmten Account geben', + ['command_giveaccountmoney_account'] = 'Account wohin das Geld hinzugefügt werden soll', + ['command_giveaccountmoney_amount'] = 'Anzahl zum hinzufügen', + ['command_giveaccountmoney_invalid'] = 'Accountname Ungültig', + ['command_giveitem'] = 'Spieler ein item geben', + ['command_giveitem_item'] = 'Item Name', + ['command_giveitem_count'] = 'Anzahl', + ['command_giveweapon'] = 'Spieler eine Waffe geben', + ['command_giveweapon_weapon'] = 'Waffenname', + ['command_giveweapon_ammo'] = 'Munitionsanzahl', + ['command_giveweapon_hasalready'] = 'Spieler hat bereits diese Waffe', + ['command_giveweaponcomponent'] = 'Waffenkomponent an einen Spieler geben', + ['command_giveweaponcomponent_component'] = 'Komponent Name', + ['command_giveweaponcomponent_invalid'] = 'Ungültiger Komponent Name', + ['command_giveweaponcomponent_hasalready'] = 'Spieler hat bereits diesen Komponent', + ['command_giveweaponcomponent_missingweapon'] = 'Spieler hat diese Waffe nicht', + ['command_goto'] = 'Teleportiere dich zu einem Spieler', + ['command_kill'] = 'Spieler Töten', + ['command_save'] = 'Von einem bestimmten Spieler die Spielerdaten Speichern', + ['command_saveall'] = 'Von allen Spielern die Spielerdaten Speichern', + ['command_setaccountmoney'] = 'Geld auf einem bestimmten Account setzen', + ['command_setaccountmoney_amount'] = 'Anzahl', + ['command_setcoords'] = 'Zu den bestimmten Koordinaten teleportieren', + ['command_setcoords_x'] = 'X Koordinate', + ['command_setcoords_y'] = 'Y Koordinate', + ['command_setcoords_z'] = 'Z Koordinate', + ['command_setjob'] = 'Job eines Spielers setzen', + ['command_setjob_job'] = 'Name', + ['command_setjob_grade'] = 'Job Grad', + ['command_setjob_invalid'] = 'Der Job Grad oder beides sind ungültig', + ['command_setgroup'] = 'Setzt eine Berechtigungs Gruppe für einen User', + ['command_setgroup_group'] = 'Name der Gruppe', + ['commanderror_argumentmismatch'] = 'Ungültiger Argument (gegeben %s, gewollt %s)', + ['commanderror_argumentmismatch_number'] = 'Ungültiges Argument #%s daten typ (string gegeben, gewollte nummer)', + ['commanderror_invaliditem'] = 'Ungültiges Item', + ['commanderror_invalidweapon'] = 'Ungültige Waffe', + ['commanderror_console'] = 'Befehl kann nicht von der Konsole aus ausgeführt werden', + ['commanderror_invalidcommand'] = 'Ungültiger Befehl - /%s', + ['commanderror_invalidplayerid'] = 'Angegebener Spieler ist nicht online!', + ['commandgeneric_playerid'] = 'Spieler`s ID', + ['command_giveammo_noweapon_found'] = '%s besitzt diese Waffe nicht', + ['command_giveammo_weapon'] = 'Waffenname', + ['command_giveammo_ammo'] = 'Munitionsanzahl', + ['tpm_nowaypoint'] = 'Kein Wegpunkt gesetzt.', + ['tpm_success'] = 'Erfolgreich teleportiert', + + ['noclip_message'] = 'Noclip wurde %s', + ['enabled'] = '~g~Aktiviert~s~', + ['disabled'] = '~r~Deaktiviert~s~', + + -- Locale settings + ['locale_digit_grouping_symbol'] = ',', + ['locale_currency'] = '%s€', + + -- Weapons + + -- Melee + ['weapon_dagger'] = 'Dolch', + ['weapon_bat'] = 'Baseballschläger', + ['weapon_battleaxe'] = 'Kampfaxt', + ['weapon_bottle'] = 'Flasche', + ['weapon_crowbar'] = 'Brechstange', + ['weapon_flashlight'] = 'Taschenlampe', + ['weapon_golfclub'] = 'Golfschläger', + ['weapon_hammer'] = 'Hammer', + ['weapon_hatchet'] = 'Beil', + ['weapon_knife'] = 'Messer', + ['weapon_knuckle'] = 'Schlagring', + ['weapon_machete'] = 'Machete', + ['weapon_nightstick'] = 'Schlagstock', + ['weapon_wrench'] = 'Rohrzange', + ['weapon_poolcue'] = 'Billiardstange', + ['weapon_stone_hatchet'] = 'Steinbeil', + ['weapon_switchblade'] = 'Springmesser', + + -- Handguns + ['weapon_appistol'] = 'AP Pistole', + ['weapon_ceramicpistol'] = 'Keramikpistole', + ['weapon_combatpistol'] = 'Kampfpistole', + ['weapon_doubleaction'] = 'Double-Action Revolver', + ['weapon_navyrevolver'] = 'Navy Revolver', + ['weapon_flaregun'] = 'Flaregun', + ['weapon_gadgetpistol'] = 'Gadgetpistole', + ['weapon_heavypistol'] = 'Schwere Pistole', + ['weapon_revolver'] = 'Schwerer Revolver', + ['weapon_revolver_mk2'] = 'Schwerer Revolver MK2', + ['weapon_marksmanpistol'] = 'Scharfschützen Pistole', + ['weapon_pistol'] = 'Pistole', + ['weapon_pistol_mk2'] = 'Pistole MK2', + ['weapon_pistol50'] = 'Pistole 50 Kaliber', + ['weapon_snspistol'] = 'SNS Pistol', + ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', + ['weapon_stungun'] = 'Taser', + ['weapon_raypistol'] = 'Up-N-Atomizer', + ['weapon_vintagepistol'] = 'Vintagepistole', + + -- Shotguns + ['weapon_assaultshotgun'] = 'Sturmschrotflinte', + ['weapon_autoshotgun'] = 'Automatische Schrotflinte', + ['weapon_bullpupshotgun'] = 'Bullpup-Schrotflinte', + ['weapon_combatshotgun'] = 'Kampfschrotfline', + ['weapon_dbshotgun'] = 'Doppelbarrel Schrotflinte', + ['weapon_heavyshotgun'] = 'Schwere Schrotflinte', + ['weapon_musket'] = 'Muskete', + ['weapon_pumpshotgun'] = 'Pump Schrotflinte', + ['weapon_pumpshotgun_mk2'] = 'Pump Schrotflinte MK2', + ['weapon_sawnoffshotgun'] = 'Abgesägte Schrotflinte', + + -- SMG & LMG + ['weapon_assaultsmg'] = 'Sturm SMG', + ['weapon_combatmg'] = 'Kampf MG', + ['weapon_combatmg_mk2'] = 'Kampf MG MK2', + ['weapon_combatpdw'] = 'Kampf PDW', + ['weapon_gusenberg'] = 'Gusenberg Sweeper', + ['weapon_machinepistol'] = 'Maschinenpistole', + ['weapon_mg'] = 'MG', + ['weapon_microsmg'] = 'Mikro SMG', + ['weapon_minismg'] = 'Mini SMG', + ['weapon_smg'] = 'SMG', + ['weapon_smg_mk2'] = 'SMG MK2', + ['weapon_raycarbine'] = 'Unheiliger Höllenbringer', + + -- Rifles + ['weapon_advancedrifle'] = 'Fortgeschrittenes Gewehr', + ['weapon_assaultrifle'] = 'Sturmgewehr', + ['weapon_assaultrifle_mk2'] = 'Sturmgewehr MK2', + ['weapon_bullpuprifle'] = 'Bullpup Gewehr', + ['weapon_bullpuprifle_mk2'] = 'Bullpup Gewehr MK2', + ['weapon_carbinerifle'] = 'Karabinergewehr', + ['weapon_carbinerifle_mk2'] = 'Karabinergewehr MK2', + ['weapon_compactrifle'] = 'Kompaktesgewehr', + ['weapon_militaryrifle'] = 'Militärgewehr', + ['weapon_specialcarbine'] = 'Spezialkarabiner', + ['weapon_specialcarbine_mk2'] = 'Spezialkarabiner MK2', + + -- Sniper + ['weapon_heavysniper'] = 'Schwere Sniper', + ['weapon_heavysniper_mk2'] = 'Schwere Sniper MK2', + ['weapon_marksmanrifle'] = 'Scharfschützengewehr', + ['weapon_marksmanrifle_mk2'] = 'Scharfschützengewehr MK2', + ['weapon_sniperrifle'] = 'Sniper', + + -- Heavy / Launchers + ['weapon_compactlauncher'] = 'Kompaktlauncher', + ['weapon_firework'] = 'Feuerwerklauncher', + ['weapon_grenadelauncher'] = 'Granatwerfer', + ['weapon_hominglauncher'] = 'Lenkraketenwerfer', + ['weapon_minigun'] = 'Minigun', + ['weapon_railgun'] = 'Railgun', + ['weapon_rpg'] = 'Raketenwerfer', + ['weapon_rayminigun'] = 'Witwenmacher', + + -- Criminal Enterprises DLC + ['weapon_metaldetector'] = 'Metalldetektor', + ['weapon_precisionrifle'] = 'Präzisionsgewehr', + ['weapon_tactilerifle'] = 'Service Karabiner', + + -- Thrown + ['weapon_ball'] = 'Baseball', + ['weapon_bzgas'] = 'BZ Gas', + ['weapon_flare'] = 'Leuchtfackel', + ['weapon_grenade'] = 'Granate', + ['weapon_petrolcan'] = 'Benzinkanister', + ['weapon_hazardcan'] = 'Gefährliche Kanister', + ['weapon_molotov'] = 'Molotov Cocktail', + ['weapon_proxmine'] = 'Annährungsmine', + ['weapon_pipebomb'] = 'Rohrbombe', + ['weapon_snowball'] = 'Schneeball', + ['weapon_stickybomb'] = 'Haftbombe', + ['weapon_smokegrenade'] = 'Tränengas', + + -- Special + ['weapon_fireextinguisher'] = 'Feuerlöscher', + ['weapon_digiscanner'] = 'Digitalscanner', + ['weapon_garbagebag'] = 'Müllsack', + ['weapon_handcuffs'] = 'Handschelle', + ['gadget_nightvision'] = 'Nachtsicht', + ['gadget_parachute'] = 'Fallschirm', + + -- Weapon Components + ['component_knuckle_base'] = 'Basismodell', + ['component_knuckle_pimp'] = 'Der Pimp', + ['component_knuckle_ballas'] = 'Die Ballas', + ['component_knuckle_dollar'] = 'Der Hustler', + ['component_knuckle_diamond'] = 'Der Stein', + ['component_knuckle_hate'] = 'Der Hater', + ['component_knuckle_love'] = 'Der Lover', + ['component_knuckle_player'] = 'Der Player', + ['component_knuckle_king'] = 'Der King', + ['component_knuckle_vagos'] = 'Die Vagos', + + ['component_luxary_finish'] = 'Luxuswaffenlackierung', + + ['component_handle_default'] = 'Normaler Handgriff', + ['component_handle_vip'] = 'VIP Handgriff', + ['component_handle_bodyguard'] = 'Bodyguard Handgriff', + + ['component_vip_finish'] = 'VIP Lackierung', + ['component_bodyguard_finish'] = 'Bodyguard Lackierung', + + ['component_camo_finish'] = 'Digitales Camouflage', + ['component_camo_finish2'] = 'Pinselstrich Camouflage', + ['component_camo_finish3'] = 'Holzland Camouflage', + ['component_camo_finish4'] = 'Kopf Camouflage', + ['component_camo_finish5'] = 'Sessebta-Nove Camouflage', + ['component_camo_finish6'] = 'Perseus Camouflage', + ['component_camo_finish7'] = 'Leopard Camouflage', + ['component_camo_finish8'] = 'Zebra Camouflage', + ['component_camo_finish9'] = 'Geometrisch Camouflage', + ['component_camo_finish10'] = 'BOOM Camouflage', + ['component_camo_finish11'] = 'Patriotisch Camouflage', + + ['component_camo_slide_finish'] = 'Digital Rutschen Camouflage', + ['component_camo_slide_finish2'] = 'Pinselstrich Rutschen Camouflage', + ['component_camo_slide_finish3'] = 'Holzland Rutschen Camouflage', + ['component_camo_slide_finish4'] = 'Kopf Rutschen Camouflage', + ['component_camo_slide_finish5'] = 'Sessebta-Nove Nove Rutschen Camouflage', + ['component_camo_slide_finish6'] = 'Perseus Rutschen Camouflage', + ['component_camo_slide_finish7'] = 'Leopard Rutschen Camouflage', + ['component_camo_slide_finish8'] = 'Zebra Rutschen Camouflage', + ['component_camo_slide_finish9'] = 'Geometrisch Rutschen Camouflage', + ['component_camo_slide_finish10'] = 'BOOM Rutschen Camouflage', + ['component_camo_slide_finish11'] = 'Patriotisch Rutschen Camouflage', + + ['component_clip_default'] = 'Standart Magazin', + ['component_clip_extended'] = 'Erweiterters Magazin', + ['component_clip_drum'] = 'Trommelmagazin', + ['component_clip_box'] = 'Kastenmagazin', + + ['component_scope_holo'] = 'Holographisches Zielfernrohr', + ['component_scope_small'] = 'Kleines Zielfernrohr', + ['component_scope_medium'] = 'Mittleres Zielfernrohr', + ['component_scope_large'] = 'Großes Zielfernrohr', + ['component_scope'] = 'Montiertes Zielfernrohr', + ['component_scope_advanced'] = 'Fortgeschrittenes Zielfernrohr', + ['component_ironsights'] = 'Ironsights', + + ['component_suppressor'] = 'Entstörer', + ['component_compensator'] = 'Kompensator', + + ['component_muzzle_flat'] = 'Flache Mündung', + ['component_muzzle_tactical'] = 'Taktische Mündung', + ['component_muzzle_fat'] = 'Fettes-Ende Mündung', + ['component_muzzle_precision'] = 'Präzision Mündung', + ['component_muzzle_heavy'] = 'Schwere Mündung', + ['component_muzzle_slanted'] = 'Schräge Mündung', + ['component_muzzle_split'] = 'Geteiletes-Ende Mündung', + ['component_muzzle_squared'] = 'Quadratische Mündung', + + ['component_flashlight'] = 'Taschenlampe', + ['component_grip'] = 'Grip', + + ['component_barrel_default'] = 'Normales Fass', + ['component_barrel_heavy'] = 'Schweres Fass', + + ['component_ammo_tracer'] = 'Tracer Munition', + ['component_ammo_incendiary'] = 'Aufruhr Munition', + ['component_ammo_hollowpoint'] = 'Hohlspitze Munition', + ['component_ammo_fmj'] = 'FMJ Munition', + ['component_ammo_armor'] = 'Panzerbrechende Munition', + ['component_ammo_explosive'] = 'Panzerbrechende brennende Munition', + + ['component_shells_default'] = 'Normale Hülsen', + ['component_shells_incendiary'] = 'Drachenatem Hülsen', + ['component_shells_armor'] = 'Stahlschrot Hülsen', + ['component_shells_hollowpoint'] = 'Flechette Hülsen', + ['component_shells_explosive'] = 'Explosives Geschoss Hülsen', + + -- Weapon Ammo + ['ammo_rounds'] = 'Kugel(n)', + ['ammo_shells'] = 'Schrotpatrone(n)', + ['ammo_charge'] = 'Nachladen', + ['ammo_petrol'] = 'Benzinkanister', + ['ammo_firework'] = 'Feuerwerksrakete(n)', + ['ammo_rockets'] = 'Rakete(n)', + ['ammo_grenadelauncher'] = 'Granate(n)', + ['ammo_grenade'] = 'Granate(n)', + ['ammo_stickybomb'] = 'C4(s)', + ['ammo_pipebomb'] = 'Rohrbombe(n)', + ['ammo_smokebomb'] = 'Rauchgranate(n)', + ['ammo_molotov'] = 'Molotovcocktail(s)', + ['ammo_proxmine'] = 'Annäherungsmine(n)', + ['ammo_bzgas'] = 'Bzgas', + ['ammo_ball'] = 'Ball', + ['ammo_snowball'] = 'Schneebälle', + ['ammo_flare'] = 'Signalfackel(n)', + ['ammo_flaregun'] = 'Signalfackeln(munition)', + + -- Weapon Tints + ['tint_default'] = 'Standard', + ['tint_green'] = 'Grün', + ['tint_gold'] = 'Gold', + ['tint_pink'] = 'Pink', + ['tint_army'] = 'Camouflage', + ['tint_lspd'] = 'Blau', + ['tint_orange'] = 'Orange', + ['tint_platinum'] = 'Platin', +} From 92f5d3c0bcc4a5e02a53ce964dcfe3999855c512 Mon Sep 17 00:00:00 2001 From: Kuuzoo Date: Wed, 19 Apr 2023 17:19:20 +0200 Subject: [PATCH 071/236] Add Support for Drift Tyres Integrate them into the VehicleProperties Functions, and make sure that they return true on the check so there should be no problems with older builds. Thx to mycroft for the idea with the type <3 Co-Authored-By: Mycroft <22378232+Mycroft-Studios@users.noreply.github.com> --- [core]/es_extended/client/functions.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index 90191138..b806fe6e 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -627,6 +627,11 @@ function ESX.Game.GetVehicleProperties(vehicle) end end + local driftTyresEnabled = false + if type(GetDriftTyresEnabled(vehicle) == boolean) and GetDriftTyresEnabled(vehicle) then + driftTyresEnabled = true + end + local doorsBroken, windowsBroken, tyreBurst = {}, {}, {} local numWheels = tostring(GetVehicleNumberOfWheels(vehicle)) @@ -689,6 +694,7 @@ function ESX.Game.GetVehicleProperties(vehicle) neonColor = table.pack(GetVehicleNeonLightsColour(vehicle)), extras = extras, + dirftTyresEnabled = driftTyresEnabled, tyreSmokeColor = table.pack(GetVehicleTyreSmokeColor(vehicle)), modSpoilers = GetVehicleMod(vehicle, 0), @@ -822,6 +828,10 @@ function ESX.Game.SetVehicleProperties(vehicle, props) end end + if props.driftTyresEnabled then + SetDriftTyresEnabled(vehicle, true) + end + if props.neonColor ~= nil then SetVehicleNeonLightsColour(vehicle, props.neonColor[1], props.neonColor[2], props.neonColor[3]) end From e102fc7cea9daba84b2eadfec2abb080b7cd9645 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Horv=C3=A1th=20Gell=C3=A9rt?= Date: Sat, 22 Apr 2023 16:00:11 +0200 Subject: [PATCH 072/236] handle nil given parameter in Translate function --- [core]/es_extended/locale.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/[core]/es_extended/locale.lua b/[core]/es_extended/locale.lua index c093979e..18120067 100644 --- a/[core]/es_extended/locale.lua +++ b/[core]/es_extended/locale.lua @@ -1,6 +1,11 @@ Locales = {} function Translate(str, ...) -- Translate string + if not str then + local currentResourceName = GetCurrentResourceName() + print(("[^1ERROR^7] Resource ^5%s^7 You did not specify a parameter for the Translate function or the value is nil!"):format(currentResourceName)) + return 'Given translate function parameter is nil!' + end if Locales[Config.Locale] then if Locales[Config.Locale][str] then return string.format(Locales[Config.Locale][str], ...) From 0b8e7018af9b91ae0ad61e5365d47f794bdeadc1 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 23 Apr 2023 16:33:08 +0200 Subject: [PATCH 073/236] fix(esx_menu_default): fix OpenedMenus bugging to be under 0 --- [core]/esx_menu_default/client/main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/[core]/esx_menu_default/client/main.lua b/[core]/esx_menu_default/client/main.lua index 65d62d09..a79d68c3 100644 --- a/[core]/esx_menu_default/client/main.lua +++ b/[core]/esx_menu_default/client/main.lua @@ -14,6 +14,7 @@ end local function closeMenu(namespace, name) CurrentNameSpace = namespace + if OpenedMenus < 1 then return end OpenedMenus -= 1 SendNUIMessage({ action = 'closeMenu', @@ -126,4 +127,4 @@ ESX.RegisterInput('menu_default_right', 'Change menu slider to right', 'keyboard }) GUI.Time = GetGameTimer() end -end) \ No newline at end of file +end) From d666c5439b17ee80554fc9543a9fe38009fc931f Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Mon, 24 Apr 2023 11:38:14 +0200 Subject: [PATCH 074/236] fix(esx_multicharacter\locales\it.lua):Italian language correction - Insert strings of missing translations - Some translations have been changed to more correct jargon --- [core]/esx_multicharacter/locales/it.lua | 57 +++++++++++++----------- 1 file changed, 32 insertions(+), 25 deletions(-) diff --git a/[core]/esx_multicharacter/locales/it.lua b/[core]/esx_multicharacter/locales/it.lua index 384fcf4f..c64ca82c 100644 --- a/[core]/esx_multicharacter/locales/it.lua +++ b/[core]/esx_multicharacter/locales/it.lua @@ -1,26 +1,33 @@ -Locales['it'] = { - ['male'] = "Maschio", - ['female'] = "Femmina", - ['delete_label'] = "Cancella %s %s?", - ['select_char'] = "Seleziona Personaggio", - ["select_char_description"] = "Selezione il personaggio con cui vuoi giocare.", - ['create_char'] = "Crea un nuovo personaggio", - ['char_play'] = "Gioca questo personaggio", - ['char_disabled'] = "Questo personaggio è disabilitato", - ['char_delete'] = "Cancella questo personaggio", - ['cancel'] = "Annulla", - ['confirm'] = "Conferma", - ['command_setslots'] = "Imposta il numero di slot di personaggi di un giocatore", - ['command_remslots'] = "Rimuovi il numero di slot di personaggi di un giocatore", - ['command_enablechar'] = "Abilita un personaggio di un giocatore", - ['command_disablechar'] = "Disabilita un personaggio di un giocatore", - ['command_charslot'] = "Numero dello slot del personaggio", - ['command_identifier'] = "Identifier del giocatore", - ['command_slots'] = "# di slot", - ['slotsadd'] = "Hai aggiunto %s slot a %s", - ['slotsedit'] = "Hai impostato %s slot a %s", - ['slotsrem'] = "Hai rimosso gli slot a %s", - ['charenabled'] = "Hai abilitato il %s° personaggio di %s", - ['chardisabled'] = "Hai disabilitato il %s° personaggio di %s", - ['charnotfound'] = "Il personaggio %s di %s non esiste", +Locales["it"] = { + ["male"] = "Uomo", + ["female"] = "Donna", + ["select_char"] = "Seleziona personaggio", + ["select_char_description"] = "Seleziona un personaggio con cui giocare.", + ["create_char"] = "Nuovo personaggio", + ["char_play"] = "Inizia", + ["char_play_description"] = "Continua in città.", + ["char_disabled"] = "Disabilitato", + ["char_disabled_description"] = "Questo personaggio è inutilizzabile.", + ["char_delete"] = "Elimina", + ["char_delete_description"] = "Rimuovi permanentemente questo personaggio..", + ["char_delete_confirmation"] = "Conferma eliminazione", + ["char_delete_confirmation_description"] = "Sei sicuro di voler rimuovere il personaggio selezionato?", + ["char_delete_yes_description"] = "Si, sono sicuro di voler rimuovere il personaggio", + ["char_delete_no_description"] = "No, ritorna alle opzioni", + ["character"] = "Personaggio: %s", + ["return"] = "Ritorno", + ["return_description"] = "Ritorna alla selezione dei personaggi.", + ["command_setslots"] = "imposta il numero di slot per il giocatore", + ["command_remslots"] = "Rimuovi slot per il giocatore", + ["command_enablechar"] = "Abilita un determinato personaggio di un giocatore", + ["command_disablechar"] = "Disabilita un determinato personaggio per i giocatore", + ["command_charslot"] = "Numero di slot", + ["command_identifier"] = "Identificativo del giocatore", + ["command_slots"] = "# di slot", + ["slotsadd"] = "Hai aggiunto %s slots a %s", + ["slotsedit"] = "Hai impostato %s slots a %s", + ["slotsrem"] = "Hai rimosso gli slot in %s", + ["charenabled"] = "Hai abilitato il personaggio #%s di %s", + ["chardisabled"] = "hai disabilitato il personaggio #%s di %s", + ["charnotfound"] = "Il personaggio #%s di %s non esiste", } From d8b1046d3892fd74012259626ea945262098b54f Mon Sep 17 00:00:00 2001 From: Gergo <69343477+Rav3n95@users.noreply.github.com> Date: Wed, 26 Apr 2023 02:48:12 +0200 Subject: [PATCH 075/236] Update [core]/es_extended/client/functions.lua Co-authored-by: Csoki --- [core]/es_extended/client/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index b806fe6e..85a393b6 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -628,7 +628,7 @@ function ESX.Game.GetVehicleProperties(vehicle) end local driftTyresEnabled = false - if type(GetDriftTyresEnabled(vehicle) == boolean) and GetDriftTyresEnabled(vehicle) then + if type(GetDriftTyresEnabled(vehicle) == "boolean") and GetDriftTyresEnabled(vehicle) then driftTyresEnabled = true end From 1c9ad325cf7f9db9f4cb62d147790260b0b1dfce Mon Sep 17 00:00:00 2001 From: Csoki Date: Fri, 28 Apr 2023 11:19:02 +0200 Subject: [PATCH 076/236] feat(modules/callback): add Await callbacks --- .../es_extended/client/modules/callback.lua | 43 ++++++++++++---- .../es_extended/server/modules/callback.lua | 51 +++++++++++++++---- 2 files changed, 76 insertions(+), 18 deletions(-) diff --git a/[core]/es_extended/client/modules/callback.lua b/[core]/es_extended/client/modules/callback.lua index 180c9216..a4d03d3b 100644 --- a/[core]/es_extended/client/modules/callback.lua +++ b/[core]/es_extended/client/modules/callback.lua @@ -3,22 +3,47 @@ local serverRequests = {} local clientCallbacks = {} ----@param eventName string ----@param callback function ----@param ... any -ESX.TriggerServerCallback = function(eventName, callback, ...) - serverRequests[RequestId] = callback - - TriggerServerEvent('esx:triggerServerCallback', eventName, RequestId, GetInvokingResource() or "unknown", ...) +ESX.TriggerServerCallback = setmetatable({ + ---@param eventName string + ---@param ... any + Await = function(eventName, ...) + assert(type(eventName) == 'string', 'Argument 1 `eventName` is not a string!') + local p = promise.new() - RequestId = RequestId + 1 -end + serverRequests[RequestId] = p + + TriggerServerEvent('esx:triggerServerCallback', eventName, RequestId, GetInvokingResource() or "unknown", ...) + + RequestId = RequestId + 1 + + return Citizen.Await(p) + end +}, { + ---@param eventName string + ---@param callback function + ---@param ... any + __call = function(_, eventName, callback, ...) + assert(type(eventName) == 'string', 'Argument 1 `eventName` is not a string!') + assert(type(callback) == 'function', 'Argument 2 `callback` is not a function!') + + serverRequests[RequestId] = callback + + TriggerServerEvent('esx:triggerServerCallback', eventName, RequestId, GetInvokingResource() or "unknown", ...) + + RequestId = RequestId + 1 + end +}) RegisterNetEvent('esx:serverCallback', function(requestId, invoker, ...) if not serverRequests[requestId] then return print(('[^1ERROR^7] Server Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker)) end + if type(serverRequests[requestId]) == 'table' then + serverRequests[requestId]:resolve(...) + return + end + serverRequests[requestId](...) serverRequests[requestId] = nil end) diff --git a/[core]/es_extended/server/modules/callback.lua b/[core]/es_extended/server/modules/callback.lua index 4c7e17fd..9d78696b 100644 --- a/[core]/es_extended/server/modules/callback.lua +++ b/[core]/es_extended/server/modules/callback.lua @@ -21,23 +21,56 @@ RegisterNetEvent('esx:triggerServerCallback', function(eventName, requestId, inv end, ...) end) ----@param player number playerId ----@param eventName string ----@param callback function ----@param ... any -ESX.TriggerClientCallback = function(player, eventName, callback, ...) - clientRequests[RequestId] = callback +ESX.TriggerClientCallback = setmetatable({ + ---@param player number? + ---@param eventName string + ---@param ... any + Await = function(player, eventName, ...) + player = tonumber(player) - TriggerClientEvent('esx:triggerClientCallback', player, eventName, RequestId, GetInvokingResource() or "unknown", ...) + assert(player, 'Argument 1 `player` is not a number!') + assert(type(eventName) == 'string', 'Argument 2 `eventName` is not a string!') - RequestId = RequestId + 1 -end + local p = promise.new() + + clientRequests[RequestId] = p + + TriggerClientEvent('esx:triggerClientCallback', player, eventName, RequestId, GetInvokingResource() or "unknown", ...) + + RequestId = RequestId + 1 + + return Citizen.Await(p) + end +}, { + ---@param player number? playerId + ---@param eventName string + ---@param callback function + ---@param ... any + __call = function(_, player, eventName, callback, ...) + player = tonumber(player) + + assert(player, 'Argument 1 `player` is not a number!') + assert(type(eventName) == 'string', 'Argument 2 `eventName` is not a string!') + assert(type(callback) == 'function', 'Argument 3 `callback` is not a function!') + + clientRequests[RequestId] = callback + + TriggerClientEvent('esx:triggerClientCallback', player, eventName, RequestId, GetInvokingResource() or "unknown", ...) + + RequestId = RequestId + 1 + end +}) RegisterNetEvent('esx:clientCallback', function(requestId, invoker, ...) if not clientRequests[requestId] then return print(('[^1ERROR^7] Client Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker)) end + if type(clientRequests[requestId]) == 'table' then + clientRequests[requestId]:resolve(...) + return + end + clientRequests[requestId](...) clientRequests[requestId] = nil end) \ No newline at end of file From 332f121d9c36266b0fa3e24c2f6ba1e7eca03920 Mon Sep 17 00:00:00 2001 From: Csoki Date: Fri, 28 Apr 2023 11:35:09 +0200 Subject: [PATCH 077/236] refactor(es_extended/client/main.lua): tpm, noclip callbacks --- [core]/es_extended/client/main.lua | 155 ++++++++++++++--------------- 1 file changed, 77 insertions(+), 78 deletions(-) diff --git a/[core]/es_extended/client/main.lua b/[core]/es_extended/client/main.lua index 0c851b5f..129b800f 100644 --- a/[core]/es_extended/client/main.lua +++ b/[core]/es_extended/client/main.lua @@ -522,82 +522,82 @@ AddEventHandler("esx:tpm", function() local GetBlipInfoIdCoord = GetBlipInfoIdCoord local GetVehiclePedIsIn = GetVehiclePedIsIn - ESX.TriggerServerCallback("esx:isUserAdmin", function(admin) - if not admin then - return - end - local blipMarker = GetFirstBlipInfoId(8) - if not DoesBlipExist(blipMarker) then - ESX.ShowNotification(TranslateCap('tpm_nowaypoint'), true, false, 140) - return 'marker' + local admin = ESX.TriggerServerCallback.Await("esx:isUserAdmin") + if not admin then + return + end + + local blipMarker = GetFirstBlipInfoId(8) + if not DoesBlipExist(blipMarker) then + ESX.ShowNotification(TranslateCap('tpm_nowaypoint'), true, false, 140) + return 'marker' + end + + -- Fade screen to hide how clients get teleported. + DoScreenFadeOut(650) + while not IsScreenFadedOut() do + Wait(0) + end + + local ped, coords = ESX.PlayerData.ped, GetBlipInfoIdCoord(blipMarker) + local vehicle = GetVehiclePedIsIn(ped, false) + local oldCoords = GetEntityCoords(ped) + + -- Unpack coords instead of having to unpack them while iterating. + -- 825.0 seems to be the max a player can reach while 0.0 being the lowest. + local x, y, groundZ, Z_START = coords['x'], coords['y'], 850.0, 950.0 + local found = false + FreezeEntityPosition(vehicle > 0 and vehicle or ped, true) + + for i = Z_START, 0, -25.0 do + local z = i + if (i % 2) ~= 0 then + z = Z_START - i end - -- Fade screen to hide how clients get teleported. - DoScreenFadeOut(650) - while not IsScreenFadedOut() do + NewLoadSceneStart(x, y, z, x, y, z, 50.0, 0) + local curTime = GetGameTimer() + while IsNetworkLoadingScene() do + if GetGameTimer() - curTime > 1000 then + break + end Wait(0) end + NewLoadSceneStop() + SetPedCoordsKeepVehicle(ped, x, y, z) - local ped, coords = ESX.PlayerData.ped, GetBlipInfoIdCoord(blipMarker) - local vehicle = GetVehiclePedIsIn(ped, false) - local oldCoords = GetEntityCoords(ped) - - -- Unpack coords instead of having to unpack them while iterating. - -- 825.0 seems to be the max a player can reach while 0.0 being the lowest. - local x, y, groundZ, Z_START = coords['x'], coords['y'], 850.0, 950.0 - local found = false - FreezeEntityPosition(vehicle > 0 and vehicle or ped, true) - - for i = Z_START, 0, -25.0 do - local z = i - if (i % 2) ~= 0 then - z = Z_START - i - end - - NewLoadSceneStart(x, y, z, x, y, z, 50.0, 0) - local curTime = GetGameTimer() - while IsNetworkLoadingScene() do - if GetGameTimer() - curTime > 1000 then - break - end - Wait(0) - end - NewLoadSceneStop() - SetPedCoordsKeepVehicle(ped, x, y, z) - - while not HasCollisionLoadedAroundEntity(ped) do - RequestCollisionAtCoord(x, y, z) - if GetGameTimer() - curTime > 1000 then - break - end - Wait(0) - end - - -- Get ground coord. As mentioned in the natives, this only works if the client is in render distance. - found, groundZ = GetGroundZFor_3dCoord(x, y, z, false) - if found then - Wait(0) - SetPedCoordsKeepVehicle(ped, x, y, groundZ) + while not HasCollisionLoadedAroundEntity(ped) do + RequestCollisionAtCoord(x, y, z) + if GetGameTimer() - curTime > 1000 then break end Wait(0) end - -- Remove black screen once the loop has ended. - DoScreenFadeIn(650) - FreezeEntityPosition(vehicle > 0 and vehicle or ped, false) - - if not found then - -- If we can't find the coords, set the coords to the old ones. - -- We don't unpack them before since they aren't in a loop and only called once. - SetPedCoordsKeepVehicle(ped, oldCoords['x'], oldCoords['y'], oldCoords['z'] - 1.0) - ESX.ShowNotification(TranslateCap('tpm_success'), true, false, 140) + -- Get ground coord. As mentioned in the natives, this only works if the client is in render distance. + found, groundZ = GetGroundZFor_3dCoord(x, y, z, false) + if found then + Wait(0) + SetPedCoordsKeepVehicle(ped, x, y, groundZ) + break end + Wait(0) + end - -- If Z coord was found, set coords in found coords. - SetPedCoordsKeepVehicle(ped, x, y, groundZ) + -- Remove black screen once the loop has ended. + DoScreenFadeIn(650) + FreezeEntityPosition(vehicle > 0 and vehicle or ped, false) + + if not found then + -- If we can't find the coords, set the coords to the old ones. + -- We don't unpack them before since they aren't in a loop and only called once. + SetPedCoordsKeepVehicle(ped, oldCoords['x'], oldCoords['y'], oldCoords['z'] - 1.0) ESX.ShowNotification(TranslateCap('tpm_success'), true, false, 140) - end) + end + + -- If Z coord was found, set coords in found coords. + SetPedCoordsKeepVehicle(ped, x, y, groundZ) + ESX.ShowNotification(TranslateCap('tpm_success'), true, false, 140) end) local noclip = false @@ -646,24 +646,23 @@ local function noclipThread() end RegisterNetEvent("esx:noclip") -AddEventHandler("esx:noclip", function(input) - ESX.TriggerServerCallback("esx:isUserAdmin", function(admin) - if not admin then - return - end +AddEventHandler("esx:noclip", function() + local admin = ESX.TriggerServerCallback.Await("esx:isUserAdmin") + if not admin then + return + end - if not noclip then - noclip_pos = GetEntityCoords(ESX.PlayerData.ped, false) - heading = GetEntityHeading(ESX.PlayerData.ped) - end + if not noclip then + noclip_pos = GetEntityCoords(ESX.PlayerData.ped, false) + heading = GetEntityHeading(ESX.PlayerData.ped) + end - noclip = not noclip - if noclip then - CreateThread(noclipThread) - end + noclip = not noclip + if noclip then + CreateThread(noclipThread) + end - ESX.ShowNotification(TranslateCap('noclip_message', noclip and "enabled" or "disabled"), true, false, 140) - end) + ESX.ShowNotification(TranslateCap('noclip_message', noclip and "enabled" or "disabled"), true, false, 140) end) RegisterNetEvent("esx:killPlayer") From 5a588347d0f1ccb94d661e530de386498ab81743 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sat, 29 Apr 2023 14:23:37 +0200 Subject: [PATCH 078/236] Fix: No database selected error --- [core]/es_extended/es_extended.sql | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/[core]/es_extended/es_extended.sql b/[core]/es_extended/es_extended.sql index c3ef1d54..c6108928 100644 --- a/[core]/es_extended/es_extended.sql +++ b/[core]/es_extended/es_extended.sql @@ -1,12 +1,13 @@ CREATE DATABASE IF NOT EXISTS `es_extended`; - ALTER DATABASE `es_extended` DEFAULT CHARACTER SET UTF8MB4; ALTER DATABASE `es_extended` DEFAULT COLLATE UTF8MB4_UNICODE_CI; +USE `es_extended`; + CREATE TABLE `users` ( `identifier` VARCHAR(60) NOT NULL, `accounts` LONGTEXT NULL DEFAULT NULL, @@ -21,7 +22,6 @@ CREATE TABLE `users` ( PRIMARY KEY (`identifier`) ) ENGINE=InnoDB; - CREATE TABLE `items` ( `name` VARCHAR(50) NOT NULL, `label` VARCHAR(50) NOT NULL, @@ -32,7 +32,6 @@ CREATE TABLE `items` ( PRIMARY KEY (`name`) ) ENGINE=InnoDB; - CREATE TABLE `job_grades` ( `id` INT NOT NULL AUTO_INCREMENT, `job_name` VARCHAR(50) DEFAULT NULL, @@ -46,7 +45,6 @@ CREATE TABLE `job_grades` ( PRIMARY KEY (`id`) ) ENGINE=InnoDB; - INSERT INTO `job_grades` VALUES (1,'unemployed',0,'unemployed','Unemployed',200,'{}','{}'); CREATE TABLE `jobs` ( @@ -56,5 +54,4 @@ CREATE TABLE `jobs` ( PRIMARY KEY (`name`) ) ENGINE=InnoDB; - INSERT INTO `jobs` VALUES ('unemployed','Unemployed'); From 9f0986dfb94984ca1f73791b17ec317d72e35a53 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sat, 29 Apr 2023 14:28:58 +0200 Subject: [PATCH 079/236] Formatting: Remove some shitty lines --- [core]/esx_skin/esx_skin.sql | 2 -- 1 file changed, 2 deletions(-) diff --git a/[core]/esx_skin/esx_skin.sql b/[core]/esx_skin/esx_skin.sql index 79218d02..055cb184 100644 --- a/[core]/esx_skin/esx_skin.sql +++ b/[core]/esx_skin/esx_skin.sql @@ -1,3 +1 @@ - - ALTER TABLE `users` ADD COLUMN `skin` LONGTEXT NULL DEFAULT NULL; From bbadbac172f310f685b687dd701ea0f60b8d525d Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 30 Apr 2023 17:01:12 +0200 Subject: [PATCH 080/236] Update sr.lua --- [core]/esx_multicharacter/locales/sr.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/[core]/esx_multicharacter/locales/sr.lua b/[core]/esx_multicharacter/locales/sr.lua index 6d9f33b8..261322f7 100644 --- a/[core]/esx_multicharacter/locales/sr.lua +++ b/[core]/esx_multicharacter/locales/sr.lua @@ -1,4 +1,3 @@ - Locales["sr"] = { ["male"] = "Muško", ["female"] = "Žensko", From ea17515ab9299e563baa78d4f12666c838424ddd Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 30 Apr 2023 17:01:25 +0200 Subject: [PATCH 081/236] Update sr.js --- [core]/esx_multicharacter/html/locales/sr.js | 1 - 1 file changed, 1 deletion(-) diff --git a/[core]/esx_multicharacter/html/locales/sr.js b/[core]/esx_multicharacter/html/locales/sr.js index 57ef243d..79ecfbc2 100644 --- a/[core]/esx_multicharacter/html/locales/sr.js +++ b/[core]/esx_multicharacter/html/locales/sr.js @@ -1,4 +1,3 @@ - const translate = new Object(); translate.name = "Ime"; From 5ed7c768b6293ddc600f27cd9bbf16e6a67e3e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Horv=C3=A1th=20Gell=C3=A9rt?= Date: Sun, 30 Apr 2023 17:03:20 +0200 Subject: [PATCH 082/236] :pencil2: fix typo change Config to Core --- [core]/es_extended/server/functions.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 202e1b5e..1d290795 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -150,7 +150,7 @@ function Core.SavePlayer(xPlayer, cb) xPlayer.job.grade, xPlayer.group, json.encode(xPlayer.getCoords()), - json.encode(xPlayer.getInventory(true)), + json.encode(xPlayer.getInventory(true)), json.encode(xPlayer.getLoadout(true)), json.encode(xPlayer.getMeta()), xPlayer.identifier @@ -176,7 +176,7 @@ function Core.SavePlayers(cb) if not next(xPlayers) then return end - + local startTime = os.time() local parameters = {} @@ -196,7 +196,7 @@ function Core.SavePlayers(cb) MySQL.prepare( "UPDATE `users` SET `accounts` = ?, `job` = ?, `job_grade` = ?, `group` = ?, `position` = ?, `inventory` = ?, `loadout` = ?, `metadata` = ? WHERE `identifier` = ?", - parameters, + parameters, function(results) if not results then return @@ -205,7 +205,7 @@ function Core.SavePlayers(cb) if type(cb) == 'function' then return cb() end - + print(('[^2INFO^7] Saved ^5%s^7 %s over ^5%s^7 ms'):format(#parameters, #parameters > 1 and 'players' or 'player', ESX.Math.Round((os.time() - startTime) / 1000000, 2))) end ) @@ -236,7 +236,7 @@ function ESX.GetPlayerFromIdentifier(identifier) end function ESX.GetIdentifier(playerId) - local fxDk = GetConvarInt('sv_fxdkMode', 0) + local fxDk = GetConvarInt('sv_fxdkMode', 0) if fxDk == 1 then return "ESX-DEBUG-LICENCE" end @@ -254,7 +254,7 @@ end function ESX.GetVehicleType(model, player, cb) model = type(model) == 'string' and joaat(model) or model - + if Core.vehicleTypesByModel[model] then return cb(Core.vehicleTypesByModel[model]) end @@ -298,7 +298,7 @@ function ESX.DiscordLogFields(name, title, color, fields) ['text'] = "| ESX Logs | " .. os.date(), ['icon_url'] = "https://cdn.discordapp.com/attachments/944789399852417096/1020099828266586193/blanc-800x800.png" }, - ['fields'] = fields, + ['fields'] = fields, ['description'] = "", ['author'] = { ['name'] = "ESX Framework", @@ -378,7 +378,7 @@ function ESX.SetPlayerFunctionOverride(index) return print('[^3WARNING^7] No valid index provided.') end - Config.PlayerFunctionOverride = index + Core.PlayerFunctionOverride = index end function ESX.GetItemLabel(item) From 36d78ec8f3a060f302ae465d7c421063804c85ff Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 30 Apr 2023 22:38:46 +0200 Subject: [PATCH 083/236] Revert "Merge pull request #1034 from Gellipapa/main" This reverts commit 2fdab8ec0ed99563b93d4bdec383113da9fdb59f, reversing changes made to 353683bb51dc0272e924e378899207f2343686d2. --- [core]/es_extended/server/functions.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 3308ddf8..b68dc327 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -158,7 +158,7 @@ function Core.SavePlayer(xPlayer, cb) xPlayer.job.grade, xPlayer.group, json.encode(xPlayer.getCoords()), - json.encode(xPlayer.getInventory(true)), + json.encode(xPlayer.getInventory(true)), json.encode(xPlayer.getLoadout(true)), json.encode(xPlayer.getMeta()), xPlayer.identifier @@ -184,7 +184,7 @@ function Core.SavePlayers(cb) if not next(xPlayers) then return end - + local startTime = os.time() local parameters = {} @@ -204,7 +204,7 @@ function Core.SavePlayers(cb) MySQL.prepare( "UPDATE `users` SET `accounts` = ?, `job` = ?, `job_grade` = ?, `group` = ?, `position` = ?, `inventory` = ?, `loadout` = ?, `metadata` = ? WHERE `identifier` = ?", - parameters, + parameters, function(results) if not results then return @@ -213,7 +213,7 @@ function Core.SavePlayers(cb) if type(cb) == 'function' then return cb() end - + print(('[^2INFO^7] Saved ^5%s^7 %s over ^5%s^7 ms'):format(#parameters, #parameters > 1 and 'players' or 'player', ESX.Math.Round((os.time() - startTime) / 1000000, 2))) end ) @@ -244,7 +244,7 @@ function ESX.GetPlayerFromIdentifier(identifier) end function ESX.GetIdentifier(playerId) - local fxDk = GetConvarInt('sv_fxdkMode', 0) + local fxDk = GetConvarInt('sv_fxdkMode', 0) if fxDk == 1 then return "ESX-DEBUG-LICENCE" end @@ -262,7 +262,7 @@ end function ESX.GetVehicleType(model, player, cb) model = type(model) == 'string' and joaat(model) or model - + if Core.vehicleTypesByModel[model] then return cb(Core.vehicleTypesByModel[model]) end @@ -306,7 +306,7 @@ function ESX.DiscordLogFields(name, title, color, fields) ['text'] = "| ESX Logs | " .. os.date(), ['icon_url'] = "https://cdn.discordapp.com/attachments/944789399852417096/1020099828266586193/blanc-800x800.png" }, - ['fields'] = fields, + ['fields'] = fields, ['description'] = "", ['author'] = { ['name'] = "ESX Framework", @@ -386,7 +386,7 @@ function ESX.SetPlayerFunctionOverride(index) return print('[^3WARNING^7] No valid index provided.') end - Core.PlayerFunctionOverride = index + Config.PlayerFunctionOverride = index end function ESX.GetItemLabel(item) From 05cf9d1387beebfe53f815f41eedc263806f32ca Mon Sep 17 00:00:00 2001 From: CENSOR_1337 Date: Mon, 1 May 2023 07:07:13 +0700 Subject: [PATCH 084/236] feat(xPlayer): add hasMeta class function --- [core]/es_extended/server/classes/player.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index e0788424..c04efc58 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -681,6 +681,18 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, Player(self.source).state:set('metadata', self.metadata, true) end + function self.hasMeta(index) + if not index then + return print(("[^1ERROR^7] xPlayer.hasMeta ^5%s^7 is Missing!"):format(index)) + end + + if type(index) ~= 'string' then + return print("[^1ERROR^7] xPlayer.hasMeta ^5index^7 should be ^5string^7!") + end + + return self.metadata[index] ~= nil + end + for fnName,fn in pairs(targetOverrides) do self[fnName] = fn(self) end From c073a59672ecea9e86dcf649cdf4bf48d2f85044 Mon Sep 17 00:00:00 2001 From: Arctos2win <116841243+Arctos2win@users.noreply.github.com> Date: Wed, 3 May 2023 20:29:23 +0200 Subject: [PATCH 085/236] Update commands.lua change the name from Player to executor and check if its executed by a player or by console, adding the target player in the discord logs --- [core]/es_extended/server/commands.lua | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index b89ae36a..eab13f4d 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -7,15 +7,25 @@ end, false, {help = TranslateCap('command_setcoords'), validate = true, argument }}) ESX.RegisterCommand('setjob', 'admin', function(xPlayer, args, showError) + if not args.playerId then return end if ESX.DoesJobExist(args.job, args.grade) then args.playerId.setJob(args.job, args.grade) else showError(TranslateCap('command_setjob_invalid')) end + local name + + if xPlayer then + name = xPlayer.name + else + name = 'Console' + end + ESX.DiscordLogFields("UserActions", "/setjob Triggered", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, + {name = "Executor", value = name, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, {name = "Job", value = args.job, inline = true}, - {name = "Grade", value = args.grade, inline = true} + {name = "Grade", value = args.grade, inline = true} }) end, true, {help = TranslateCap('command_setjob'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, From 002a03b5db609c54013b783af24584b43bd3fff0 Mon Sep 17 00:00:00 2001 From: CENSOR_1337 Date: Thu, 4 May 2023 04:37:41 +0700 Subject: [PATCH 086/236] refactor(xPlayer): delete hasMeta, getMeta no longer print error message --- [core]/es_extended/server/classes/player.lua | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index c04efc58..54ff75b5 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -615,7 +615,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, return self.metadata[index] else - return print(("[^1ERROR^7] xPlayer.getMeta ^5%s^7 not exist!"):format(index)) + return end end @@ -681,18 +681,6 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, Player(self.source).state:set('metadata', self.metadata, true) end - function self.hasMeta(index) - if not index then - return print(("[^1ERROR^7] xPlayer.hasMeta ^5%s^7 is Missing!"):format(index)) - end - - if type(index) ~= 'string' then - return print("[^1ERROR^7] xPlayer.hasMeta ^5index^7 should be ^5string^7!") - end - - return self.metadata[index] ~= nil - end - for fnName,fn in pairs(targetOverrides) do self[fnName] = fn(self) end From 4e6251a4a94bad374f34b1943e7400323ae4a77d Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Wed, 3 May 2023 23:39:10 +0200 Subject: [PATCH 087/236] refactor refactor and remove unnecessary code --- [core]/es_extended/server/commands.lua | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index eab13f4d..4e62ebc4 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -7,22 +7,14 @@ end, false, {help = TranslateCap('command_setcoords'), validate = true, argument }}) ESX.RegisterCommand('setjob', 'admin', function(xPlayer, args, showError) - if not args.playerId then return end if ESX.DoesJobExist(args.job, args.grade) then args.playerId.setJob(args.job, args.grade) else showError(TranslateCap('command_setjob_invalid')) end - local name - - if xPlayer then - name = xPlayer.name - else - name = 'Console' - end ESX.DiscordLogFields("UserActions", "/setjob Triggered", "pink", { - {name = "Executor", value = name, inline = true}, + {name = "Executor", value = xPlayer and xPlayer.name or 'Console', inline = true}, {name = "Target", value = args.playerId.name, inline = true}, {name = "Job", value = args.job, inline = true}, {name = "Grade", value = args.grade, inline = true} From 7bd5e514114a8719e6f7a4ea8563555aa7742976 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 4 May 2023 16:31:49 +0200 Subject: [PATCH 088/236] Try to fix lint.yml (Update node version) https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7e7e0f1e..2fb4d83b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,7 +5,7 @@ jobs: name: Lint Resource runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Lint uses: iLLeniumStudios/fivem-lua-lint-action@v2 with: From 612ffb59de6f74b0484335e43cf854a8b253c7dd Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 7 May 2023 19:26:11 +0200 Subject: [PATCH 089/236] Hmm --- [core]/es_extended/client/functions.lua | 2 +- [core]/es_extended/server/classes/overrides/oxinventory.lua | 4 ++-- [core]/es_extended/server/classes/player.lua | 4 ++-- [core]/es_extended/server/onesync.lua | 2 +- [core]/esx_menu_default/client/main.lua | 4 ++-- [core]/esx_multicharacter/server/main.lua | 4 ++-- [core]/esx_progressbar/Progress.lua | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index 90191138..3e67ce50 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -366,7 +366,7 @@ function ESX.Game.SpawnObject(object, coords, cb, networked) while not DoesEntityExist(obj) do obj = NetworkGetEntityFromNetworkId(NetworkID) Wait(0) - Tries += 1 + Tries = Tries + 1 if Tries > 250 then break end diff --git a/[core]/es_extended/server/classes/overrides/oxinventory.lua b/[core]/es_extended/server/classes/overrides/oxinventory.lua index 7a7a2c84..2a43144c 100644 --- a/[core]/es_extended/server/classes/overrides/oxinventory.lua +++ b/[core]/es_extended/server/classes/overrides/oxinventory.lua @@ -70,7 +70,7 @@ Core.PlayerFunctionOverrides.OxInventory = { if account then money = account.round and ESX.Math.Round(money) or money - self.accounts[account.index].money += money + self.accounts[account.index].money = self.accounts[account.index].money + money self.triggerEvent('esx:setAccountMoney', account) TriggerEvent('esx:addAccountMoney', self.source, accountName, money, reason) if Inventory.accounts[accountName] then @@ -89,7 +89,7 @@ Core.PlayerFunctionOverrides.OxInventory = { if account then money = account.round and ESX.Math.Round(money) or money - self.accounts[account.index].money -= money + self.accounts[account.index].money = self.accounts[account.index].mone - money self.triggerEvent('esx:setAccountMoney', account) TriggerEvent('esx:removeAccountMoney', self.source, accountName, money, reason) if Inventory.accounts[accountName] then diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index e0788424..bb179742 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -234,7 +234,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, local account = self.getAccount(accountName) if account then money = account.round and ESX.Math.Round(money) or money - self.accounts[account.index].money += money + self.accounts[account.index].money = self.accounts[account.index].money + money self.triggerEvent('esx:setAccountMoney', account) TriggerEvent('esx:addAccountMoney', self.source, accountName, money, reason) @@ -257,7 +257,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, if account then money = account.round and ESX.Math.Round(money) or money - self.accounts[account.index].money -= money + self.accounts[account.index].money = self.accounts[account.index].money - money self.triggerEvent('esx:setAccountMoney', account) TriggerEvent('esx:removeAccountMoney', self.source, accountName, money, reason) diff --git a/[core]/es_extended/server/onesync.lua b/[core]/es_extended/server/onesync.lua index f43acdd7..3e451bb8 100644 --- a/[core]/es_extended/server/onesync.lua +++ b/[core]/es_extended/server/onesync.lua @@ -26,7 +26,7 @@ local function getNearbyPlayers(source, closest, distance, ignore) if not closest then local dist = #(source - coords) if dist <= distance then - count += 1 + count = count + 1 result[count] = {id = xPlayer.source, ped = NetworkGetNetworkIdFromEntity(entity), coords = coords, dist = dist} end else diff --git a/[core]/esx_menu_default/client/main.lua b/[core]/esx_menu_default/client/main.lua index a79d68c3..463a1cd9 100644 --- a/[core]/esx_menu_default/client/main.lua +++ b/[core]/esx_menu_default/client/main.lua @@ -3,7 +3,7 @@ GUI.Time = 0 local function openMenu(namespace, name, data) CurrentNameSpace = namespace - OpenedMenus += 1 + OpenedMenus = OpenedMenus + 1 SendNUIMessage({ action = 'openMenu', namespace = namespace, @@ -15,7 +15,7 @@ end local function closeMenu(namespace, name) CurrentNameSpace = namespace if OpenedMenus < 1 then return end - OpenedMenus -= 1 + OpenedMenus = OpenedMenus - 1 SendNUIMessage({ action = 'closeMenu', namespace = namespace, diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index 6131ea2f..50b23cee 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -134,7 +134,7 @@ end local count = 0 for table, column in pairs(DB_TABLES) do - count += 1 + count = count + 1 queries[count] = {query = query:format(table, column), values = {identifier}} end @@ -164,7 +164,7 @@ end DB_TABLES[column.TABLE_NAME] = column.COLUMN_NAME if column?.CHARACTER_MAXIMUM_LENGTH ~= length then - count += 1 + count = count + 1 columns[column.TABLE_NAME] = column.COLUMN_NAME end end diff --git a/[core]/esx_progressbar/Progress.lua b/[core]/esx_progressbar/Progress.lua index 96a638fb..c3e0d9a2 100644 --- a/[core]/esx_progressbar/Progress.lua +++ b/[core]/esx_progressbar/Progress.lua @@ -23,7 +23,7 @@ local function Progressbar(message,length,Options) CurrentProgress.length = length or 3000 while CurrentProgress ~= nil do if CurrentProgress.length > 0 then - CurrentProgress.length -= 1000 + CurrentProgress.length = CurrentProgress.length - 1000 else ClearPedTasks(ESX.PlayerData.ped) if CurrentProgress.FreezePlayer then FreezeEntityPosition(PlayerPedId(), false) end From d3086e61b40369386e28599ece655a21157c9f87 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 7 May 2023 19:39:11 +0200 Subject: [PATCH 090/236] lint(core): line contains trailing whitespace fixes --- [core]/es_extended/client/functions.lua | 12 +++++------ [core]/es_extended/client/main.lua | 6 +++--- [core]/es_extended/locales/fi.lua | 4 ++-- [core]/es_extended/server/classes/player.lua | 22 ++++++++++---------- [core]/es_extended/server/commands.lua | 8 +++---- [core]/es_extended/server/functions.lua | 8 +++---- [core]/es_extended/server/onesync.lua | 2 +- [core]/esx_context/main.lua | 10 ++++----- [core]/esx_identity/server/main.lua | 6 +++--- [core]/esx_multicharacter/client/main.lua | 4 ++-- [core]/esx_multicharacter/locales/fi.lua | 6 +++--- [core]/esx_multicharacter/server/main.lua | 2 +- [core]/esx_progressbar/Progress.lua | 4 ++-- [core]/esx_skin/config.lua | 6 +++--- 14 files changed, 50 insertions(+), 50 deletions(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index 3e67ce50..a9a7a597 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -155,9 +155,9 @@ if GetResourceState("esx_context") ~= "missing" then end function ESX.RefreshContext(...) - exports["esx_context"]:Refresh(...) + exports["esx_context"]:Refresh(...) end -else +else function ESX.OpenContext() print("[^1ERROR^7] Tried to ^5open^7 context menu, but ^5esx_context^7 is missing!") end @@ -358,7 +358,7 @@ end function ESX.Game.SpawnObject(object, coords, cb, networked) networked = networked == nil and true or networked - if networked then + if networked then ESX.TriggerServerCallback('esx:Onesync:SpawnObject', function(NetworkID) if cb then local obj = NetworkGetEntityFromNetworkId(NetworkID) @@ -374,7 +374,7 @@ function ESX.Game.SpawnObject(object, coords, cb, networked) cb(obj) end end, object, coords, 0.0) - else + else local model = type(object) == 'number' and object or joaat(object) local vector = type(coords) == "vector3" and coords or vec(coords.x, coords.y, coords.z) CreateThread(function() @@ -408,7 +408,7 @@ function ESX.Game.SpawnVehicle(vehicle, coords, heading, cb, networked) networked = networked == nil and true or networked local playerCoords = GetEntityCoords(ESX.PlayerData.ped) - if not vector or not playerCoords then + if not vector or not playerCoords then return end local dist = #(playerCoords - vector) @@ -610,7 +610,7 @@ function ESX.Game.GetVehicleProperties(vehicle) local hasCustomXenonColor, customXenonColorR, customXenonColorG, customXenonColorB = GetVehicleXenonLightsCustomColor(vehicle) local customXenonColor = nil - if hasCustomXenonColor then + if hasCustomXenonColor then customXenonColor = {customXenonColorR, customXenonColorG, customXenonColorB} end diff --git a/[core]/es_extended/client/main.lua b/[core]/es_extended/client/main.lua index 129b800f..487261ad 100644 --- a/[core]/es_extended/client/main.lua +++ b/[core]/es_extended/client/main.lua @@ -80,7 +80,7 @@ AddEventHandler('esx:playerLoaded', function(xPlayer, isNew, skin) if seat == 0 then SetPedIntoVehicle(ESX.PlayerData.ped, vehicle, 0) SetPedConfigFlag(ESX.PlayerData.ped, 184, true) - end + end end) end @@ -242,8 +242,8 @@ end) -- Credit: https://github.com/LukeWasTakenn, https://github.com/LukeWasTakenn/luke_garages/blob/master/client/client.lua#L331-L352 AddStateBagChangeHandler('VehicleProperties', nil, function(bagName, key, value) - if not value then - return + if not value then + return end local netId = bagName:gsub('entity:', '') diff --git a/[core]/es_extended/locales/fi.lua b/[core]/es_extended/locales/fi.lua index dec71c80..0bebfca2 100644 --- a/[core]/es_extended/locales/fi.lua +++ b/[core]/es_extended/locales/fi.lua @@ -75,7 +75,7 @@ Locales['fi'] = { ['command_giveweapon_hasalready'] = 'Pelaajalla on jo kyseinen ase', ['command_giveweaponcomponent'] = 'Anna aseen komponentti', ['command_giveweaponcomponent_component'] = 'Komponentin nimi', - ['command_giveweaponcomponent_invalid'] = 'Virheellinen aseen komponentti', + ['command_giveweaponcomponent_invalid'] = 'Virheellinen aseen komponentti', ['command_giveweaponcomponent_hasalready'] = 'Pelaajalla on jo kyseinen asekomponentti', ['command_giveweaponcomponent_missingweapon'] = 'Pelaajalla ei ole kyseistä asetta', ['command_save'] = 'Talenna pelaaja tietokantaan', @@ -105,7 +105,7 @@ Locales['fi'] = { ['command_giveammo_ammo'] = 'Ammusten määrä', -- Locale settings - ['locale_digit_grouping_symbol'] = ' ', + ['locale_digit_grouping_symbol'] = '', ['locale_currency'] = '$%s', -- Weapons diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index bb179742..4e2bed7c 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -57,8 +57,8 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, local heading = GetEntityHeading(Ped) self.coords = { x = coords.x, - y = coords.y, - z = coords.z, + y = coords.y, + z = coords.z, heading = heading or 0.0 } end @@ -203,7 +203,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, function self.setAccountMoney(accountName, money, reason) reason = reason or 'unknown' - if not tonumber(money) then + if not tonumber(money) then print(('[^1ERROR^7] Tried To Set Account ^5%s^0 For Player ^5%s^0 To An Invalid Number -> ^5%s^7'):format(accountName, self.playerId, money)) return end @@ -216,17 +216,17 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, self.triggerEvent('esx:setAccountMoney', account) TriggerEvent('esx:setAccountMoney', self.source, accountName, money, reason) - else + else print(('[^1ERROR^7] Tried To Set Invalid Account ^5%s^0 For Player ^5%s^0!'):format(accountName, self.playerId)) end - else + else print(('[^1ERROR^7] Tried To Set Account ^5%s^0 For Player ^5%s^0 To An Invalid Number -> ^5%s^7'):format(accountName, self.playerId, money)) end end function self.addAccountMoney(accountName, money, reason) reason = reason or 'Unknown' - if not tonumber(money) then + if not tonumber(money) then print(('[^1ERROR^7] Tried To Set Account ^5%s^0 For Player ^5%s^0 To An Invalid Number -> ^5%s^7'):format(accountName, self.playerId, money)) return end @@ -238,17 +238,17 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, self.triggerEvent('esx:setAccountMoney', account) TriggerEvent('esx:addAccountMoney', self.source, accountName, money, reason) - else + else print(('[^1ERROR^7] Tried To Set Add To Invalid Account ^5%s^0 For Player ^5%s^0!'):format(accountName, self.playerId)) end - else + else print(('[^1ERROR^7] Tried To Set Account ^5%s^0 For Player ^5%s^0 To An Invalid Number -> ^5%s^7'):format(accountName, self.playerId, money)) end end function self.removeAccountMoney(accountName, money, reason) reason = reason or 'Unknown' - if not tonumber(money) then + if not tonumber(money) then print(('[^1ERROR^7] Tried To Set Account ^5%s^0 For Player ^5%s^0 To An Invalid Number -> ^5%s^7'):format(accountName, self.playerId, money)) return end @@ -261,10 +261,10 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, self.triggerEvent('esx:setAccountMoney', account) TriggerEvent('esx:removeAccountMoney', self.source, accountName, money, reason) - else + else print(('[^1ERROR^7] Tried To Set Add To Invalid Account ^5%s^0 For Player ^5%s^0!'):format(accountName, self.playerId)) end - else + else print(('[^1ERROR^7] Tried To Set Account ^5%s^0 For Player ^5%s^0 To An Invalid Number -> ^5%s^7'):format(accountName, self.playerId, money)) end end diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index b89ae36a..64bd9b51 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -76,7 +76,7 @@ ESX.RegisterCommand('car', 'admin', function(xPlayer, args, showError) end) end, false, {help = TranslateCap('command_car'), validate = false, arguments = { {name = 'car',validate = false, help = TranslateCap('command_car_car'), type = 'string'} -}}) +}}) ESX.RegisterCommand({'cardel', 'dv'}, 'admin', function(xPlayer, args, showError) local PedVehicle = GetVehiclePedIsIn(GetPlayerPed(xPlayer.source), false) @@ -84,7 +84,7 @@ ESX.RegisterCommand({'cardel', 'dv'}, 'admin', function(xPlayer, args, showError DeleteEntity(PedVehicle) end local Vehicles = ESX.OneSync.GetVehiclesInArea(GetEntityCoords(GetPlayerPed(xPlayer.source)), tonumber(args.radius) or 5.0) - for i=1, #Vehicles do + for i=1, #Vehicles do local Vehicle = NetworkGetEntityFromNetworkId(Vehicles[i]) if DoesEntityExist(Vehicle) then DeleteEntity(Vehicle) @@ -141,7 +141,7 @@ if not Config.OxInventory then ESX.RegisterCommand('giveammo', 'admin', function(xPlayer, args, showError) if args.playerId.hasWeapon(args.weapon) then - args.playerId.addWeaponAmmo(args.weapon, args.ammo) + args.playerId.addWeaponAmmo(args.weapon, args.ammo) else showError(TranslateCap("command_giveammo_noweapon_found")) end @@ -293,7 +293,7 @@ end, false) ESX.RegisterCommand('players', "admin", function(xPlayer, args, showError) local xPlayers = ESX.GetExtendedPlayers() -- Returns all xPlayers print("^5"..#xPlayers.." ^2online player(s)^0") - for i=1, #(xPlayers) do + for i=1, #(xPlayers) do local xPlayer = xPlayers[i] print("^1[ ^2ID : ^5"..xPlayer.source.." ^0| ^2Name : ^5"..xPlayer.getName().." ^0 | ^2Group : ^5"..xPlayer.getGroup().." ^0 | ^2Identifier : ^5".. xPlayer.identifier .."^1]^0\n") end diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index b68dc327..990cc2a1 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -158,7 +158,7 @@ function Core.SavePlayer(xPlayer, cb) xPlayer.job.grade, xPlayer.group, json.encode(xPlayer.getCoords()), - json.encode(xPlayer.getInventory(true)), + json.encode(xPlayer.getInventory(true)), json.encode(xPlayer.getLoadout(true)), json.encode(xPlayer.getMeta()), xPlayer.identifier @@ -204,7 +204,7 @@ function Core.SavePlayers(cb) MySQL.prepare( "UPDATE `users` SET `accounts` = ?, `job` = ?, `job_grade` = ?, `group` = ?, `position` = ?, `inventory` = ?, `loadout` = ?, `metadata` = ? WHERE `identifier` = ?", - parameters, + parameters, function(results) if not results then return @@ -244,7 +244,7 @@ function ESX.GetPlayerFromIdentifier(identifier) end function ESX.GetIdentifier(playerId) - local fxDk = GetConvarInt('sv_fxdkMode', 0) + local fxDk = GetConvarInt('sv_fxdkMode', 0) if fxDk == 1 then return "ESX-DEBUG-LICENCE" end @@ -306,7 +306,7 @@ function ESX.DiscordLogFields(name, title, color, fields) ['text'] = "| ESX Logs | " .. os.date(), ['icon_url'] = "https://cdn.discordapp.com/attachments/944789399852417096/1020099828266586193/blanc-800x800.png" }, - ['fields'] = fields, + ['fields'] = fields, ['description'] = "", ['author'] = { ['name'] = "ESX Framework", diff --git a/[core]/es_extended/server/onesync.lua b/[core]/es_extended/server/onesync.lua index 3e451bb8..bcb694a7 100644 --- a/[core]/es_extended/server/onesync.lua +++ b/[core]/es_extended/server/onesync.lua @@ -76,7 +76,7 @@ function ESX.OneSync.SpawnVehicle(model, coords, heading, properties, cb) local networkId = NetworkGetNetworkIdFromEntity(createdVehicle) Entity(createdVehicle).state:set('VehicleProperties', vehicleProperties, true) cb(networkId) - else + else print(('[^1ERROR^7] Tried to spawn invalid vehicle - ^5%s^7!'):format(model)) end end) diff --git a/[core]/esx_context/main.lua b/[core]/esx_context/main.lua index 55bfad9c..a71ea8f8 100644 --- a/[core]/esx_context/main.lua +++ b/[core]/esx_context/main.lua @@ -87,7 +87,7 @@ end) RegisterNUICallback("selected",function(data,cb) if not activeMenu or not activeMenu.onSelect - or not data.index + or not data.index then return end @@ -96,7 +96,7 @@ RegisterNUICallback("selected",function(data,cb) local ele = activeMenu.eles[index] if not ele - or ele.input + or ele.input then return end @@ -107,7 +107,7 @@ end) RegisterNUICallback("changed",function(data,cb) if not activeMenu - or not data.index + or not data.index or not data.value then return @@ -117,7 +117,7 @@ RegisterNUICallback("changed",function(data,cb) local ele = activeMenu.eles[index] if not ele - or not ele.input + or not ele.input then return end @@ -144,7 +144,7 @@ end) local function focusPreview() if not activeMenu - or not activeMenu.onSelect + or not activeMenu.onSelect then return end diff --git a/[core]/esx_identity/server/main.lua b/[core]/esx_identity/server/main.lua index b9513cee..6dc01b43 100644 --- a/[core]/esx_identity/server/main.lua +++ b/[core]/esx_identity/server/main.lua @@ -301,7 +301,7 @@ else if not identifier then return deferrals.done(TranslateCap('no_identifier')) end - MySQL.single('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = ?', {identifier}, + MySQL.single('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = ?', {identifier}, function(result) if not result then playerIdentity[identifier] = nil @@ -338,7 +338,7 @@ else local xPlayers = ESX.GetExtendedPlayers() - for i=1, #(xPlayers) do + for i=1, #(xPlayers) do if xPlayers[i] then checkIdentity(xPlayers[i]) end @@ -393,7 +393,7 @@ else TriggerClientEvent('esx:showNotification',source,TranslateCap('invalid_height_format'), "error") return cb(false) end - if xPlayer then + if xPlayer then if alreadyRegistered[xPlayer.identifier] then xPlayer.showNotification(TranslateCap('already_registered'), "error") return cb(false) diff --git a/[core]/esx_multicharacter/client/main.lua b/[core]/esx_multicharacter/client/main.lua index 4cb35486..7f1f4bc2 100644 --- a/[core]/esx_multicharacter/client/main.lua +++ b/[core]/esx_multicharacter/client/main.lua @@ -159,9 +159,9 @@ if ESX.GetConfig().Multichar then end function CharacterOptions(Characters, slots, SelectedCharacter) - local elements = {{title = TranslateCap('character', Characters[SelectedCharacter.value].firstname .. " ".. Characters[SelectedCharacter.value].lastname),icon = "fa-regular fa-user", unselectable = true}, + local elements = {{title = TranslateCap('character', Characters[SelectedCharacter.value].firstname .. " ".. Characters[SelectedCharacter.value].lastname),icon = "fa-regular fa-user", unselectable = true}, {title = TranslateCap('return'), unselectable = false,icon = "fa-solid fa-arrow-left",description = TranslateCap('return_description'), action = "return"}} - if not Characters[SelectedCharacter.value].disabled then + if not Characters[SelectedCharacter.value].disabled then elements[3] = {title = TranslateCap('char_play'), description = TranslateCap('char_play_description'), icon ="fa-solid fa-play",action = 'play', value = SelectedCharacter.value} else elements[3] = {title = TranslateCap('char_disabled'), value = SelectedCharacter.value, icon ="fa-solid fa-xmark", description = TranslateCap('char_disabled_description'),} diff --git a/[core]/esx_multicharacter/locales/fi.lua b/[core]/esx_multicharacter/locales/fi.lua index 77125556..a5beae2d 100644 --- a/[core]/esx_multicharacter/locales/fi.lua +++ b/[core]/esx_multicharacter/locales/fi.lua @@ -16,10 +16,10 @@ Locales["fi"] = { ["char_delete_no_description"] = "Ei, Palaa hahmojen valintaan", ["character"] = "Hahmo: %s", ["return"] = "Takaisin", - ["return_description"] = "Palaa hahmojen valintaan.", - ["command_setslots"] = "Määritä pelaajan multicharacter paikkojen määrä", + ["return_description"] = "Palaa hahmojen valintaan.", + ["command_setslots"] = "Määritä pelaajan multicharacter paikkojen määrä", ["command_remslots"] = "Vähennä pelaajan multicharacter paikkojen määrää", - ["command_enablechar"] = "Muuta pelaajan tietty hahmo käyttöön", + ["command_enablechar"] = "Muuta pelaajan tietty hahmo käyttöön", ["command_disablechar"] = "Muuta pelaajan tietty hahmo pois käytöstä", ["command_charslot"] = "Hahmon paikan numero", ["command_identifier"] = "Pelaajan tunniste", diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index 50b23cee..e07debe4 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -29,7 +29,7 @@ end local PRIMARY_IDENTIFIER = ESX.GetConfig().Identifier or GetConvar('sv_lan', '') == 'true' and 'ip' or "license" local function GetIdentifier(source) - local fxDk = GetConvarInt('sv_fxdkMode', 0) + local fxDk = GetConvarInt('sv_fxdkMode', 0) if fxDk == 1 then return "ESX-DEBUG-LICENCE" end diff --git a/[core]/esx_progressbar/Progress.lua b/[core]/esx_progressbar/Progress.lua index c3e0d9a2..5cb1dfe0 100644 --- a/[core]/esx_progressbar/Progress.lua +++ b/[core]/esx_progressbar/Progress.lua @@ -4,7 +4,7 @@ local function Progressbar(message,length,Options) return false end CurrentProgress = Options or {} - if CurrentProgress.animation then + if CurrentProgress.animation then if CurrentProgress.animation.type == "anim" then ESX.Streaming.RequestAnimDict(CurrentProgress.animation.dict, function() TaskPlayAnim(ESX.PlayerData.ped, CurrentProgress.animation.dict, CurrentProgress.animation.lib, 1.0, 1.0, length, 1, 1.0, false,false,false) @@ -22,7 +22,7 @@ local function Progressbar(message,length,Options) }) CurrentProgress.length = length or 3000 while CurrentProgress ~= nil do - if CurrentProgress.length > 0 then + if CurrentProgress.length > 0 then CurrentProgress.length = CurrentProgress.length - 1000 else ClearPedTasks(ESX.PlayerData.ped) diff --git a/[core]/esx_skin/config.lua b/[core]/esx_skin/config.lua index 0c547956..448182ce 100644 --- a/[core]/esx_skin/config.lua +++ b/[core]/esx_skin/config.lua @@ -3,8 +3,8 @@ Config = {} Config.Locale = GetConvar('esx:locale', 'en') Config.BackpackWeight = { - [40] = 16, - [41] = 20, - [44] = 25, + [40] = 16, + [41] = 20, + [44] = 25, [45] = 23 } From 06072273f582710e4f64c44f62d6e821ac1a2a88 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 7 May 2023 19:41:48 +0200 Subject: [PATCH 091/236] 2nd fix --- [core]/es_extended/locales/fi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/locales/fi.lua b/[core]/es_extended/locales/fi.lua index 0bebfca2..bdb6c97b 100644 --- a/[core]/es_extended/locales/fi.lua +++ b/[core]/es_extended/locales/fi.lua @@ -21,7 +21,7 @@ Locales['fi'] = { ['received_weapon_ammo'] = 'Sinä sait ~o~%sx %s sinun %s varten henkilöltä %s', ['received_weapon_withammo'] = 'Sinä sait 1x %s ammuksella ~o~%sx %s henkilöltä %s', ['received_weapon_hasalready'] = '%s yritti antaa sinulle %s, mutta sinulla on jo sellainen', - ['received_weapon_noweapon'] = '%s yritti antaa sinulle ammuksia %s:lle, mutta sinulla ei ole sellaista', + ['received_weapon_noweapon'] = '%s yritti antaa sinulle ammuksia %s:lle, mutta sinulla ei ole sellaista', ['gave_account_money'] = 'Sinä annoit $%s (%s) henkilölle %s', ['received_account_money'] = 'Sinä sait $%s (%s) henkilöltä %s', ['amount_invalid'] = 'Virheellinen määrä', From 1b13b2ed0726f742fa51d283f263598dd992eb4e Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 7 May 2023 19:46:42 +0200 Subject: [PATCH 092/236] unused loop variable 'k' fixes --- [core]/es_extended/client/functions.lua | 10 +++++----- [core]/es_extended/client/main.lua | 4 ++-- [core]/es_extended/common/modules/table.lua | 2 +- [core]/es_extended/server/classes/player.lua | 12 ++++++------ 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index a9a7a597..b7194c7a 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -482,7 +482,7 @@ end function ESX.Game.GetPlayers(onlyOtherPlayers, returnKeyValue, returnPeds) local players, myPlayer = {}, PlayerId() - for k, player in ipairs(GetActivePlayers()) do + for _, player in ipairs(GetActivePlayers()) do local ped = GetPlayerPed(player) if DoesEntityExist(ped) and ((onlyOtherPlayers and player ~= myPlayer) or not onlyOtherPlayers) then @@ -560,7 +560,7 @@ function ESX.Game.GetClosestEntity(entities, isPlayerEntities, coords, modelFilt if modelFilter then filteredEntities = {} - for k, entity in pairs(entities) do + for _, entity in pairs(entities) do if modelFilter[GetEntityModel(entity)] then filteredEntities[#filteredEntities + 1] = entity end @@ -1056,7 +1056,7 @@ function ESX.ShowInventory() end end - for k, v in ipairs(ESX.PlayerData.inventory) do + for _, v in ipairs(ESX.PlayerData.inventory) do if v.count > 0 then currentWeight = currentWeight + (v.weight * v.count) @@ -1073,7 +1073,7 @@ function ESX.ShowInventory() end end - for k, v in ipairs(Config.Weapons) do + for _, v in ipairs(Config.Weapons) do local weaponHash = joaat(v.name) if HasPedGotWeapon(playerPed, weaponHash, false) then @@ -1171,7 +1171,7 @@ function ESX.ShowInventory() {unselectable = true, icon = "fas fa-users", title = "Nearby Players"} } - for k, playerNearby in ipairs(playersNearby) do + for _, playerNearby in ipairs(playersNearby) do players[GetPlayerServerId(playerNearby)] = true end diff --git a/[core]/es_extended/client/main.lua b/[core]/es_extended/client/main.lua index 487261ad..b963e7ab 100644 --- a/[core]/es_extended/client/main.lua +++ b/[core]/es_extended/client/main.lua @@ -218,7 +218,7 @@ AddEventHandler('esx:restoreLoadout', function() local ammoTypes = {} RemoveAllPedWeapons(ESX.PlayerData.ped, true) - for k, v in ipairs(ESX.PlayerData.loadout) do + for _, v in ipairs(ESX.PlayerData.loadout) do local weaponName = v.name local weaponHash = joaat(weaponName) @@ -377,7 +377,7 @@ if not Config.OxInventory then local pickupObject = CreateWeaponObject(weaponHash, 50, coords.x, coords.y, coords.z, true, 1.0, 0) SetWeaponObjectTintIndex(pickupObject, tintIndex) - for k, v in ipairs(components) do + for _, v in ipairs(components) do local component = ESX.GetWeaponComponent(name, v) GiveWeaponComponentToWeaponObject(pickupObject, component.hash) end diff --git a/[core]/es_extended/common/modules/table.lua b/[core]/es_extended/common/modules/table.lua index b2800c57..a1266069 100644 --- a/[core]/es_extended/common/modules/table.lua +++ b/[core]/es_extended/common/modules/table.lua @@ -13,7 +13,7 @@ end function ESX.Table.Set(t) local set = {} - for k,v in ipairs(t) do set[v] = true end + for _,v in ipairs(t) do set[v] = true end return set end diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index 4e2bed7c..11daefae 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -148,7 +148,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, if minimal then local minimalInventory = {} - for k, v in ipairs(self.inventory) do + for _, v in ipairs(self.inventory) do if v.count > 0 then minimalInventory[v.name] = v.count end @@ -170,7 +170,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end local minimalLoadout = {} - for k,v in ipairs(self.loadout) do + for _,v in ipairs(self.loadout) do minimalLoadout[v.name] = {ammo = v.ammo} if v.tintIndex > 0 then minimalLoadout[v.name].tintIndex = v.tintIndex end @@ -270,7 +270,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end function self.getInventoryItem(name, metadata) - for k,v in ipairs(self.inventory) do + for _,v in ipairs(self.inventory) do if v.name == name then return v end @@ -531,7 +531,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, local loadoutNum, weapon = self.getWeapon(weaponName) if weapon then - for k,v in ipairs(weapon.components) do + for _,v in ipairs(weapon.components) do if v == weaponComponent then return true end @@ -544,7 +544,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end function self.hasWeapon(weaponName) - for k,v in ipairs(self.loadout) do + for _,v in ipairs(self.loadout) do if v.name == weaponName then return true end @@ -554,7 +554,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end function self.hasItem(item, metadata) - for k,v in ipairs(self.inventory) do + for _,v in ipairs(self.inventory) do if (v.name == item) and (v.count >= 1) then return v, v.count end From e8c7aac5a74fef654bf08f1923db8b5df5b170b1 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 7 May 2023 19:51:48 +0200 Subject: [PATCH 093/236] Other fixes --- [core]/es_extended/client/functions.lua | 6 +++--- [core]/es_extended/client/main.lua | 13 ++++++------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index b7194c7a..c59b406e 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -414,7 +414,7 @@ function ESX.Game.SpawnVehicle(vehicle, coords, heading, cb, networked) local dist = #(playerCoords - vector) if dist > 424 then -- Onesync infinity Range (https://docs.fivem.net/docs/scripting-reference/onesync/) local executingResource = GetInvokingResource() or "Unknown" - return print(("[^1ERROR^7] Resource ^5%s^7 Tried to spawn vehicle on the client but the position is too far away (Out of onesync range)."):format(executing_resource)) + return print(("[^1ERROR^7] Resource ^5%s^7 Tried to spawn vehicle on the client but the position is too far away (Out of onesync range)."):format(executingResource)) end CreateThread(function() @@ -583,7 +583,7 @@ function ESX.Game.GetVehicleInDirection() local playerCoords = GetEntityCoords(playerPed) local inDirection = GetOffsetFromEntityInWorldCoords(playerPed, 0.0, 5.0, 0.0) local rayHandle = StartExpensiveSynchronousShapeTestLosProbe(playerCoords, inDirection, 10, playerPed, 0) - local numRayHandle, hit, endCoords, surfaceNormal, entityHit = GetShapeTestResult(rayHandle) + local _, hit, _, _, entityHit = GetShapeTestResult(rayHandle) if hit == 1 and GetEntityType(entityHit) == 2 then local entityCoords = GetEntityCoords(entityHit) @@ -638,7 +638,7 @@ function ESX.Game.GetVehicleProperties(vehicle) } if TyresIndex[numWheels] then - for tyre, idx in pairs(TyresIndex[numWheels]) do + for _, idx in pairs(TyresIndex[numWheels]) do tyreBurst[tostring(idx)] = IsVehicleTyreBurst(vehicle, idx, false) end end diff --git a/[core]/es_extended/client/main.lua b/[core]/es_extended/client/main.lua index b963e7ab..b4d85e5c 100644 --- a/[core]/es_extended/client/main.lua +++ b/[core]/es_extended/client/main.lua @@ -174,7 +174,7 @@ AddEventHandler('esx:playerLoaded', function(xPlayer, isNew, skin) 'WORLD_HUMAN_PAPARAZZI' } - for i, v in pairs(scenarios) do + for _, v in pairs(scenarios) do SetScenarioTypeEnabled(v, false) end end @@ -227,7 +227,7 @@ AddEventHandler('esx:restoreLoadout', function() local ammoType = GetPedAmmoTypeFromWeapon(ESX.PlayerData.ped, weaponHash) - for k2, v2 in ipairs(v.components) do + for _, v2 in ipairs(v.components) do local componentHash = ESX.GetWeaponComponent(weaponName, v2).hash GiveWeaponComponentToPed(ESX.PlayerData.ped, weaponHash, componentHash) end @@ -315,17 +315,17 @@ if not Config.OxInventory then end) RegisterNetEvent('esx:addWeapon') - AddEventHandler('esx:addWeapon', function(weapon, ammo) + AddEventHandler('esx:addWeapon', function() print("[^1ERROR^7] event ^5'esx:addWeapon'^7 Has Been Removed. Please use ^5xPlayer.addWeapon^7 Instead!") end) RegisterNetEvent('esx:addWeaponComponent') - AddEventHandler('esx:addWeaponComponent', function(weapon, weaponComponent) + AddEventHandler('esx:addWeaponComponent', function() print("[^1ERROR^7] event ^5'esx:addWeaponComponent'^7 Has Been Removed. Please use ^5xPlayer.addWeaponComponent^7 Instead!") end) RegisterNetEvent('esx:setWeaponAmmo') - AddEventHandler('esx:setWeaponAmmo', function(weapon, weaponAmmo) + AddEventHandler('esx:setWeaponAmmo', function() print("[^1ERROR^7] event ^5'esx:setWeaponAmmo'^7 Has Been Removed. Please use ^5xPlayer.addWeaponAmmo^7 Instead!") end) @@ -337,7 +337,6 @@ if not Config.OxInventory then RegisterNetEvent('esx:removeWeapon') AddEventHandler('esx:removeWeapon', function(weapon) - local playerPed = ESX.PlayerData.ped RemoveWeaponFromPed(ESX.PlayerData.ped, joaat(weapon)) SetPedAmmo(ESX.PlayerData.ped, joaat(weapon), 0) end) @@ -468,7 +467,7 @@ if not Config.OxInventory then while true do local Sleep = 1500 local playerCoords = GetEntityCoords(ESX.PlayerData.ped) - local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer(playerCoords) + local _, closestDistance = ESX.Game.GetClosestPlayer(playerCoords) for pickupId, pickup in pairs(pickups) do local distance = #(playerCoords - pickup.coords) From 3c7e012071dedd6b81f1c9ab25aa9fb93ddc5fb6 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:23:45 +0200 Subject: [PATCH 094/236] refactor(modules/callback): format code --- .../es_extended/client/modules/callback.lua | 74 +++++++++---------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/[core]/es_extended/client/modules/callback.lua b/[core]/es_extended/client/modules/callback.lua index a4d03d3b..3d9ac88a 100644 --- a/[core]/es_extended/client/modules/callback.lua +++ b/[core]/es_extended/client/modules/callback.lua @@ -4,62 +4,62 @@ local serverRequests = {} local clientCallbacks = {} ESX.TriggerServerCallback = setmetatable({ - ---@param eventName string - ---@param ... any - Await = function(eventName, ...) - assert(type(eventName) == 'string', 'Argument 1 `eventName` is not a string!') - local p = promise.new() + ---@param eventName string + ---@param ... any + Await = function(eventName, ...) + assert(type(eventName) == 'string', 'Argument 1 `eventName` is not a string!') + local p = promise.new() - serverRequests[RequestId] = p + serverRequests[RequestId] = p - TriggerServerEvent('esx:triggerServerCallback', eventName, RequestId, GetInvokingResource() or "unknown", ...) + TriggerServerEvent('esx:triggerServerCallback', eventName, RequestId, GetInvokingResource() or "unknown", ...) - RequestId = RequestId + 1 + RequestId = RequestId + 1 - return Citizen.Await(p) - end + return Citizen.Await(p) + end }, { - ---@param eventName string - ---@param callback function - ---@param ... any - __call = function(_, eventName, callback, ...) - assert(type(eventName) == 'string', 'Argument 1 `eventName` is not a string!') - assert(type(callback) == 'function', 'Argument 2 `callback` is not a function!') + ---@param eventName string + ---@param callback function + ---@param ... any + __call = function(_, eventName, callback, ...) + assert(type(eventName) == 'string', 'Argument 1 `eventName` is not a string!') + assert(type(callback) == 'function', 'Argument 2 `callback` is not a function!') - serverRequests[RequestId] = callback + serverRequests[RequestId] = callback - TriggerServerEvent('esx:triggerServerCallback', eventName, RequestId, GetInvokingResource() or "unknown", ...) + TriggerServerEvent('esx:triggerServerCallback', eventName, RequestId, GetInvokingResource() or "unknown", ...) - RequestId = RequestId + 1 - end + RequestId = RequestId + 1 + end }) RegisterNetEvent('esx:serverCallback', function(requestId, invoker, ...) - if not serverRequests[requestId] then - return print(('[^1ERROR^7] Server Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker)) - end + if not serverRequests[requestId] then + return print(('[^1ERROR^7] Server Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker)) + end - if type(serverRequests[requestId]) == 'table' then - serverRequests[requestId]:resolve(...) - return - end + if type(serverRequests[requestId]) == 'table' then + serverRequests[requestId]:resolve(...) + return + end - serverRequests[requestId](...) - serverRequests[requestId] = nil + serverRequests[requestId](...) + serverRequests[requestId] = nil end) ---@param eventName string ---@param callback function ESX.RegisterClientCallback = function(eventName, callback) - clientCallbacks[eventName] = callback + clientCallbacks[eventName] = callback end RegisterNetEvent('esx:triggerClientCallback', function(eventName, requestId, invoker, ...) - if not clientCallbacks[eventName] then - return print(('[^1ERROR^7] Client Callback not registered, name: ^5%s^7, invoker resource: ^5%s^7'):format(eventName, invoker)) - end + if not clientCallbacks[eventName] then + return print(('[^1ERROR^7] Client Callback not registered, name: ^5%s^7, invoker resource: ^5%s^7'):format(eventName, invoker)) + end - clientCallbacks[eventName](function(...) - TriggerServerEvent('esx:clientCallback', requestId, invoker, ...) - end, ...) -end) \ No newline at end of file + clientCallbacks[eventName](function(...) + TriggerServerEvent('esx:clientCallback', requestId, invoker, ...) + end, ...) +end) From 4f02caef47b10cb8e2b932a07a95dd15809e7220 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:25:37 +0200 Subject: [PATCH 095/236] refactor(modules/nwpd): format code --- [core]/es_extended/client/modules/npwd.lua | 59 +++++++++++----------- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/[core]/es_extended/client/modules/npwd.lua b/[core]/es_extended/client/modules/npwd.lua index b8de8dab..b6c7ac75 100644 --- a/[core]/es_extended/client/modules/npwd.lua +++ b/[core]/es_extended/client/modules/npwd.lua @@ -1,56 +1,57 @@ local npwd = GetResourceState('npwd'):find('start') and exports.npwd or nil local function checkPhone() - if not npwd then - return - end + if not npwd then + return + end - local phoneItem = ESX.SearchInventory('phone') - npwd:setPhoneDisabled((phoneItem and phoneItem.count or 0) <= 0) + local phoneItem = ESX.SearchInventory('phone') + npwd:setPhoneDisabled((phoneItem and phoneItem.count or 0) <= 0) end + RegisterNetEvent('esx:playerLoaded', checkPhone) AddEventHandler('onClientResourceStart', function(resource) - if resource ~= 'npwd' then - return - end + if resource ~= 'npwd' then + return + end - npwd = GetResourceState('npwd'):find('start') and exports.npwd or nil + npwd = GetResourceState('npwd'):find('start') and exports.npwd or nil - if ESX.PlayerLoaded then - checkPhone() - end + if ESX.PlayerLoaded then + checkPhone() + end end) AddEventHandler('onClientResourceStop', function(resource) - if resource == 'npwd' then - npwd = nil - end + if resource == 'npwd' then + npwd = nil + end end) RegisterNetEvent('esx:onPlayerLogout', function() - if not npwd then - return - end + if not npwd then + return + end npwd:setPhoneVisible(false) npwd:setPhoneDisabled(true) end) RegisterNetEvent('esx:removeInventoryItem', function(item, count) - if not npwd then - return - end + if not npwd then + return + end - if item == 'phone' and count == 0 then - npwd:setPhoneDisabled(true) - end + if item == 'phone' and count == 0 then + npwd:setPhoneDisabled(true) + end end) RegisterNetEvent('esx:addInventoryItem', function(item) - if not npwd or item ~= 'phone' then - return - end + if not npwd or item ~= 'phone' then + return + end - npwd:setPhoneDisabled(false) -end) \ No newline at end of file + npwd:setPhoneDisabled(false) +end) From 5ab8ca4da15f1dd6d7de9cbafabf8c2407d0973c Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:28:40 +0200 Subject: [PATCH 096/236] refactor(modules/timeout): format code --- [core]/es_extended/common/modules/timeout.lua | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/[core]/es_extended/common/modules/timeout.lua b/[core]/es_extended/common/modules/timeout.lua index cb56de7b..419fff1a 100644 --- a/[core]/es_extended/common/modules/timeout.lua +++ b/[core]/es_extended/common/modules/timeout.lua @@ -2,22 +2,22 @@ local TimeoutCount = 0 local CancelledTimeouts = {} ESX.SetTimeout = function(msec, cb) - local id = TimeoutCount + 1 + local id = TimeoutCount + 1 - SetTimeout(msec, function() - if CancelledTimeouts[id] then - CancelledTimeouts[id] = nil - return - end - - cb() - end) + SetTimeout(msec, function() + if CancelledTimeouts[id] then + CancelledTimeouts[id] = nil + return + end - TimeoutCount = id + cb() + end) - return id + TimeoutCount = id + + return id end ESX.ClearTimeout = function(id) - CancelledTimeouts[id] = true -end \ No newline at end of file + CancelledTimeouts[id] = true +end From ebb849f50c15deac67c89069112d66dff3732731 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:32:07 +0200 Subject: [PATCH 097/236] refactor(locales/cs): format code --- [core]/es_extended/locales/cs.lua | 650 +++++++++++++++--------------- 1 file changed, 325 insertions(+), 325 deletions(-) diff --git a/[core]/es_extended/locales/cs.lua b/[core]/es_extended/locales/cs.lua index 7186ef8b..417ee851 100644 --- a/[core]/es_extended/locales/cs.lua +++ b/[core]/es_extended/locales/cs.lua @@ -1,359 +1,359 @@ Locales['cs'] = { - -- Inventory - ['inventory'] = 'Inventář ( Váha %s / %s )', - ['use'] = 'Použít', - ['give'] = 'Darovat', - ['remove'] = 'Odhodit', - ['return'] = 'Vrátit', - ['give_to'] = 'Darováno', - ['amount'] = 'Počet', - ['giveammo'] = 'Podat náboje', - ['amountammo'] = 'Počet nábojů', - ['noammo'] = 'Nedostatek!', - ['gave_item'] = 'Daroval %sx %s pro %s', - ['received_item'] = 'Získáno %sx %s od %s', - ['gave_weapon'] = 'Předání %s pro %s', - ['gave_weapon_ammo'] = 'Darování ~o~%sx %s do %s pro %s', - ['gave_weapon_withammo'] = 'Darování %s s ~o~%sx %s pro %s', - ['gave_weapon_hasalready'] = '%s již vlastní %s', - ['gave_weapon_noweapon'] = '%s nemá tuto zbraň', - ['received_weapon'] = 'Obdrženo %s od %s', - ['received_weapon_ammo'] = 'Obdrženo ~o~%sx %s pro zbraň %s od %s', - ['received_weapon_withammo'] = 'Obdrženo %s s ~o~%sx %s od %s', - ['received_weapon_hasalready'] = '%s se snažil darovat %s, ale již tuto zbraň máš', - ['received_weapon_noweapon'] = '%s se snažil ti dát náboje %s, ale nemáš potřebnou zbrań', - ['gave_account_money'] = 'Darováno $%s (%s) pro %s', - ['received_account_money'] = 'Získáno $%s (%s) od %s', - ['amount_invalid'] = 'Špatné množství', - ['players_nearby'] = 'Žádný hráč není poblíž', - ['ex_inv_lim'] = 'Nelze sebrat,protože máš plné kapsy %s', - ['imp_invalid_quantity'] = 'Neplatné množství', - ['imp_invalid_amount'] = 'Nelze provést, neplatné množství', - ['threw_standard'] = 'Zahozeno %sx %s', - ['threw_account'] = 'Zahozeno $%s %s', - ['threw_weapon'] = 'Zahozeno %s', - ['threw_weapon_ammo'] = 'Zahozeno %s s ~o~%sx %s', - ['threw_weapon_already'] = 'Již vlastníš tuto zbraň', - ['threw_cannot_pickup'] = 'Kapsy máš plné, nemůžeš sebrat!', - ['threw_pickup_prompt'] = 'Zmáčkni E pro sebrání!', + -- Inventory + ['inventory'] = 'Inventář ( Váha %s / %s )', + ['use'] = 'Použít', + ['give'] = 'Darovat', + ['remove'] = 'Odhodit', + ['return'] = 'Vrátit', + ['give_to'] = 'Darováno', + ['amount'] = 'Počet', + ['giveammo'] = 'Podat náboje', + ['amountammo'] = 'Počet nábojů', + ['noammo'] = 'Nedostatek!', + ['gave_item'] = 'Daroval %sx %s pro %s', + ['received_item'] = 'Získáno %sx %s od %s', + ['gave_weapon'] = 'Předání %s pro %s', + ['gave_weapon_ammo'] = 'Darování ~o~%sx %s do %s pro %s', + ['gave_weapon_withammo'] = 'Darování %s s ~o~%sx %s pro %s', + ['gave_weapon_hasalready'] = '%s již vlastní %s', + ['gave_weapon_noweapon'] = '%s nemá tuto zbraň', + ['received_weapon'] = 'Obdrženo %s od %s', + ['received_weapon_ammo'] = 'Obdrženo ~o~%sx %s pro zbraň %s od %s', + ['received_weapon_withammo'] = 'Obdrženo %s s ~o~%sx %s od %s', + ['received_weapon_hasalready'] = '%s se snažil darovat %s, ale již tuto zbraň máš', + ['received_weapon_noweapon'] = '%s se snažil ti dát náboje %s, ale nemáš potřebnou zbrań', + ['gave_account_money'] = 'Darováno $%s (%s) pro %s', + ['received_account_money'] = 'Získáno $%s (%s) od %s', + ['amount_invalid'] = 'Špatné množství', + ['players_nearby'] = 'Žádný hráč není poblíž', + ['ex_inv_lim'] = 'Nelze sebrat,protože máš plné kapsy %s', + ['imp_invalid_quantity'] = 'Neplatné množství', + ['imp_invalid_amount'] = 'Nelze provést, neplatné množství', + ['threw_standard'] = 'Zahozeno %sx %s', + ['threw_account'] = 'Zahozeno $%s %s', + ['threw_weapon'] = 'Zahozeno %s', + ['threw_weapon_ammo'] = 'Zahozeno %s s ~o~%sx %s', + ['threw_weapon_already'] = 'Již vlastníš tuto zbraň', + ['threw_cannot_pickup'] = 'Kapsy máš plné, nemůžeš sebrat!', + ['threw_pickup_prompt'] = 'Zmáčkni E pro sebrání!', - -- Key mapping - ['keymap_showinventory'] = 'Otevřít inventář', + -- Key mapping + ['keymap_showinventory'] = 'Otevřít inventář', - -- Salary related - ['received_salary'] = 'Obdržel jsi: $%s', - ['received_help'] = 'Obdržel jsi svůj podíl: $%s', - ['company_nomoney'] = 'Firma kde pracujete je příliš chudá, aby vám zaplatila', - ['received_paycheck'] = 'Obdržena platba', - ['bank'] = 'Banka', - ['account_bank'] = 'V bance', - ['account_black_money'] = 'Špináve peníze', - ['account_money'] = 'V kapse', + -- Salary related + ['received_salary'] = 'Obdržel jsi: $%s', + ['received_help'] = 'Obdržel jsi svůj podíl: $%s', + ['company_nomoney'] = 'Firma kde pracujete je příliš chudá, aby vám zaplatila', + ['received_paycheck'] = 'Obdržena platba', + ['bank'] = 'Banka', + ['account_bank'] = 'V bance', + ['account_black_money'] = 'Špináve peníze', + ['account_money'] = 'V kapse', - ['act_imp'] = 'Nelze provést', - ['in_vehicle'] = 'Nelze provést, hráč je v autě', + ['act_imp'] = 'Nelze provést', + ['in_vehicle'] = 'Nelze provést, hráč je v autě', - -- Commands - ['command_bring'] = 'Přivolat si hráče k sobě', - ['command_car'] = 'Spawnout vozidlo', - ['command_car_car'] = 'Zadej jméno vozidla nebo spawnname', - ['command_cardel'] = 'Odstranění vozidla v okolí', - ['command_cardel_radius'] = 'Odstranění vozidla v určeném dosahu', - ['command_clear'] = 'Vymazat text v chatu', - ['command_clearall'] = 'Vymazat chet pro všechny hráče', - ['command_clearinventory'] = 'Vymazat všechny věci z invetáře hráče', - ['command_clearloadout'] = 'Vymazat všechny zbraně z inventáře hráče', - ['command_freeze'] = 'Zmrazit hráče', - ['command_unfreeze'] = 'Odmrazit hráče', - ['command_giveaccountmoney'] = 'Poslat peníze na účet ', - ['command_giveaccountmoney_account'] = 'Převést peníze na účet', - ['command_giveaccountmoney_amount'] = 'Částka k poslání', - ['command_giveaccountmoney_invalid'] = 'Neplátné jméno', - ['command_giveitem'] = 'Darovat věc hráči', - ['command_giveitem_item'] = 'Název věci', - ['command_giveitem_count'] = 'Množství', - ['command_giveweapon'] = 'Dát zbraň hráči', - ['command_giveweapon_weapon'] = 'Název zbraně', - ['command_giveweapon_ammo'] = 'Množství náboje', - ['command_giveweapon_hasalready'] = 'Hráč již má tuto zbraň', - ['command_giveweaponcomponent'] = 'Darovat přídavek na zbraň', - ['command_giveweaponcomponent_component'] = 'Název zbraně', - ['command_giveweaponcomponent_invalid'] = 'Špatné jméno přídavku', - ['command_giveweaponcomponent_hasalready'] = 'Hráč již má tento přídavek', - ['command_giveweaponcomponent_missingweapon'] = 'Hráč nemá tuto zbrań', - ['command_goto'] = 'Teleportování sebe k hráči', - ['command_kill'] = 'Zabití hráče', - ['command_save'] = 'Uložení dat hráče', - ['command_saveall'] = 'Uložení veškerých dat hráče', - ['command_setaccountmoney'] = 'Nastavení určeného počtu peněz', - ['command_setaccountmoney_amount'] = 'Počet peněz', - ['command_setcoords'] = 'Teleportování na určené souřadnice', - ['command_setcoords_x'] = 'Hodnota X', - ['command_setcoords_y'] = 'Hodnota Y', - ['command_setcoords_z'] = 'Hodnota Z', - ['command_setjob'] = 'Nastavit práci hráči', - ['command_setjob_job'] = 'Název práce', - ['command_setjob_grade'] = 'Pozice ve firmě', - ['command_setjob_invalid'] = 'Špatné zadání práce,hodnosti nebo i obou hodnot', - ['command_setgroup'] = 'Nastavení práv hráči', - ['command_setgroup_group'] = 'Název skupiny', - ['commanderror_argumentmismatch'] = 'Chybný počet hodnot (správně %s, potřebných %s)', - ['commanderror_argumentmismatch_number'] = 'Chybně zadaná hodnot #%s (správně, špatně)', - ['commanderror_invaliditem'] = 'Špatný předmět', - ['commanderror_invalidweapon'] = 'Špatná zbraň', - ['commanderror_console'] = 'příkaz nelze být zpracován v konzoli', - ['commanderror_invalidcommand'] = 'Špatný příakz - /%s', - ['commanderror_invalidplayerid'] = 'Hráč není dostupný', - ['commandgeneric_playerid'] = 'Id hráče', - ['command_giveammo_noweapon_found'] = '%s nemá tuto zbraň', - ['command_giveammo_weapon'] = 'Název zbraně', - ['command_giveammo_ammo'] = 'Počet nábojů', + -- Commands + ['command_bring'] = 'Přivolat si hráče k sobě', + ['command_car'] = 'Spawnout vozidlo', + ['command_car_car'] = 'Zadej jméno vozidla nebo spawnname', + ['command_cardel'] = 'Odstranění vozidla v okolí', + ['command_cardel_radius'] = 'Odstranění vozidla v určeném dosahu', + ['command_clear'] = 'Vymazat text v chatu', + ['command_clearall'] = 'Vymazat chet pro všechny hráče', + ['command_clearinventory'] = 'Vymazat všechny věci z invetáře hráče', + ['command_clearloadout'] = 'Vymazat všechny zbraně z inventáře hráče', + ['command_freeze'] = 'Zmrazit hráče', + ['command_unfreeze'] = 'Odmrazit hráče', + ['command_giveaccountmoney'] = 'Poslat peníze na účet ', + ['command_giveaccountmoney_account'] = 'Převést peníze na účet', + ['command_giveaccountmoney_amount'] = 'Částka k poslání', + ['command_giveaccountmoney_invalid'] = 'Neplátné jméno', + ['command_giveitem'] = 'Darovat věc hráči', + ['command_giveitem_item'] = 'Název věci', + ['command_giveitem_count'] = 'Množství', + ['command_giveweapon'] = 'Dát zbraň hráči', + ['command_giveweapon_weapon'] = 'Název zbraně', + ['command_giveweapon_ammo'] = 'Množství náboje', + ['command_giveweapon_hasalready'] = 'Hráč již má tuto zbraň', + ['command_giveweaponcomponent'] = 'Darovat přídavek na zbraň', + ['command_giveweaponcomponent_component'] = 'Název zbraně', + ['command_giveweaponcomponent_invalid'] = 'Špatné jméno přídavku', + ['command_giveweaponcomponent_hasalready'] = 'Hráč již má tento přídavek', + ['command_giveweaponcomponent_missingweapon'] = 'Hráč nemá tuto zbrań', + ['command_goto'] = 'Teleportování sebe k hráči', + ['command_kill'] = 'Zabití hráče', + ['command_save'] = 'Uložení dat hráče', + ['command_saveall'] = 'Uložení veškerých dat hráče', + ['command_setaccountmoney'] = 'Nastavení určeného počtu peněz', + ['command_setaccountmoney_amount'] = 'Počet peněz', + ['command_setcoords'] = 'Teleportování na určené souřadnice', + ['command_setcoords_x'] = 'Hodnota X', + ['command_setcoords_y'] = 'Hodnota Y', + ['command_setcoords_z'] = 'Hodnota Z', + ['command_setjob'] = 'Nastavit práci hráči', + ['command_setjob_job'] = 'Název práce', + ['command_setjob_grade'] = 'Pozice ve firmě', + ['command_setjob_invalid'] = 'Špatné zadání práce,hodnosti nebo i obou hodnot', + ['command_setgroup'] = 'Nastavení práv hráči', + ['command_setgroup_group'] = 'Název skupiny', + ['commanderror_argumentmismatch'] = 'Chybný počet hodnot (správně %s, potřebných %s)', + ['commanderror_argumentmismatch_number'] = 'Chybně zadaná hodnot #%s (správně, špatně)', + ['commanderror_invaliditem'] = 'Špatný předmět', + ['commanderror_invalidweapon'] = 'Špatná zbraň', + ['commanderror_console'] = 'příkaz nelze být zpracován v konzoli', + ['commanderror_invalidcommand'] = 'Špatný příakz - /%s', + ['commanderror_invalidplayerid'] = 'Hráč není dostupný', + ['commandgeneric_playerid'] = 'Id hráče', + ['command_giveammo_noweapon_found'] = '%s nemá tuto zbraň', + ['command_giveammo_weapon'] = 'Název zbraně', + ['command_giveammo_ammo'] = 'Počet nábojů', - -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '£%s', + -- Locale settings + ['locale_digit_grouping_symbol'] = ',', + ['locale_currency'] = '£%s', - -- Weapons + -- Weapons - -- Melee - ['weapon_dagger'] = 'Dýka', - ['weapon_bat'] = 'Baseballová pálka', - ['weapon_battleaxe'] = 'Bitevní sekera', - ['weapon_bottle'] = 'Rozbitá lahve', - ['weapon_crowbar'] = 'Páčidlo', - ['weapon_flashlight'] = 'Baterka', - ['weapon_golfclub'] = 'Golfová hůl', - ['weapon_hammer'] = 'Kladivo', - ['weapon_hatchet'] = 'Sekera', - ['weapon_knife'] = 'Nůž', - ['weapon_knuckle'] = 'Boxer', - ['weapon_machete'] = 'Mačeta', - ['weapon_nightstick'] = 'Policejní obušek', - ['weapon_wrench'] = 'Francouzský klíč', - ['weapon_poolcue'] = 'Kulečníkové tágo', - ['weapon_stone_hatchet'] = 'Kamenná sekera', - ['weapon_switchblade'] = 'Vystřelovací nůž', + -- Melee + ['weapon_dagger'] = 'Dýka', + ['weapon_bat'] = 'Baseballová pálka', + ['weapon_battleaxe'] = 'Bitevní sekera', + ['weapon_bottle'] = 'Rozbitá lahve', + ['weapon_crowbar'] = 'Páčidlo', + ['weapon_flashlight'] = 'Baterka', + ['weapon_golfclub'] = 'Golfová hůl', + ['weapon_hammer'] = 'Kladivo', + ['weapon_hatchet'] = 'Sekera', + ['weapon_knife'] = 'Nůž', + ['weapon_knuckle'] = 'Boxer', + ['weapon_machete'] = 'Mačeta', + ['weapon_nightstick'] = 'Policejní obušek', + ['weapon_wrench'] = 'Francouzský klíč', + ['weapon_poolcue'] = 'Kulečníkové tágo', + ['weapon_stone_hatchet'] = 'Kamenná sekera', + ['weapon_switchblade'] = 'Vystřelovací nůž', - -- Handguns - ['weapon_appistol'] = 'AP pistol', - ['weapon_ceramicpistol'] = 'Ceramic pistol', - ['weapon_combatpistol'] = 'Combat pistol', - ['weapon_doubleaction'] = 'Double-Action Revolver', - ['weapon_navyrevolver'] = 'Navy Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadget Pistol', - ['weapon_heavypistol'] = 'Heavy Pistol', - ['weapon_revolver'] = 'Heavy Revolver', - ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', - ['weapon_marksmanpistol'] = 'Marksman Pistol', - ['weapon_pistol'] = 'Pistol', - ['weapon_pistol_mk2'] = 'Pistol MK2', - ['weapon_pistol50'] = 'Pistol .50', - ['weapon_snspistol'] = 'SNS Pistol', - ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintage Pistol', + -- Handguns + ['weapon_appistol'] = 'AP pistol', + ['weapon_ceramicpistol'] = 'Ceramic pistol', + ['weapon_combatpistol'] = 'Combat pistol', + ['weapon_doubleaction'] = 'Double-Action Revolver', + ['weapon_navyrevolver'] = 'Navy Revolver', + ['weapon_flaregun'] = 'Flaregun', + ['weapon_gadgetpistol'] = 'Gadget Pistol', + ['weapon_heavypistol'] = 'Heavy Pistol', + ['weapon_revolver'] = 'Heavy Revolver', + ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', + ['weapon_marksmanpistol'] = 'Marksman Pistol', + ['weapon_pistol'] = 'Pistol', + ['weapon_pistol_mk2'] = 'Pistol MK2', + ['weapon_pistol50'] = 'Pistol .50', + ['weapon_snspistol'] = 'SNS Pistol', + ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', + ['weapon_stungun'] = 'Taser', + ['weapon_raypistol'] = 'Up-N-Atomizer', + ['weapon_vintagepistol'] = 'Vintage Pistol', - -- Shotguns - ['weapon_assaultshotgun'] = 'Assault Shotgun', - ['weapon_autoshotgun'] = 'Auto Shotgun', - ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', - ['weapon_combatshotgun'] = 'Combat Shotgun', - ['weapon_dbshotgun'] = 'Double Barrel Shotgun', - ['weapon_heavyshotgun'] = 'Heavy Shotgun', - ['weapon_musket'] = 'Musket', - ['weapon_pumpshotgun'] = 'Pump Shotgun', - ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', - ['weapon_sawnoffshotgun'] = 'Sawed Off Shotgun', + -- Shotguns + ['weapon_assaultshotgun'] = 'Assault Shotgun', + ['weapon_autoshotgun'] = 'Auto Shotgun', + ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', + ['weapon_combatshotgun'] = 'Combat Shotgun', + ['weapon_dbshotgun'] = 'Double Barrel Shotgun', + ['weapon_heavyshotgun'] = 'Heavy Shotgun', + ['weapon_musket'] = 'Musket', + ['weapon_pumpshotgun'] = 'Pump Shotgun', + ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', + ['weapon_sawnoffshotgun'] = 'Sawed Off Shotgun', - -- SMG & LMG - ['weapon_assaultsmg'] = 'Assault SMG', - ['weapon_combatmg'] = 'Combat MG', - ['weapon_combatmg_mk2'] = 'Combat MG MK2', - ['weapon_combatpdw'] = 'Combat PDW', - ['weapon_gusenberg'] = 'Gusenberg Sweeper', - ['weapon_machinepistol'] = 'Machine Pistol', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Micro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Unholy Hellbringer', + -- SMG & LMG + ['weapon_assaultsmg'] = 'Assault SMG', + ['weapon_combatmg'] = 'Combat MG', + ['weapon_combatmg_mk2'] = 'Combat MG MK2', + ['weapon_combatpdw'] = 'Combat PDW', + ['weapon_gusenberg'] = 'Gusenberg Sweeper', + ['weapon_machinepistol'] = 'Machine Pistol', + ['weapon_mg'] = 'MG', + ['weapon_microsmg'] = 'Micro SMG', + ['weapon_minismg'] = 'Mini SMG', + ['weapon_smg'] = 'SMG', + ['weapon_smg_mk2'] = 'SMG MK2', + ['weapon_raycarbine'] = 'Unholy Hellbringer', - -- Rifles - ['weapon_advancedrifle'] = 'Advanced Rifle', - ['weapon_assaultrifle'] = 'Assault Rifle', - ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', - ['weapon_bullpuprifle'] = 'Bullpup Rifle', - ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', - ['weapon_carbinerifle'] = 'Carbine Rifle', - ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', - ['weapon_compactrifle'] = 'Compact Rifle', - ['weapon_militaryrifle'] = 'Military Rifle', - ['weapon_specialcarbine'] = 'Special Carbine', - ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', + -- Rifles + ['weapon_advancedrifle'] = 'Advanced Rifle', + ['weapon_assaultrifle'] = 'Assault Rifle', + ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', + ['weapon_bullpuprifle'] = 'Bullpup Rifle', + ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', + ['weapon_carbinerifle'] = 'Carbine Rifle', + ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', + ['weapon_compactrifle'] = 'Compact Rifle', + ['weapon_militaryrifle'] = 'Military Rifle', + ['weapon_specialcarbine'] = 'Special Carbine', + ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', - -- Sniper - ['weapon_heavysniper'] = 'Heavy Sniper', - ['weapon_heavysniper_mk2'] = 'Heavy Sniper MK2', - ['weapon_marksmanrifle'] = 'Marksman Rifle', - ['weapon_marksmanrifle_mk2'] = 'Marksman Rifle MK2', - ['weapon_sniperrifle'] = 'Sniper Rifle', + -- Sniper + ['weapon_heavysniper'] = 'Heavy Sniper', + ['weapon_heavysniper_mk2'] = 'Heavy Sniper MK2', + ['weapon_marksmanrifle'] = 'Marksman Rifle', + ['weapon_marksmanrifle_mk2'] = 'Marksman Rifle MK2', + ['weapon_sniperrifle'] = 'Sniper Rifle', - -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Compact Launcher', - ['weapon_firework'] = 'Firework Launcher', - ['weapon_grenadelauncher'] = 'Grenade Launcher', - ['weapon_hominglauncher'] = 'Homing Launcher', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Rocket Launcher', - ['weapon_rayminigun'] = 'Widowmaker', + -- Heavy / Launchers + ['weapon_compactlauncher'] = 'Compact Launcher', + ['weapon_firework'] = 'Firework Launcher', + ['weapon_grenadelauncher'] = 'Grenade Launcher', + ['weapon_hominglauncher'] = 'Homing Launcher', + ['weapon_minigun'] = 'Minigun', + ['weapon_railgun'] = 'Railgun', + ['weapon_rpg'] = 'Rocket Launcher', + ['weapon_rayminigun'] = 'Widowmaker', - -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Detektor kovu', - ['weapon_precisionrifle'] = 'Precision Rifle', - ['weapon_tactilerifle'] = 'Service Carbine', + -- Criminal Enterprises DLC + ['weapon_metaldetector'] = 'Detektor kovu', + ['weapon_precisionrifle'] = 'Precision Rifle', + ['weapon_tactilerifle'] = 'Service Carbine', - -- Thrown - ['weapon_ball'] = 'Míček', - ['weapon_bzgas'] = 'Smrtící slzný plyn', - ['weapon_flare'] = 'Světlice', - ['weapon_grenade'] = 'Granát', - ['weapon_petrolcan'] = 'Kanistr', - ['weapon_hazardcan'] = 'Hazardous Jerrycan', - ['weapon_molotov'] = 'Molotův koktejl', - ['weapon_proxmine'] = 'Pohybová mina', - ['weapon_pipebomb'] = 'Trubková bomba', - ['weapon_snowball'] = 'Sněhová koule', - ['weapon_stickybomb'] = 'C4', - ['weapon_smokegrenade'] = 'Slzný plyn', + -- Thrown + ['weapon_ball'] = 'Míček', + ['weapon_bzgas'] = 'Smrtící slzný plyn', + ['weapon_flare'] = 'Světlice', + ['weapon_grenade'] = 'Granát', + ['weapon_petrolcan'] = 'Kanistr', + ['weapon_hazardcan'] = 'Hazardous Jerrycan', + ['weapon_molotov'] = 'Molotův koktejl', + ['weapon_proxmine'] = 'Pohybová mina', + ['weapon_pipebomb'] = 'Trubková bomba', + ['weapon_snowball'] = 'Sněhová koule', + ['weapon_stickybomb'] = 'C4', + ['weapon_smokegrenade'] = 'Slzný plyn', - -- Special - ['weapon_fireextinguisher'] = 'Hasící přístroj', - ['weapon_digiscanner'] = 'Skener', - ['weapon_garbagebag'] = 'Odpadkový pytel', - ['weapon_handcuffs'] = 'Pouta', - ['gadget_nightvision'] = 'Noční vidění', - ['gadget_parachute'] = 'Padák', + -- Special + ['weapon_fireextinguisher'] = 'Hasící přístroj', + ['weapon_digiscanner'] = 'Skener', + ['weapon_garbagebag'] = 'Odpadkový pytel', + ['weapon_handcuffs'] = 'Pouta', + ['gadget_nightvision'] = 'Noční vidění', + ['gadget_parachute'] = 'Padák', - -- Weapon Components - ['component_knuckle_base'] = 'base Model', - ['component_knuckle_pimp'] = 'the Pimp', - ['component_knuckle_ballas'] = 'the Ballas', - ['component_knuckle_dollar'] = 'the Hustler', - ['component_knuckle_diamond'] = 'the Rock', - ['component_knuckle_hate'] = 'the Hater', - ['component_knuckle_love'] = 'the Lover', - ['component_knuckle_player'] = 'the Player', - ['component_knuckle_king'] = 'the King', - ['component_knuckle_vagos'] = 'the Vagos', + -- Weapon Components + ['component_knuckle_base'] = 'base Model', + ['component_knuckle_pimp'] = 'the Pimp', + ['component_knuckle_ballas'] = 'the Ballas', + ['component_knuckle_dollar'] = 'the Hustler', + ['component_knuckle_diamond'] = 'the Rock', + ['component_knuckle_hate'] = 'the Hater', + ['component_knuckle_love'] = 'the Lover', + ['component_knuckle_player'] = 'the Player', + ['component_knuckle_king'] = 'the King', + ['component_knuckle_vagos'] = 'the Vagos', - ['component_luxary_finish'] = 'luxary Weapon Finish', + ['component_luxary_finish'] = 'luxary Weapon Finish', - ['component_handle_default'] = 'default Handle', - ['component_handle_vip'] = 'vIP Handle', - ['component_handle_bodyguard'] = 'bodyguard Handle', + ['component_handle_default'] = 'default Handle', + ['component_handle_vip'] = 'vIP Handle', + ['component_handle_bodyguard'] = 'bodyguard Handle', - ['component_vip_finish'] = 'vIP Finish', - ['component_bodyguard_finish'] = 'bodyguard Finish', + ['component_vip_finish'] = 'vIP Finish', + ['component_bodyguard_finish'] = 'bodyguard Finish', - ['component_camo_finish'] = 'digital Camo', - ['component_camo_finish2'] = 'brushstroke Camo', - ['component_camo_finish3'] = 'woodland Camo', - ['component_camo_finish4'] = 'skull Camo', - ['component_camo_finish5'] = 'sessanta Nove Camo', - ['component_camo_finish6'] = 'perseus Camo', - ['component_camo_finish7'] = 'leopard Camo', - ['component_camo_finish8'] = 'zebra Camo', - ['component_camo_finish9'] = 'geometric Camo', - ['component_camo_finish10'] = 'boom Camo', - ['component_camo_finish11'] = 'patriotic Camo', + ['component_camo_finish'] = 'digital Camo', + ['component_camo_finish2'] = 'brushstroke Camo', + ['component_camo_finish3'] = 'woodland Camo', + ['component_camo_finish4'] = 'skull Camo', + ['component_camo_finish5'] = 'sessanta Nove Camo', + ['component_camo_finish6'] = 'perseus Camo', + ['component_camo_finish7'] = 'leopard Camo', + ['component_camo_finish8'] = 'zebra Camo', + ['component_camo_finish9'] = 'geometric Camo', + ['component_camo_finish10'] = 'boom Camo', + ['component_camo_finish11'] = 'patriotic Camo', - ['component_camo_slide_finish'] = 'digital Slide Camo', - ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', - ['component_camo_slide_finish3'] = 'woodland Slide Camo', - ['component_camo_slide_finish4'] = 'skull Slide Camo', - ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', - ['component_camo_slide_finish6'] = 'perseus Slide Camo', - ['component_camo_slide_finish7'] = 'leopard Slide Camo', - ['component_camo_slide_finish8'] = 'zebra Slide Camo', - ['component_camo_slide_finish9'] = 'geometric Slide Camo', - ['component_camo_slide_finish10'] = 'boom Slide Camo', - ['component_camo_slide_finish11'] = 'patriotic Slide Camo', + ['component_camo_slide_finish'] = 'digital Slide Camo', + ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', + ['component_camo_slide_finish3'] = 'woodland Slide Camo', + ['component_camo_slide_finish4'] = 'skull Slide Camo', + ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', + ['component_camo_slide_finish6'] = 'perseus Slide Camo', + ['component_camo_slide_finish7'] = 'leopard Slide Camo', + ['component_camo_slide_finish8'] = 'zebra Slide Camo', + ['component_camo_slide_finish9'] = 'geometric Slide Camo', + ['component_camo_slide_finish10'] = 'boom Slide Camo', + ['component_camo_slide_finish11'] = 'patriotic Slide Camo', - ['component_clip_default'] = 'default Magazine', - ['component_clip_extended'] = 'extended Magazine', - ['component_clip_drum'] = 'drum Magazine', - ['component_clip_box'] = 'box Magazine', + ['component_clip_default'] = 'default Magazine', + ['component_clip_extended'] = 'extended Magazine', + ['component_clip_drum'] = 'drum Magazine', + ['component_clip_box'] = 'box Magazine', - ['component_scope_holo'] = 'holographic Scope', - ['component_scope_small'] = 'small Scope', - ['component_scope_medium'] = 'medium Scope', - ['component_scope_large'] = 'large Scope', - ['component_scope'] = 'mounted Scope', - ['component_scope_advanced'] = 'advanced Scope', - ['component_ironsights'] = 'ironsights', + ['component_scope_holo'] = 'holographic Scope', + ['component_scope_small'] = 'small Scope', + ['component_scope_medium'] = 'medium Scope', + ['component_scope_large'] = 'large Scope', + ['component_scope'] = 'mounted Scope', + ['component_scope_advanced'] = 'advanced Scope', + ['component_ironsights'] = 'ironsights', - ['component_suppressor'] = 'suppressor', - ['component_compensator'] = 'compensator', + ['component_suppressor'] = 'suppressor', + ['component_compensator'] = 'compensator', - ['component_muzzle_flat'] = 'flat Muzzle Brake', - ['component_muzzle_tactical'] = 'tactical Muzzle Brake', - ['component_muzzle_fat'] = 'fat-End Muzzle Brake', - ['component_muzzle_precision'] = 'precision Muzzle Brake', - ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', - ['component_muzzle_slanted'] = 'slanted Muzzle Brake', - ['component_muzzle_split'] = 'split-End Muzzle Brake', - ['component_muzzle_squared'] = 'squared Muzzle Brake', + ['component_muzzle_flat'] = 'flat Muzzle Brake', + ['component_muzzle_tactical'] = 'tactical Muzzle Brake', + ['component_muzzle_fat'] = 'fat-End Muzzle Brake', + ['component_muzzle_precision'] = 'precision Muzzle Brake', + ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', + ['component_muzzle_slanted'] = 'slanted Muzzle Brake', + ['component_muzzle_split'] = 'split-End Muzzle Brake', + ['component_muzzle_squared'] = 'squared Muzzle Brake', - ['component_flashlight'] = 'flashlight', - ['component_grip'] = 'grip', + ['component_flashlight'] = 'flashlight', + ['component_grip'] = 'grip', - ['component_barrel_default'] = 'default Barrel', - ['component_barrel_heavy'] = 'heavy Barrel', + ['component_barrel_default'] = 'default Barrel', + ['component_barrel_heavy'] = 'heavy Barrel', - ['component_ammo_tracer'] = 'tracer Ammo', - ['component_ammo_incendiary'] = 'incendiary Ammo', - ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', - ['component_ammo_fmj'] = 'fMJ Ammo', - ['component_ammo_armor'] = 'armor Piercing Ammo', - ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', + ['component_ammo_tracer'] = 'tracer Ammo', + ['component_ammo_incendiary'] = 'incendiary Ammo', + ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', + ['component_ammo_fmj'] = 'fMJ Ammo', + ['component_ammo_armor'] = 'armor Piercing Ammo', + ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', - ['component_shells_default'] = 'default Shells', - ['component_shells_incendiary'] = 'dragons Breath Shells', - ['component_shells_armor'] = 'steel Buckshot Shells', - ['component_shells_hollowpoint'] = 'flechette Shells', - ['component_shells_explosive'] = 'explosive Slug Shells', + ['component_shells_default'] = 'default Shells', + ['component_shells_incendiary'] = 'dragons Breath Shells', + ['component_shells_armor'] = 'steel Buckshot Shells', + ['component_shells_hollowpoint'] = 'flechette Shells', + ['component_shells_explosive'] = 'explosive Slug Shells', - -- Weapon Ammo - ['ammo_rounds'] = 'round(s)', - ['ammo_shells'] = 'shell(s)', - ['ammo_charge'] = 'charge', - ['ammo_petrol'] = 'gallons of fuel', - ['ammo_firework'] = 'firework(s)', - ['ammo_rockets'] = 'rocket(s)', - ['ammo_grenadelauncher'] = 'grenade(s)', - ['ammo_grenade'] = 'grenade(s)', - ['ammo_stickybomb'] = 'bomb(s)', - ['ammo_pipebomb'] = 'bomb(s)', - ['ammo_smokebomb'] = 'bomb(s)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mine(s)', - ['ammo_bzgas'] = 'can(s)', - ['ammo_ball'] = 'ball(s)', - ['ammo_snowball'] = 'snowball(s)', - ['ammo_flare'] = 'flare(s)', - ['ammo_flaregun'] = 'flare(s)', + -- Weapon Ammo + ['ammo_rounds'] = 'round(s)', + ['ammo_shells'] = 'shell(s)', + ['ammo_charge'] = 'charge', + ['ammo_petrol'] = 'gallons of fuel', + ['ammo_firework'] = 'firework(s)', + ['ammo_rockets'] = 'rocket(s)', + ['ammo_grenadelauncher'] = 'grenade(s)', + ['ammo_grenade'] = 'grenade(s)', + ['ammo_stickybomb'] = 'bomb(s)', + ['ammo_pipebomb'] = 'bomb(s)', + ['ammo_smokebomb'] = 'bomb(s)', + ['ammo_molotov'] = 'cocktail(s)', + ['ammo_proxmine'] = 'mine(s)', + ['ammo_bzgas'] = 'can(s)', + ['ammo_ball'] = 'ball(s)', + ['ammo_snowball'] = 'snowball(s)', + ['ammo_flare'] = 'flare(s)', + ['ammo_flaregun'] = 'flare(s)', - -- Weapon Tints - ['tint_default'] = 'default skin', - ['tint_green'] = 'green skin', - ['tint_gold'] = 'gold skin', - ['tint_pink'] = 'pink skin', - ['tint_army'] = 'army skin', - ['tint_lspd'] = 'blue skin', - ['tint_orange'] = 'orange skin', - ['tint_platinum'] = 'platinum skin', + -- Weapon Tints + ['tint_default'] = 'default skin', + ['tint_green'] = 'green skin', + ['tint_gold'] = 'gold skin', + ['tint_pink'] = 'pink skin', + ['tint_army'] = 'army skin', + ['tint_lspd'] = 'blue skin', + ['tint_orange'] = 'orange skin', + ['tint_platinum'] = 'platinum skin', } From 7c812ea4fb3d50fb5a538df85e8d36c743d83916 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:34:01 +0200 Subject: [PATCH 098/236] refactor(locales/da): format code --- [core]/es_extended/locales/da.lua | 660 +++++++++++++++--------------- 1 file changed, 330 insertions(+), 330 deletions(-) diff --git a/[core]/es_extended/locales/da.lua b/[core]/es_extended/locales/da.lua index 9b89ea49..a5e5548f 100644 --- a/[core]/es_extended/locales/da.lua +++ b/[core]/es_extended/locales/da.lua @@ -1,365 +1,365 @@ Locales['da'] = { - -- Inventory - ['inventory'] = 'Inventar ( Vægt %s / %s )', - ['use'] = 'Brug', - ['give'] = 'Giv', - ['remove'] = 'Smid', - ['return'] = 'Tilbage', - ['give_to'] = 'Giv til', - ['amount'] = 'Beløb', - ['giveammo'] = 'Giv ammunition', - ['amountammo'] = 'Ammunition beløb', - ['noammo'] = 'Ikke nok!', - ['gave_item'] = 'Giver %sx %s til %s', - ['received_item'] = 'Modtog %sx %s fra %s', - ['gave_weapon'] = 'Giver %s til %s', - ['gave_weapon_ammo'] = 'Giver ~o~%sx %s for %s til %s', - ['gave_weapon_withammo'] = 'Giver %s med ~o~%sx %s til %s', - ['gave_weapon_hasalready'] = '%s har allerede en %s', - ['gave_weapon_noweapon'] = '%s har ikke det våben', - ['received_weapon'] = 'Modtog %s fra %s', - ['received_weapon_ammo'] = 'Modtog ~o~%sx %s for din %s fra %s', - ['received_weapon_withammo'] = 'Modtog %s med ~o~%sx %s fra %s', - ['received_weapon_hasalready'] = '%s har forsøgt at give dig en %s, men du allerede dette våben', - ['received_weapon_noweapon'] = '%s har forsøgt at give dig ammunition for en %s, men du har ikke dette våben', - ['gave_account_money'] = 'Giver %s kr. (%s) til %s', - ['received_account_money'] = 'Modtog %s kr. (%s) fra %s', - ['amount_invalid'] = 'Ugyldig mængde', - ['players_nearby'] = 'Ingen spillere i nærheden', - ['ex_inv_lim'] = 'Kan ikke udføre handling, overskrider maks. vægt på %s', - ['imp_invalid_quantity'] = 'Handlingen kan ikke udføres, mængden er ugyldig', - ['imp_invalid_amount'] = 'Handlingen kan ikke udføres, beløbet er ugyldigt', - ['threw_standard'] = 'Smider %sx %s', - ['threw_account'] = 'Smider %s kr. %s', - ['threw_weapon'] = 'Smider %s', - ['threw_weapon_ammo'] = 'Smider %s med ~o~%sx %s', - ['threw_weapon_already'] = 'Du har allerede dette våben', - ['threw_cannot_pickup'] = 'Inventory er fyldt, Kan ikke tages!', - ['threw_pickup_prompt'] = 'Tryk på E for at tage genstand', + -- Inventory + ['inventory'] = 'Inventar ( Vægt %s / %s )', + ['use'] = 'Brug', + ['give'] = 'Giv', + ['remove'] = 'Smid', + ['return'] = 'Tilbage', + ['give_to'] = 'Giv til', + ['amount'] = 'Beløb', + ['giveammo'] = 'Giv ammunition', + ['amountammo'] = 'Ammunition beløb', + ['noammo'] = 'Ikke nok!', + ['gave_item'] = 'Giver %sx %s til %s', + ['received_item'] = 'Modtog %sx %s fra %s', + ['gave_weapon'] = 'Giver %s til %s', + ['gave_weapon_ammo'] = 'Giver ~o~%sx %s for %s til %s', + ['gave_weapon_withammo'] = 'Giver %s med ~o~%sx %s til %s', + ['gave_weapon_hasalready'] = '%s har allerede en %s', + ['gave_weapon_noweapon'] = '%s har ikke det våben', + ['received_weapon'] = 'Modtog %s fra %s', + ['received_weapon_ammo'] = 'Modtog ~o~%sx %s for din %s fra %s', + ['received_weapon_withammo'] = 'Modtog %s med ~o~%sx %s fra %s', + ['received_weapon_hasalready'] = '%s har forsøgt at give dig en %s, men du allerede dette våben', + ['received_weapon_noweapon'] = '%s har forsøgt at give dig ammunition for en %s, men du har ikke dette våben', + ['gave_account_money'] = 'Giver %s kr. (%s) til %s', + ['received_account_money'] = 'Modtog %s kr. (%s) fra %s', + ['amount_invalid'] = 'Ugyldig mængde', + ['players_nearby'] = 'Ingen spillere i nærheden', + ['ex_inv_lim'] = 'Kan ikke udføre handling, overskrider maks. vægt på %s', + ['imp_invalid_quantity'] = 'Handlingen kan ikke udføres, mængden er ugyldig', + ['imp_invalid_amount'] = 'Handlingen kan ikke udføres, beløbet er ugyldigt', + ['threw_standard'] = 'Smider %sx %s', + ['threw_account'] = 'Smider %s kr. %s', + ['threw_weapon'] = 'Smider %s', + ['threw_weapon_ammo'] = 'Smider %s med ~o~%sx %s', + ['threw_weapon_already'] = 'Du har allerede dette våben', + ['threw_cannot_pickup'] = 'Inventory er fyldt, Kan ikke tages!', + ['threw_pickup_prompt'] = 'Tryk på E for at tage genstand', - -- Key mapping - ['keymap_showinventory'] = 'Vis Inventory', + -- Key mapping + ['keymap_showinventory'] = 'Vis Inventory', - -- Salary related - ['received_salary'] = 'Du er blevet betalt: %s kr.', - ['received_help'] = 'Du har fået udbetalt din velfærdscheck: %s kr.', - ['company_nomoney'] = 'den virksomhed, du er ansat i, er for fattig til at udbetale din løn', - ['received_paycheck'] = 'modtaget lønseddel', - ['bank'] = 'Maze Bank', - ['account_bank'] = 'Bank', - ['account_black_money'] = 'Beskidte penge', - ['account_money'] = 'Penge', + -- Salary related + ['received_salary'] = 'Du er blevet betalt: %s kr.', + ['received_help'] = 'Du har fået udbetalt din velfærdscheck: %s kr.', + ['company_nomoney'] = 'den virksomhed, du er ansat i, er for fattig til at udbetale din løn', + ['received_paycheck'] = 'modtaget lønseddel', + ['bank'] = 'Maze Bank', + ['account_bank'] = 'Bank', + ['account_black_money'] = 'Beskidte penge', + ['account_money'] = 'Penge', - ['act_imp'] = 'Kan ikke udføre handling', - ['in_vehicle'] = 'Kan ikke udføre handling, spilleren er i et køretøj', + ['act_imp'] = 'Kan ikke udføre handling', + ['in_vehicle'] = 'Kan ikke udføre handling, spilleren er i et køretøj', - -- Commands - ['command_bring'] = 'Tag en spiller til dig', - ['command_car'] = 'Spawn et køretøj', - ['command_car_car'] = 'Køretøjsmodel eller hash', - ['command_cardel'] = 'Fjern køretøjer i nærheden', - ['command_cardel_radius'] = 'Fjerner alle køretøjer inden for den specificerede radius', - ['command_clear'] = 'Ryd chatten', - ['command_clearall'] = 'Ryd chatten for alle spillere', - ['command_clearinventory'] = 'Fjern alle elementer fra spillernes inventar', - ['command_clearloadout'] = 'Fjern alle våben fra Players Loadout', - ['command_freeze'] = 'Frys en spiller', - ['command_unfreeze'] = 'Frigør en spiller', - ['command_giveaccountmoney'] = 'Giv penge til en bestemt konto', - ['command_giveaccountmoney_account'] = 'Konto at tilføje til', - ['command_giveaccountmoney_amount'] = 'Beløb at tilføje', - ['command_giveaccountmoney_invalid'] = 'Kontonavn ugyldigt', - ['command_giveitem'] = 'Giv spilleren en genstand', - ['command_giveitem_item'] = 'Genstands navn', - ['command_giveitem_count'] = 'Antal', - ['command_giveweapon'] = 'Giv spilleren et våben', - ['command_giveweapon_weapon'] = 'Navn på våben', - ['command_giveweapon_ammo'] = 'Ammunitions mængde', - ['command_giveweapon_hasalready'] = 'Spilleren har allerede dette våben', - ['command_giveweaponcomponent'] = 'Giv en våbenkomponent til spilleren', - ['command_giveweaponcomponent_component'] = 'Komponent navn', - ['command_giveweaponcomponent_invalid'] = 'Ugyldig våben-komponent', - ['command_giveweaponcomponent_hasalready'] = 'Spilleren har allerede denne våben-komponent', - ['command_giveweaponcomponent_missingweapon'] = 'Spilleren har ikke dette våben', - ['command_goto'] = 'Teleporter dig selv til en spiller', - ['command_kill'] = 'Dræb en spiller', - ['command_save'] = 'Force save en spillers data', - ['command_saveall'] = 'Force save alle spillers data', - ['command_setaccountmoney'] = 'Indstil pengene på en bestemt konto', - ['command_setaccountmoney_amount'] = 'Beløb', - ['command_setcoords'] = 'Teleporter til specificerede koordinater', - ['command_setcoords_x'] = 'X værdi', - ['command_setcoords_y'] = 'Y værdi', - ['command_setcoords_z'] = 'Z værdi', - ['command_setjob'] = 'Sæt en spillers job', - ['command_setjob_job'] = 'Navn', - ['command_setjob_grade'] = 'Job karakter', - ['command_setjob_invalid'] = 'jobbet, karakteren eller begge dele er ugyldige', - ['command_setgroup'] = 'Indstil en spillers tilladelsesgruppe', - ['command_setgroup_group'] = 'Navn på gruppe', - ['commanderror_argumentmismatch'] = 'Antal ugyldige argumenter (bestået %s, ønsket %s)', - ['commanderror_argumentmismatch_number'] = 'Ugyldigt argument #%s datatype (bestået streng, ønsket nummer)', - ['commanderror_invaliditem'] = 'Ugyldig genstand', - ['commanderror_invalidweapon'] = 'Ugyldigt våben', - ['commanderror_console'] = 'Kommandoen kan ikke udføres fra konsollen', - ['commanderror_invalidcommand'] = 'Ugyldig kommando - /%s', - ['commanderror_invalidplayerid'] = 'Den angivne spiller er ikke online', - ['commandgeneric_playerid'] = 'Spillerens server-id', - ['command_giveammo_noweapon_found'] = '%s har ikke det våben', - ['command_giveammo_weapon'] = 'Våben navn', - ['command_giveammo_ammo'] = 'Ammunitions mængde', - ['tpm_nowaypoint'] = 'Ingen waypoint indstillet.', - ['tpm_success'] = 'Teleporteret med succes', + -- Commands + ['command_bring'] = 'Tag en spiller til dig', + ['command_car'] = 'Spawn et køretøj', + ['command_car_car'] = 'Køretøjsmodel eller hash', + ['command_cardel'] = 'Fjern køretøjer i nærheden', + ['command_cardel_radius'] = 'Fjerner alle køretøjer inden for den specificerede radius', + ['command_clear'] = 'Ryd chatten', + ['command_clearall'] = 'Ryd chatten for alle spillere', + ['command_clearinventory'] = 'Fjern alle elementer fra spillernes inventar', + ['command_clearloadout'] = 'Fjern alle våben fra Players Loadout', + ['command_freeze'] = 'Frys en spiller', + ['command_unfreeze'] = 'Frigør en spiller', + ['command_giveaccountmoney'] = 'Giv penge til en bestemt konto', + ['command_giveaccountmoney_account'] = 'Konto at tilføje til', + ['command_giveaccountmoney_amount'] = 'Beløb at tilføje', + ['command_giveaccountmoney_invalid'] = 'Kontonavn ugyldigt', + ['command_giveitem'] = 'Giv spilleren en genstand', + ['command_giveitem_item'] = 'Genstands navn', + ['command_giveitem_count'] = 'Antal', + ['command_giveweapon'] = 'Giv spilleren et våben', + ['command_giveweapon_weapon'] = 'Navn på våben', + ['command_giveweapon_ammo'] = 'Ammunitions mængde', + ['command_giveweapon_hasalready'] = 'Spilleren har allerede dette våben', + ['command_giveweaponcomponent'] = 'Giv en våbenkomponent til spilleren', + ['command_giveweaponcomponent_component'] = 'Komponent navn', + ['command_giveweaponcomponent_invalid'] = 'Ugyldig våben-komponent', + ['command_giveweaponcomponent_hasalready'] = 'Spilleren har allerede denne våben-komponent', + ['command_giveweaponcomponent_missingweapon'] = 'Spilleren har ikke dette våben', + ['command_goto'] = 'Teleporter dig selv til en spiller', + ['command_kill'] = 'Dræb en spiller', + ['command_save'] = 'Force save en spillers data', + ['command_saveall'] = 'Force save alle spillers data', + ['command_setaccountmoney'] = 'Indstil pengene på en bestemt konto', + ['command_setaccountmoney_amount'] = 'Beløb', + ['command_setcoords'] = 'Teleporter til specificerede koordinater', + ['command_setcoords_x'] = 'X værdi', + ['command_setcoords_y'] = 'Y værdi', + ['command_setcoords_z'] = 'Z værdi', + ['command_setjob'] = 'Sæt en spillers job', + ['command_setjob_job'] = 'Navn', + ['command_setjob_grade'] = 'Job karakter', + ['command_setjob_invalid'] = 'jobbet, karakteren eller begge dele er ugyldige', + ['command_setgroup'] = 'Indstil en spillers tilladelsesgruppe', + ['command_setgroup_group'] = 'Navn på gruppe', + ['commanderror_argumentmismatch'] = 'Antal ugyldige argumenter (bestået %s, ønsket %s)', + ['commanderror_argumentmismatch_number'] = 'Ugyldigt argument #%s datatype (bestået streng, ønsket nummer)', + ['commanderror_invaliditem'] = 'Ugyldig genstand', + ['commanderror_invalidweapon'] = 'Ugyldigt våben', + ['commanderror_console'] = 'Kommandoen kan ikke udføres fra konsollen', + ['commanderror_invalidcommand'] = 'Ugyldig kommando - /%s', + ['commanderror_invalidplayerid'] = 'Den angivne spiller er ikke online', + ['commandgeneric_playerid'] = 'Spillerens server-id', + ['command_giveammo_noweapon_found'] = '%s har ikke det våben', + ['command_giveammo_weapon'] = 'Våben navn', + ['command_giveammo_ammo'] = 'Ammunitions mængde', + ['tpm_nowaypoint'] = 'Ingen waypoint indstillet.', + ['tpm_success'] = 'Teleporteret med succes', - ['noclip_message'] = 'Noclip er blevet %s', - ['enabled'] = '~g~aktiveret~s~', - ['disabled'] = '~r~deaktiveret~s~', + ['noclip_message'] = 'Noclip er blevet %s', + ['enabled'] = '~g~aktiveret~s~', + ['disabled'] = '~r~deaktiveret~s~', - -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '%s DKK', + -- Locale settings + ['locale_digit_grouping_symbol'] = ',', + ['locale_currency'] = '%s DKK', - -- Weapons + -- Weapons - -- Melee - ['weapon_dagger'] = 'Dolk', - ['weapon_bat'] = 'Bat', - ['weapon_battleaxe'] = 'Kampøkse', - ['weapon_bottle'] = 'Flaske', - ['weapon_crowbar'] = 'Koben', - ['weapon_flashlight'] = 'Lommelygte', - ['weapon_golfclub'] = 'Golf Club', - ['weapon_hammer'] = 'Hammer', - ['weapon_hatchet'] = 'Økse', - ['weapon_knife'] = 'Kniv', - ['weapon_knuckle'] = 'Knuckledusters', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Nightstick', - ['weapon_wrench'] = 'Pipe Wrench', - ['weapon_poolcue'] = 'Pool Cue', - ['weapon_stone_hatchet'] = 'Stone Hatchet', - ['weapon_switchblade'] = 'Switchblade', + -- Melee + ['weapon_dagger'] = 'Dolk', + ['weapon_bat'] = 'Bat', + ['weapon_battleaxe'] = 'Kampøkse', + ['weapon_bottle'] = 'Flaske', + ['weapon_crowbar'] = 'Koben', + ['weapon_flashlight'] = 'Lommelygte', + ['weapon_golfclub'] = 'Golf Club', + ['weapon_hammer'] = 'Hammer', + ['weapon_hatchet'] = 'Økse', + ['weapon_knife'] = 'Kniv', + ['weapon_knuckle'] = 'Knuckledusters', + ['weapon_machete'] = 'Machete', + ['weapon_nightstick'] = 'Nightstick', + ['weapon_wrench'] = 'Pipe Wrench', + ['weapon_poolcue'] = 'Pool Cue', + ['weapon_stone_hatchet'] = 'Stone Hatchet', + ['weapon_switchblade'] = 'Switchblade', - -- Handguns - ['weapon_appistol'] = 'AP Pistol', - ['weapon_ceramicpistol'] = 'Ceramic Pistol', - ['weapon_combatpistol'] = 'Combat Pistol', - ['weapon_doubleaction'] = 'Double-Action Revolver', - ['weapon_navyrevolver'] = 'Navy Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadget Pistol', - ['weapon_heavypistol'] = 'Tung Pistol', - ['weapon_revolver'] = 'Tung Revolver', - ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', - ['weapon_marksmanpistol'] = 'Marksman Pistol', - ['weapon_pistol'] = 'Pistol', - ['weapon_pistol_mk2'] = 'Pistol MK2', - ['weapon_pistol50'] = 'Pistol .50', - ['weapon_snspistol'] = 'SNS Pistol', - ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintage Pistol', + -- Handguns + ['weapon_appistol'] = 'AP Pistol', + ['weapon_ceramicpistol'] = 'Ceramic Pistol', + ['weapon_combatpistol'] = 'Combat Pistol', + ['weapon_doubleaction'] = 'Double-Action Revolver', + ['weapon_navyrevolver'] = 'Navy Revolver', + ['weapon_flaregun'] = 'Flaregun', + ['weapon_gadgetpistol'] = 'Gadget Pistol', + ['weapon_heavypistol'] = 'Tung Pistol', + ['weapon_revolver'] = 'Tung Revolver', + ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', + ['weapon_marksmanpistol'] = 'Marksman Pistol', + ['weapon_pistol'] = 'Pistol', + ['weapon_pistol_mk2'] = 'Pistol MK2', + ['weapon_pistol50'] = 'Pistol .50', + ['weapon_snspistol'] = 'SNS Pistol', + ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', + ['weapon_stungun'] = 'Taser', + ['weapon_raypistol'] = 'Up-N-Atomizer', + ['weapon_vintagepistol'] = 'Vintage Pistol', - -- Shotguns - ['weapon_assaultshotgun'] = 'Assault Shotgun', - ['weapon_autoshotgun'] = 'Auto Shotgun', - ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', - ['weapon_combatshotgun'] = 'Kamp Haglgevær', - ['weapon_dbshotgun'] = 'Dobbeltløbet gevær', - ['weapon_heavyshotgun'] = 'Tungt haglgevær', - ['weapon_musket'] = 'Musket', - ['weapon_pumpshotgun'] = 'Pumpe haglgevær', - ['weapon_pumpshotgun_mk2'] = 'Pumpe haglgevær MK2', - ['weapon_sawnoffshotgun'] = 'Oversavet haglgevær', + -- Shotguns + ['weapon_assaultshotgun'] = 'Assault Shotgun', + ['weapon_autoshotgun'] = 'Auto Shotgun', + ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', + ['weapon_combatshotgun'] = 'Kamp Haglgevær', + ['weapon_dbshotgun'] = 'Dobbeltløbet gevær', + ['weapon_heavyshotgun'] = 'Tungt haglgevær', + ['weapon_musket'] = 'Musket', + ['weapon_pumpshotgun'] = 'Pumpe haglgevær', + ['weapon_pumpshotgun_mk2'] = 'Pumpe haglgevær MK2', + ['weapon_sawnoffshotgun'] = 'Oversavet haglgevær', - -- SMG & LMG - ['weapon_assaultsmg'] = 'Assault SMG', - ['weapon_combatmg'] = 'Combat MG', - ['weapon_combatmg_mk2'] = 'Combat MG MK2', - ['weapon_combatpdw'] = 'Combat PDW', - ['weapon_gusenberg'] = 'Gusenberg Sweeper', - ['weapon_machinepistol'] = 'Maskinpistol', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Micro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Unholy Hellbringer', + -- SMG & LMG + ['weapon_assaultsmg'] = 'Assault SMG', + ['weapon_combatmg'] = 'Combat MG', + ['weapon_combatmg_mk2'] = 'Combat MG MK2', + ['weapon_combatpdw'] = 'Combat PDW', + ['weapon_gusenberg'] = 'Gusenberg Sweeper', + ['weapon_machinepistol'] = 'Maskinpistol', + ['weapon_mg'] = 'MG', + ['weapon_microsmg'] = 'Micro SMG', + ['weapon_minismg'] = 'Mini SMG', + ['weapon_smg'] = 'SMG', + ['weapon_smg_mk2'] = 'SMG MK2', + ['weapon_raycarbine'] = 'Unholy Hellbringer', - -- Rifles - ['weapon_advancedrifle'] = 'Advanced Rifle', - ['weapon_assaultrifle'] = 'Assault Rifle', - ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', - ['weapon_bullpuprifle'] = 'Bullpup Rifle', - ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', - ['weapon_carbinerifle'] = 'Carbine Rifle', - ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', - ['weapon_compactrifle'] = 'Compact Rifle', - ['weapon_militaryrifle'] = 'Militær riffel', - ['weapon_specialcarbine'] = 'Special Carbine', - ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', + -- Rifles + ['weapon_advancedrifle'] = 'Advanced Rifle', + ['weapon_assaultrifle'] = 'Assault Rifle', + ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', + ['weapon_bullpuprifle'] = 'Bullpup Rifle', + ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', + ['weapon_carbinerifle'] = 'Carbine Rifle', + ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', + ['weapon_compactrifle'] = 'Compact Rifle', + ['weapon_militaryrifle'] = 'Militær riffel', + ['weapon_specialcarbine'] = 'Special Carbine', + ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', - -- Sniper - ['weapon_heavysniper'] = 'Tung snigskytte', - ['weapon_heavysniper_mk2'] = 'Tung snigskytte MK2', - ['weapon_marksmanrifle'] = 'Skytterifle', - ['weapon_marksmanrifle_mk2'] = 'Skytterifle MK2', - ['weapon_sniperrifle'] = 'Snigskytteriffel', + -- Sniper + ['weapon_heavysniper'] = 'Tung snigskytte', + ['weapon_heavysniper_mk2'] = 'Tung snigskytte MK2', + ['weapon_marksmanrifle'] = 'Skytterifle', + ['weapon_marksmanrifle_mk2'] = 'Skytterifle MK2', + ['weapon_sniperrifle'] = 'Snigskytteriffel', - -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Compact Launcher', - ['weapon_firework'] = 'Firework Launcher', - ['weapon_grenadelauncher'] = 'Grenade Launcher', - ['weapon_hominglauncher'] = 'Homing Launcher', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Rocket Launcher', - ['weapon_rayminigun'] = 'Widowmaker', + -- Heavy / Launchers + ['weapon_compactlauncher'] = 'Compact Launcher', + ['weapon_firework'] = 'Firework Launcher', + ['weapon_grenadelauncher'] = 'Grenade Launcher', + ['weapon_hominglauncher'] = 'Homing Launcher', + ['weapon_minigun'] = 'Minigun', + ['weapon_railgun'] = 'Railgun', + ['weapon_rpg'] = 'Rocket Launcher', + ['weapon_rayminigun'] = 'Widowmaker', - -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Metal Detector', - ['weapon_precisionrifle'] = 'Precision Rifle', - ['weapon_tactilerifle'] = 'Service Carbine', + -- Criminal Enterprises DLC + ['weapon_metaldetector'] = 'Metal Detector', + ['weapon_precisionrifle'] = 'Precision Rifle', + ['weapon_tactilerifle'] = 'Service Carbine', - -- Thrown - ['weapon_ball'] = 'Baseball', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_flare'] = 'Flare', - ['weapon_grenade'] = 'Granat', - ['weapon_petrolcan'] = 'Benzindunk', - ['weapon_hazardcan'] = 'Farlig Benzindunk', - ['weapon_molotov'] = 'Molotov Cocktail', - ['weapon_proxmine'] = 'Proximity Mine', - ['weapon_pipebomb'] = 'Pipe Bomb', - ['weapon_snowball'] = 'Snebold', - ['weapon_stickybomb'] = 'Sticky Bomb', - ['weapon_smokegrenade'] = 'Tåregas', + -- Thrown + ['weapon_ball'] = 'Baseball', + ['weapon_bzgas'] = 'BZ Gas', + ['weapon_flare'] = 'Flare', + ['weapon_grenade'] = 'Granat', + ['weapon_petrolcan'] = 'Benzindunk', + ['weapon_hazardcan'] = 'Farlig Benzindunk', + ['weapon_molotov'] = 'Molotov Cocktail', + ['weapon_proxmine'] = 'Proximity Mine', + ['weapon_pipebomb'] = 'Pipe Bomb', + ['weapon_snowball'] = 'Snebold', + ['weapon_stickybomb'] = 'Sticky Bomb', + ['weapon_smokegrenade'] = 'Tåregas', - -- Special - ['weapon_fireextinguisher'] = 'Brandslukker', - ['weapon_digiscanner'] = 'Digital scanner', - ['weapon_garbagebag'] = 'Skraldepose', - ['weapon_handcuffs'] = 'Håndjern', - ['gadget_nightvision'] = 'Night Vision', - ['gadget_parachute'] = 'faldskærm', + -- Special + ['weapon_fireextinguisher'] = 'Brandslukker', + ['weapon_digiscanner'] = 'Digital scanner', + ['weapon_garbagebag'] = 'Skraldepose', + ['weapon_handcuffs'] = 'Håndjern', + ['gadget_nightvision'] = 'Night Vision', + ['gadget_parachute'] = 'faldskærm', - -- Weapon Components - ['component_knuckle_base'] = 'base Model', - ['component_knuckle_pimp'] = 'the Pimp', - ['component_knuckle_ballas'] = 'the Ballas', - ['component_knuckle_dollar'] = 'the Hustler', - ['component_knuckle_diamond'] = 'the Rock', - ['component_knuckle_hate'] = 'the Hater', - ['component_knuckle_love'] = 'the Lover', - ['component_knuckle_player'] = 'the Player', - ['component_knuckle_king'] = 'the King', - ['component_knuckle_vagos'] = 'the Vagos', + -- Weapon Components + ['component_knuckle_base'] = 'base Model', + ['component_knuckle_pimp'] = 'the Pimp', + ['component_knuckle_ballas'] = 'the Ballas', + ['component_knuckle_dollar'] = 'the Hustler', + ['component_knuckle_diamond'] = 'the Rock', + ['component_knuckle_hate'] = 'the Hater', + ['component_knuckle_love'] = 'the Lover', + ['component_knuckle_player'] = 'the Player', + ['component_knuckle_king'] = 'the King', + ['component_knuckle_vagos'] = 'the Vagos', - ['component_luxary_finish'] = 'luxary Weapon Finish', + ['component_luxary_finish'] = 'luxary Weapon Finish', - ['component_handle_default'] = 'standardhåndtag', - ['component_handle_vip'] = 'VIP håndtag', - ['component_handle_bodyguard'] = 'livvagt håndtag', + ['component_handle_default'] = 'standardhåndtag', + ['component_handle_vip'] = 'VIP håndtag', + ['component_handle_bodyguard'] = 'livvagt håndtag', - ['component_vip_finish'] = 'VIP Finish', - ['component_bodyguard_finish'] = 'bodyguard Finish', + ['component_vip_finish'] = 'VIP Finish', + ['component_bodyguard_finish'] = 'bodyguard Finish', - ['component_camo_finish'] = 'digital Camo', - ['component_camo_finish2'] = 'brushstroke Camo', - ['component_camo_finish3'] = 'woodland Camo', - ['component_camo_finish4'] = 'skull Camo', - ['component_camo_finish5'] = 'sessanta Nove Camo', - ['component_camo_finish6'] = 'perseus Camo', - ['component_camo_finish7'] = 'leopard Camo', - ['component_camo_finish8'] = 'zebra Camo', - ['component_camo_finish9'] = 'geometric Camo', - ['component_camo_finish10'] = 'boom Camo', - ['component_camo_finish11'] = 'patriotic Camo', + ['component_camo_finish'] = 'digital Camo', + ['component_camo_finish2'] = 'brushstroke Camo', + ['component_camo_finish3'] = 'woodland Camo', + ['component_camo_finish4'] = 'skull Camo', + ['component_camo_finish5'] = 'sessanta Nove Camo', + ['component_camo_finish6'] = 'perseus Camo', + ['component_camo_finish7'] = 'leopard Camo', + ['component_camo_finish8'] = 'zebra Camo', + ['component_camo_finish9'] = 'geometric Camo', + ['component_camo_finish10'] = 'boom Camo', + ['component_camo_finish11'] = 'patriotic Camo', - ['component_camo_slide_finish'] = 'digital Slide Camo', - ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', - ['component_camo_slide_finish3'] = 'woodland Slide Camo', - ['component_camo_slide_finish4'] = 'skull Slide Camo', - ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', - ['component_camo_slide_finish6'] = 'perseus Slide Camo', - ['component_camo_slide_finish7'] = 'leopard Slide Camo', - ['component_camo_slide_finish8'] = 'zebra Slide Camo', - ['component_camo_slide_finish9'] = 'geometric Slide Camo', - ['component_camo_slide_finish10'] = 'boom Slide Camo', - ['component_camo_slide_finish11'] = 'patriotic Slide Camo', + ['component_camo_slide_finish'] = 'digital Slide Camo', + ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', + ['component_camo_slide_finish3'] = 'woodland Slide Camo', + ['component_camo_slide_finish4'] = 'skull Slide Camo', + ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', + ['component_camo_slide_finish6'] = 'perseus Slide Camo', + ['component_camo_slide_finish7'] = 'leopard Slide Camo', + ['component_camo_slide_finish8'] = 'zebra Slide Camo', + ['component_camo_slide_finish9'] = 'geometric Slide Camo', + ['component_camo_slide_finish10'] = 'boom Slide Camo', + ['component_camo_slide_finish11'] = 'patriotic Slide Camo', - ['component_clip_default'] = 'standard magasin', - ['component_clip_extended'] = 'udvidet Magasin', - ['component_clip_drum'] = 'drum Magasin', - ['component_clip_box'] = 'box Magazine', + ['component_clip_default'] = 'standard magasin', + ['component_clip_extended'] = 'udvidet Magasin', + ['component_clip_drum'] = 'drum Magasin', + ['component_clip_box'] = 'box Magazine', - ['component_scope_holo'] = 'rødpunktsigte', - ['component_scope_small'] = 'lille sigte', - ['component_scope_medium'] = 'medium sigte', - ['component_scope_large'] = 'stort sigte', - ['component_scope'] = 'mounted Scope', - ['component_scope_advanced'] = 'avanceret sigte', - ['component_ironsights'] = 'jernsigte', + ['component_scope_holo'] = 'rødpunktsigte', + ['component_scope_small'] = 'lille sigte', + ['component_scope_medium'] = 'medium sigte', + ['component_scope_large'] = 'stort sigte', + ['component_scope'] = 'mounted Scope', + ['component_scope_advanced'] = 'avanceret sigte', + ['component_ironsights'] = 'jernsigte', - ['component_suppressor'] = 'suppressor', - ['component_compensator'] = 'compensator', + ['component_suppressor'] = 'suppressor', + ['component_compensator'] = 'compensator', - ['component_muzzle_flat'] = 'flat Muzzle Brake', - ['component_muzzle_tactical'] = 'tactical Muzzle Brake', - ['component_muzzle_fat'] = 'fat-End Muzzle Brake', - ['component_muzzle_precision'] = 'precision Muzzle Brake', - ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', - ['component_muzzle_slanted'] = 'slanted Muzzle Brake', - ['component_muzzle_split'] = 'split-End Muzzle Brake', - ['component_muzzle_squared'] = 'squared Muzzle Brake', + ['component_muzzle_flat'] = 'flat Muzzle Brake', + ['component_muzzle_tactical'] = 'tactical Muzzle Brake', + ['component_muzzle_fat'] = 'fat-End Muzzle Brake', + ['component_muzzle_precision'] = 'precision Muzzle Brake', + ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', + ['component_muzzle_slanted'] = 'slanted Muzzle Brake', + ['component_muzzle_split'] = 'split-End Muzzle Brake', + ['component_muzzle_squared'] = 'squared Muzzle Brake', - ['component_flashlight'] = 'våbenlygte', - ['component_grip'] = 'greb', + ['component_flashlight'] = 'våbenlygte', + ['component_grip'] = 'greb', - ['component_barrel_default'] = 'default Barrel', - ['component_barrel_heavy'] = 'heavy Barrel', + ['component_barrel_default'] = 'default Barrel', + ['component_barrel_heavy'] = 'heavy Barrel', - ['component_ammo_tracer'] = 'tracer Ammo', - ['component_ammo_incendiary'] = 'incendiary Ammo', - ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', - ['component_ammo_fmj'] = 'fMJ Ammo', - ['component_ammo_armor'] = 'armor Piercing Ammo', - ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', + ['component_ammo_tracer'] = 'tracer Ammo', + ['component_ammo_incendiary'] = 'incendiary Ammo', + ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', + ['component_ammo_fmj'] = 'fMJ Ammo', + ['component_ammo_armor'] = 'armor Piercing Ammo', + ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', - ['component_shells_default'] = 'default Shells', - ['component_shells_incendiary'] = 'dragons Breath Shells', - ['component_shells_armor'] = 'steel Buckshot Shells', - ['component_shells_hollowpoint'] = 'flechette Shells', - ['component_shells_explosive'] = 'explosive Slug Shells', + ['component_shells_default'] = 'default Shells', + ['component_shells_incendiary'] = 'dragons Breath Shells', + ['component_shells_armor'] = 'steel Buckshot Shells', + ['component_shells_hollowpoint'] = 'flechette Shells', + ['component_shells_explosive'] = 'explosive Slug Shells', - -- Weapon Ammo - ['ammo_rounds'] = 'round(s)', - ['ammo_shells'] = 'shell(s)', - ['ammo_charge'] = 'charge', - ['ammo_petrol'] = 'gallons of fuel', - ['ammo_firework'] = 'firework(s)', - ['ammo_rockets'] = 'rocket(s)', - ['ammo_grenadelauncher'] = 'grenade(s)', - ['ammo_grenade'] = 'grenade(s)', - ['ammo_stickybomb'] = 'bomb(s)', - ['ammo_pipebomb'] = 'bomb(s)', - ['ammo_smokebomb'] = 'bomb(s)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mine(s)', - ['ammo_bzgas'] = 'can(s)', - ['ammo_ball'] = 'ball(s)', - ['ammo_snowball'] = 'snowball(s)', - ['ammo_flare'] = 'flare(s)', - ['ammo_flaregun'] = 'flare(s)', + -- Weapon Ammo + ['ammo_rounds'] = 'round(s)', + ['ammo_shells'] = 'shell(s)', + ['ammo_charge'] = 'charge', + ['ammo_petrol'] = 'gallons of fuel', + ['ammo_firework'] = 'firework(s)', + ['ammo_rockets'] = 'rocket(s)', + ['ammo_grenadelauncher'] = 'grenade(s)', + ['ammo_grenade'] = 'grenade(s)', + ['ammo_stickybomb'] = 'bomb(s)', + ['ammo_pipebomb'] = 'bomb(s)', + ['ammo_smokebomb'] = 'bomb(s)', + ['ammo_molotov'] = 'cocktail(s)', + ['ammo_proxmine'] = 'mine(s)', + ['ammo_bzgas'] = 'can(s)', + ['ammo_ball'] = 'ball(s)', + ['ammo_snowball'] = 'snowball(s)', + ['ammo_flare'] = 'flare(s)', + ['ammo_flaregun'] = 'flare(s)', - -- Weapon Tints - ['tint_default'] = 'default skin', - ['tint_green'] = 'green skin', - ['tint_gold'] = 'gold skin', - ['tint_pink'] = 'pink skin', - ['tint_army'] = 'army skin', - ['tint_lspd'] = 'blue skin', - ['tint_orange'] = 'orange skin', - ['tint_platinum'] = 'platinum skin', + -- Weapon Tints + ['tint_default'] = 'default skin', + ['tint_green'] = 'green skin', + ['tint_gold'] = 'gold skin', + ['tint_pink'] = 'pink skin', + ['tint_army'] = 'army skin', + ['tint_lspd'] = 'blue skin', + ['tint_orange'] = 'orange skin', + ['tint_platinum'] = 'platinum skin', } From 2e46c21a088521bed52d57d0e0ad1ee9ba54ae71 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:34:56 +0200 Subject: [PATCH 099/236] refactor(locales/de): format code --- [core]/es_extended/locales/de.lua | 660 +++++++++++++++--------------- 1 file changed, 330 insertions(+), 330 deletions(-) diff --git a/[core]/es_extended/locales/de.lua b/[core]/es_extended/locales/de.lua index 1af5cbfe..6ea003dd 100644 --- a/[core]/es_extended/locales/de.lua +++ b/[core]/es_extended/locales/de.lua @@ -1,365 +1,365 @@ Locales['de'] = { - -- Inventory - ['inventory'] = 'Inventar ( Gewicht %s / %s )', - ['use'] = 'Benutzen', - ['give'] = 'Geben', - ['remove'] = 'Entsorgen', - ['return'] = 'Zurück', - ['give_to'] = 'Geben an', - ['amount'] = 'Anzahl', - ['giveammo'] = 'Munition geben', - ['amountammo'] = 'Munitions Anzahl', - ['noammo'] = 'Nicht Genug!', - ['gave_item'] = 'Du gibst %sx %s an %s', - ['received_item'] = 'Du bekommst %sx %s von %s', - ['gave_weapon'] = 'Du gibst %s an %s', - ['gave_weapon_ammo'] = 'Du gibst ~o~%sx %s für %s an %s', - ['gave_weapon_withammo'] = 'Du gibst %s mit ~o~%sx %s an %s', - ['gave_weapon_hasalready'] = '%s hat bereits %s', - ['gave_weapon_noweapon'] = '%s hat diese Waffe nicht', - ['received_weapon'] = 'Du bekommst %s von %s', - ['received_weapon_ammo'] = 'Du bekommst ~o~%sx %s für deine %s von %s', - ['received_weapon_withammo'] = 'Du bekommst %s mit ~o~%sx %s von %s', - ['received_weapon_hasalready'] = '%s hat versucht dir eine %s zu geben, jedoch hast du diese Waffe bereits!', - ['received_weapon_noweapon'] = '%s hat versucht dir Munition für eine %s zu geben, jedoch hast du diese Waffe bereits!', - ['gave_account_money'] = 'Du gibst %s€ (%s) an %s', - ['received_account_money'] = 'Du bekommst %s€ (%s) von %s', - ['amount_invalid'] = 'Ungültige Anzahl', - ['players_nearby'] = 'Keine Personen in der Nähe!', - ['ex_inv_lim'] = 'Du kannst diese Aktion nicht ausführen!, Inventarlimit für %s überschritten.', - ['imp_invalid_quantity'] = 'Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl!', - ['imp_invalid_amount'] = 'Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl', - ['threw_standard'] = 'Du entsorgst %sx %s', - ['threw_account'] = 'Du Entsorgst %s€ %s', - ['threw_weapon'] = 'Du entsorgst %s', - ['threw_weapon_ammo'] = 'Du entsorgst %s mit ~o~%sx %s', - ['threw_weapon_already'] = 'Du hast diese Waffe bereits!', - ['threw_cannot_pickup'] = 'Inventar ist voll! Du kannst dies nicht aufheben', - ['threw_pickup_prompt'] = 'Drücke [E] zum aufheben', + -- Inventory + ['inventory'] = 'Inventar ( Gewicht %s / %s )', + ['use'] = 'Benutzen', + ['give'] = 'Geben', + ['remove'] = 'Entsorgen', + ['return'] = 'Zurück', + ['give_to'] = 'Geben an', + ['amount'] = 'Anzahl', + ['giveammo'] = 'Munition geben', + ['amountammo'] = 'Munitions Anzahl', + ['noammo'] = 'Nicht Genug!', + ['gave_item'] = 'Du gibst %sx %s an %s', + ['received_item'] = 'Du bekommst %sx %s von %s', + ['gave_weapon'] = 'Du gibst %s an %s', + ['gave_weapon_ammo'] = 'Du gibst ~o~%sx %s für %s an %s', + ['gave_weapon_withammo'] = 'Du gibst %s mit ~o~%sx %s an %s', + ['gave_weapon_hasalready'] = '%s hat bereits %s', + ['gave_weapon_noweapon'] = '%s hat diese Waffe nicht', + ['received_weapon'] = 'Du bekommst %s von %s', + ['received_weapon_ammo'] = 'Du bekommst ~o~%sx %s für deine %s von %s', + ['received_weapon_withammo'] = 'Du bekommst %s mit ~o~%sx %s von %s', + ['received_weapon_hasalready'] = '%s hat versucht dir eine %s zu geben, jedoch hast du diese Waffe bereits!', + ['received_weapon_noweapon'] = '%s hat versucht dir Munition für eine %s zu geben, jedoch hast du diese Waffe bereits!', + ['gave_account_money'] = 'Du gibst %s€ (%s) an %s', + ['received_account_money'] = 'Du bekommst %s€ (%s) von %s', + ['amount_invalid'] = 'Ungültige Anzahl', + ['players_nearby'] = 'Keine Personen in der Nähe!', + ['ex_inv_lim'] = 'Du kannst diese Aktion nicht ausführen!, Inventarlimit für %s überschritten.', + ['imp_invalid_quantity'] = 'Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl!', + ['imp_invalid_amount'] = 'Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl', + ['threw_standard'] = 'Du entsorgst %sx %s', + ['threw_account'] = 'Du Entsorgst %s€ %s', + ['threw_weapon'] = 'Du entsorgst %s', + ['threw_weapon_ammo'] = 'Du entsorgst %s mit ~o~%sx %s', + ['threw_weapon_already'] = 'Du hast diese Waffe bereits!', + ['threw_cannot_pickup'] = 'Inventar ist voll! Du kannst dies nicht aufheben', + ['threw_pickup_prompt'] = 'Drücke [E] zum aufheben', - -- Key mapping - ['keymap_showinventory'] = 'Inventar Anzeigen', + -- Key mapping + ['keymap_showinventory'] = 'Inventar Anzeigen', - -- Salary related - ['received_salary'] = 'Dein Gehaltscheck ist angekommen!: %s€', - ['received_help'] = 'Deine Sozialhilfe ist angekommen: %s€', - ['company_nomoney'] = 'Die Firma an der du Angestellt bist, ist leider Arm und kann dich nicht bezahlen :(', - ['received_paycheck'] = 'Gehaltscheck erhalten', - ['bank'] = 'Maze Bank', - ['account_bank'] = 'Bank', - ['account_black_money'] = 'Schwarzgeld', - ['account_money'] = 'Bargeld', + -- Salary related + ['received_salary'] = 'Dein Gehaltscheck ist angekommen!: %s€', + ['received_help'] = 'Deine Sozialhilfe ist angekommen: %s€', + ['company_nomoney'] = 'Die Firma an der du Angestellt bist, ist leider Arm und kann dich nicht bezahlen :(', + ['received_paycheck'] = 'Gehaltscheck erhalten', + ['bank'] = 'Maze Bank', + ['account_bank'] = 'Bank', + ['account_black_money'] = 'Schwarzgeld', + ['account_money'] = 'Bargeld', - ['act_imp'] = 'Du kannst diese Aktion nicht ausführen!', - ['in_vehicle'] = 'Du kannst diese Aktion nicht ausführen! Person ist in einem Fahrzeug', + ['act_imp'] = 'Du kannst diese Aktion nicht ausführen!', + ['in_vehicle'] = 'Du kannst diese Aktion nicht ausführen! Person ist in einem Fahrzeug', - -- Commands - ['command_bring'] = 'Person zu dir bringen', - ['command_car'] = 'Fahrzeug Spawnen', - ['command_car_car'] = 'Fahrzeug Model oder Hash', - ['command_cardel'] = 'Fahrzeuge entfernen', - ['command_cardel_radius'] = 'Entfernt alle Fahrzeuge in einem bestimmten Radius', - ['command_clear'] = 'Textchat leeren', - ['command_clearall'] = 'Textchat leeren für alle Spieler leeren', - ['command_clearinventory'] = 'Alle Items von dem Inventar eines Spielers entfernen', - ['command_clearloadout'] = 'Alle waffen von dem Spieler Loadout entfernen', - ['command_freeze'] = 'Spieler Freezen', - ['command_unfreeze'] = 'Spieler Entfreezen', - ['command_giveaccountmoney'] = 'Geld an einen bestimmten Account geben', - ['command_giveaccountmoney_account'] = 'Account wohin das Geld hinzugefügt werden soll', - ['command_giveaccountmoney_amount'] = 'Anzahl zum hinzufügen', - ['command_giveaccountmoney_invalid'] = 'Accountname Ungültig', - ['command_giveitem'] = 'Spieler ein item geben', - ['command_giveitem_item'] = 'Item Name', - ['command_giveitem_count'] = 'Anzahl', - ['command_giveweapon'] = 'Spieler eine Waffe geben', - ['command_giveweapon_weapon'] = 'Waffenname', - ['command_giveweapon_ammo'] = 'Munitionsanzahl', - ['command_giveweapon_hasalready'] = 'Spieler hat bereits diese Waffe', - ['command_giveweaponcomponent'] = 'Waffenkomponent an einen Spieler geben', - ['command_giveweaponcomponent_component'] = 'Komponent Name', - ['command_giveweaponcomponent_invalid'] = 'Ungültiger Komponent Name', - ['command_giveweaponcomponent_hasalready'] = 'Spieler hat bereits diesen Komponent', - ['command_giveweaponcomponent_missingweapon'] = 'Spieler hat diese Waffe nicht', - ['command_goto'] = 'Teleportiere dich zu einem Spieler', - ['command_kill'] = 'Spieler Töten', - ['command_save'] = 'Von einem bestimmten Spieler die Spielerdaten Speichern', - ['command_saveall'] = 'Von allen Spielern die Spielerdaten Speichern', - ['command_setaccountmoney'] = 'Geld auf einem bestimmten Account setzen', - ['command_setaccountmoney_amount'] = 'Anzahl', - ['command_setcoords'] = 'Zu den bestimmten Koordinaten teleportieren', - ['command_setcoords_x'] = 'X Koordinate', - ['command_setcoords_y'] = 'Y Koordinate', - ['command_setcoords_z'] = 'Z Koordinate', - ['command_setjob'] = 'Job eines Spielers setzen', - ['command_setjob_job'] = 'Name', - ['command_setjob_grade'] = 'Job Grad', - ['command_setjob_invalid'] = 'Der Job Grad oder beides sind ungültig', - ['command_setgroup'] = 'Setzt eine Berechtigungs Gruppe für einen User', - ['command_setgroup_group'] = 'Name der Gruppe', - ['commanderror_argumentmismatch'] = 'Ungültiger Argument (gegeben %s, gewollt %s)', - ['commanderror_argumentmismatch_number'] = 'Ungültiges Argument #%s daten typ (string gegeben, gewollte nummer)', - ['commanderror_invaliditem'] = 'Ungültiges Item', - ['commanderror_invalidweapon'] = 'Ungültige Waffe', - ['commanderror_console'] = 'Befehl kann nicht von der Konsole aus ausgeführt werden', - ['commanderror_invalidcommand'] = 'Ungültiger Befehl - /%s', - ['commanderror_invalidplayerid'] = 'Angegebener Spieler ist nicht online!', - ['commandgeneric_playerid'] = 'Spieler`s ID', - ['command_giveammo_noweapon_found'] = '%s besitzt diese Waffe nicht', - ['command_giveammo_weapon'] = 'Waffenname', - ['command_giveammo_ammo'] = 'Munitionsanzahl', - ['tpm_nowaypoint'] = 'Kein Wegpunkt gesetzt.', - ['tpm_success'] = 'Erfolgreich teleportiert', + -- Commands + ['command_bring'] = 'Person zu dir bringen', + ['command_car'] = 'Fahrzeug Spawnen', + ['command_car_car'] = 'Fahrzeug Model oder Hash', + ['command_cardel'] = 'Fahrzeuge entfernen', + ['command_cardel_radius'] = 'Entfernt alle Fahrzeuge in einem bestimmten Radius', + ['command_clear'] = 'Textchat leeren', + ['command_clearall'] = 'Textchat leeren für alle Spieler leeren', + ['command_clearinventory'] = 'Alle Items von dem Inventar eines Spielers entfernen', + ['command_clearloadout'] = 'Alle waffen von dem Spieler Loadout entfernen', + ['command_freeze'] = 'Spieler Freezen', + ['command_unfreeze'] = 'Spieler Entfreezen', + ['command_giveaccountmoney'] = 'Geld an einen bestimmten Account geben', + ['command_giveaccountmoney_account'] = 'Account wohin das Geld hinzugefügt werden soll', + ['command_giveaccountmoney_amount'] = 'Anzahl zum hinzufügen', + ['command_giveaccountmoney_invalid'] = 'Accountname Ungültig', + ['command_giveitem'] = 'Spieler ein item geben', + ['command_giveitem_item'] = 'Item Name', + ['command_giveitem_count'] = 'Anzahl', + ['command_giveweapon'] = 'Spieler eine Waffe geben', + ['command_giveweapon_weapon'] = 'Waffenname', + ['command_giveweapon_ammo'] = 'Munitionsanzahl', + ['command_giveweapon_hasalready'] = 'Spieler hat bereits diese Waffe', + ['command_giveweaponcomponent'] = 'Waffenkomponent an einen Spieler geben', + ['command_giveweaponcomponent_component'] = 'Komponent Name', + ['command_giveweaponcomponent_invalid'] = 'Ungültiger Komponent Name', + ['command_giveweaponcomponent_hasalready'] = 'Spieler hat bereits diesen Komponent', + ['command_giveweaponcomponent_missingweapon'] = 'Spieler hat diese Waffe nicht', + ['command_goto'] = 'Teleportiere dich zu einem Spieler', + ['command_kill'] = 'Spieler Töten', + ['command_save'] = 'Von einem bestimmten Spieler die Spielerdaten Speichern', + ['command_saveall'] = 'Von allen Spielern die Spielerdaten Speichern', + ['command_setaccountmoney'] = 'Geld auf einem bestimmten Account setzen', + ['command_setaccountmoney_amount'] = 'Anzahl', + ['command_setcoords'] = 'Zu den bestimmten Koordinaten teleportieren', + ['command_setcoords_x'] = 'X Koordinate', + ['command_setcoords_y'] = 'Y Koordinate', + ['command_setcoords_z'] = 'Z Koordinate', + ['command_setjob'] = 'Job eines Spielers setzen', + ['command_setjob_job'] = 'Name', + ['command_setjob_grade'] = 'Job Grad', + ['command_setjob_invalid'] = 'Der Job Grad oder beides sind ungültig', + ['command_setgroup'] = 'Setzt eine Berechtigungs Gruppe für einen User', + ['command_setgroup_group'] = 'Name der Gruppe', + ['commanderror_argumentmismatch'] = 'Ungültiger Argument (gegeben %s, gewollt %s)', + ['commanderror_argumentmismatch_number'] = 'Ungültiges Argument #%s daten typ (string gegeben, gewollte nummer)', + ['commanderror_invaliditem'] = 'Ungültiges Item', + ['commanderror_invalidweapon'] = 'Ungültige Waffe', + ['commanderror_console'] = 'Befehl kann nicht von der Konsole aus ausgeführt werden', + ['commanderror_invalidcommand'] = 'Ungültiger Befehl - /%s', + ['commanderror_invalidplayerid'] = 'Angegebener Spieler ist nicht online!', + ['commandgeneric_playerid'] = 'Spieler`s ID', + ['command_giveammo_noweapon_found'] = '%s besitzt diese Waffe nicht', + ['command_giveammo_weapon'] = 'Waffenname', + ['command_giveammo_ammo'] = 'Munitionsanzahl', + ['tpm_nowaypoint'] = 'Kein Wegpunkt gesetzt.', + ['tpm_success'] = 'Erfolgreich teleportiert', - ['noclip_message'] = 'Noclip wurde %s', - ['enabled'] = '~g~Aktiviert~s~', - ['disabled'] = '~r~Deaktiviert~s~', + ['noclip_message'] = 'Noclip wurde %s', + ['enabled'] = '~g~Aktiviert~s~', + ['disabled'] = '~r~Deaktiviert~s~', - -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '%s€', + -- Locale settings + ['locale_digit_grouping_symbol'] = ',', + ['locale_currency'] = '%s€', - -- Weapons + -- Weapons - -- Melee - ['weapon_dagger'] = 'Dolch', - ['weapon_bat'] = 'Baseballschläger', - ['weapon_battleaxe'] = 'Kampfaxt', - ['weapon_bottle'] = 'Flasche', - ['weapon_crowbar'] = 'Brechstange', - ['weapon_flashlight'] = 'Taschenlampe', - ['weapon_golfclub'] = 'Golfschläger', - ['weapon_hammer'] = 'Hammer', - ['weapon_hatchet'] = 'Beil', - ['weapon_knife'] = 'Messer', - ['weapon_knuckle'] = 'Schlagring', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Schlagstock', - ['weapon_wrench'] = 'Rohrzange', - ['weapon_poolcue'] = 'Billiardstange', - ['weapon_stone_hatchet'] = 'Steinbeil', - ['weapon_switchblade'] = 'Springmesser', + -- Melee + ['weapon_dagger'] = 'Dolch', + ['weapon_bat'] = 'Baseballschläger', + ['weapon_battleaxe'] = 'Kampfaxt', + ['weapon_bottle'] = 'Flasche', + ['weapon_crowbar'] = 'Brechstange', + ['weapon_flashlight'] = 'Taschenlampe', + ['weapon_golfclub'] = 'Golfschläger', + ['weapon_hammer'] = 'Hammer', + ['weapon_hatchet'] = 'Beil', + ['weapon_knife'] = 'Messer', + ['weapon_knuckle'] = 'Schlagring', + ['weapon_machete'] = 'Machete', + ['weapon_nightstick'] = 'Schlagstock', + ['weapon_wrench'] = 'Rohrzange', + ['weapon_poolcue'] = 'Billiardstange', + ['weapon_stone_hatchet'] = 'Steinbeil', + ['weapon_switchblade'] = 'Springmesser', - -- Handguns - ['weapon_appistol'] = 'AP Pistole', - ['weapon_ceramicpistol'] = 'Keramikpistole', - ['weapon_combatpistol'] = 'Kampfpistole', - ['weapon_doubleaction'] = 'Double-Action Revolver', - ['weapon_navyrevolver'] = 'Navy Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadgetpistole', - ['weapon_heavypistol'] = 'Schwere Pistole', - ['weapon_revolver'] = 'Schwerer Revolver', - ['weapon_revolver_mk2'] = 'Schwerer Revolver MK2', - ['weapon_marksmanpistol'] = 'Scharfschützen Pistole', - ['weapon_pistol'] = 'Pistole', - ['weapon_pistol_mk2'] = 'Pistole MK2', - ['weapon_pistol50'] = 'Pistole 50 Kaliber', - ['weapon_snspistol'] = 'SNS Pistol', - ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintagepistole', + -- Handguns + ['weapon_appistol'] = 'AP Pistole', + ['weapon_ceramicpistol'] = 'Keramikpistole', + ['weapon_combatpistol'] = 'Kampfpistole', + ['weapon_doubleaction'] = 'Double-Action Revolver', + ['weapon_navyrevolver'] = 'Navy Revolver', + ['weapon_flaregun'] = 'Flaregun', + ['weapon_gadgetpistol'] = 'Gadgetpistole', + ['weapon_heavypistol'] = 'Schwere Pistole', + ['weapon_revolver'] = 'Schwerer Revolver', + ['weapon_revolver_mk2'] = 'Schwerer Revolver MK2', + ['weapon_marksmanpistol'] = 'Scharfschützen Pistole', + ['weapon_pistol'] = 'Pistole', + ['weapon_pistol_mk2'] = 'Pistole MK2', + ['weapon_pistol50'] = 'Pistole 50 Kaliber', + ['weapon_snspistol'] = 'SNS Pistol', + ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', + ['weapon_stungun'] = 'Taser', + ['weapon_raypistol'] = 'Up-N-Atomizer', + ['weapon_vintagepistol'] = 'Vintagepistole', - -- Shotguns - ['weapon_assaultshotgun'] = 'Sturmschrotflinte', - ['weapon_autoshotgun'] = 'Automatische Schrotflinte', - ['weapon_bullpupshotgun'] = 'Bullpup-Schrotflinte', - ['weapon_combatshotgun'] = 'Kampfschrotfline', - ['weapon_dbshotgun'] = 'Doppelbarrel Schrotflinte', - ['weapon_heavyshotgun'] = 'Schwere Schrotflinte', - ['weapon_musket'] = 'Muskete', - ['weapon_pumpshotgun'] = 'Pump Schrotflinte', - ['weapon_pumpshotgun_mk2'] = 'Pump Schrotflinte MK2', - ['weapon_sawnoffshotgun'] = 'Abgesägte Schrotflinte', + -- Shotguns + ['weapon_assaultshotgun'] = 'Sturmschrotflinte', + ['weapon_autoshotgun'] = 'Automatische Schrotflinte', + ['weapon_bullpupshotgun'] = 'Bullpup-Schrotflinte', + ['weapon_combatshotgun'] = 'Kampfschrotfline', + ['weapon_dbshotgun'] = 'Doppelbarrel Schrotflinte', + ['weapon_heavyshotgun'] = 'Schwere Schrotflinte', + ['weapon_musket'] = 'Muskete', + ['weapon_pumpshotgun'] = 'Pump Schrotflinte', + ['weapon_pumpshotgun_mk2'] = 'Pump Schrotflinte MK2', + ['weapon_sawnoffshotgun'] = 'Abgesägte Schrotflinte', - -- SMG & LMG - ['weapon_assaultsmg'] = 'Sturm SMG', - ['weapon_combatmg'] = 'Kampf MG', - ['weapon_combatmg_mk2'] = 'Kampf MG MK2', - ['weapon_combatpdw'] = 'Kampf PDW', - ['weapon_gusenberg'] = 'Gusenberg Sweeper', - ['weapon_machinepistol'] = 'Maschinenpistole', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Mikro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Unheiliger Höllenbringer', + -- SMG & LMG + ['weapon_assaultsmg'] = 'Sturm SMG', + ['weapon_combatmg'] = 'Kampf MG', + ['weapon_combatmg_mk2'] = 'Kampf MG MK2', + ['weapon_combatpdw'] = 'Kampf PDW', + ['weapon_gusenberg'] = 'Gusenberg Sweeper', + ['weapon_machinepistol'] = 'Maschinenpistole', + ['weapon_mg'] = 'MG', + ['weapon_microsmg'] = 'Mikro SMG', + ['weapon_minismg'] = 'Mini SMG', + ['weapon_smg'] = 'SMG', + ['weapon_smg_mk2'] = 'SMG MK2', + ['weapon_raycarbine'] = 'Unheiliger Höllenbringer', - -- Rifles - ['weapon_advancedrifle'] = 'Fortgeschrittenes Gewehr', - ['weapon_assaultrifle'] = 'Sturmgewehr', - ['weapon_assaultrifle_mk2'] = 'Sturmgewehr MK2', - ['weapon_bullpuprifle'] = 'Bullpup Gewehr', - ['weapon_bullpuprifle_mk2'] = 'Bullpup Gewehr MK2', - ['weapon_carbinerifle'] = 'Karabinergewehr', - ['weapon_carbinerifle_mk2'] = 'Karabinergewehr MK2', - ['weapon_compactrifle'] = 'Kompaktesgewehr', - ['weapon_militaryrifle'] = 'Militärgewehr', - ['weapon_specialcarbine'] = 'Spezialkarabiner', - ['weapon_specialcarbine_mk2'] = 'Spezialkarabiner MK2', + -- Rifles + ['weapon_advancedrifle'] = 'Fortgeschrittenes Gewehr', + ['weapon_assaultrifle'] = 'Sturmgewehr', + ['weapon_assaultrifle_mk2'] = 'Sturmgewehr MK2', + ['weapon_bullpuprifle'] = 'Bullpup Gewehr', + ['weapon_bullpuprifle_mk2'] = 'Bullpup Gewehr MK2', + ['weapon_carbinerifle'] = 'Karabinergewehr', + ['weapon_carbinerifle_mk2'] = 'Karabinergewehr MK2', + ['weapon_compactrifle'] = 'Kompaktesgewehr', + ['weapon_militaryrifle'] = 'Militärgewehr', + ['weapon_specialcarbine'] = 'Spezialkarabiner', + ['weapon_specialcarbine_mk2'] = 'Spezialkarabiner MK2', - -- Sniper - ['weapon_heavysniper'] = 'Schwere Sniper', - ['weapon_heavysniper_mk2'] = 'Schwere Sniper MK2', - ['weapon_marksmanrifle'] = 'Scharfschützengewehr', - ['weapon_marksmanrifle_mk2'] = 'Scharfschützengewehr MK2', - ['weapon_sniperrifle'] = 'Sniper', + -- Sniper + ['weapon_heavysniper'] = 'Schwere Sniper', + ['weapon_heavysniper_mk2'] = 'Schwere Sniper MK2', + ['weapon_marksmanrifle'] = 'Scharfschützengewehr', + ['weapon_marksmanrifle_mk2'] = 'Scharfschützengewehr MK2', + ['weapon_sniperrifle'] = 'Sniper', - -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Kompaktlauncher', - ['weapon_firework'] = 'Feuerwerklauncher', - ['weapon_grenadelauncher'] = 'Granatwerfer', - ['weapon_hominglauncher'] = 'Lenkraketenwerfer', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Raketenwerfer', - ['weapon_rayminigun'] = 'Witwenmacher', + -- Heavy / Launchers + ['weapon_compactlauncher'] = 'Kompaktlauncher', + ['weapon_firework'] = 'Feuerwerklauncher', + ['weapon_grenadelauncher'] = 'Granatwerfer', + ['weapon_hominglauncher'] = 'Lenkraketenwerfer', + ['weapon_minigun'] = 'Minigun', + ['weapon_railgun'] = 'Railgun', + ['weapon_rpg'] = 'Raketenwerfer', + ['weapon_rayminigun'] = 'Witwenmacher', - -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Metalldetektor', - ['weapon_precisionrifle'] = 'Präzisionsgewehr', - ['weapon_tactilerifle'] = 'Service Karabiner', + -- Criminal Enterprises DLC + ['weapon_metaldetector'] = 'Metalldetektor', + ['weapon_precisionrifle'] = 'Präzisionsgewehr', + ['weapon_tactilerifle'] = 'Service Karabiner', - -- Thrown - ['weapon_ball'] = 'Baseball', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_flare'] = 'Leuchtfackel', - ['weapon_grenade'] = 'Granate', - ['weapon_petrolcan'] = 'Benzinkanister', - ['weapon_hazardcan'] = 'Gefährliche Kanister', - ['weapon_molotov'] = 'Molotov Cocktail', - ['weapon_proxmine'] = 'Annährungsmine', - ['weapon_pipebomb'] = 'Rohrbombe', - ['weapon_snowball'] = 'Schneeball', - ['weapon_stickybomb'] = 'Haftbombe', - ['weapon_smokegrenade'] = 'Tränengas', + -- Thrown + ['weapon_ball'] = 'Baseball', + ['weapon_bzgas'] = 'BZ Gas', + ['weapon_flare'] = 'Leuchtfackel', + ['weapon_grenade'] = 'Granate', + ['weapon_petrolcan'] = 'Benzinkanister', + ['weapon_hazardcan'] = 'Gefährliche Kanister', + ['weapon_molotov'] = 'Molotov Cocktail', + ['weapon_proxmine'] = 'Annährungsmine', + ['weapon_pipebomb'] = 'Rohrbombe', + ['weapon_snowball'] = 'Schneeball', + ['weapon_stickybomb'] = 'Haftbombe', + ['weapon_smokegrenade'] = 'Tränengas', - -- Special - ['weapon_fireextinguisher'] = 'Feuerlöscher', - ['weapon_digiscanner'] = 'Digitalscanner', - ['weapon_garbagebag'] = 'Müllsack', - ['weapon_handcuffs'] = 'Handschelle', - ['gadget_nightvision'] = 'Nachtsicht', - ['gadget_parachute'] = 'Fallschirm', + -- Special + ['weapon_fireextinguisher'] = 'Feuerlöscher', + ['weapon_digiscanner'] = 'Digitalscanner', + ['weapon_garbagebag'] = 'Müllsack', + ['weapon_handcuffs'] = 'Handschelle', + ['gadget_nightvision'] = 'Nachtsicht', + ['gadget_parachute'] = 'Fallschirm', - -- Weapon Components - ['component_knuckle_base'] = 'Basismodell', - ['component_knuckle_pimp'] = 'Der Pimp', - ['component_knuckle_ballas'] = 'Die Ballas', - ['component_knuckle_dollar'] = 'Der Hustler', - ['component_knuckle_diamond'] = 'Der Stein', - ['component_knuckle_hate'] = 'Der Hater', - ['component_knuckle_love'] = 'Der Lover', - ['component_knuckle_player'] = 'Der Player', - ['component_knuckle_king'] = 'Der King', - ['component_knuckle_vagos'] = 'Die Vagos', + -- Weapon Components + ['component_knuckle_base'] = 'Basismodell', + ['component_knuckle_pimp'] = 'Der Pimp', + ['component_knuckle_ballas'] = 'Die Ballas', + ['component_knuckle_dollar'] = 'Der Hustler', + ['component_knuckle_diamond'] = 'Der Stein', + ['component_knuckle_hate'] = 'Der Hater', + ['component_knuckle_love'] = 'Der Lover', + ['component_knuckle_player'] = 'Der Player', + ['component_knuckle_king'] = 'Der King', + ['component_knuckle_vagos'] = 'Die Vagos', - ['component_luxary_finish'] = 'Luxuswaffenlackierung', + ['component_luxary_finish'] = 'Luxuswaffenlackierung', - ['component_handle_default'] = 'Normaler Handgriff', - ['component_handle_vip'] = 'VIP Handgriff', - ['component_handle_bodyguard'] = 'Bodyguard Handgriff', + ['component_handle_default'] = 'Normaler Handgriff', + ['component_handle_vip'] = 'VIP Handgriff', + ['component_handle_bodyguard'] = 'Bodyguard Handgriff', - ['component_vip_finish'] = 'VIP Lackierung', - ['component_bodyguard_finish'] = 'Bodyguard Lackierung', + ['component_vip_finish'] = 'VIP Lackierung', + ['component_bodyguard_finish'] = 'Bodyguard Lackierung', - ['component_camo_finish'] = 'Digitales Camouflage', - ['component_camo_finish2'] = 'Pinselstrich Camouflage', - ['component_camo_finish3'] = 'Holzland Camouflage', - ['component_camo_finish4'] = 'Kopf Camouflage', - ['component_camo_finish5'] = 'Sessebta-Nove Camouflage', - ['component_camo_finish6'] = 'Perseus Camouflage', - ['component_camo_finish7'] = 'Leopard Camouflage', - ['component_camo_finish8'] = 'Zebra Camouflage', - ['component_camo_finish9'] = 'Geometrisch Camouflage', - ['component_camo_finish10'] = 'BOOM Camouflage', - ['component_camo_finish11'] = 'Patriotisch Camouflage', + ['component_camo_finish'] = 'Digitales Camouflage', + ['component_camo_finish2'] = 'Pinselstrich Camouflage', + ['component_camo_finish3'] = 'Holzland Camouflage', + ['component_camo_finish4'] = 'Kopf Camouflage', + ['component_camo_finish5'] = 'Sessebta-Nove Camouflage', + ['component_camo_finish6'] = 'Perseus Camouflage', + ['component_camo_finish7'] = 'Leopard Camouflage', + ['component_camo_finish8'] = 'Zebra Camouflage', + ['component_camo_finish9'] = 'Geometrisch Camouflage', + ['component_camo_finish10'] = 'BOOM Camouflage', + ['component_camo_finish11'] = 'Patriotisch Camouflage', - ['component_camo_slide_finish'] = 'Digital Rutschen Camouflage', - ['component_camo_slide_finish2'] = 'Pinselstrich Rutschen Camouflage', - ['component_camo_slide_finish3'] = 'Holzland Rutschen Camouflage', - ['component_camo_slide_finish4'] = 'Kopf Rutschen Camouflage', - ['component_camo_slide_finish5'] = 'Sessebta-Nove Nove Rutschen Camouflage', - ['component_camo_slide_finish6'] = 'Perseus Rutschen Camouflage', - ['component_camo_slide_finish7'] = 'Leopard Rutschen Camouflage', - ['component_camo_slide_finish8'] = 'Zebra Rutschen Camouflage', - ['component_camo_slide_finish9'] = 'Geometrisch Rutschen Camouflage', - ['component_camo_slide_finish10'] = 'BOOM Rutschen Camouflage', - ['component_camo_slide_finish11'] = 'Patriotisch Rutschen Camouflage', + ['component_camo_slide_finish'] = 'Digital Rutschen Camouflage', + ['component_camo_slide_finish2'] = 'Pinselstrich Rutschen Camouflage', + ['component_camo_slide_finish3'] = 'Holzland Rutschen Camouflage', + ['component_camo_slide_finish4'] = 'Kopf Rutschen Camouflage', + ['component_camo_slide_finish5'] = 'Sessebta-Nove Nove Rutschen Camouflage', + ['component_camo_slide_finish6'] = 'Perseus Rutschen Camouflage', + ['component_camo_slide_finish7'] = 'Leopard Rutschen Camouflage', + ['component_camo_slide_finish8'] = 'Zebra Rutschen Camouflage', + ['component_camo_slide_finish9'] = 'Geometrisch Rutschen Camouflage', + ['component_camo_slide_finish10'] = 'BOOM Rutschen Camouflage', + ['component_camo_slide_finish11'] = 'Patriotisch Rutschen Camouflage', - ['component_clip_default'] = 'Standart Magazin', - ['component_clip_extended'] = 'Erweiterters Magazin', - ['component_clip_drum'] = 'Trommelmagazin', - ['component_clip_box'] = 'Kastenmagazin', + ['component_clip_default'] = 'Standart Magazin', + ['component_clip_extended'] = 'Erweiterters Magazin', + ['component_clip_drum'] = 'Trommelmagazin', + ['component_clip_box'] = 'Kastenmagazin', - ['component_scope_holo'] = 'Holographisches Zielfernrohr', - ['component_scope_small'] = 'Kleines Zielfernrohr', - ['component_scope_medium'] = 'Mittleres Zielfernrohr', - ['component_scope_large'] = 'Großes Zielfernrohr', - ['component_scope'] = 'Montiertes Zielfernrohr', - ['component_scope_advanced'] = 'Fortgeschrittenes Zielfernrohr', - ['component_ironsights'] = 'Ironsights', + ['component_scope_holo'] = 'Holographisches Zielfernrohr', + ['component_scope_small'] = 'Kleines Zielfernrohr', + ['component_scope_medium'] = 'Mittleres Zielfernrohr', + ['component_scope_large'] = 'Großes Zielfernrohr', + ['component_scope'] = 'Montiertes Zielfernrohr', + ['component_scope_advanced'] = 'Fortgeschrittenes Zielfernrohr', + ['component_ironsights'] = 'Ironsights', - ['component_suppressor'] = 'Entstörer', - ['component_compensator'] = 'Kompensator', + ['component_suppressor'] = 'Entstörer', + ['component_compensator'] = 'Kompensator', - ['component_muzzle_flat'] = 'Flache Mündung', - ['component_muzzle_tactical'] = 'Taktische Mündung', - ['component_muzzle_fat'] = 'Fettes-Ende Mündung', - ['component_muzzle_precision'] = 'Präzision Mündung', - ['component_muzzle_heavy'] = 'Schwere Mündung', - ['component_muzzle_slanted'] = 'Schräge Mündung', - ['component_muzzle_split'] = 'Geteiletes-Ende Mündung', - ['component_muzzle_squared'] = 'Quadratische Mündung', + ['component_muzzle_flat'] = 'Flache Mündung', + ['component_muzzle_tactical'] = 'Taktische Mündung', + ['component_muzzle_fat'] = 'Fettes-Ende Mündung', + ['component_muzzle_precision'] = 'Präzision Mündung', + ['component_muzzle_heavy'] = 'Schwere Mündung', + ['component_muzzle_slanted'] = 'Schräge Mündung', + ['component_muzzle_split'] = 'Geteiletes-Ende Mündung', + ['component_muzzle_squared'] = 'Quadratische Mündung', - ['component_flashlight'] = 'Taschenlampe', - ['component_grip'] = 'Grip', + ['component_flashlight'] = 'Taschenlampe', + ['component_grip'] = 'Grip', - ['component_barrel_default'] = 'Normales Fass', - ['component_barrel_heavy'] = 'Schweres Fass', + ['component_barrel_default'] = 'Normales Fass', + ['component_barrel_heavy'] = 'Schweres Fass', - ['component_ammo_tracer'] = 'Tracer Munition', - ['component_ammo_incendiary'] = 'Aufruhr Munition', - ['component_ammo_hollowpoint'] = 'Hohlspitze Munition', - ['component_ammo_fmj'] = 'FMJ Munition', - ['component_ammo_armor'] = 'Panzerbrechende Munition', - ['component_ammo_explosive'] = 'Panzerbrechende brennende Munition', + ['component_ammo_tracer'] = 'Tracer Munition', + ['component_ammo_incendiary'] = 'Aufruhr Munition', + ['component_ammo_hollowpoint'] = 'Hohlspitze Munition', + ['component_ammo_fmj'] = 'FMJ Munition', + ['component_ammo_armor'] = 'Panzerbrechende Munition', + ['component_ammo_explosive'] = 'Panzerbrechende brennende Munition', - ['component_shells_default'] = 'Normale Hülsen', - ['component_shells_incendiary'] = 'Drachenatem Hülsen', - ['component_shells_armor'] = 'Stahlschrot Hülsen', - ['component_shells_hollowpoint'] = 'Flechette Hülsen', - ['component_shells_explosive'] = 'Explosives Geschoss Hülsen', + ['component_shells_default'] = 'Normale Hülsen', + ['component_shells_incendiary'] = 'Drachenatem Hülsen', + ['component_shells_armor'] = 'Stahlschrot Hülsen', + ['component_shells_hollowpoint'] = 'Flechette Hülsen', + ['component_shells_explosive'] = 'Explosives Geschoss Hülsen', - -- Weapon Ammo - ['ammo_rounds'] = 'Kugel(n)', - ['ammo_shells'] = 'Schrotpatrone(n)', - ['ammo_charge'] = 'Nachladen', - ['ammo_petrol'] = 'Benzinkanister', - ['ammo_firework'] = 'Feuerwerksrakete(n)', - ['ammo_rockets'] = 'Rakete(n)', - ['ammo_grenadelauncher'] = 'Granate(n)', - ['ammo_grenade'] = 'Granate(n)', - ['ammo_stickybomb'] = 'C4(s)', - ['ammo_pipebomb'] = 'Rohrbombe(n)', - ['ammo_smokebomb'] = 'Rauchgranate(n)', - ['ammo_molotov'] = 'Molotovcocktail(s)', - ['ammo_proxmine'] = 'Annäherungsmine(n)', - ['ammo_bzgas'] = 'Bzgas', - ['ammo_ball'] = 'Ball', - ['ammo_snowball'] = 'Schneebälle', - ['ammo_flare'] = 'Signalfackel(n)', - ['ammo_flaregun'] = 'Signalfackeln(munition)', + -- Weapon Ammo + ['ammo_rounds'] = 'Kugel(n)', + ['ammo_shells'] = 'Schrotpatrone(n)', + ['ammo_charge'] = 'Nachladen', + ['ammo_petrol'] = 'Benzinkanister', + ['ammo_firework'] = 'Feuerwerksrakete(n)', + ['ammo_rockets'] = 'Rakete(n)', + ['ammo_grenadelauncher'] = 'Granate(n)', + ['ammo_grenade'] = 'Granate(n)', + ['ammo_stickybomb'] = 'C4(s)', + ['ammo_pipebomb'] = 'Rohrbombe(n)', + ['ammo_smokebomb'] = 'Rauchgranate(n)', + ['ammo_molotov'] = 'Molotovcocktail(s)', + ['ammo_proxmine'] = 'Annäherungsmine(n)', + ['ammo_bzgas'] = 'Bzgas', + ['ammo_ball'] = 'Ball', + ['ammo_snowball'] = 'Schneebälle', + ['ammo_flare'] = 'Signalfackel(n)', + ['ammo_flaregun'] = 'Signalfackeln(munition)', - -- Weapon Tints - ['tint_default'] = 'Standard', - ['tint_green'] = 'Grün', - ['tint_gold'] = 'Gold', - ['tint_pink'] = 'Pink', - ['tint_army'] = 'Camouflage', - ['tint_lspd'] = 'Blau', - ['tint_orange'] = 'Orange', - ['tint_platinum'] = 'Platin', + -- Weapon Tints + ['tint_default'] = 'Standard', + ['tint_green'] = 'Grün', + ['tint_gold'] = 'Gold', + ['tint_pink'] = 'Pink', + ['tint_army'] = 'Camouflage', + ['tint_lspd'] = 'Blau', + ['tint_orange'] = 'Orange', + ['tint_platinum'] = 'Platin', } From 09122f957d5773318bc2797257c5e829b7527955 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:35:30 +0200 Subject: [PATCH 100/236] refactor(locales/en): format code --- [core]/es_extended/locales/en.lua | 660 +++++++++++++++--------------- 1 file changed, 330 insertions(+), 330 deletions(-) diff --git a/[core]/es_extended/locales/en.lua b/[core]/es_extended/locales/en.lua index e480153f..ec590def 100644 --- a/[core]/es_extended/locales/en.lua +++ b/[core]/es_extended/locales/en.lua @@ -1,365 +1,365 @@ Locales['en'] = { - -- Inventory - ['inventory'] = 'Inventory ( Weight %s / %s )', - ['use'] = 'Use', - ['give'] = 'Give', - ['remove'] = 'Throw', - ['return'] = 'Return', - ['give_to'] = 'Give to', - ['amount'] = 'Amount', - ['giveammo'] = 'Give ammo', - ['amountammo'] = 'Ammo Amount', - ['noammo'] = 'Not Enough!', - ['gave_item'] = 'Giving %sx %s to %s', - ['received_item'] = 'Received %sx %s from %s', - ['gave_weapon'] = 'Giving %s to %s', - ['gave_weapon_ammo'] = 'Giving ~o~%sx %s for %s to %s', - ['gave_weapon_withammo'] = 'Giving %s with ~o~%sx %s to %s', - ['gave_weapon_hasalready'] = '%s already has a %s', - ['gave_weapon_noweapon'] = '%s does not have that weapon', - ['received_weapon'] = 'Received %s from %s', - ['received_weapon_ammo'] = 'Received ~o~%sx %s for your %s from %s', - ['received_weapon_withammo'] = 'Received %s with ~o~%sx %s from %s', - ['received_weapon_hasalready'] = '%s has attempted to give you a %s, but you already this weapon', - ['received_weapon_noweapon'] = '%s has attempted to give you ammo for a %s, but you do not have this weapon', - ['gave_account_money'] = 'Giving $%s (%s) to %s', - ['received_account_money'] = 'Received $%s (%s) from %s', - ['amount_invalid'] = 'Invalid quantity', - ['players_nearby'] = 'No nearby Players', - ['ex_inv_lim'] = 'Cannot perfom action,exceeding max weight of %s', - ['imp_invalid_quantity'] = 'Cannot perfom action, the quantity is invalid', - ['imp_invalid_amount'] = 'Cannot perfom action, the amount is invalid', - ['threw_standard'] = 'Throwing %sx %s', - ['threw_account'] = 'Throwing $%s %s', - ['threw_weapon'] = 'Throwing %s', - ['threw_weapon_ammo'] = 'Throwing %s with ~o~%sx %s', - ['threw_weapon_already'] = 'You already have this weapon', - ['threw_cannot_pickup'] = 'Inventory is full, Cannot Pickup!', - ['threw_pickup_prompt'] = 'Press E to Pickup', + -- Inventory + ['inventory'] = 'Inventory ( Weight %s / %s )', + ['use'] = 'Use', + ['give'] = 'Give', + ['remove'] = 'Throw', + ['return'] = 'Return', + ['give_to'] = 'Give to', + ['amount'] = 'Amount', + ['giveammo'] = 'Give ammo', + ['amountammo'] = 'Ammo Amount', + ['noammo'] = 'Not Enough!', + ['gave_item'] = 'Giving %sx %s to %s', + ['received_item'] = 'Received %sx %s from %s', + ['gave_weapon'] = 'Giving %s to %s', + ['gave_weapon_ammo'] = 'Giving ~o~%sx %s for %s to %s', + ['gave_weapon_withammo'] = 'Giving %s with ~o~%sx %s to %s', + ['gave_weapon_hasalready'] = '%s already has a %s', + ['gave_weapon_noweapon'] = '%s does not have that weapon', + ['received_weapon'] = 'Received %s from %s', + ['received_weapon_ammo'] = 'Received ~o~%sx %s for your %s from %s', + ['received_weapon_withammo'] = 'Received %s with ~o~%sx %s from %s', + ['received_weapon_hasalready'] = '%s has attempted to give you a %s, but you already this weapon', + ['received_weapon_noweapon'] = '%s has attempted to give you ammo for a %s, but you do not have this weapon', + ['gave_account_money'] = 'Giving $%s (%s) to %s', + ['received_account_money'] = 'Received $%s (%s) from %s', + ['amount_invalid'] = 'Invalid quantity', + ['players_nearby'] = 'No nearby Players', + ['ex_inv_lim'] = 'Cannot perfom action,exceeding max weight of %s', + ['imp_invalid_quantity'] = 'Cannot perfom action, the quantity is invalid', + ['imp_invalid_amount'] = 'Cannot perfom action, the amount is invalid', + ['threw_standard'] = 'Throwing %sx %s', + ['threw_account'] = 'Throwing $%s %s', + ['threw_weapon'] = 'Throwing %s', + ['threw_weapon_ammo'] = 'Throwing %s with ~o~%sx %s', + ['threw_weapon_already'] = 'You already have this weapon', + ['threw_cannot_pickup'] = 'Inventory is full, Cannot Pickup!', + ['threw_pickup_prompt'] = 'Press E to Pickup', - -- Key mapping - ['keymap_showinventory'] = 'Show Inventory', + -- Key mapping + ['keymap_showinventory'] = 'Show Inventory', - -- Salary related - ['received_salary'] = 'You have been paid: $%s', - ['received_help'] = 'You have been paid your welfare check: $%s', - ['company_nomoney'] = 'the company you\'re employeed at is too poor to pay out your salary', - ['received_paycheck'] = 'received paycheck', - ['bank'] = 'Maze Bank', - ['account_bank'] = 'Bank', - ['account_black_money'] = 'Dirty Money', - ['account_money'] = 'Cash', + -- Salary related + ['received_salary'] = 'You have been paid: $%s', + ['received_help'] = 'You have been paid your welfare check: $%s', + ['company_nomoney'] = 'the company you\'re employeed at is too poor to pay out your salary', + ['received_paycheck'] = 'received paycheck', + ['bank'] = 'Maze Bank', + ['account_bank'] = 'Bank', + ['account_black_money'] = 'Dirty Money', + ['account_money'] = 'Cash', - ['act_imp'] = 'Cannot Perform Action', - ['in_vehicle'] = 'Cannot Perform Action, Player is in a vehicle', + ['act_imp'] = 'Cannot Perform Action', + ['in_vehicle'] = 'Cannot Perform Action, Player is in a vehicle', - -- Commands - ['command_bring'] = 'Bring player to you', - ['command_car'] = 'Spawn a vehicle', - ['command_car_car'] = 'Vehicle model or hash', - ['command_cardel'] = 'Remove vehicles in proximity', - ['command_cardel_radius'] = 'Removes all vehicles within the specified radius', - ['command_clear'] = 'Clear chat Text', - ['command_clearall'] = 'Clear chat Text for all players', - ['command_clearinventory'] = 'Remove All items from the Players Inventory', - ['command_clearloadout'] = 'Remove All weapons from the Players Loadout', - ['command_freeze'] = 'Freeze a player', - ['command_unfreeze'] = 'Unfreeze a player', - ['command_giveaccountmoney'] = 'Give Money to a specified Account', - ['command_giveaccountmoney_account'] = 'Account to add to', - ['command_giveaccountmoney_amount'] = 'Amount to add', - ['command_giveaccountmoney_invalid'] = 'Account Name Invalid', - ['command_giveitem'] = 'Give Player an item', - ['command_giveitem_item'] = 'Item name', - ['command_giveitem_count'] = 'Quantity', - ['command_giveweapon'] = 'Give player a weapon', - ['command_giveweapon_weapon'] = 'Weapon name', - ['command_giveweapon_ammo'] = 'Ammo Quantity', - ['command_giveweapon_hasalready'] = 'Player already has this weapon', - ['command_giveweaponcomponent'] = 'Give weapon component to player', - ['command_giveweaponcomponent_component'] = 'Component name', - ['command_giveweaponcomponent_invalid'] = 'Invalid weapon component', - ['command_giveweaponcomponent_hasalready'] = 'Player already has this weapon component', - ['command_giveweaponcomponent_missingweapon'] = 'Player does not have this weapon', - ['command_goto'] = 'Teleport yourself to a player', - ['command_kill'] = 'Kill a player', - ['command_save'] = 'Force Save a player`s Data', - ['command_saveall'] = 'Force Save all player data', - ['command_setaccountmoney'] = 'Set the money within a specified account', - ['command_setaccountmoney_amount'] = 'Amount', - ['command_setcoords'] = 'Teleport to specified Coordinates', - ['command_setcoords_x'] = 'X value', - ['command_setcoords_y'] = 'Y value', - ['command_setcoords_z'] = 'Z value', - ['command_setjob'] = 'Set a player`s job', - ['command_setjob_job'] = 'Name', - ['command_setjob_grade'] = 'Job grade', - ['command_setjob_invalid'] = 'the job, grade or both are invalid', - ['command_setgroup'] = 'Set a players permission group', - ['command_setgroup_group'] = 'Name of Group', - ['commanderror_argumentmismatch'] = 'Invalid Argument Count (passed %s, wanted %s)', - ['commanderror_argumentmismatch_number'] = 'Invalid Argument #%s data type (passed string, wanted number)', - ['commanderror_invaliditem'] = 'Invalid item', - ['commanderror_invalidweapon'] = 'Invalid weapon', - ['commanderror_console'] = 'Command Cannot be executed from console', - ['commanderror_invalidcommand'] = 'Invalid Command - /%s', - ['commanderror_invalidplayerid'] = 'Specified Player is not online', - ['commandgeneric_playerid'] = 'Player`s Server Id', - ['command_giveammo_noweapon_found'] = '%s does not have that weapon', - ['command_giveammo_weapon'] = 'Weapon name', - ['command_giveammo_ammo'] = 'Ammo Quantity', - ['tpm_nowaypoint'] = 'No Waypoint Set.', - ['tpm_success'] = 'Successfully Teleported', + -- Commands + ['command_bring'] = 'Bring player to you', + ['command_car'] = 'Spawn a vehicle', + ['command_car_car'] = 'Vehicle model or hash', + ['command_cardel'] = 'Remove vehicles in proximity', + ['command_cardel_radius'] = 'Removes all vehicles within the specified radius', + ['command_clear'] = 'Clear chat Text', + ['command_clearall'] = 'Clear chat Text for all players', + ['command_clearinventory'] = 'Remove All items from the Players Inventory', + ['command_clearloadout'] = 'Remove All weapons from the Players Loadout', + ['command_freeze'] = 'Freeze a player', + ['command_unfreeze'] = 'Unfreeze a player', + ['command_giveaccountmoney'] = 'Give Money to a specified Account', + ['command_giveaccountmoney_account'] = 'Account to add to', + ['command_giveaccountmoney_amount'] = 'Amount to add', + ['command_giveaccountmoney_invalid'] = 'Account Name Invalid', + ['command_giveitem'] = 'Give Player an item', + ['command_giveitem_item'] = 'Item name', + ['command_giveitem_count'] = 'Quantity', + ['command_giveweapon'] = 'Give player a weapon', + ['command_giveweapon_weapon'] = 'Weapon name', + ['command_giveweapon_ammo'] = 'Ammo Quantity', + ['command_giveweapon_hasalready'] = 'Player already has this weapon', + ['command_giveweaponcomponent'] = 'Give weapon component to player', + ['command_giveweaponcomponent_component'] = 'Component name', + ['command_giveweaponcomponent_invalid'] = 'Invalid weapon component', + ['command_giveweaponcomponent_hasalready'] = 'Player already has this weapon component', + ['command_giveweaponcomponent_missingweapon'] = 'Player does not have this weapon', + ['command_goto'] = 'Teleport yourself to a player', + ['command_kill'] = 'Kill a player', + ['command_save'] = 'Force Save a player`s Data', + ['command_saveall'] = 'Force Save all player data', + ['command_setaccountmoney'] = 'Set the money within a specified account', + ['command_setaccountmoney_amount'] = 'Amount', + ['command_setcoords'] = 'Teleport to specified Coordinates', + ['command_setcoords_x'] = 'X value', + ['command_setcoords_y'] = 'Y value', + ['command_setcoords_z'] = 'Z value', + ['command_setjob'] = 'Set a player`s job', + ['command_setjob_job'] = 'Name', + ['command_setjob_grade'] = 'Job grade', + ['command_setjob_invalid'] = 'the job, grade or both are invalid', + ['command_setgroup'] = 'Set a players permission group', + ['command_setgroup_group'] = 'Name of Group', + ['commanderror_argumentmismatch'] = 'Invalid Argument Count (passed %s, wanted %s)', + ['commanderror_argumentmismatch_number'] = 'Invalid Argument #%s data type (passed string, wanted number)', + ['commanderror_invaliditem'] = 'Invalid item', + ['commanderror_invalidweapon'] = 'Invalid weapon', + ['commanderror_console'] = 'Command Cannot be executed from console', + ['commanderror_invalidcommand'] = 'Invalid Command - /%s', + ['commanderror_invalidplayerid'] = 'Specified Player is not online', + ['commandgeneric_playerid'] = 'Player`s Server Id', + ['command_giveammo_noweapon_found'] = '%s does not have that weapon', + ['command_giveammo_weapon'] = 'Weapon name', + ['command_giveammo_ammo'] = 'Ammo Quantity', + ['tpm_nowaypoint'] = 'No Waypoint Set.', + ['tpm_success'] = 'Successfully Teleported', - ['noclip_message'] = 'Noclip has been %s', - ['enabled'] = '~g~enabled~s~', - ['disabled'] = '~r~disabled~s~', + ['noclip_message'] = 'Noclip has been %s', + ['enabled'] = '~g~enabled~s~', + ['disabled'] = '~r~disabled~s~', - -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '£%s', + -- Locale settings + ['locale_digit_grouping_symbol'] = ',', + ['locale_currency'] = '£%s', - -- Weapons + -- Weapons - -- Melee - ['weapon_dagger'] = 'Dagger', - ['weapon_bat'] = 'Bat', - ['weapon_battleaxe'] = 'Battle Axe', - ['weapon_bottle'] = 'Bottle', - ['weapon_crowbar'] = 'Crowbar', - ['weapon_flashlight'] = 'Flashlight', - ['weapon_golfclub'] = 'Golf Club', - ['weapon_hammer'] = 'Hammer', - ['weapon_hatchet'] = 'Hatchet', - ['weapon_knife'] = 'Knife', - ['weapon_knuckle'] = 'Knuckledusters', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Nightstick', - ['weapon_wrench'] = 'Pipe Wrench', - ['weapon_poolcue'] = 'Pool Cue', - ['weapon_stone_hatchet'] = 'Stone Hatchet', - ['weapon_switchblade'] = 'Switchblade', + -- Melee + ['weapon_dagger'] = 'Dagger', + ['weapon_bat'] = 'Bat', + ['weapon_battleaxe'] = 'Battle Axe', + ['weapon_bottle'] = 'Bottle', + ['weapon_crowbar'] = 'Crowbar', + ['weapon_flashlight'] = 'Flashlight', + ['weapon_golfclub'] = 'Golf Club', + ['weapon_hammer'] = 'Hammer', + ['weapon_hatchet'] = 'Hatchet', + ['weapon_knife'] = 'Knife', + ['weapon_knuckle'] = 'Knuckledusters', + ['weapon_machete'] = 'Machete', + ['weapon_nightstick'] = 'Nightstick', + ['weapon_wrench'] = 'Pipe Wrench', + ['weapon_poolcue'] = 'Pool Cue', + ['weapon_stone_hatchet'] = 'Stone Hatchet', + ['weapon_switchblade'] = 'Switchblade', - -- Handguns - ['weapon_appistol'] = 'AP Pistol', - ['weapon_ceramicpistol'] = 'Ceramic Pistol', - ['weapon_combatpistol'] = 'Combat Pistol', - ['weapon_doubleaction'] = 'Double-Action Revolver', - ['weapon_navyrevolver'] = 'Navy Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadget Pistol', - ['weapon_heavypistol'] = 'Heavy Pistol', - ['weapon_revolver'] = 'Heavy Revolver', - ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', - ['weapon_marksmanpistol'] = 'Marksman Pistol', - ['weapon_pistol'] = 'Pistol', - ['weapon_pistol_mk2'] = 'Pistol MK2', - ['weapon_pistol50'] = 'Pistol .50', - ['weapon_snspistol'] = 'SNS Pistol', - ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintage Pistol', + -- Handguns + ['weapon_appistol'] = 'AP Pistol', + ['weapon_ceramicpistol'] = 'Ceramic Pistol', + ['weapon_combatpistol'] = 'Combat Pistol', + ['weapon_doubleaction'] = 'Double-Action Revolver', + ['weapon_navyrevolver'] = 'Navy Revolver', + ['weapon_flaregun'] = 'Flaregun', + ['weapon_gadgetpistol'] = 'Gadget Pistol', + ['weapon_heavypistol'] = 'Heavy Pistol', + ['weapon_revolver'] = 'Heavy Revolver', + ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', + ['weapon_marksmanpistol'] = 'Marksman Pistol', + ['weapon_pistol'] = 'Pistol', + ['weapon_pistol_mk2'] = 'Pistol MK2', + ['weapon_pistol50'] = 'Pistol .50', + ['weapon_snspistol'] = 'SNS Pistol', + ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', + ['weapon_stungun'] = 'Taser', + ['weapon_raypistol'] = 'Up-N-Atomizer', + ['weapon_vintagepistol'] = 'Vintage Pistol', - -- Shotguns - ['weapon_assaultshotgun'] = 'Assault Shotgun', - ['weapon_autoshotgun'] = 'Auto Shotgun', - ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', - ['weapon_combatshotgun'] = 'Combat Shotgun', - ['weapon_dbshotgun'] = 'Double Barrel Shotgun', - ['weapon_heavyshotgun'] = 'Heavy Shotgun', - ['weapon_musket'] = 'Musket', - ['weapon_pumpshotgun'] = 'Pump Shotgun', - ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', - ['weapon_sawnoffshotgun'] = 'Sawed Off Shotgun', + -- Shotguns + ['weapon_assaultshotgun'] = 'Assault Shotgun', + ['weapon_autoshotgun'] = 'Auto Shotgun', + ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', + ['weapon_combatshotgun'] = 'Combat Shotgun', + ['weapon_dbshotgun'] = 'Double Barrel Shotgun', + ['weapon_heavyshotgun'] = 'Heavy Shotgun', + ['weapon_musket'] = 'Musket', + ['weapon_pumpshotgun'] = 'Pump Shotgun', + ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', + ['weapon_sawnoffshotgun'] = 'Sawed Off Shotgun', - -- SMG & LMG - ['weapon_assaultsmg'] = 'Assault SMG', - ['weapon_combatmg'] = 'Combat MG', - ['weapon_combatmg_mk2'] = 'Combat MG MK2', - ['weapon_combatpdw'] = 'Combat PDW', - ['weapon_gusenberg'] = 'Gusenberg Sweeper', - ['weapon_machinepistol'] = 'Machine Pistol', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Micro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Unholy Hellbringer', + -- SMG & LMG + ['weapon_assaultsmg'] = 'Assault SMG', + ['weapon_combatmg'] = 'Combat MG', + ['weapon_combatmg_mk2'] = 'Combat MG MK2', + ['weapon_combatpdw'] = 'Combat PDW', + ['weapon_gusenberg'] = 'Gusenberg Sweeper', + ['weapon_machinepistol'] = 'Machine Pistol', + ['weapon_mg'] = 'MG', + ['weapon_microsmg'] = 'Micro SMG', + ['weapon_minismg'] = 'Mini SMG', + ['weapon_smg'] = 'SMG', + ['weapon_smg_mk2'] = 'SMG MK2', + ['weapon_raycarbine'] = 'Unholy Hellbringer', - -- Rifles - ['weapon_advancedrifle'] = 'Advanced Rifle', - ['weapon_assaultrifle'] = 'Assault Rifle', - ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', - ['weapon_bullpuprifle'] = 'Bullpup Rifle', - ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', - ['weapon_carbinerifle'] = 'Carbine Rifle', - ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', - ['weapon_compactrifle'] = 'Compact Rifle', - ['weapon_militaryrifle'] = 'Military Rifle', - ['weapon_specialcarbine'] = 'Special Carbine', - ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', + -- Rifles + ['weapon_advancedrifle'] = 'Advanced Rifle', + ['weapon_assaultrifle'] = 'Assault Rifle', + ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', + ['weapon_bullpuprifle'] = 'Bullpup Rifle', + ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', + ['weapon_carbinerifle'] = 'Carbine Rifle', + ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', + ['weapon_compactrifle'] = 'Compact Rifle', + ['weapon_militaryrifle'] = 'Military Rifle', + ['weapon_specialcarbine'] = 'Special Carbine', + ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', - -- Sniper - ['weapon_heavysniper'] = 'Heavy Sniper', - ['weapon_heavysniper_mk2'] = 'Heavy Sniper MK2', - ['weapon_marksmanrifle'] = 'Marksman Rifle', - ['weapon_marksmanrifle_mk2'] = 'Marksman Rifle MK2', - ['weapon_sniperrifle'] = 'Sniper Rifle', + -- Sniper + ['weapon_heavysniper'] = 'Heavy Sniper', + ['weapon_heavysniper_mk2'] = 'Heavy Sniper MK2', + ['weapon_marksmanrifle'] = 'Marksman Rifle', + ['weapon_marksmanrifle_mk2'] = 'Marksman Rifle MK2', + ['weapon_sniperrifle'] = 'Sniper Rifle', - -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Compact Launcher', - ['weapon_firework'] = 'Firework Launcher', - ['weapon_grenadelauncher'] = 'Grenade Launcher', - ['weapon_hominglauncher'] = 'Homing Launcher', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Rocket Launcher', - ['weapon_rayminigun'] = 'Widowmaker', + -- Heavy / Launchers + ['weapon_compactlauncher'] = 'Compact Launcher', + ['weapon_firework'] = 'Firework Launcher', + ['weapon_grenadelauncher'] = 'Grenade Launcher', + ['weapon_hominglauncher'] = 'Homing Launcher', + ['weapon_minigun'] = 'Minigun', + ['weapon_railgun'] = 'Railgun', + ['weapon_rpg'] = 'Rocket Launcher', + ['weapon_rayminigun'] = 'Widowmaker', - -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Metal Detector', - ['weapon_precisionrifle'] = 'Precision Rifle', - ['weapon_tactilerifle'] = 'Service Carbine', + -- Criminal Enterprises DLC + ['weapon_metaldetector'] = 'Metal Detector', + ['weapon_precisionrifle'] = 'Precision Rifle', + ['weapon_tactilerifle'] = 'Service Carbine', - -- Thrown - ['weapon_ball'] = 'Baseball', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_flare'] = 'Flare', - ['weapon_grenade'] = 'Grenade', - ['weapon_petrolcan'] = 'Jerrycan', - ['weapon_hazardcan'] = 'Hazardous Jerrycan', - ['weapon_molotov'] = 'Molotov Cocktail', - ['weapon_proxmine'] = 'Proximity Mine', - ['weapon_pipebomb'] = 'Pipe Bomb', - ['weapon_snowball'] = 'Snowball', - ['weapon_stickybomb'] = 'Sticky Bomb', - ['weapon_smokegrenade'] = 'Tear Gas', + -- Thrown + ['weapon_ball'] = 'Baseball', + ['weapon_bzgas'] = 'BZ Gas', + ['weapon_flare'] = 'Flare', + ['weapon_grenade'] = 'Grenade', + ['weapon_petrolcan'] = 'Jerrycan', + ['weapon_hazardcan'] = 'Hazardous Jerrycan', + ['weapon_molotov'] = 'Molotov Cocktail', + ['weapon_proxmine'] = 'Proximity Mine', + ['weapon_pipebomb'] = 'Pipe Bomb', + ['weapon_snowball'] = 'Snowball', + ['weapon_stickybomb'] = 'Sticky Bomb', + ['weapon_smokegrenade'] = 'Tear Gas', - -- Special - ['weapon_fireextinguisher'] = 'Fire Extinguisher', - ['weapon_digiscanner'] = 'Digital Scanner', - ['weapon_garbagebag'] = 'Garbage Bag', - ['weapon_handcuffs'] = 'Handcuffs', - ['gadget_nightvision'] = 'Night Vision', - ['gadget_parachute'] = 'parachute', + -- Special + ['weapon_fireextinguisher'] = 'Fire Extinguisher', + ['weapon_digiscanner'] = 'Digital Scanner', + ['weapon_garbagebag'] = 'Garbage Bag', + ['weapon_handcuffs'] = 'Handcuffs', + ['gadget_nightvision'] = 'Night Vision', + ['gadget_parachute'] = 'parachute', - -- Weapon Components - ['component_knuckle_base'] = 'base Model', - ['component_knuckle_pimp'] = 'the Pimp', - ['component_knuckle_ballas'] = 'the Ballas', - ['component_knuckle_dollar'] = 'the Hustler', - ['component_knuckle_diamond'] = 'the Rock', - ['component_knuckle_hate'] = 'the Hater', - ['component_knuckle_love'] = 'the Lover', - ['component_knuckle_player'] = 'the Player', - ['component_knuckle_king'] = 'the King', - ['component_knuckle_vagos'] = 'the Vagos', + -- Weapon Components + ['component_knuckle_base'] = 'base Model', + ['component_knuckle_pimp'] = 'the Pimp', + ['component_knuckle_ballas'] = 'the Ballas', + ['component_knuckle_dollar'] = 'the Hustler', + ['component_knuckle_diamond'] = 'the Rock', + ['component_knuckle_hate'] = 'the Hater', + ['component_knuckle_love'] = 'the Lover', + ['component_knuckle_player'] = 'the Player', + ['component_knuckle_king'] = 'the King', + ['component_knuckle_vagos'] = 'the Vagos', - ['component_luxary_finish'] = 'luxary Weapon Finish', + ['component_luxary_finish'] = 'luxary Weapon Finish', - ['component_handle_default'] = 'default Handle', - ['component_handle_vip'] = 'vIP Handle', - ['component_handle_bodyguard'] = 'bodyguard Handle', + ['component_handle_default'] = 'default Handle', + ['component_handle_vip'] = 'vIP Handle', + ['component_handle_bodyguard'] = 'bodyguard Handle', - ['component_vip_finish'] = 'vIP Finish', - ['component_bodyguard_finish'] = 'bodyguard Finish', + ['component_vip_finish'] = 'vIP Finish', + ['component_bodyguard_finish'] = 'bodyguard Finish', - ['component_camo_finish'] = 'digital Camo', - ['component_camo_finish2'] = 'brushstroke Camo', - ['component_camo_finish3'] = 'woodland Camo', - ['component_camo_finish4'] = 'skull Camo', - ['component_camo_finish5'] = 'sessanta Nove Camo', - ['component_camo_finish6'] = 'perseus Camo', - ['component_camo_finish7'] = 'leopard Camo', - ['component_camo_finish8'] = 'zebra Camo', - ['component_camo_finish9'] = 'geometric Camo', - ['component_camo_finish10'] = 'boom Camo', - ['component_camo_finish11'] = 'patriotic Camo', + ['component_camo_finish'] = 'digital Camo', + ['component_camo_finish2'] = 'brushstroke Camo', + ['component_camo_finish3'] = 'woodland Camo', + ['component_camo_finish4'] = 'skull Camo', + ['component_camo_finish5'] = 'sessanta Nove Camo', + ['component_camo_finish6'] = 'perseus Camo', + ['component_camo_finish7'] = 'leopard Camo', + ['component_camo_finish8'] = 'zebra Camo', + ['component_camo_finish9'] = 'geometric Camo', + ['component_camo_finish10'] = 'boom Camo', + ['component_camo_finish11'] = 'patriotic Camo', - ['component_camo_slide_finish'] = 'digital Slide Camo', - ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', - ['component_camo_slide_finish3'] = 'woodland Slide Camo', - ['component_camo_slide_finish4'] = 'skull Slide Camo', - ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', - ['component_camo_slide_finish6'] = 'perseus Slide Camo', - ['component_camo_slide_finish7'] = 'leopard Slide Camo', - ['component_camo_slide_finish8'] = 'zebra Slide Camo', - ['component_camo_slide_finish9'] = 'geometric Slide Camo', - ['component_camo_slide_finish10'] = 'boom Slide Camo', - ['component_camo_slide_finish11'] = 'patriotic Slide Camo', + ['component_camo_slide_finish'] = 'digital Slide Camo', + ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', + ['component_camo_slide_finish3'] = 'woodland Slide Camo', + ['component_camo_slide_finish4'] = 'skull Slide Camo', + ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', + ['component_camo_slide_finish6'] = 'perseus Slide Camo', + ['component_camo_slide_finish7'] = 'leopard Slide Camo', + ['component_camo_slide_finish8'] = 'zebra Slide Camo', + ['component_camo_slide_finish9'] = 'geometric Slide Camo', + ['component_camo_slide_finish10'] = 'boom Slide Camo', + ['component_camo_slide_finish11'] = 'patriotic Slide Camo', - ['component_clip_default'] = 'default Magazine', - ['component_clip_extended'] = 'extended Magazine', - ['component_clip_drum'] = 'drum Magazine', - ['component_clip_box'] = 'box Magazine', + ['component_clip_default'] = 'default Magazine', + ['component_clip_extended'] = 'extended Magazine', + ['component_clip_drum'] = 'drum Magazine', + ['component_clip_box'] = 'box Magazine', - ['component_scope_holo'] = 'holographic Scope', - ['component_scope_small'] = 'small Scope', - ['component_scope_medium'] = 'medium Scope', - ['component_scope_large'] = 'large Scope', - ['component_scope'] = 'mounted Scope', - ['component_scope_advanced'] = 'advanced Scope', - ['component_ironsights'] = 'ironsights', + ['component_scope_holo'] = 'holographic Scope', + ['component_scope_small'] = 'small Scope', + ['component_scope_medium'] = 'medium Scope', + ['component_scope_large'] = 'large Scope', + ['component_scope'] = 'mounted Scope', + ['component_scope_advanced'] = 'advanced Scope', + ['component_ironsights'] = 'ironsights', - ['component_suppressor'] = 'suppressor', - ['component_compensator'] = 'compensator', + ['component_suppressor'] = 'suppressor', + ['component_compensator'] = 'compensator', - ['component_muzzle_flat'] = 'flat Muzzle Brake', - ['component_muzzle_tactical'] = 'tactical Muzzle Brake', - ['component_muzzle_fat'] = 'fat-End Muzzle Brake', - ['component_muzzle_precision'] = 'precision Muzzle Brake', - ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', - ['component_muzzle_slanted'] = 'slanted Muzzle Brake', - ['component_muzzle_split'] = 'split-End Muzzle Brake', - ['component_muzzle_squared'] = 'squared Muzzle Brake', + ['component_muzzle_flat'] = 'flat Muzzle Brake', + ['component_muzzle_tactical'] = 'tactical Muzzle Brake', + ['component_muzzle_fat'] = 'fat-End Muzzle Brake', + ['component_muzzle_precision'] = 'precision Muzzle Brake', + ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', + ['component_muzzle_slanted'] = 'slanted Muzzle Brake', + ['component_muzzle_split'] = 'split-End Muzzle Brake', + ['component_muzzle_squared'] = 'squared Muzzle Brake', - ['component_flashlight'] = 'flashlight', - ['component_grip'] = 'grip', + ['component_flashlight'] = 'flashlight', + ['component_grip'] = 'grip', - ['component_barrel_default'] = 'default Barrel', - ['component_barrel_heavy'] = 'heavy Barrel', + ['component_barrel_default'] = 'default Barrel', + ['component_barrel_heavy'] = 'heavy Barrel', - ['component_ammo_tracer'] = 'tracer Ammo', - ['component_ammo_incendiary'] = 'incendiary Ammo', - ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', - ['component_ammo_fmj'] = 'fMJ Ammo', - ['component_ammo_armor'] = 'armor Piercing Ammo', - ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', + ['component_ammo_tracer'] = 'tracer Ammo', + ['component_ammo_incendiary'] = 'incendiary Ammo', + ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', + ['component_ammo_fmj'] = 'fMJ Ammo', + ['component_ammo_armor'] = 'armor Piercing Ammo', + ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', - ['component_shells_default'] = 'default Shells', - ['component_shells_incendiary'] = 'dragons Breath Shells', - ['component_shells_armor'] = 'steel Buckshot Shells', - ['component_shells_hollowpoint'] = 'flechette Shells', - ['component_shells_explosive'] = 'explosive Slug Shells', + ['component_shells_default'] = 'default Shells', + ['component_shells_incendiary'] = 'dragons Breath Shells', + ['component_shells_armor'] = 'steel Buckshot Shells', + ['component_shells_hollowpoint'] = 'flechette Shells', + ['component_shells_explosive'] = 'explosive Slug Shells', - -- Weapon Ammo - ['ammo_rounds'] = 'round(s)', - ['ammo_shells'] = 'shell(s)', - ['ammo_charge'] = 'charge', - ['ammo_petrol'] = 'gallons of fuel', - ['ammo_firework'] = 'firework(s)', - ['ammo_rockets'] = 'rocket(s)', - ['ammo_grenadelauncher'] = 'grenade(s)', - ['ammo_grenade'] = 'grenade(s)', - ['ammo_stickybomb'] = 'bomb(s)', - ['ammo_pipebomb'] = 'bomb(s)', - ['ammo_smokebomb'] = 'bomb(s)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mine(s)', - ['ammo_bzgas'] = 'can(s)', - ['ammo_ball'] = 'ball(s)', - ['ammo_snowball'] = 'snowball(s)', - ['ammo_flare'] = 'flare(s)', - ['ammo_flaregun'] = 'flare(s)', + -- Weapon Ammo + ['ammo_rounds'] = 'round(s)', + ['ammo_shells'] = 'shell(s)', + ['ammo_charge'] = 'charge', + ['ammo_petrol'] = 'gallons of fuel', + ['ammo_firework'] = 'firework(s)', + ['ammo_rockets'] = 'rocket(s)', + ['ammo_grenadelauncher'] = 'grenade(s)', + ['ammo_grenade'] = 'grenade(s)', + ['ammo_stickybomb'] = 'bomb(s)', + ['ammo_pipebomb'] = 'bomb(s)', + ['ammo_smokebomb'] = 'bomb(s)', + ['ammo_molotov'] = 'cocktail(s)', + ['ammo_proxmine'] = 'mine(s)', + ['ammo_bzgas'] = 'can(s)', + ['ammo_ball'] = 'ball(s)', + ['ammo_snowball'] = 'snowball(s)', + ['ammo_flare'] = 'flare(s)', + ['ammo_flaregun'] = 'flare(s)', - -- Weapon Tints - ['tint_default'] = 'default skin', - ['tint_green'] = 'green skin', - ['tint_gold'] = 'gold skin', - ['tint_pink'] = 'pink skin', - ['tint_army'] = 'army skin', - ['tint_lspd'] = 'blue skin', - ['tint_orange'] = 'orange skin', - ['tint_platinum'] = 'platinum skin', + -- Weapon Tints + ['tint_default'] = 'default skin', + ['tint_green'] = 'green skin', + ['tint_gold'] = 'gold skin', + ['tint_pink'] = 'pink skin', + ['tint_army'] = 'army skin', + ['tint_lspd'] = 'blue skin', + ['tint_orange'] = 'orange skin', + ['tint_platinum'] = 'platinum skin', } From 60b926cd80cbcfb14985daae3d6e5776a0637def Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:37:02 +0200 Subject: [PATCH 101/236] refactor(locales/fi): format code --- [core]/es_extended/locales/fi.lua | 434 +++++++++++++++--------------- 1 file changed, 217 insertions(+), 217 deletions(-) diff --git a/[core]/es_extended/locales/fi.lua b/[core]/es_extended/locales/fi.lua index bdb6c97b..9e169caf 100644 --- a/[core]/es_extended/locales/fi.lua +++ b/[core]/es_extended/locales/fi.lua @@ -1,228 +1,228 @@ Locales['fi'] = { - -- Inventory - ['inventory'] = 'Reppu %s / %s', - ['use'] = 'Käytä', - ['give'] = 'Anna', - ['remove'] = 'Poista', - ['return'] = 'Takaisin', - ['give_to'] = 'Anna henkilölle', - ['amount'] = 'Määrä', - ['giveammo'] = 'Anna ammuksia', - ['amountammo'] = 'Ammusten määrä', - ['noammo'] = 'Sinulla ei ole ammuksia!', - ['gave_item'] = 'Sinä annoit %sx %s henkilölle %s', - ['received_item'] = 'Sinä sait %sx %s henkilöltä %s', - ['gave_weapon'] = 'Sinä annoit 1x %s henkilölle %s', - ['gave_weapon_ammo'] = 'Annoit ~o~%sx %s kohteelle %s henkilölle %s', - ['gave_weapon_withammo'] = 'Sinä annoit 1x %s ammuksella ~o~%sx %s henkilölle %s', - ['gave_weapon_hasalready'] = '%s omistaa jo %s', - ['gave_weapon_noweapon'] = '%s ei ole kyseistä asetta', - ['received_weapon'] = 'Vastaanotit 1x %s henkilöltä %s', - ['received_weapon_ammo'] = 'Sinä sait ~o~%sx %s sinun %s varten henkilöltä %s', - ['received_weapon_withammo'] = 'Sinä sait 1x %s ammuksella ~o~%sx %s henkilöltä %s', - ['received_weapon_hasalready'] = '%s yritti antaa sinulle %s, mutta sinulla on jo sellainen', - ['received_weapon_noweapon'] = '%s yritti antaa sinulle ammuksia %s:lle, mutta sinulla ei ole sellaista', - ['gave_account_money'] = 'Sinä annoit $%s (%s) henkilölle %s', - ['received_account_money'] = 'Sinä sait $%s (%s) henkilöltä %s', - ['amount_invalid'] = 'Virheellinen määrä', - ['players_nearby'] = 'Ei pelaajia lähettyvillä', - ['ex_inv_lim'] = 'Toiminto mahdoton, reppu alkaa olla täysi %s', - ['imp_invalid_quantity'] = 'Toiminto mahdoton, virheellinen määrä', - ['imp_invalid_amount'] = 'Toiminto mahdoton, virhellinen summa', - ['threw_standard'] = 'Sinä heitit %sx %s', - ['threw_account'] = 'Sinä heitit $%s %s', - ['threw_weapon'] = 'Sinä heitit 1x %s', - ['threw_weapon_ammo'] = 'Heitit 1x %s ammuksella ~o~%sx %s', - ['threw_weapon_already'] = 'Sinulla on jo sama ase', - ['threw_cannot_pickup'] = 'Et voi kerätä sitä, koska reppusi on täynnä', - ['threw_pickup_prompt'] = 'Paina E kerätäksesi', + -- Inventory + ['inventory'] = 'Reppu %s / %s', + ['use'] = 'Käytä', + ['give'] = 'Anna', + ['remove'] = 'Poista', + ['return'] = 'Takaisin', + ['give_to'] = 'Anna henkilölle', + ['amount'] = 'Määrä', + ['giveammo'] = 'Anna ammuksia', + ['amountammo'] = 'Ammusten määrä', + ['noammo'] = 'Sinulla ei ole ammuksia!', + ['gave_item'] = 'Sinä annoit %sx %s henkilölle %s', + ['received_item'] = 'Sinä sait %sx %s henkilöltä %s', + ['gave_weapon'] = 'Sinä annoit 1x %s henkilölle %s', + ['gave_weapon_ammo'] = 'Annoit ~o~%sx %s kohteelle %s henkilölle %s', + ['gave_weapon_withammo'] = 'Sinä annoit 1x %s ammuksella ~o~%sx %s henkilölle %s', + ['gave_weapon_hasalready'] = '%s omistaa jo %s', + ['gave_weapon_noweapon'] = '%s ei ole kyseistä asetta', + ['received_weapon'] = 'Vastaanotit 1x %s henkilöltä %s', + ['received_weapon_ammo'] = 'Sinä sait ~o~%sx %s sinun %s varten henkilöltä %s', + ['received_weapon_withammo'] = 'Sinä sait 1x %s ammuksella ~o~%sx %s henkilöltä %s', + ['received_weapon_hasalready'] = '%s yritti antaa sinulle %s, mutta sinulla on jo sellainen', + ['received_weapon_noweapon'] = '%s yritti antaa sinulle ammuksia %s:lle, mutta sinulla ei ole sellaista', + ['gave_account_money'] = 'Sinä annoit $%s (%s) henkilölle %s', + ['received_account_money'] = 'Sinä sait $%s (%s) henkilöltä %s', + ['amount_invalid'] = 'Virheellinen määrä', + ['players_nearby'] = 'Ei pelaajia lähettyvillä', + ['ex_inv_lim'] = 'Toiminto mahdoton, reppu alkaa olla täysi %s', + ['imp_invalid_quantity'] = 'Toiminto mahdoton, virheellinen määrä', + ['imp_invalid_amount'] = 'Toiminto mahdoton, virhellinen summa', + ['threw_standard'] = 'Sinä heitit %sx %s', + ['threw_account'] = 'Sinä heitit $%s %s', + ['threw_weapon'] = 'Sinä heitit 1x %s', + ['threw_weapon_ammo'] = 'Heitit 1x %s ammuksella ~o~%sx %s', + ['threw_weapon_already'] = 'Sinulla on jo sama ase', + ['threw_cannot_pickup'] = 'Et voi kerätä sitä, koska reppusi on täynnä', + ['threw_pickup_prompt'] = 'Paina E kerätäksesi', - -- Key mapping - ['keymap_showinventory'] = 'Avaa reppu', + -- Key mapping + ['keymap_showinventory'] = 'Avaa reppu', - -- Salary related - ['received_salary'] = 'Vastaanotit palkkaa: $%s', - ['received_help'] = 'Vastaanotit valtion tukea: $%s', - ['company_nomoney'] = 'Yrityksellä jolle teet töitä ei ole varaa maksaa palkkaasi', - ['received_paycheck'] = 'Sait palkan', - ['bank'] = 'Pankki', - ['account_bank'] = 'Pankki', - ['account_black_money'] = 'Likainen raha', - ['account_money'] = 'Käteinen', + -- Salary related + ['received_salary'] = 'Vastaanotit palkkaa: $%s', + ['received_help'] = 'Vastaanotit valtion tukea: $%s', + ['company_nomoney'] = 'Yrityksellä jolle teet töitä ei ole varaa maksaa palkkaasi', + ['received_paycheck'] = 'Sait palkan', + ['bank'] = 'Pankki', + ['account_bank'] = 'Pankki', + ['account_black_money'] = 'Likainen raha', + ['account_money'] = 'Käteinen', - ['act_imp'] = 'Toiminto mahdoton', - ['in_vehicle'] = 'Et voi antaa ajoneuvossa olevalle mitään', + ['act_imp'] = 'Toiminto mahdoton', + ['in_vehicle'] = 'Et voi antaa ajoneuvossa olevalle mitään', - -- Commands - ['command_car'] = 'Luo ajoneuvo', - ['command_car_car'] = 'Ajoneuvon nimi tai hash', - ['command_cardel'] = 'Poistaa ajoneuvon läheltä', - ['command_cardel_radius'] = 'Valinnainen, poista kaikki ajoneuvot määritetyllä säteellä', - ['command_clear'] = 'Tyhjennä keskustelu', - ['command_clearall'] = 'Tyhjennä keskustelu kaikilta pelaajilta', - ['command_clearinventory'] = 'Tyhjennä pelaajan reppu', - ['command_clearloadout'] = 'Tyhjennä pelaajan varustus', - ['command_giveaccountmoney'] = 'Anna tilirahaa', - ['command_giveaccountmoney_account'] = 'Kelvollinen tilin nimi', - ['command_giveaccountmoney_amount'] = 'Lisättävä määrä', - ['command_giveaccountmoney_invalid'] = 'Virheellinen tili nimi', - ['command_giveitem'] = 'Anna pelaajalle esine', - ['command_giveitem_item'] = 'Esineen nimi', - ['command_giveitem_count'] = 'Esineiden määrä', - ['command_giveweapon'] = 'Anna pelaajalle ase', - ['command_giveweapon_weapon'] = 'Aseen nimi', - ['command_giveweapon_ammo'] = 'Ammusten määrä', - ['command_giveweapon_hasalready'] = 'Pelaajalla on jo kyseinen ase', - ['command_giveweaponcomponent'] = 'Anna aseen komponentti', - ['command_giveweaponcomponent_component'] = 'Komponentin nimi', - ['command_giveweaponcomponent_invalid'] = 'Virheellinen aseen komponentti', - ['command_giveweaponcomponent_hasalready'] = 'Pelaajalla on jo kyseinen asekomponentti', - ['command_giveweaponcomponent_missingweapon'] = 'Pelaajalla ei ole kyseistä asetta', - ['command_save'] = 'Talenna pelaaja tietokantaan', - ['command_saveall'] = 'Tallenna kaikki pelaajat tietokantaan', - ['command_setaccountmoney'] = 'Aseta tilirahaa pelaajalle', - ['command_setaccountmoney_amount'] = 'Asetettava rahamäärä', - ['command_setcoords'] = 'Teleporttaa koordinaatteihin', - ['command_setcoords_x'] = 'x akseli', - ['command_setcoords_y'] = 'y akseli', - ['command_setcoords_z'] = 'z akseli', - ['command_setjob'] = 'Aseta pelaajalle työ', - ['command_setjob_job'] = 'Työ', - ['command_setjob_grade'] = 'Arvo', - ['command_setjob_invalid'] = 'Työ ja arvo tai molemmat ovat virheellisiä', - ['command_setgroup'] = 'Aseta pelaajan ryhmä', - ['command_setgroup_group'] = 'Ryhmän nimi', - ['commanderror_argumentmismatch'] = 'Argumenttien määrä ei täsmää (hyväksytty %s, haluttu %s)', - ['commanderror_argumentmismatch_number'] = 'Argumentin #%s tyyppi ei täsmää (syötetty merkkijono, haluttu numero)', - ['commanderror_invaliditem'] = 'Virheellinen esineen nimi', - ['commanderror_invalidweapon'] = 'Virheellinen ase', - ['commanderror_console'] = 'Komentoa ei voi suorittaa konsolissa', - ['commanderror_invalidcommand'] = '/%s ei ole kelvollinen komento!', - ['commanderror_invalidplayerid'] = 'Palvelimella ei ole pelaajaa, joka vastaa annetua ID', - ['commandgeneric_playerid'] = 'Pelaajan ID', - ['command_giveammo_noweapon_found'] = '%s ei ole sitä asetta', - ['command_giveammo_weapon'] = 'Aseen nimi', - ['command_giveammo_ammo'] = 'Ammusten määrä', + -- Commands + ['command_car'] = 'Luo ajoneuvo', + ['command_car_car'] = 'Ajoneuvon nimi tai hash', + ['command_cardel'] = 'Poistaa ajoneuvon läheltä', + ['command_cardel_radius'] = 'Valinnainen, poista kaikki ajoneuvot määritetyllä säteellä', + ['command_clear'] = 'Tyhjennä keskustelu', + ['command_clearall'] = 'Tyhjennä keskustelu kaikilta pelaajilta', + ['command_clearinventory'] = 'Tyhjennä pelaajan reppu', + ['command_clearloadout'] = 'Tyhjennä pelaajan varustus', + ['command_giveaccountmoney'] = 'Anna tilirahaa', + ['command_giveaccountmoney_account'] = 'Kelvollinen tilin nimi', + ['command_giveaccountmoney_amount'] = 'Lisättävä määrä', + ['command_giveaccountmoney_invalid'] = 'Virheellinen tili nimi', + ['command_giveitem'] = 'Anna pelaajalle esine', + ['command_giveitem_item'] = 'Esineen nimi', + ['command_giveitem_count'] = 'Esineiden määrä', + ['command_giveweapon'] = 'Anna pelaajalle ase', + ['command_giveweapon_weapon'] = 'Aseen nimi', + ['command_giveweapon_ammo'] = 'Ammusten määrä', + ['command_giveweapon_hasalready'] = 'Pelaajalla on jo kyseinen ase', + ['command_giveweaponcomponent'] = 'Anna aseen komponentti', + ['command_giveweaponcomponent_component'] = 'Komponentin nimi', + ['command_giveweaponcomponent_invalid'] = 'Virheellinen aseen komponentti', + ['command_giveweaponcomponent_hasalready'] = 'Pelaajalla on jo kyseinen asekomponentti', + ['command_giveweaponcomponent_missingweapon'] = 'Pelaajalla ei ole kyseistä asetta', + ['command_save'] = 'Talenna pelaaja tietokantaan', + ['command_saveall'] = 'Tallenna kaikki pelaajat tietokantaan', + ['command_setaccountmoney'] = 'Aseta tilirahaa pelaajalle', + ['command_setaccountmoney_amount'] = 'Asetettava rahamäärä', + ['command_setcoords'] = 'Teleporttaa koordinaatteihin', + ['command_setcoords_x'] = 'x akseli', + ['command_setcoords_y'] = 'y akseli', + ['command_setcoords_z'] = 'z akseli', + ['command_setjob'] = 'Aseta pelaajalle työ', + ['command_setjob_job'] = 'Työ', + ['command_setjob_grade'] = 'Arvo', + ['command_setjob_invalid'] = 'Työ ja arvo tai molemmat ovat virheellisiä', + ['command_setgroup'] = 'Aseta pelaajan ryhmä', + ['command_setgroup_group'] = 'Ryhmän nimi', + ['commanderror_argumentmismatch'] = 'Argumenttien määrä ei täsmää (hyväksytty %s, haluttu %s)', + ['commanderror_argumentmismatch_number'] = 'Argumentin #%s tyyppi ei täsmää (syötetty merkkijono, haluttu numero)', + ['commanderror_invaliditem'] = 'Virheellinen esineen nimi', + ['commanderror_invalidweapon'] = 'Virheellinen ase', + ['commanderror_console'] = 'Komentoa ei voi suorittaa konsolissa', + ['commanderror_invalidcommand'] = '/%s ei ole kelvollinen komento!', + ['commanderror_invalidplayerid'] = 'Palvelimella ei ole pelaajaa, joka vastaa annetua ID', + ['commandgeneric_playerid'] = 'Pelaajan ID', + ['command_giveammo_noweapon_found'] = '%s ei ole sitä asetta', + ['command_giveammo_weapon'] = 'Aseen nimi', + ['command_giveammo_ammo'] = 'Ammusten määrä', - -- Locale settings - ['locale_digit_grouping_symbol'] = '', - ['locale_currency'] = '$%s', + -- Locale settings + ['locale_digit_grouping_symbol'] = '', + ['locale_currency'] = '$%s', - -- Weapons - ['weapon_knife'] = 'Veitsi', - ['weapon_nightstick'] = 'Pamppu', - ['weapon_hammer'] = 'Vasara', - ['weapon_bat'] = 'Pesäpallomaila', - ['weapon_golfclub'] = 'Golf maila', - ['weapon_crowbar'] = 'Sorkkarauta', - ['weapon_pistol'] = 'Pistooli', - ['weapon_combatpistol'] = 'Taistelu pistooli', - ['weapon_appistol'] = 'Automaatti pistooli', - ['weapon_pistol50'] = '50 kaliiperinen pistooli', - ['weapon_microsmg'] = 'Mikro konepistooli', - ['weapon_smg'] = 'Konepistooli', - ['weapon_assaultsmg'] = 'Rynnäkkö konepistooli', - ['weapon_assaultrifle'] = 'Rynnäkkökivääri', - ['weapon_carbinerifle'] = 'Karbiini kivääri', - ['weapon_advancedrifle'] = 'Edistynyt kivääri', - ['weapon_mg'] = 'Konekivääri', - ['weapon_combatmg'] = 'Rynnäkkö konekivääri', - ['weapon_pumpshotgun'] = 'Pumppu haulikko', - ['weapon_sawnoffshotgun'] = 'Katkaistuhaulikko', - ['weapon_assaultshotgun'] = 'Hyökkäyshaulikko', - ['weapon_bullpupshotgun'] = 'Bullpup haulikko', - ['weapon_stungun'] = 'Tainutusase', - ['weapon_sniperrifle'] = 'Tarkkuuskivääri', - ['weapon_heavysniper'] = 'Raskas tarkkuuskivääri', - ['weapon_grenadelauncher'] = 'Kranaatinheitin', - ['weapon_rpg'] = 'Raketinheitin', - ['weapon_minigun'] = 'Minigun', - ['weapon_grenade'] = 'Kranaatti', - ['weapon_stickybomb'] = 'Tahma pommi', - ['weapon_smokegrenade'] = 'Savukranaatti', - ['weapon_bzgas'] = 'Bz-kaasu', - ['weapon_molotov'] = 'Polttopullo', - ['weapon_fireextinguisher'] = 'Palosammutin', - ['weapon_petrolcan'] = 'Jerrykannu', - ['weapon_ball'] = 'Pallo', - ['weapon_snspistol'] = 'Pienpistooli', - ['weapon_bottle'] = 'Pullo', - ['weapon_gusenberg'] = 'Thompson-konepistooli', - ['weapon_specialcarbine'] = 'G86C', - ['weapon_heavypistol'] = 'Raskas pistooli', - ['weapon_bullpuprifle'] = 'Bullpup kivääri', - ['weapon_dagger'] = 'Tikari', - ['weapon_vintagepistol'] = 'Vanha pistooli', - ['weapon_firework'] = 'Ilotulite', - ['weapon_musket'] = 'Musketti', - ['weapon_heavyshotgun'] = 'Raskas haulikko', - ['weapon_marksmanrifle'] = 'Marksman kivääri', - ['weapon_hominglauncher'] = 'Ohjautuva raketinheitin', - ['weapon_proxmine'] = 'Lähellä räjähtävä miina', - ['weapon_snowball'] = 'Lumipallo', - ['weapon_flaregun'] = 'Valopistooli', - ['weapon_combatpdw'] = 'Rynnäkkö pdw', - ['weapon_marksmanpistol'] = 'Marksman pistooli', - ['weapon_knuckle'] = 'Nyrkkirauta', - ['weapon_hatchet'] = 'Kirves', - ['weapon_railgun'] = 'Raidetykki', - ['weapon_machete'] = 'Viidakkoveitsi', - ['weapon_machinepistol'] = 'Konepistooli', - ['weapon_switchblade'] = 'Stiletti', - ['weapon_revolver'] = 'Raskas revolveri', - ['weapon_dbshotgun'] = 'Kaksipiippunen haulikko', - ['weapon_compactrifle'] = 'Pikku AK', - ['weapon_autoshotgun'] = 'Automaattinen haulikko', - ['weapon_battleaxe'] = 'Taistelukirves', - ['weapon_compactlauncher'] = 'Pien kranaatinheitin', - ['weapon_minismg'] = 'Mini konepistooli', - ['weapon_pipebomb'] = 'Putkipommi', - ['weapon_poolcue'] = 'Biljardimaila', - ['weapon_wrench'] = 'Putkipihdit', - ['weapon_flashlight'] = 'Taskulamppu', - ['gadget_parachute'] = 'Laskuvarjo', - ['weapon_flare'] = 'Hätäraketti', - ['weapon_doubleaction'] = 'Double action revolveri', + -- Weapons + ['weapon_knife'] = 'Veitsi', + ['weapon_nightstick'] = 'Pamppu', + ['weapon_hammer'] = 'Vasara', + ['weapon_bat'] = 'Pesäpallomaila', + ['weapon_golfclub'] = 'Golf maila', + ['weapon_crowbar'] = 'Sorkkarauta', + ['weapon_pistol'] = 'Pistooli', + ['weapon_combatpistol'] = 'Taistelu pistooli', + ['weapon_appistol'] = 'Automaatti pistooli', + ['weapon_pistol50'] = '50 kaliiperinen pistooli', + ['weapon_microsmg'] = 'Mikro konepistooli', + ['weapon_smg'] = 'Konepistooli', + ['weapon_assaultsmg'] = 'Rynnäkkö konepistooli', + ['weapon_assaultrifle'] = 'Rynnäkkökivääri', + ['weapon_carbinerifle'] = 'Karbiini kivääri', + ['weapon_advancedrifle'] = 'Edistynyt kivääri', + ['weapon_mg'] = 'Konekivääri', + ['weapon_combatmg'] = 'Rynnäkkö konekivääri', + ['weapon_pumpshotgun'] = 'Pumppu haulikko', + ['weapon_sawnoffshotgun'] = 'Katkaistuhaulikko', + ['weapon_assaultshotgun'] = 'Hyökkäyshaulikko', + ['weapon_bullpupshotgun'] = 'Bullpup haulikko', + ['weapon_stungun'] = 'Tainutusase', + ['weapon_sniperrifle'] = 'Tarkkuuskivääri', + ['weapon_heavysniper'] = 'Raskas tarkkuuskivääri', + ['weapon_grenadelauncher'] = 'Kranaatinheitin', + ['weapon_rpg'] = 'Raketinheitin', + ['weapon_minigun'] = 'Minigun', + ['weapon_grenade'] = 'Kranaatti', + ['weapon_stickybomb'] = 'Tahma pommi', + ['weapon_smokegrenade'] = 'Savukranaatti', + ['weapon_bzgas'] = 'Bz-kaasu', + ['weapon_molotov'] = 'Polttopullo', + ['weapon_fireextinguisher'] = 'Palosammutin', + ['weapon_petrolcan'] = 'Jerrykannu', + ['weapon_ball'] = 'Pallo', + ['weapon_snspistol'] = 'Pienpistooli', + ['weapon_bottle'] = 'Pullo', + ['weapon_gusenberg'] = 'Thompson-konepistooli', + ['weapon_specialcarbine'] = 'G86C', + ['weapon_heavypistol'] = 'Raskas pistooli', + ['weapon_bullpuprifle'] = 'Bullpup kivääri', + ['weapon_dagger'] = 'Tikari', + ['weapon_vintagepistol'] = 'Vanha pistooli', + ['weapon_firework'] = 'Ilotulite', + ['weapon_musket'] = 'Musketti', + ['weapon_heavyshotgun'] = 'Raskas haulikko', + ['weapon_marksmanrifle'] = 'Marksman kivääri', + ['weapon_hominglauncher'] = 'Ohjautuva raketinheitin', + ['weapon_proxmine'] = 'Lähellä räjähtävä miina', + ['weapon_snowball'] = 'Lumipallo', + ['weapon_flaregun'] = 'Valopistooli', + ['weapon_combatpdw'] = 'Rynnäkkö pdw', + ['weapon_marksmanpistol'] = 'Marksman pistooli', + ['weapon_knuckle'] = 'Nyrkkirauta', + ['weapon_hatchet'] = 'Kirves', + ['weapon_railgun'] = 'Raidetykki', + ['weapon_machete'] = 'Viidakkoveitsi', + ['weapon_machinepistol'] = 'Konepistooli', + ['weapon_switchblade'] = 'Stiletti', + ['weapon_revolver'] = 'Raskas revolveri', + ['weapon_dbshotgun'] = 'Kaksipiippunen haulikko', + ['weapon_compactrifle'] = 'Pikku AK', + ['weapon_autoshotgun'] = 'Automaattinen haulikko', + ['weapon_battleaxe'] = 'Taistelukirves', + ['weapon_compactlauncher'] = 'Pien kranaatinheitin', + ['weapon_minismg'] = 'Mini konepistooli', + ['weapon_pipebomb'] = 'Putkipommi', + ['weapon_poolcue'] = 'Biljardimaila', + ['weapon_wrench'] = 'Putkipihdit', + ['weapon_flashlight'] = 'Taskulamppu', + ['gadget_parachute'] = 'Laskuvarjo', + ['weapon_flare'] = 'Hätäraketti', + ['weapon_doubleaction'] = 'Double action revolveri', - -- Weapon Components - ['component_clip_default'] = 'Oletus lipas', - ['component_clip_extended'] = 'Paranneltu lipas', - ['component_clip_drum'] = 'Rumpulipas', - ['component_clip_box'] = 'Laatikkolipas', - ['component_flashlight'] = 'Taskulamppu', - ['component_scope'] = 'Tähtäin', - ['component_scope_advanced'] = 'Paranneltu tähtäin', - ['component_suppressor'] = 'Äänenvaimennin', - ['component_grip'] = 'Kahva', - ['component_luxary_finish'] = 'Luksus ulkokuori', + -- Weapon Components + ['component_clip_default'] = 'Oletus lipas', + ['component_clip_extended'] = 'Paranneltu lipas', + ['component_clip_drum'] = 'Rumpulipas', + ['component_clip_box'] = 'Laatikkolipas', + ['component_flashlight'] = 'Taskulamppu', + ['component_scope'] = 'Tähtäin', + ['component_scope_advanced'] = 'Paranneltu tähtäin', + ['component_suppressor'] = 'Äänenvaimennin', + ['component_grip'] = 'Kahva', + ['component_luxary_finish'] = 'Luksus ulkokuori', - -- Weapon Ammo - ['ammo_rounds'] = 'Ammukset(s)', - ['ammo_shells'] = 'Hylsy(s)', - ['ammo_charge'] = 'Lataa', - ['ammo_petrol'] = 'Gallonaa polttoainetta', - ['ammo_firework'] = 'Ilotulite(s)', - ['ammo_rockets'] = 'Raketti(s)', - ['ammo_grenadelauncher'] = 'Kranaatti(s)', - ['ammo_grenade'] = 'Kranaatti(s)', - ['ammo_stickybomb'] = 'Pommi(s)', - ['ammo_pipebomb'] = 'Pommi(s)', - ['ammo_smokebomb'] = 'Pommi(s)', - ['ammo_molotov'] = 'Polttopullo(s)', - ['ammo_proxmine'] = 'Miina(s)', - ['ammo_bzgas'] = 'Tölkki(s)', - ['ammo_ball'] = 'Pallo(s)', - ['ammo_snowball'] = 'Lumipallo(s)', - ['ammo_flare'] = 'Valoraketti(s)', - ['ammo_flaregun'] = 'Valoraketti(s)', + -- Weapon Ammo + ['ammo_rounds'] = 'Ammukset(s)', + ['ammo_shells'] = 'Hylsy(s)', + ['ammo_charge'] = 'Lataa', + ['ammo_petrol'] = 'Gallonaa polttoainetta', + ['ammo_firework'] = 'Ilotulite(s)', + ['ammo_rockets'] = 'Raketti(s)', + ['ammo_grenadelauncher'] = 'Kranaatti(s)', + ['ammo_grenade'] = 'Kranaatti(s)', + ['ammo_stickybomb'] = 'Pommi(s)', + ['ammo_pipebomb'] = 'Pommi(s)', + ['ammo_smokebomb'] = 'Pommi(s)', + ['ammo_molotov'] = 'Polttopullo(s)', + ['ammo_proxmine'] = 'Miina(s)', + ['ammo_bzgas'] = 'Tölkki(s)', + ['ammo_ball'] = 'Pallo(s)', + ['ammo_snowball'] = 'Lumipallo(s)', + ['ammo_flare'] = 'Valoraketti(s)', + ['ammo_flaregun'] = 'Valoraketti(s)', - -- Weapon Tints - ['tint_default'] = 'Oletus ulkokuori', - ['tint_green'] = 'Vihreä ulkokuori', - ['tint_gold'] = 'Kultainen ulkokuori', - ['tint_pink'] = 'Vaaleanpunainen ulkokuori', - ['tint_army'] = 'Armeija ulkokuori', - ['tint_lspd'] = 'Sininen ulkokuori', - ['tint_orange'] = 'Oranssi ulkokuori', - ['tint_platinum'] = 'Platina ulkokuori', + -- Weapon Tints + ['tint_default'] = 'Oletus ulkokuori', + ['tint_green'] = 'Vihreä ulkokuori', + ['tint_gold'] = 'Kultainen ulkokuori', + ['tint_pink'] = 'Vaaleanpunainen ulkokuori', + ['tint_army'] = 'Armeija ulkokuori', + ['tint_lspd'] = 'Sininen ulkokuori', + ['tint_orange'] = 'Oranssi ulkokuori', + ['tint_platinum'] = 'Platina ulkokuori', } From d2c0e39caebe77705fab52c71d55e0937d4a8d3f Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:37:31 +0200 Subject: [PATCH 102/236] refactor(locales/es): format code --- [core]/es_extended/locales/es.lua | 650 +++++++++++++++--------------- 1 file changed, 325 insertions(+), 325 deletions(-) diff --git a/[core]/es_extended/locales/es.lua b/[core]/es_extended/locales/es.lua index 058f5d8d..dc9c57bb 100644 --- a/[core]/es_extended/locales/es.lua +++ b/[core]/es_extended/locales/es.lua @@ -1,358 +1,358 @@ Locales['es'] = { - -- Inventory - ['inventory'] = 'Inventario %s / %s', - ['use'] = 'Usar', - ['give'] = 'Dar', - ['remove'] = 'Tirar', - ['return'] = 'Volver', - ['give_to'] = 'Dar a', - ['amount'] = 'Cantidad', - ['giveammo'] = 'Dar munición', - ['amountammo'] = 'Cantidad de munición', - ['noammo'] = 'No tienes suficiente munición!', - ['gave_item'] = 'Has dado %sx %s a %s', - ['received_item'] = 'Has recibido %sx %s de %s', - ['gave_weapon'] = 'Has dado %s a %s', - ['gave_weapon_ammo'] = 'Has dado ~o~%sx %s para %s a %s', - ['gave_weapon_withammo'] = 'Has dado %s con ~o~%sx %s a %s', - ['gave_weapon_hasalready'] = '%s ya tiene un/a %s', - ['gave_weapon_noweapon'] = '%s no tiene ese arma', - ['received_weapon'] = 'Has recibido %s de %s', - ['received_weapon_ammo'] = 'Has recibido ~o~%sx %s para su %s de %s', - ['received_weapon_withammo'] = 'Has recibido %s con ~o~%sx %s de %s', - ['received_weapon_hasalready'] = '%s intentó darle un/a %s, pero ya tienes uno', - ['received_weapon_noweapon'] = '%s intentó darles munición para un %s, pero no tiene uno', - ['gave_account_money'] = 'Has dado $%s (%s) a %s', - ['received_account_money'] = 'Has recibido $%s (%s) de %s', - ['amount_invalid'] = 'Cantidad inválida', - ['players_nearby'] = 'No hay jugadores cerca', - ['ex_inv_lim'] = 'Acción no posible, excediendo el límite de inventario para %s', - ['imp_invalid_quantity'] = 'Acción imposible, cantidad inválida', - ['imp_invalid_amount'] = 'Acción imposible, cantidad inválida', - ['threw_standard'] = 'Has tirado %sx %s', - ['threw_account'] = 'Has tirado $%s %s', - ['threw_weapon'] = 'Has tirado %s', - ['threw_weapon_ammo'] = 'Has tirado %s con ~o~%sx %s', - ['threw_weapon_already'] = 'Ya llevas el mismo arma', - ['threw_cannot_pickup'] = 'No puedes recogerlo porque tu inventario está lleno!', - ['threw_pickup_prompt'] = 'Pulsa E para recoger', + -- Inventory + ['inventory'] = 'Inventario %s / %s', + ['use'] = 'Usar', + ['give'] = 'Dar', + ['remove'] = 'Tirar', + ['return'] = 'Volver', + ['give_to'] = 'Dar a', + ['amount'] = 'Cantidad', + ['giveammo'] = 'Dar munición', + ['amountammo'] = 'Cantidad de munición', + ['noammo'] = 'No tienes suficiente munición!', + ['gave_item'] = 'Has dado %sx %s a %s', + ['received_item'] = 'Has recibido %sx %s de %s', + ['gave_weapon'] = 'Has dado %s a %s', + ['gave_weapon_ammo'] = 'Has dado ~o~%sx %s para %s a %s', + ['gave_weapon_withammo'] = 'Has dado %s con ~o~%sx %s a %s', + ['gave_weapon_hasalready'] = '%s ya tiene un/a %s', + ['gave_weapon_noweapon'] = '%s no tiene ese arma', + ['received_weapon'] = 'Has recibido %s de %s', + ['received_weapon_ammo'] = 'Has recibido ~o~%sx %s para su %s de %s', + ['received_weapon_withammo'] = 'Has recibido %s con ~o~%sx %s de %s', + ['received_weapon_hasalready'] = '%s intentó darle un/a %s, pero ya tienes uno', + ['received_weapon_noweapon'] = '%s intentó darles munición para un %s, pero no tiene uno', + ['gave_account_money'] = 'Has dado $%s (%s) a %s', + ['received_account_money'] = 'Has recibido $%s (%s) de %s', + ['amount_invalid'] = 'Cantidad inválida', + ['players_nearby'] = 'No hay jugadores cerca', + ['ex_inv_lim'] = 'Acción no posible, excediendo el límite de inventario para %s', + ['imp_invalid_quantity'] = 'Acción imposible, cantidad inválida', + ['imp_invalid_amount'] = 'Acción imposible, cantidad inválida', + ['threw_standard'] = 'Has tirado %sx %s', + ['threw_account'] = 'Has tirado $%s %s', + ['threw_weapon'] = 'Has tirado %s', + ['threw_weapon_ammo'] = 'Has tirado %s con ~o~%sx %s', + ['threw_weapon_already'] = 'Ya llevas el mismo arma', + ['threw_cannot_pickup'] = 'No puedes recogerlo porque tu inventario está lleno!', + ['threw_pickup_prompt'] = 'Pulsa E para recoger', - -- Key mapping - ['keymap_showinventory'] = 'Ver Inventario', + -- Key mapping + ['keymap_showinventory'] = 'Ver Inventario', - -- Salary related - ['received_salary'] = 'Has recibido tu sueldo: $%s', - ['received_help'] = 'Has recibido su cheque de bienestar: $%s', - ['company_nomoney'] = 'La empresa en la que trabajas no tiene dinero para pagar tu sueldo', - ['received_paycheck'] = 'Recibió su paga', - ['bank'] = 'Banco', - ['account_bank'] = 'Banco', - ['account_black_money'] = 'Dinero Negro', - ['account_money'] = 'Efectivo', + -- Salary related + ['received_salary'] = 'Has recibido tu sueldo: $%s', + ['received_help'] = 'Has recibido su cheque de bienestar: $%s', + ['company_nomoney'] = 'La empresa en la que trabajas no tiene dinero para pagar tu sueldo', + ['received_paycheck'] = 'Recibió su paga', + ['bank'] = 'Banco', + ['account_bank'] = 'Banco', + ['account_black_money'] = 'Dinero Negro', + ['account_money'] = 'Efectivo', - ['act_imp'] = 'No se pudo realizar la acción.', - ['in_vehicle'] = 'Acción rechazada. El jugador se encuentra en un vehículo', + ['act_imp'] = 'No se pudo realizar la acción.', + ['in_vehicle'] = 'Acción rechazada. El jugador se encuentra en un vehículo', - -- Commands - ['command_bring'] = 'Traer un jugador hacia ti', - ['command_car'] = 'Spawnear un vehículo', - ['command_car_car'] = 'Nombre del vehículo', - ['command_cardel'] = 'Eliminar vehículos cercanos', - ['command_cardel_radius'] = 'Opcional, eliminar todos los vehículos en el radio especificado', - ['command_clear'] = 'Limpiar chat para ti', - ['command_clearall'] = 'Limpiar chat para todos los jugadores', - ['command_clearinventory'] = 'Limpiar el inventario del jugador', - ['command_clearloadout'] = 'Limpiar inventario de un jugador', - ['command_freeze'] = 'Congelar un jugador', - ['command_unfreeze'] = 'Descongelar un jugador', - ['command_giveaccountmoney'] = 'Dar dinero', - ['command_giveaccountmoney_account'] = 'Nombre de cuenta válido', - ['command_giveaccountmoney_amount'] = 'Cantidad a añadir', - ['command_giveaccountmoney_invalid'] = 'Nombre de cuenta no existente. [bank, money, black_money]', - ['command_giveitem'] = 'Dar un objeto a un jugador', - ['command_giveitem_item'] = 'Nombre del artículo', - ['command_giveitem_count'] = 'Cantidad de articulos', - ['command_giveweapon'] = 'Dar un arma a un jugador', - ['command_giveweapon_weapon'] = 'Nombre del arma', - ['command_giveweapon_ammo'] = 'Cantidad de municion', - ['command_giveweapon_hasalready'] = 'El jugador ya tiene esa arma', - ['command_giveweaponcomponent'] = 'Dar el componente del arma', - ['command_giveweaponcomponent_component'] = 'Nombre del componente', - ['command_giveweaponcomponent_invalid'] = 'Componente del arma no válido', - ['command_giveweaponcomponent_hasalready'] = 'El jugador ya tiene ese componente del arma', - ['command_giveweaponcomponent_missingweapon'] = 'El jugador no tiene esa arma', - ['command_goto'] = 'Teletransportarte hacia un jugador', - ['command_kill'] = 'Matar un jugador', - ['command_save'] = 'Guardar la informacion de un jugador en la base de datos.', - ['command_saveall'] = 'Guardar toda la informacion de jugadores en la base de datos.', - ['command_setaccountmoney'] = 'Establecer el dinero de la cuenta para un jugador', - ['command_setaccountmoney_amount'] = 'Cantidad de dinero a establecer', - ['command_setcoords'] = 'Teletransporte a coordenadas', - ['command_setcoords_x'] = 'Eje X', - ['command_setcoords_y'] = 'Eje Y', - ['command_setcoords_z'] = 'Eje Z', - ['command_setjob'] = 'Dar un trabajo a un jugador', - ['command_setjob_job'] = 'Nombre del trabajo', - ['command_setjob_grade'] = 'Rango del trabajo', - ['command_setjob_invalid'] = 'El trabajo o el rango no son válidos', - ['command_setgroup'] = 'Establecer el grupo de un jugador', - ['command_setgroup_group'] = 'Nombre del grupo', - ['commanderror_argumentmismatch'] = 'Error en el recuento de argumentos (pasado %s, deseado %s)', - ['commanderror_argumentmismatch_number'] = 'Argumento #%s tipo no coincide (cadena pasada, número deseado)', - ['commanderror_invaliditem'] = 'Nombre del artículo no válido', - ['commanderror_invalidweapon'] = 'Arma inválida', - ['commanderror_console'] = 'Ese comando no se puede ejecutar desde la consola', - ['commanderror_invalidcommand'] = '/%s ¡No es un comando válido!', - ['commanderror_invalidplayerid'] = 'No hay ningún jugador online con la ID especificada', - ['commandgeneric_playerid'] = 'ID del jugador', - ['command_giveammo_noweapon_found'] = '%s no posee esa arma', - ['command_giveammo_weapon'] = 'Nombre del arma', - ['command_giveammo_ammo'] = 'Cantidad de municion', + -- Commands + ['command_bring'] = 'Traer un jugador hacia ti', + ['command_car'] = 'Spawnear un vehículo', + ['command_car_car'] = 'Nombre del vehículo', + ['command_cardel'] = 'Eliminar vehículos cercanos', + ['command_cardel_radius'] = 'Opcional, eliminar todos los vehículos en el radio especificado', + ['command_clear'] = 'Limpiar chat para ti', + ['command_clearall'] = 'Limpiar chat para todos los jugadores', + ['command_clearinventory'] = 'Limpiar el inventario del jugador', + ['command_clearloadout'] = 'Limpiar inventario de un jugador', + ['command_freeze'] = 'Congelar un jugador', + ['command_unfreeze'] = 'Descongelar un jugador', + ['command_giveaccountmoney'] = 'Dar dinero', + ['command_giveaccountmoney_account'] = 'Nombre de cuenta válido', + ['command_giveaccountmoney_amount'] = 'Cantidad a añadir', + ['command_giveaccountmoney_invalid'] = 'Nombre de cuenta no existente. [bank, money, black_money]', + ['command_giveitem'] = 'Dar un objeto a un jugador', + ['command_giveitem_item'] = 'Nombre del artículo', + ['command_giveitem_count'] = 'Cantidad de articulos', + ['command_giveweapon'] = 'Dar un arma a un jugador', + ['command_giveweapon_weapon'] = 'Nombre del arma', + ['command_giveweapon_ammo'] = 'Cantidad de municion', + ['command_giveweapon_hasalready'] = 'El jugador ya tiene esa arma', + ['command_giveweaponcomponent'] = 'Dar el componente del arma', + ['command_giveweaponcomponent_component'] = 'Nombre del componente', + ['command_giveweaponcomponent_invalid'] = 'Componente del arma no válido', + ['command_giveweaponcomponent_hasalready'] = 'El jugador ya tiene ese componente del arma', + ['command_giveweaponcomponent_missingweapon'] = 'El jugador no tiene esa arma', + ['command_goto'] = 'Teletransportarte hacia un jugador', + ['command_kill'] = 'Matar un jugador', + ['command_save'] = 'Guardar la informacion de un jugador en la base de datos.', + ['command_saveall'] = 'Guardar toda la informacion de jugadores en la base de datos.', + ['command_setaccountmoney'] = 'Establecer el dinero de la cuenta para un jugador', + ['command_setaccountmoney_amount'] = 'Cantidad de dinero a establecer', + ['command_setcoords'] = 'Teletransporte a coordenadas', + ['command_setcoords_x'] = 'Eje X', + ['command_setcoords_y'] = 'Eje Y', + ['command_setcoords_z'] = 'Eje Z', + ['command_setjob'] = 'Dar un trabajo a un jugador', + ['command_setjob_job'] = 'Nombre del trabajo', + ['command_setjob_grade'] = 'Rango del trabajo', + ['command_setjob_invalid'] = 'El trabajo o el rango no son válidos', + ['command_setgroup'] = 'Establecer el grupo de un jugador', + ['command_setgroup_group'] = 'Nombre del grupo', + ['commanderror_argumentmismatch'] = 'Error en el recuento de argumentos (pasado %s, deseado %s)', + ['commanderror_argumentmismatch_number'] = 'Argumento #%s tipo no coincide (cadena pasada, número deseado)', + ['commanderror_invaliditem'] = 'Nombre del artículo no válido', + ['commanderror_invalidweapon'] = 'Arma inválida', + ['commanderror_console'] = 'Ese comando no se puede ejecutar desde la consola', + ['commanderror_invalidcommand'] = '/%s ¡No es un comando válido!', + ['commanderror_invalidplayerid'] = 'No hay ningún jugador online con la ID especificada', + ['commandgeneric_playerid'] = 'ID del jugador', + ['command_giveammo_noweapon_found'] = '%s no posee esa arma', + ['command_giveammo_weapon'] = 'Nombre del arma', + ['command_giveammo_ammo'] = 'Cantidad de municion', - -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '$%s', + -- Locale settings + ['locale_digit_grouping_symbol'] = ',', + ['locale_currency'] = '$%s', - -- Weapons + -- Weapons - -- Melee - ['weapon_dagger'] = 'Daga', - ['weapon_bat'] = 'Bate', - ['weapon_battleaxe'] = 'Hacha de combate', - ['weapon_bottle'] = 'Botella', - ['weapon_crowbar'] = 'Palanca', - ['weapon_flashlight'] = 'Linterna', - ['weapon_golfclub'] = 'Palo de Golf', - ['weapon_hammer'] = 'Martillo', - ['weapon_hatchet'] = 'Hacha', - ['weapon_knife'] = 'Cuchillo', - ['weapon_knuckle'] = 'Puño Americano', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Porra', - ['weapon_wrench'] = 'Llave Inglesa', - ['weapon_poolcue'] = 'Taco de Billar', - ['weapon_stone_hatchet'] = 'Hacha de Piedra', - ['weapon_switchblade'] = 'Navaja', + -- Melee + ['weapon_dagger'] = 'Daga', + ['weapon_bat'] = 'Bate', + ['weapon_battleaxe'] = 'Hacha de combate', + ['weapon_bottle'] = 'Botella', + ['weapon_crowbar'] = 'Palanca', + ['weapon_flashlight'] = 'Linterna', + ['weapon_golfclub'] = 'Palo de Golf', + ['weapon_hammer'] = 'Martillo', + ['weapon_hatchet'] = 'Hacha', + ['weapon_knife'] = 'Cuchillo', + ['weapon_knuckle'] = 'Puño Americano', + ['weapon_machete'] = 'Machete', + ['weapon_nightstick'] = 'Porra', + ['weapon_wrench'] = 'Llave Inglesa', + ['weapon_poolcue'] = 'Taco de Billar', + ['weapon_stone_hatchet'] = 'Hacha de Piedra', + ['weapon_switchblade'] = 'Navaja', - -- Handguns - ['weapon_appistol'] = 'Pistola AP', - ['weapon_ceramicpistol'] = 'Pistola de Ceramica', - ['weapon_combatpistol'] = 'Pistola de Combate', - ['weapon_doubleaction'] = 'Revólver de Doble Acción', - ['weapon_navyrevolver'] = 'Revólver de la Armada', - ['weapon_flaregun'] = 'Pistola de Bengalas', - ['weapon_gadgetpistol'] = 'Pistola de Perico', - ['weapon_heavypistol'] = 'Pistola Pesada', - ['weapon_revolver'] = 'Revólver Pesado', - ['weapon_revolver_mk2'] = 'Revólver Pesado MK2', - ['weapon_marksmanpistol'] = 'Pistola Marksman', - ['weapon_pistol'] = 'Pistola 9mm', - ['weapon_pistol_mk2'] = 'Pistola MK2', - ['weapon_pistol50'] = 'Pistola .50', - ['weapon_snspistol'] = 'Pistola SNS', - ['weapon_snspistol_mk2'] = 'Pistola SNS MK2', - ['weapon_stungun'] = 'Tazer', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Pistola Vintage', + -- Handguns + ['weapon_appistol'] = 'Pistola AP', + ['weapon_ceramicpistol'] = 'Pistola de Ceramica', + ['weapon_combatpistol'] = 'Pistola de Combate', + ['weapon_doubleaction'] = 'Revólver de Doble Acción', + ['weapon_navyrevolver'] = 'Revólver de la Armada', + ['weapon_flaregun'] = 'Pistola de Bengalas', + ['weapon_gadgetpistol'] = 'Pistola de Perico', + ['weapon_heavypistol'] = 'Pistola Pesada', + ['weapon_revolver'] = 'Revólver Pesado', + ['weapon_revolver_mk2'] = 'Revólver Pesado MK2', + ['weapon_marksmanpistol'] = 'Pistola Marksman', + ['weapon_pistol'] = 'Pistola 9mm', + ['weapon_pistol_mk2'] = 'Pistola MK2', + ['weapon_pistol50'] = 'Pistola .50', + ['weapon_snspistol'] = 'Pistola SNS', + ['weapon_snspistol_mk2'] = 'Pistola SNS MK2', + ['weapon_stungun'] = 'Tazer', + ['weapon_raypistol'] = 'Up-N-Atomizer', + ['weapon_vintagepistol'] = 'Pistola Vintage', - -- Shotguns - ['weapon_assaultshotgun'] = 'Escopeta de Asalto', - ['weapon_autoshotgun'] = 'Escopeta Automática', - ['weapon_bullpupshotgun'] = 'Escopeta Bullpup', - ['weapon_combatshotgun'] = 'Escopeta Combate', - ['weapon_dbshotgun'] = 'Escopeta de Doble Barril', - ['weapon_heavyshotgun'] = 'Escopeta Pesada', - ['weapon_musket'] = 'Mosquete', - ['weapon_pumpshotgun'] = 'Escopeta de Bombeo', - ['weapon_pumpshotgun_mk2'] = 'Escopeta de Bombeo MK2', - ['weapon_sawnoffshotgun'] = 'Escopeta Recortada', + -- Shotguns + ['weapon_assaultshotgun'] = 'Escopeta de Asalto', + ['weapon_autoshotgun'] = 'Escopeta Automática', + ['weapon_bullpupshotgun'] = 'Escopeta Bullpup', + ['weapon_combatshotgun'] = 'Escopeta Combate', + ['weapon_dbshotgun'] = 'Escopeta de Doble Barril', + ['weapon_heavyshotgun'] = 'Escopeta Pesada', + ['weapon_musket'] = 'Mosquete', + ['weapon_pumpshotgun'] = 'Escopeta de Bombeo', + ['weapon_pumpshotgun_mk2'] = 'Escopeta de Bombeo MK2', + ['weapon_sawnoffshotgun'] = 'Escopeta Recortada', - -- SMG & LMG - ['weapon_assaultsmg'] = 'Subfusil de Asalto', - ['weapon_combatmg'] = 'Ametralladora de Combate', - ['weapon_combatmg_mk2'] = 'Ametralladora MK2', - ['weapon_combatpdw'] = 'Subfusil PDW', - ['weapon_gusenberg'] = 'Subfusil de Barril', - ['weapon_machinepistol'] = 'Pistola Ametralladora', - ['weapon_mg'] = 'Ametralladora', - ['weapon_microsmg'] = 'Micro Subfusil', - ['weapon_minismg'] = 'Mini Subfusil', - ['weapon_smg'] = 'Subfusil', - ['weapon_smg_mk2'] = 'Subfusil MK2', - ['weapon_raycarbine'] = 'Ametralladora de Rayos', + -- SMG & LMG + ['weapon_assaultsmg'] = 'Subfusil de Asalto', + ['weapon_combatmg'] = 'Ametralladora de Combate', + ['weapon_combatmg_mk2'] = 'Ametralladora MK2', + ['weapon_combatpdw'] = 'Subfusil PDW', + ['weapon_gusenberg'] = 'Subfusil de Barril', + ['weapon_machinepistol'] = 'Pistola Ametralladora', + ['weapon_mg'] = 'Ametralladora', + ['weapon_microsmg'] = 'Micro Subfusil', + ['weapon_minismg'] = 'Mini Subfusil', + ['weapon_smg'] = 'Subfusil', + ['weapon_smg_mk2'] = 'Subfusil MK2', + ['weapon_raycarbine'] = 'Ametralladora de Rayos', - -- Rifles - ['weapon_advancedrifle'] = 'Rifle Avanzado', - ['weapon_assaultrifle'] = 'Rifle de Asalto', - ['weapon_assaultrifle_mk2'] = 'Rifle de Asalto MK2', - ['weapon_bullpuprifle'] = 'Rifle Bullpup', - ['weapon_bullpuprifle_mk2'] = 'Rifle Bullpup MK2', - ['weapon_carbinerifle'] = 'Carabina', - ['weapon_carbinerifle_mk2'] = 'Carabina MK2', - ['weapon_compactrifle'] = 'Rifle Compacto', - ['weapon_militaryrifle'] = 'Rifle Militar', - ['weapon_specialcarbine'] = 'Carabina Especial', - ['weapon_specialcarbine_mk2'] = 'Carabina Especial MK2', + -- Rifles + ['weapon_advancedrifle'] = 'Rifle Avanzado', + ['weapon_assaultrifle'] = 'Rifle de Asalto', + ['weapon_assaultrifle_mk2'] = 'Rifle de Asalto MK2', + ['weapon_bullpuprifle'] = 'Rifle Bullpup', + ['weapon_bullpuprifle_mk2'] = 'Rifle Bullpup MK2', + ['weapon_carbinerifle'] = 'Carabina', + ['weapon_carbinerifle_mk2'] = 'Carabina MK2', + ['weapon_compactrifle'] = 'Rifle Compacto', + ['weapon_militaryrifle'] = 'Rifle Militar', + ['weapon_specialcarbine'] = 'Carabina Especial', + ['weapon_specialcarbine_mk2'] = 'Carabina Especial MK2', - -- Sniper - ['weapon_heavysniper'] = 'Francotirador Pesado', - ['weapon_heavysniper_mk2'] = 'Francotirador Pesado MK2', - ['weapon_marksmanrifle'] = 'Rifle Marksman', - ['weapon_marksmanrifle_mk2'] = 'Rifle Marksman MK2', - ['weapon_sniperrifle'] = 'Rifle de Francotirador', + -- Sniper + ['weapon_heavysniper'] = 'Francotirador Pesado', + ['weapon_heavysniper_mk2'] = 'Francotirador Pesado MK2', + ['weapon_marksmanrifle'] = 'Rifle Marksman', + ['weapon_marksmanrifle_mk2'] = 'Rifle Marksman MK2', + ['weapon_sniperrifle'] = 'Rifle de Francotirador', - -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Lanzador Compacto', - ['weapon_firework'] = 'Lanzador de Fuegos Artificiales', - ['weapon_grenadelauncher'] = 'Lanzagranadas', - ['weapon_hominglauncher'] = 'Lanzacohetes Guiado', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Cañón de riel', - ['weapon_rpg'] = 'Lanzador de cohetes', - ['weapon_rayminigun'] = 'Minigun de Rayos', + -- Heavy / Launchers + ['weapon_compactlauncher'] = 'Lanzador Compacto', + ['weapon_firework'] = 'Lanzador de Fuegos Artificiales', + ['weapon_grenadelauncher'] = 'Lanzagranadas', + ['weapon_hominglauncher'] = 'Lanzacohetes Guiado', + ['weapon_minigun'] = 'Minigun', + ['weapon_railgun'] = 'Cañón de riel', + ['weapon_rpg'] = 'Lanzador de cohetes', + ['weapon_rayminigun'] = 'Minigun de Rayos', - -- Thrown - ['weapon_ball'] = 'Pelota de Beisbol', - ['weapon_bzgas'] = 'Gas Pimienta', - ['weapon_flare'] = 'Bengala', - ['weapon_grenade'] = 'Granada', - ['weapon_petrolcan'] = 'Bidon de Gasolina', - ['weapon_hazardcan'] = 'Bidón de Gasolina Peligroso', - ['weapon_molotov'] = 'Molotov', - ['weapon_proxmine'] = 'Mina de Proximidad ', - ['weapon_pipebomb'] = 'Bomba casera', - ['weapon_snowball'] = 'Bola de nieve', - ['weapon_stickybomb'] = 'C4', - ['weapon_smokegrenade'] = 'Granada de Humo', + -- Thrown + ['weapon_ball'] = 'Pelota de Beisbol', + ['weapon_bzgas'] = 'Gas Pimienta', + ['weapon_flare'] = 'Bengala', + ['weapon_grenade'] = 'Granada', + ['weapon_petrolcan'] = 'Bidon de Gasolina', + ['weapon_hazardcan'] = 'Bidón de Gasolina Peligroso', + ['weapon_molotov'] = 'Molotov', + ['weapon_proxmine'] = 'Mina de Proximidad ', + ['weapon_pipebomb'] = 'Bomba casera', + ['weapon_snowball'] = 'Bola de nieve', + ['weapon_stickybomb'] = 'C4', + ['weapon_smokegrenade'] = 'Granada de Humo', - -- Special - ['weapon_fireextinguisher'] = 'Extintor', - ['weapon_digiscanner'] = 'Escaner Digital', - ['weapon_garbagebag'] = 'Bolsa de Basura', - ['weapon_handcuffs'] = 'Grilletes', - ['gadget_nightvision'] = 'Vision Nocturna', - ['gadget_parachute'] = 'Paracaidas', + -- Special + ['weapon_fireextinguisher'] = 'Extintor', + ['weapon_digiscanner'] = 'Escaner Digital', + ['weapon_garbagebag'] = 'Bolsa de Basura', + ['weapon_handcuffs'] = 'Grilletes', + ['gadget_nightvision'] = 'Vision Nocturna', + ['gadget_parachute'] = 'Paracaidas', - -- Weapon Components - ['component_knuckle_base'] = 'Modelo Basico', - ['component_knuckle_pimp'] = 'el Proxeneta', - ['component_knuckle_ballas'] = 'los Ballas', - ['component_knuckle_dollar'] = 'el Buscavidas', - ['component_knuckle_diamond'] = 'la Roca', - ['component_knuckle_hate'] = 'el Hater', - ['component_knuckle_love'] = 'el Amante', - ['component_knuckle_player'] = 'el Jugador', - ['component_knuckle_king'] = 'el Rey', - ['component_knuckle_vagos'] = 'los Vagos', + -- Weapon Components + ['component_knuckle_base'] = 'Modelo Basico', + ['component_knuckle_pimp'] = 'el Proxeneta', + ['component_knuckle_ballas'] = 'los Ballas', + ['component_knuckle_dollar'] = 'el Buscavidas', + ['component_knuckle_diamond'] = 'la Roca', + ['component_knuckle_hate'] = 'el Hater', + ['component_knuckle_love'] = 'el Amante', + ['component_knuckle_player'] = 'el Jugador', + ['component_knuckle_king'] = 'el Rey', + ['component_knuckle_vagos'] = 'los Vagos', - ['component_luxary_finish'] = 'Acabado de Armas de Lujo', + ['component_luxary_finish'] = 'Acabado de Armas de Lujo', - ['component_handle_default'] = 'Mango Default', - ['component_handle_vip'] = 'Mango VIP', - ['component_handle_bodyguard'] = 'Mango de Guardaespaldas', + ['component_handle_default'] = 'Mango Default', + ['component_handle_vip'] = 'Mango VIP', + ['component_handle_bodyguard'] = 'Mango de Guardaespaldas', - ['component_vip_finish'] = 'Acabado VIP', - ['component_bodyguard_finish'] = 'Acabado Guardaespaldas', + ['component_vip_finish'] = 'Acabado VIP', + ['component_bodyguard_finish'] = 'Acabado Guardaespaldas', - ['component_camo_finish'] = 'Camuflaje Digital', - ['component_camo_finish2'] = 'Camuflaje Pincelada', - ['component_camo_finish3'] = 'Camuflaje Bosque', - ['component_camo_finish4'] = 'Camuflaje Calavera', - ['component_camo_finish5'] = 'Camuflaje Sessanta Nove', - ['component_camo_finish6'] = 'Camuflaje Perseo', - ['component_camo_finish7'] = 'Camuflaje Leopardo', - ['component_camo_finish8'] = 'Camuflaje Zebra', - ['component_camo_finish9'] = 'Camuflaje Geométrico', - ['component_camo_finish10'] = 'Camuflaje Boom', - ['component_camo_finish11'] = 'Camuflaje Patriotico', + ['component_camo_finish'] = 'Camuflaje Digital', + ['component_camo_finish2'] = 'Camuflaje Pincelada', + ['component_camo_finish3'] = 'Camuflaje Bosque', + ['component_camo_finish4'] = 'Camuflaje Calavera', + ['component_camo_finish5'] = 'Camuflaje Sessanta Nove', + ['component_camo_finish6'] = 'Camuflaje Perseo', + ['component_camo_finish7'] = 'Camuflaje Leopardo', + ['component_camo_finish8'] = 'Camuflaje Zebra', + ['component_camo_finish9'] = 'Camuflaje Geométrico', + ['component_camo_finish10'] = 'Camuflaje Boom', + ['component_camo_finish11'] = 'Camuflaje Patriotico', - ['component_camo_slide_finish'] = 'Camuflaje Digital Deslizante', - ['component_camo_slide_finish2'] = 'Camuflaje Pincelada Deslizante', - ['component_camo_slide_finish3'] = 'Camuflaje Bosque Deslizante', - ['component_camo_slide_finish4'] = 'Camuflaje Calavera Deslizante', - ['component_camo_slide_finish5'] = 'Camuflaje Sessanta Nove Deslizante', - ['component_camo_slide_finish6'] = 'Camuflaje Perseo Deslizante', - ['component_camo_slide_finish7'] = 'Camuflaje Leopardo Deslizante', - ['component_camo_slide_finish8'] = 'Camuflaje Zebra Deslizante', - ['component_camo_slide_finish9'] = 'Camuflaje Geométrico Deslizante', - ['component_camo_slide_finish10'] = 'Camuflaje Boom Deslizante', - ['component_camo_slide_finish11'] = 'Camuflaje Patriotico Deslizante', + ['component_camo_slide_finish'] = 'Camuflaje Digital Deslizante', + ['component_camo_slide_finish2'] = 'Camuflaje Pincelada Deslizante', + ['component_camo_slide_finish3'] = 'Camuflaje Bosque Deslizante', + ['component_camo_slide_finish4'] = 'Camuflaje Calavera Deslizante', + ['component_camo_slide_finish5'] = 'Camuflaje Sessanta Nove Deslizante', + ['component_camo_slide_finish6'] = 'Camuflaje Perseo Deslizante', + ['component_camo_slide_finish7'] = 'Camuflaje Leopardo Deslizante', + ['component_camo_slide_finish8'] = 'Camuflaje Zebra Deslizante', + ['component_camo_slide_finish9'] = 'Camuflaje Geométrico Deslizante', + ['component_camo_slide_finish10'] = 'Camuflaje Boom Deslizante', + ['component_camo_slide_finish11'] = 'Camuflaje Patriotico Deslizante', - ['component_clip_default'] = 'Cargador Default', - ['component_clip_extended'] = 'Cargador Extendido', - ['component_clip_drum'] = 'Cargador Barril', - ['component_clip_box'] = 'Caja de Cargador', + ['component_clip_default'] = 'Cargador Default', + ['component_clip_extended'] = 'Cargador Extendido', + ['component_clip_drum'] = 'Cargador Barril', + ['component_clip_box'] = 'Caja de Cargador', - ['component_scope_holo'] = 'Mira Holográfica', - ['component_scope_small'] = 'Mira Pequeña', - ['component_scope_medium'] = 'Mira Mediana', - ['component_scope_large'] = 'Mira Larga', - ['component_scope'] = 'Mira', - ['component_scope_advanced'] = 'Mira Avanzada', - ['component_ironsights'] = 'Mira de Hierro', + ['component_scope_holo'] = 'Mira Holográfica', + ['component_scope_small'] = 'Mira Pequeña', + ['component_scope_medium'] = 'Mira Mediana', + ['component_scope_large'] = 'Mira Larga', + ['component_scope'] = 'Mira', + ['component_scope_advanced'] = 'Mira Avanzada', + ['component_ironsights'] = 'Mira de Hierro', - ['component_suppressor'] = 'Silenciador', - ['component_compensator'] = 'Estabilizador', + ['component_suppressor'] = 'Silenciador', + ['component_compensator'] = 'Estabilizador', - ['component_muzzle_flat'] = 'Boquilla de Freno Plana', - ['component_muzzle_tactical'] = 'Boquilla de Freno Tactica', - ['component_muzzle_fat'] = 'Boquilla de Freno Punta Gorda', - ['component_muzzle_precision'] = 'Boquilla de Freno de Precision', - ['component_muzzle_heavy'] = 'Boquilla de Freno Pesada', - ['component_muzzle_slanted'] = 'Boquilla de Freno inclinada', - ['component_muzzle_split'] = 'Boquilla de Freno de Puntas Abiertas', - ['component_muzzle_squared'] = 'Boquilla de Freno Cuadrada', + ['component_muzzle_flat'] = 'Boquilla de Freno Plana', + ['component_muzzle_tactical'] = 'Boquilla de Freno Tactica', + ['component_muzzle_fat'] = 'Boquilla de Freno Punta Gorda', + ['component_muzzle_precision'] = 'Boquilla de Freno de Precision', + ['component_muzzle_heavy'] = 'Boquilla de Freno Pesada', + ['component_muzzle_slanted'] = 'Boquilla de Freno inclinada', + ['component_muzzle_split'] = 'Boquilla de Freno de Puntas Abiertas', + ['component_muzzle_squared'] = 'Boquilla de Freno Cuadrada', - ['component_flashlight'] = 'Linterna', - ['component_grip'] = 'Agarre', + ['component_flashlight'] = 'Linterna', + ['component_grip'] = 'Agarre', - ['component_barrel_default'] = 'Barril Por Defecto', - ['component_barrel_heavy'] = 'Barril Pesado', + ['component_barrel_default'] = 'Barril Por Defecto', + ['component_barrel_heavy'] = 'Barril Pesado', - ['component_ammo_tracer'] = 'Munición de Rastreo', - ['component_ammo_incendiary'] = 'Munición Incendiaria', - ['component_ammo_hollowpoint'] = 'Munición de Punta Hueca', - ['component_ammo_fmj'] = 'Munición fMJ', - ['component_ammo_armor'] = 'Munición Perforante para Blindaje', - ['component_ammo_explosive'] = 'Munición Incendiaria Perforadora de Blindajes', + ['component_ammo_tracer'] = 'Munición de Rastreo', + ['component_ammo_incendiary'] = 'Munición Incendiaria', + ['component_ammo_hollowpoint'] = 'Munición de Punta Hueca', + ['component_ammo_fmj'] = 'Munición fMJ', + ['component_ammo_armor'] = 'Munición Perforante para Blindaje', + ['component_ammo_explosive'] = 'Munición Incendiaria Perforadora de Blindajes', - ['component_shells_default'] = 'Casquillos Por Defecto', - ['component_shells_incendiary'] = 'Casquillos Aliento de Dragón', - ['component_shells_armor'] = 'Casquillos Perdigones de Acero', - ['component_shells_hollowpoint'] = 'Casquillos Punta Hueca', - ['component_shells_explosive'] = 'Casquillos Posta Explosiva', + ['component_shells_default'] = 'Casquillos Por Defecto', + ['component_shells_incendiary'] = 'Casquillos Aliento de Dragón', + ['component_shells_armor'] = 'Casquillos Perdigones de Acero', + ['component_shells_hollowpoint'] = 'Casquillos Punta Hueca', + ['component_shells_explosive'] = 'Casquillos Posta Explosiva', - -- Weapon Ammo - ['ammo_rounds'] = 'Redonda/s', - ['ammo_shells'] = 'Casquillo/s', - ['ammo_charge'] = 'Carga', - ['ammo_petrol'] = 'Galones de Combustible', - ['ammo_firework'] = 'Fuegos Artificiale/s', - ['ammo_rockets'] = 'Cohete/s', - ['ammo_grenadelauncher'] = 'Granada/s', - ['ammo_grenade'] = 'Granada/s', - ['ammo_stickybomb'] = 'Bomba/s', - ['ammo_pipebomb'] = 'Bomba/s', - ['ammo_smokebomb'] = 'Bomba/s', - ['ammo_molotov'] = 'Molotov/s', - ['ammo_proxmine'] = 'Mina(s)', - ['ammo_bzgas'] = 'Lata(s)', - ['ammo_ball'] = 'Bola(s)', - ['ammo_snowball'] = 'Bola(s)', - ['ammo_flare'] = 'Bengala(s)', - ['ammo_flaregun'] = 'Bengala(s)', + -- Weapon Ammo + ['ammo_rounds'] = 'Redonda/s', + ['ammo_shells'] = 'Casquillo/s', + ['ammo_charge'] = 'Carga', + ['ammo_petrol'] = 'Galones de Combustible', + ['ammo_firework'] = 'Fuegos Artificiale/s', + ['ammo_rockets'] = 'Cohete/s', + ['ammo_grenadelauncher'] = 'Granada/s', + ['ammo_grenade'] = 'Granada/s', + ['ammo_stickybomb'] = 'Bomba/s', + ['ammo_pipebomb'] = 'Bomba/s', + ['ammo_smokebomb'] = 'Bomba/s', + ['ammo_molotov'] = 'Molotov/s', + ['ammo_proxmine'] = 'Mina(s)', + ['ammo_bzgas'] = 'Lata(s)', + ['ammo_ball'] = 'Bola(s)', + ['ammo_snowball'] = 'Bola(s)', + ['ammo_flare'] = 'Bengala(s)', + ['ammo_flaregun'] = 'Bengala(s)', - -- Weapon Tints - ['tint_default'] = 'Skin común', - ['tint_green'] = 'Skin Verde', - ['tint_gold'] = 'Skin Oro', - ['tint_pink'] = 'Skin Rosa', - ['tint_army'] = 'Skin Militar', - ['tint_lspd'] = 'Skin Azul', - ['tint_orange'] = 'Skin Naranja', - ['tint_platinum'] = 'Skin Plata', - - -- Duty related - ['stopped_duty'] = 'Has salido de servicio.', - ['started_duty'] = 'Has entrado de servicio.', + -- Weapon Tints + ['tint_default'] = 'Skin común', + ['tint_green'] = 'Skin Verde', + ['tint_gold'] = 'Skin Oro', + ['tint_pink'] = 'Skin Rosa', + ['tint_army'] = 'Skin Militar', + ['tint_lspd'] = 'Skin Azul', + ['tint_orange'] = 'Skin Naranja', + ['tint_platinum'] = 'Skin Plata', + + -- Duty related + ['stopped_duty'] = 'Has salido de servicio.', + ['started_duty'] = 'Has entrado de servicio.', } From 83e4c2055acf485194fcef30d738fba1aff884fd Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:38:02 +0200 Subject: [PATCH 103/236] refactor(locales/fr): format code --- [core]/es_extended/locales/fr.lua | 442 +++++++++++++++--------------- 1 file changed, 221 insertions(+), 221 deletions(-) diff --git a/[core]/es_extended/locales/fr.lua b/[core]/es_extended/locales/fr.lua index 4841f401..f21a4ed5 100644 --- a/[core]/es_extended/locales/fr.lua +++ b/[core]/es_extended/locales/fr.lua @@ -1,232 +1,232 @@ Locales['fr'] = { - -- Inventory - ['inventory'] = 'inventaire %s / %s', - ['use'] = 'utiliser', - ['give'] = 'donner', - ['remove'] = 'jeter', - ['return'] = 'retour', - ['give_to'] = 'donner à', - ['amount'] = 'quantité', - ['giveammo'] = 'donner munitions', - ['amountammo'] = 'nombre de munitions', - ['noammo'] = 'tu n\'as pas toutes ces munitions!', - ['gave_item'] = 'vous avez donné %sx %s à %s', - ['received_item'] = 'vous avez reçu %sx %s par %s', - ['gave_weapon'] = 'vous avez donné 1x %s à %s', - ['gave_weapon_ammo'] = 'vous avez donné ~o~%sx %s pour %s à %s', - ['gave_weapon_withammo'] = 'vous avez donné 1x %s avec ~o~%sx %s à %s', - ['gave_weapon_hasalready'] = '%s a déjà %s', - ['gave_weapon_noweapon'] = '%s n\'a pas cette arme', - ['received_weapon'] = 'vous recevez 1x %s de %s', - ['received_weapon_ammo'] = 'vous avez reçu ~o~%sx %s pour votre %s de %s', - ['received_weapon_withammo'] = 'vous avez reçu 1x %s avec ~o~%sx %s de %s', - ['received_weapon_hasalready'] = '%s a tenté de vous donner %s, mais vous en aviez déjà un exemplaire', - ['received_weapon_noweapon'] = '%s tente de vous donner des munitions pour %s, mais vous n\'en avez pas', - ['gave_account_money'] = 'vous avez donné $%s (%s) à %s', - ['received_account_money'] = 'vous avez reçu $%s (%s) par %s', - ['amount_invalid'] = 'montant invalide', - ['players_nearby'] = 'aucun joueur à proximité', - ['ex_inv_lim'] = 'action impossible, depassement de la limite d\'inventaire pour %s', - ['imp_invalid_quantity'] = 'action impossible, ~r~quantité invalide', - ['imp_invalid_amount'] = 'action impossible, ~r~montant invalide', - ['threw_standard'] = 'vous avez jeté %sx %s', - ['threw_account'] = 'vous avez jeté $%s %s', - ['threw_weapon'] = 'vous avez jeté 1x %s', - ['threw_weapon_ammo'] = 'vous avez jeté 1x %s avec ~o~%sx %s', - ['threw_weapon_already'] = 'vous portez déjà cette arme', - ['threw_cannot_pickup'] = 'vous ne pouvez pas ramasser ça votre inventaire est plein !', - ['threw_pickup_prompt'] = 'appuyez sur E pour ramasser', + -- Inventory + ['inventory'] = 'inventaire %s / %s', + ['use'] = 'utiliser', + ['give'] = 'donner', + ['remove'] = 'jeter', + ['return'] = 'retour', + ['give_to'] = 'donner à', + ['amount'] = 'quantité', + ['giveammo'] = 'donner munitions', + ['amountammo'] = 'nombre de munitions', + ['noammo'] = 'tu n\'as pas toutes ces munitions!', + ['gave_item'] = 'vous avez donné %sx %s à %s', + ['received_item'] = 'vous avez reçu %sx %s par %s', + ['gave_weapon'] = 'vous avez donné 1x %s à %s', + ['gave_weapon_ammo'] = 'vous avez donné ~o~%sx %s pour %s à %s', + ['gave_weapon_withammo'] = 'vous avez donné 1x %s avec ~o~%sx %s à %s', + ['gave_weapon_hasalready'] = '%s a déjà %s', + ['gave_weapon_noweapon'] = '%s n\'a pas cette arme', + ['received_weapon'] = 'vous recevez 1x %s de %s', + ['received_weapon_ammo'] = 'vous avez reçu ~o~%sx %s pour votre %s de %s', + ['received_weapon_withammo'] = 'vous avez reçu 1x %s avec ~o~%sx %s de %s', + ['received_weapon_hasalready'] = '%s a tenté de vous donner %s, mais vous en aviez déjà un exemplaire', + ['received_weapon_noweapon'] = '%s tente de vous donner des munitions pour %s, mais vous n\'en avez pas', + ['gave_account_money'] = 'vous avez donné $%s (%s) à %s', + ['received_account_money'] = 'vous avez reçu $%s (%s) par %s', + ['amount_invalid'] = 'montant invalide', + ['players_nearby'] = 'aucun joueur à proximité', + ['ex_inv_lim'] = 'action impossible, depassement de la limite d\'inventaire pour %s', + ['imp_invalid_quantity'] = 'action impossible, ~r~quantité invalide', + ['imp_invalid_amount'] = 'action impossible, ~r~montant invalide', + ['threw_standard'] = 'vous avez jeté %sx %s', + ['threw_account'] = 'vous avez jeté $%s %s', + ['threw_weapon'] = 'vous avez jeté 1x %s', + ['threw_weapon_ammo'] = 'vous avez jeté 1x %s avec ~o~%sx %s', + ['threw_weapon_already'] = 'vous portez déjà cette arme', + ['threw_cannot_pickup'] = 'vous ne pouvez pas ramasser ça votre inventaire est plein !', + ['threw_pickup_prompt'] = 'appuyez sur E pour ramasser', - -- Key mapping - ['keymap_showinventory'] = 'montrer l\'inventaire', + -- Key mapping + ['keymap_showinventory'] = 'montrer l\'inventaire', - -- Salary related - ['received_salary'] = 'vous avez reçu votre salaire: $%s', - ['received_help'] = 'vous avez reçu une aide de l\'état: $%s', - ['company_nomoney'] = 'votre entreprise n\'a plus d\'argent pour vous payer!', - ['received_paycheck'] = 'paiement reçu', - ['bank'] = 'banque', - ['account_bank'] = 'banque', - ['account_black_money'] = 'argent sale', - ['account_money'] = 'espèces', + -- Salary related + ['received_salary'] = 'vous avez reçu votre salaire: $%s', + ['received_help'] = 'vous avez reçu une aide de l\'état: $%s', + ['company_nomoney'] = 'votre entreprise n\'a plus d\'argent pour vous payer!', + ['received_paycheck'] = 'paiement reçu', + ['bank'] = 'banque', + ['account_bank'] = 'banque', + ['account_black_money'] = 'argent sale', + ['account_money'] = 'espèces', - ['act_imp'] = 'action impossible', - ['in_vehicle'] = 'Vous ne pouvez rien donner à quelqu\'un dans un véhicule', + ['act_imp'] = 'action impossible', + ['in_vehicle'] = 'Vous ne pouvez rien donner à quelqu\'un dans un véhicule', - -- Commands - ['command_car'] = 'faire appaitre un véhicule', - ['command_car_car'] = 'nom ou hash du véhicule', - ['command_cardel'] = 'supprimer le véhicule à proximité', - ['command_cardel_radius'] = 'optionnel, supprime les véhicules dans un rayon spécifié', - ['command_clear'] = 'vider le chat', - ['command_clearall'] = 'vider le chat pour tous', - ['command_clearinventory'] = 'vider l\'inventaire d\'un joueur', - ['command_clearloadout'] = 'vider le loadout d\'un joueur', - ['command_giveaccountmoney'] = 'donner de l\'argent sur un compte', - ['command_giveaccountmoney_account'] = 'nom de compte valide', - ['command_giveaccountmoney_amount'] = 'quantité à ajouter', - ['command_giveaccountmoney_invalid'] = 'nom de compte invalide', - ['command_giveitem'] = 'donner un objet à un joueur', - ['command_giveitem_item'] = 'nom de l\'objet', - ['command_giveitem_count'] = 'quantité de l\'objet', - ['command_giveweapon'] = 'donner une arme à un joueur', - ['command_giveweapon_weapon'] = 'nom de l\'arme', - ['command_giveweapon_ammo'] = 'quantité de munitions', - ['command_giveweapon_hasalready'] = 'le joueur a déjà cette arme', - ['command_giveweaponcomponent'] = 'donner un accessoire d\'arme', - ['command_giveweaponcomponent_component'] = 'nom de l\'accessoire', - ['command_giveweaponcomponent_invalid'] = 'accessoire invalide', - ['command_giveweaponcomponent_hasalready'] = 'le joueur a déjà cet accessoire', - ['command_giveweaponcomponent_missingweapon'] = 'le joueur n\'a pas cette arme', - ['command_save'] = 'sauvegarder un joueur dans la base de données', - ['command_saveall'] = 'sauvegarder tous les joueurs dans la base de données', - ['command_setaccountmoney'] = 'définir la somme d\'argent pour un joueur', - ['command_setaccountmoney_amount'] = 'quantité d\'argent à définir', - ['command_setcoords'] = 'se téléporter aux coordonnées', - ['command_setcoords_x'] = 'axe X', - ['command_setcoords_y'] = 'axe Y', - ['command_setcoords_z'] = 'axe Z', - ['command_setjob'] = 'assigner job à un joueur', - ['command_setjob_job'] = 'nom du job', - ['command_setjob_grade'] = 'grade du job', - ['command_setjob_invalid'] = 'le job, le grade ou les deux sont invalides', - ['command_setgroup'] = 'assigner un groupe à un joueur', - ['command_setgroup_group'] = 'nom du groupe', - ['commanderror_argumentmismatch'] = 'argument count mismatch (passed %s, wanted %s)', - ['commanderror_argumentmismatch_number'] = 'argument #%s type mismatch (passed string, wanted number)', - ['commanderror_invaliditem'] = 'nom de l\'objet invalide', - ['commanderror_invalidweapon'] = 'arme invalide', - ['commanderror_console'] = 'cette commande ne peut pas être utilisée dans la console', - ['commanderror_invalidcommand'] = '/%s n\'est pas une commande valide!', - ['commanderror_invalidplayerid'] = 'il n\'ya aucun joueur avec cet ID en jeu', - ['commandgeneric_playerid'] = 'id joueur', - ['command_giveammo_noweapon_found'] = '%s n\'a pas cette arme', - ['command_giveammo_weapon'] = 'Nom de l\'arme', - ['command_giveammo_ammo'] = 'Quantité de munitions', + -- Commands + ['command_car'] = 'faire appaitre un véhicule', + ['command_car_car'] = 'nom ou hash du véhicule', + ['command_cardel'] = 'supprimer le véhicule à proximité', + ['command_cardel_radius'] = 'optionnel, supprime les véhicules dans un rayon spécifié', + ['command_clear'] = 'vider le chat', + ['command_clearall'] = 'vider le chat pour tous', + ['command_clearinventory'] = 'vider l\'inventaire d\'un joueur', + ['command_clearloadout'] = 'vider le loadout d\'un joueur', + ['command_giveaccountmoney'] = 'donner de l\'argent sur un compte', + ['command_giveaccountmoney_account'] = 'nom de compte valide', + ['command_giveaccountmoney_amount'] = 'quantité à ajouter', + ['command_giveaccountmoney_invalid'] = 'nom de compte invalide', + ['command_giveitem'] = 'donner un objet à un joueur', + ['command_giveitem_item'] = 'nom de l\'objet', + ['command_giveitem_count'] = 'quantité de l\'objet', + ['command_giveweapon'] = 'donner une arme à un joueur', + ['command_giveweapon_weapon'] = 'nom de l\'arme', + ['command_giveweapon_ammo'] = 'quantité de munitions', + ['command_giveweapon_hasalready'] = 'le joueur a déjà cette arme', + ['command_giveweaponcomponent'] = 'donner un accessoire d\'arme', + ['command_giveweaponcomponent_component'] = 'nom de l\'accessoire', + ['command_giveweaponcomponent_invalid'] = 'accessoire invalide', + ['command_giveweaponcomponent_hasalready'] = 'le joueur a déjà cet accessoire', + ['command_giveweaponcomponent_missingweapon'] = 'le joueur n\'a pas cette arme', + ['command_save'] = 'sauvegarder un joueur dans la base de données', + ['command_saveall'] = 'sauvegarder tous les joueurs dans la base de données', + ['command_setaccountmoney'] = 'définir la somme d\'argent pour un joueur', + ['command_setaccountmoney_amount'] = 'quantité d\'argent à définir', + ['command_setcoords'] = 'se téléporter aux coordonnées', + ['command_setcoords_x'] = 'axe X', + ['command_setcoords_y'] = 'axe Y', + ['command_setcoords_z'] = 'axe Z', + ['command_setjob'] = 'assigner job à un joueur', + ['command_setjob_job'] = 'nom du job', + ['command_setjob_grade'] = 'grade du job', + ['command_setjob_invalid'] = 'le job, le grade ou les deux sont invalides', + ['command_setgroup'] = 'assigner un groupe à un joueur', + ['command_setgroup_group'] = 'nom du groupe', + ['commanderror_argumentmismatch'] = 'argument count mismatch (passed %s, wanted %s)', + ['commanderror_argumentmismatch_number'] = 'argument #%s type mismatch (passed string, wanted number)', + ['commanderror_invaliditem'] = 'nom de l\'objet invalide', + ['commanderror_invalidweapon'] = 'arme invalide', + ['commanderror_console'] = 'cette commande ne peut pas être utilisée dans la console', + ['commanderror_invalidcommand'] = '/%s n\'est pas une commande valide!', + ['commanderror_invalidplayerid'] = 'il n\'ya aucun joueur avec cet ID en jeu', + ['commandgeneric_playerid'] = 'id joueur', + ['command_giveammo_noweapon_found'] = '%s n\'a pas cette arme', + ['command_giveammo_weapon'] = 'Nom de l\'arme', + ['command_giveammo_ammo'] = 'Quantité de munitions', - -- Locale settings - ['locale_digit_grouping_symbol'] = ' ', - ['locale_currency'] = '$%s', + -- Locale settings + ['locale_digit_grouping_symbol'] = ' ', + ['locale_currency'] = '$%s', - -- Weapons - ['weapon_knife'] = 'couteau', - ['weapon_nightstick'] = 'matraque', - ['weapon_hammer'] = 'marteau', - ['weapon_bat'] = 'batte', - ['weapon_golfclub'] = 'club de golf', - ['weapon_crowbar'] = 'pied de biche', - ['weapon_pistol'] = 'pistolet', - ['weapon_combatpistol'] = 'pistolet de combat', - ['weapon_appistol'] = 'pistolet automatique', - ['weapon_pistol50'] = 'pistolet calibre 50', - ['weapon_microsmg'] = 'micro smg', - ['weapon_smg'] = 'smg', - ['weapon_assaultsmg'] = 'smg d\'assaut', - ['weapon_assaultrifle'] = 'fusil d\'assaut', - ['weapon_carbinerifle'] = 'carabine d\'assaut', - ['weapon_advancedrifle'] = 'fusil avancé', - ['weapon_mg'] = 'mitrailleuse', - ['weapon_combatmg'] = 'mitrailleuse de combat', - ['weapon_pumpshotgun'] = 'fusil à pompe', - ['weapon_sawnoffshotgun'] = 'carabine à canon scié', - ['weapon_assaultshotgun'] = 'carabine d\'assaut', - ['weapon_bullpupshotgun'] = 'carabine bullpup', - ['weapon_stungun'] = 'tazer', - ['weapon_sniperrifle'] = 'fusil de sniper', - ['weapon_heavysniper'] = 'fusil de sniper lourd', - ['weapon_grenadelauncher'] = 'lance-grenade', - ['weapon_rpg'] = 'lance-rocket', - ['weapon_minigun'] = 'minigun', - ['weapon_grenade'] = 'grenade', - ['weapon_stickybomb'] = 'bombe collante', - ['weapon_smokegrenade'] = 'grenade fumigène', - ['weapon_bzgas'] = 'grenade à gaz bz', - ['weapon_molotov'] = 'cocktail molotov', - ['weapon_fireextinguisher'] = 'extincteur', - ['weapon_petrolcan'] = 'jerrican d\'essence', - ['weapon_ball'] = 'balle', - ['weapon_snspistol'] = 'pistolet sns', - ['weapon_bottle'] = 'bouteille', - ['weapon_gusenberg'] = 'balayeuse gusenberg', - ['weapon_specialcarbine'] = 'carabine spéciale', - ['weapon_heavypistol'] = 'pistolet lourd', - ['weapon_bullpuprifle'] = 'fusil bullpup', - ['weapon_dagger'] = 'poignard', - ['weapon_vintagepistol'] = 'pistolet vintage', - ['weapon_firework'] = 'feu d\'artifice', - ['weapon_musket'] = 'mousquet', - ['weapon_heavyshotgun'] = 'fusil à pompe lourd', - ['weapon_marksmanrifle'] = 'fusil marksman', - ['weapon_hominglauncher'] = 'lance tête-chercheuse', - ['weapon_proxmine'] = 'mine de proximité', - ['weapon_snowball'] = 'boule de neige', - ['weapon_flaregun'] = 'lance fusée de détresse', - ['weapon_combatpdw'] = 'arme de défense personnelle', - ['weapon_marksmanpistol'] = 'pistolet marksman', - ['weapon_knuckle'] = 'poing américain', - ['weapon_hatchet'] = 'hachette', - ['weapon_railgun'] = 'canon éléctrique', - ['weapon_machete'] = 'machette', - ['weapon_machinepistol'] = 'pistolet mitrailleur', - ['weapon_switchblade'] = 'couteau à cran d\'arrêt', - ['weapon_revolver'] = 'revolver', - ['weapon_dbshotgun'] = 'fusil à pompe double canon', - ['weapon_compactrifle'] = 'fusil compact', - ['weapon_autoshotgun'] = 'fusil à pompe automatique', - ['weapon_battleaxe'] = 'hache de combat', - ['weapon_compactlauncher'] = 'lanceur compact', - ['weapon_minismg'] = 'mini smg', - ['weapon_pipebomb'] = 'bombe tuyau', - ['weapon_poolcue'] = 'queue de billard', - ['weapon_wrench'] = 'clé', - ['weapon_flashlight'] = 'lampe torche', - ['gadget_parachute'] = 'parachute', - ['weapon_flare'] = 'fusée de détresse', - ['weapon_doubleaction'] = 'revolver double action', + -- Weapons + ['weapon_knife'] = 'couteau', + ['weapon_nightstick'] = 'matraque', + ['weapon_hammer'] = 'marteau', + ['weapon_bat'] = 'batte', + ['weapon_golfclub'] = 'club de golf', + ['weapon_crowbar'] = 'pied de biche', + ['weapon_pistol'] = 'pistolet', + ['weapon_combatpistol'] = 'pistolet de combat', + ['weapon_appistol'] = 'pistolet automatique', + ['weapon_pistol50'] = 'pistolet calibre 50', + ['weapon_microsmg'] = 'micro smg', + ['weapon_smg'] = 'smg', + ['weapon_assaultsmg'] = 'smg d\'assaut', + ['weapon_assaultrifle'] = 'fusil d\'assaut', + ['weapon_carbinerifle'] = 'carabine d\'assaut', + ['weapon_advancedrifle'] = 'fusil avancé', + ['weapon_mg'] = 'mitrailleuse', + ['weapon_combatmg'] = 'mitrailleuse de combat', + ['weapon_pumpshotgun'] = 'fusil à pompe', + ['weapon_sawnoffshotgun'] = 'carabine à canon scié', + ['weapon_assaultshotgun'] = 'carabine d\'assaut', + ['weapon_bullpupshotgun'] = 'carabine bullpup', + ['weapon_stungun'] = 'tazer', + ['weapon_sniperrifle'] = 'fusil de sniper', + ['weapon_heavysniper'] = 'fusil de sniper lourd', + ['weapon_grenadelauncher'] = 'lance-grenade', + ['weapon_rpg'] = 'lance-rocket', + ['weapon_minigun'] = 'minigun', + ['weapon_grenade'] = 'grenade', + ['weapon_stickybomb'] = 'bombe collante', + ['weapon_smokegrenade'] = 'grenade fumigène', + ['weapon_bzgas'] = 'grenade à gaz bz', + ['weapon_molotov'] = 'cocktail molotov', + ['weapon_fireextinguisher'] = 'extincteur', + ['weapon_petrolcan'] = 'jerrican d\'essence', + ['weapon_ball'] = 'balle', + ['weapon_snspistol'] = 'pistolet sns', + ['weapon_bottle'] = 'bouteille', + ['weapon_gusenberg'] = 'balayeuse gusenberg', + ['weapon_specialcarbine'] = 'carabine spéciale', + ['weapon_heavypistol'] = 'pistolet lourd', + ['weapon_bullpuprifle'] = 'fusil bullpup', + ['weapon_dagger'] = 'poignard', + ['weapon_vintagepistol'] = 'pistolet vintage', + ['weapon_firework'] = 'feu d\'artifice', + ['weapon_musket'] = 'mousquet', + ['weapon_heavyshotgun'] = 'fusil à pompe lourd', + ['weapon_marksmanrifle'] = 'fusil marksman', + ['weapon_hominglauncher'] = 'lance tête-chercheuse', + ['weapon_proxmine'] = 'mine de proximité', + ['weapon_snowball'] = 'boule de neige', + ['weapon_flaregun'] = 'lance fusée de détresse', + ['weapon_combatpdw'] = 'arme de défense personnelle', + ['weapon_marksmanpistol'] = 'pistolet marksman', + ['weapon_knuckle'] = 'poing américain', + ['weapon_hatchet'] = 'hachette', + ['weapon_railgun'] = 'canon éléctrique', + ['weapon_machete'] = 'machette', + ['weapon_machinepistol'] = 'pistolet mitrailleur', + ['weapon_switchblade'] = 'couteau à cran d\'arrêt', + ['weapon_revolver'] = 'revolver', + ['weapon_dbshotgun'] = 'fusil à pompe double canon', + ['weapon_compactrifle'] = 'fusil compact', + ['weapon_autoshotgun'] = 'fusil à pompe automatique', + ['weapon_battleaxe'] = 'hache de combat', + ['weapon_compactlauncher'] = 'lanceur compact', + ['weapon_minismg'] = 'mini smg', + ['weapon_pipebomb'] = 'bombe tuyau', + ['weapon_poolcue'] = 'queue de billard', + ['weapon_wrench'] = 'clé', + ['weapon_flashlight'] = 'lampe torche', + ['gadget_parachute'] = 'parachute', + ['weapon_flare'] = 'fusée de détresse', + ['weapon_doubleaction'] = 'revolver double action', - -- Weapon Components - ['component_clip_default'] = 'chargeur par défaut', - ['component_clip_extended'] = 'chargeur grande capacité', - ['component_clip_drum'] = 'chargeur tambour', - ['component_clip_box'] = 'chargeur très grande capacité', - ['component_flashlight'] = 'torche', - ['component_scope'] = 'viseur', - ['component_scope_advanced'] = 'lunette', - ['component_suppressor'] = 'réducteur de son', - ['component_grip'] = 'poignée', - ['component_luxary_finish'] = 'finition de luxe', + -- Weapon Components + ['component_clip_default'] = 'chargeur par défaut', + ['component_clip_extended'] = 'chargeur grande capacité', + ['component_clip_drum'] = 'chargeur tambour', + ['component_clip_box'] = 'chargeur très grande capacité', + ['component_flashlight'] = 'torche', + ['component_scope'] = 'viseur', + ['component_scope_advanced'] = 'lunette', + ['component_suppressor'] = 'réducteur de son', + ['component_grip'] = 'poignée', + ['component_luxary_finish'] = 'finition de luxe', - -- Weapon Ammo - ['ammo_rounds'] = 'cartouche(s)', - ['ammo_shells'] = 'obus', - ['ammo_charge'] = 'charge(s)', - ['ammo_petrol'] = 'jerrican d\'essence', - ['ammo_firework'] = 'feu(x) d\'artifice', - ['ammo_rockets'] = 'roquette(s)', - ['ammo_grenadelauncher'] = 'grenade(s)', - ['ammo_grenade'] = 'grenade(s)', - ['ammo_stickybomb'] = 'bombe(s)', - ['ammo_pipebomb'] = 'bombe(s)', - ['ammo_smokebomb'] = 'bombe(s)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mine(s)', - ['ammo_bzgas'] = 'grenade(s)', - ['ammo_ball'] = 'balle(s)', - ['ammo_snowball'] = 'boule(s) de neige', - ['ammo_flare'] = 'fusée(s) éclairante(s)', - ['ammo_flaregun'] = 'fusée(s)', + -- Weapon Ammo + ['ammo_rounds'] = 'cartouche(s)', + ['ammo_shells'] = 'obus', + ['ammo_charge'] = 'charge(s)', + ['ammo_petrol'] = 'jerrican d\'essence', + ['ammo_firework'] = 'feu(x) d\'artifice', + ['ammo_rockets'] = 'roquette(s)', + ['ammo_grenadelauncher'] = 'grenade(s)', + ['ammo_grenade'] = 'grenade(s)', + ['ammo_stickybomb'] = 'bombe(s)', + ['ammo_pipebomb'] = 'bombe(s)', + ['ammo_smokebomb'] = 'bombe(s)', + ['ammo_molotov'] = 'cocktail(s)', + ['ammo_proxmine'] = 'mine(s)', + ['ammo_bzgas'] = 'grenade(s)', + ['ammo_ball'] = 'balle(s)', + ['ammo_snowball'] = 'boule(s) de neige', + ['ammo_flare'] = 'fusée(s) éclairante(s)', + ['ammo_flaregun'] = 'fusée(s)', - -- Weapon Tints - ['tint_default'] = 'skin par défaut', - ['tint_green'] = 'skin vert', - ['tint_gold'] = 'skin doré', - ['tint_pink'] = 'skin rose', - ['tint_army'] = 'skin militaire', - ['tint_lspd'] = 'skin bleu', - ['tint_orange'] = 'skin orange', - ['tint_platinum'] = 'skin platine', - - -- Duty related - ['stopped_duty'] = 'Vous êtes maintenant hors-service.', - ['started_duty'] = 'Vous êtes maintenant en-service.', + -- Weapon Tints + ['tint_default'] = 'skin par défaut', + ['tint_green'] = 'skin vert', + ['tint_gold'] = 'skin doré', + ['tint_pink'] = 'skin rose', + ['tint_army'] = 'skin militaire', + ['tint_lspd'] = 'skin bleu', + ['tint_orange'] = 'skin orange', + ['tint_platinum'] = 'skin platine', + + -- Duty related + ['stopped_duty'] = 'Vous êtes maintenant hors-service.', + ['started_duty'] = 'Vous êtes maintenant en-service.', } From 2606c637f3bf4c33d3751a1a6bc0db9ee6ab4dd0 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:38:47 +0200 Subject: [PATCH 104/236] refactor(locales/it): format code --- [core]/es_extended/locales/it.lua | 660 +++++++++++++++--------------- 1 file changed, 330 insertions(+), 330 deletions(-) diff --git a/[core]/es_extended/locales/it.lua b/[core]/es_extended/locales/it.lua index 0bdc015e..621b350f 100644 --- a/[core]/es_extended/locales/it.lua +++ b/[core]/es_extended/locales/it.lua @@ -1,365 +1,365 @@ Locales['it'] = { - -- Inventory - ['inventory'] = 'Inventario ( Peso %s / %s )', - ['use'] = 'Usa', - ['give'] = 'Dai', - ['remove'] = 'Butta', - ['return'] = 'Ritorna', - ['give_to'] = 'Dai a', - ['amount'] = 'Quantità', - ['giveammo'] = 'Dai munizioni', - ['amountammo'] = 'Quantità munizioni', - ['noammo'] = 'Non abbastanza!', - ['gave_item'] = 'Dando %sx %s a %s', - ['received_item'] = 'Ricevuto %sx %s da %s', - ['gave_weapon'] = 'Dando %s a %s', - ['gave_weapon_ammo'] = 'Dando ~o~%sx %s for %s to %s', - ['gave_weapon_withammo'] = 'Dando %s con ~o~%sx %s a %s', - ['gave_weapon_hasalready'] = '%s possiede già %s', - ['gave_weapon_noweapon'] = '%s non ha quell\' arma', - ['received_weapon'] = 'Ricevuto %s da %s', - ['received_weapon_ammo'] = 'Ricevuto ~o~%sx %s per il tuo %s da %s', - ['received_weapon_withammo'] = 'Ricevuto %s con ~o~%sx %s per %s', - ['received_weapon_hasalready'] = '%s ha tentato di darti %s, ma hai già l\'arma', - ['received_weapon_noweapon'] = '%s ha tentato di darti munizioni per %s, ma non hai l\'arma', - ['gave_account_money'] = 'Dando $%s (%s) a %s', - ['received_account_money'] = 'Ricevuto $%s (%s) da %s', - ['amount_invalid'] = 'Quantità non valida', - ['players_nearby'] = 'Nessun giocatore vicino', - ['ex_inv_lim'] = 'Non puoi farlo, eccedi il peso di %s', - ['imp_invalid_quantity'] = 'Non puoi farlo, quantità non valida', - ['imp_invalid_amount'] = 'Non puoi farlo, importo non valido', - ['threw_standard'] = 'Gettando %sx %s', - ['threw_account'] = 'Gettando $%s %s', - ['threw_weapon'] = 'Gettando %s', - ['threw_weapon_ammo'] = 'Gettando %s con ~o~%sx %s', - ['threw_weapon_already'] = 'Hai gia quest\' arma', - ['threw_cannot_pickup'] = 'Inventario pieno, non puoi raccogliere!', - ['threw_pickup_prompt'] = 'Premi E per raccogliere', + -- Inventory + ['inventory'] = 'Inventario ( Peso %s / %s )', + ['use'] = 'Usa', + ['give'] = 'Dai', + ['remove'] = 'Butta', + ['return'] = 'Ritorna', + ['give_to'] = 'Dai a', + ['amount'] = 'Quantità', + ['giveammo'] = 'Dai munizioni', + ['amountammo'] = 'Quantità munizioni', + ['noammo'] = 'Non abbastanza!', + ['gave_item'] = 'Dando %sx %s a %s', + ['received_item'] = 'Ricevuto %sx %s da %s', + ['gave_weapon'] = 'Dando %s a %s', + ['gave_weapon_ammo'] = 'Dando ~o~%sx %s for %s to %s', + ['gave_weapon_withammo'] = 'Dando %s con ~o~%sx %s a %s', + ['gave_weapon_hasalready'] = '%s possiede già %s', + ['gave_weapon_noweapon'] = '%s non ha quell\' arma', + ['received_weapon'] = 'Ricevuto %s da %s', + ['received_weapon_ammo'] = 'Ricevuto ~o~%sx %s per il tuo %s da %s', + ['received_weapon_withammo'] = 'Ricevuto %s con ~o~%sx %s per %s', + ['received_weapon_hasalready'] = '%s ha tentato di darti %s, ma hai già l\'arma', + ['received_weapon_noweapon'] = '%s ha tentato di darti munizioni per %s, ma non hai l\'arma', + ['gave_account_money'] = 'Dando $%s (%s) a %s', + ['received_account_money'] = 'Ricevuto $%s (%s) da %s', + ['amount_invalid'] = 'Quantità non valida', + ['players_nearby'] = 'Nessun giocatore vicino', + ['ex_inv_lim'] = 'Non puoi farlo, eccedi il peso di %s', + ['imp_invalid_quantity'] = 'Non puoi farlo, quantità non valida', + ['imp_invalid_amount'] = 'Non puoi farlo, importo non valido', + ['threw_standard'] = 'Gettando %sx %s', + ['threw_account'] = 'Gettando $%s %s', + ['threw_weapon'] = 'Gettando %s', + ['threw_weapon_ammo'] = 'Gettando %s con ~o~%sx %s', + ['threw_weapon_already'] = 'Hai gia quest\' arma', + ['threw_cannot_pickup'] = 'Inventario pieno, non puoi raccogliere!', + ['threw_pickup_prompt'] = 'Premi E per raccogliere', - -- Key mapping - ['keymap_showinventory'] = 'Apri inventario', + -- Key mapping + ['keymap_showinventory'] = 'Apri inventario', - -- Salary related - ['received_salary'] = 'Sei stato pagato: $%s', - ['received_help'] = 'Hai ricevuto il reddito di cittadinanza: $%s', - ['company_nomoney'] = 'La tua compagnia è troppo povera per pagarti', - ['received_paycheck'] = 'Ricveuto stipendio', - ['bank'] = 'Banca', - ['account_bank'] = 'Conto', - ['account_black_money'] = 'Soldi sporchi', - ['account_money'] = 'Contanti', + -- Salary related + ['received_salary'] = 'Sei stato pagato: $%s', + ['received_help'] = 'Hai ricevuto il reddito di cittadinanza: $%s', + ['company_nomoney'] = 'La tua compagnia è troppo povera per pagarti', + ['received_paycheck'] = 'Ricveuto stipendio', + ['bank'] = 'Banca', + ['account_bank'] = 'Conto', + ['account_black_money'] = 'Soldi sporchi', + ['account_money'] = 'Contanti', - ['act_imp'] = 'Non puoi farlo', - ['in_vehicle'] = 'Non puoi farlo, il giocatore è in un veicolo', + ['act_imp'] = 'Non puoi farlo', + ['in_vehicle'] = 'Non puoi farlo, il giocatore è in un veicolo', - -- Commands - ['command_bring'] = 'Porta il giocatore da te', - ['command_car'] = 'Spawna un veicolo', - ['command_car_car'] = 'Modello o hash veicolo', - ['command_cardel'] = 'Rimuovi i veicoli nelle prossimità', - ['command_cardel_radius'] = 'Rimuovi i veicoli nel raggio specificato', - ['command_clear'] = 'Pulisci la chat testuale', - ['command_clearall'] = 'Pulisci la chat testuale per tutti i giocatori', - ['command_clearinventory'] = 'Rimuovi tutti gli oggetti dall\' inventario del giocatore', - ['command_clearloadout'] = 'Rimuovi tutte le armi dal loadout del giocatore', - ['command_freeze'] = 'Blocca un giocatore', - ['command_unfreeze'] = 'Sblocca un giocatore', - ['command_giveaccountmoney'] = 'Dai soldi a un\' account specifico', - ['command_giveaccountmoney_account'] = 'Account a cui aggiungere', - ['command_giveaccountmoney_amount'] = 'Quantità da aggiungere', - ['command_giveaccountmoney_invalid'] = 'Nome account non valido', - ['command_giveitem'] = 'Dai un oggetto ad un giocatore', - ['command_giveitem_item'] = 'Nome oggetto', - ['command_giveitem_count'] = 'Quantità', - ['command_giveweapon'] = 'Dai un\' arma ad un giocatore', - ['command_giveweapon_weapon'] = 'Nome arma', - ['command_giveweapon_ammo'] = 'Quantità munizioni', - ['command_giveweapon_hasalready'] = 'Il giocatore ha già l\'arma', - ['command_giveweaponcomponent'] = 'Dai un componente arma ad un giocatore', - ['command_giveweaponcomponent_component'] = 'Nome componente', - ['command_giveweaponcomponent_invalid'] = 'Componente arma non valido', - ['command_giveweaponcomponent_hasalready'] = 'Il giocatore ha già questo componente arma', - ['command_giveweaponcomponent_missingweapon'] = 'Il giocatore non ha l\'arma', - ['command_goto'] = 'Teletrasportati da un giocatore', - ['command_kill'] = 'Uccidi un giocatore', - ['command_save'] = 'Salva forzatamente i dati di un giocatore', - ['command_saveall'] = 'Salva forzatamente i dati di tutti igiocatoria', - ['command_setaccountmoney'] = 'Aggiorna i soldi dentro un account specifico', - ['command_setaccountmoney_amount'] = 'Quantità', - ['command_setcoords'] = 'Teletrasportati a delle coordinate specifiche', - ['command_setcoords_x'] = 'Valore X', - ['command_setcoords_y'] = 'Valore Y', - ['command_setcoords_z'] = 'Valore Z', - ['command_setjob'] = 'Setta lavoro ad un giocatore', - ['command_setjob_job'] = 'Nome', - ['command_setjob_grade'] = 'Grado lavoro', - ['command_setjob_invalid'] = 'Il lavoro, grado o entrambi sono errati', - ['command_setgroup'] = 'Setta un gruppo di permessi ad un giocatore', - ['command_setgroup_group'] = 'Nome del gruppo', - ['commanderror_argumentmismatch'] = 'Conta argomenti non valida (passati %s, richiesti %s)', - ['commanderror_argumentmismatch_number'] = 'Argomento #%s di tipologia errata (passato testo, richiesto numero)', - ['commanderror_invaliditem'] = 'Oggetto non valido', - ['commanderror_invalidweapon'] = 'Arma non valida', - ['commanderror_console'] = 'Comando non eseguibile dalla console', - ['commanderror_invalidcommand'] = 'Comando non valido - /%s', - ['commanderror_invalidplayerid'] = 'Il giocatore specificato non è online', - ['commandgeneric_playerid'] = 'Id server del giocatore', - ['command_giveammo_noweapon_found'] = '%s non ha quell\' arma', - ['command_giveammo_weapon'] = 'Nome arma', - ['command_giveammo_ammo'] = 'Quantità munizioni', - ['tpm_nowaypoint'] = 'Nessuna meta impostata', - ['tpm_success'] = 'Teletrasportato con successo', + -- Commands + ['command_bring'] = 'Porta il giocatore da te', + ['command_car'] = 'Spawna un veicolo', + ['command_car_car'] = 'Modello o hash veicolo', + ['command_cardel'] = 'Rimuovi i veicoli nelle prossimità', + ['command_cardel_radius'] = 'Rimuovi i veicoli nel raggio specificato', + ['command_clear'] = 'Pulisci la chat testuale', + ['command_clearall'] = 'Pulisci la chat testuale per tutti i giocatori', + ['command_clearinventory'] = 'Rimuovi tutti gli oggetti dall\' inventario del giocatore', + ['command_clearloadout'] = 'Rimuovi tutte le armi dal loadout del giocatore', + ['command_freeze'] = 'Blocca un giocatore', + ['command_unfreeze'] = 'Sblocca un giocatore', + ['command_giveaccountmoney'] = 'Dai soldi a un\' account specifico', + ['command_giveaccountmoney_account'] = 'Account a cui aggiungere', + ['command_giveaccountmoney_amount'] = 'Quantità da aggiungere', + ['command_giveaccountmoney_invalid'] = 'Nome account non valido', + ['command_giveitem'] = 'Dai un oggetto ad un giocatore', + ['command_giveitem_item'] = 'Nome oggetto', + ['command_giveitem_count'] = 'Quantità', + ['command_giveweapon'] = 'Dai un\' arma ad un giocatore', + ['command_giveweapon_weapon'] = 'Nome arma', + ['command_giveweapon_ammo'] = 'Quantità munizioni', + ['command_giveweapon_hasalready'] = 'Il giocatore ha già l\'arma', + ['command_giveweaponcomponent'] = 'Dai un componente arma ad un giocatore', + ['command_giveweaponcomponent_component'] = 'Nome componente', + ['command_giveweaponcomponent_invalid'] = 'Componente arma non valido', + ['command_giveweaponcomponent_hasalready'] = 'Il giocatore ha già questo componente arma', + ['command_giveweaponcomponent_missingweapon'] = 'Il giocatore non ha l\'arma', + ['command_goto'] = 'Teletrasportati da un giocatore', + ['command_kill'] = 'Uccidi un giocatore', + ['command_save'] = 'Salva forzatamente i dati di un giocatore', + ['command_saveall'] = 'Salva forzatamente i dati di tutti igiocatoria', + ['command_setaccountmoney'] = 'Aggiorna i soldi dentro un account specifico', + ['command_setaccountmoney_amount'] = 'Quantità', + ['command_setcoords'] = 'Teletrasportati a delle coordinate specifiche', + ['command_setcoords_x'] = 'Valore X', + ['command_setcoords_y'] = 'Valore Y', + ['command_setcoords_z'] = 'Valore Z', + ['command_setjob'] = 'Setta lavoro ad un giocatore', + ['command_setjob_job'] = 'Nome', + ['command_setjob_grade'] = 'Grado lavoro', + ['command_setjob_invalid'] = 'Il lavoro, grado o entrambi sono errati', + ['command_setgroup'] = 'Setta un gruppo di permessi ad un giocatore', + ['command_setgroup_group'] = 'Nome del gruppo', + ['commanderror_argumentmismatch'] = 'Conta argomenti non valida (passati %s, richiesti %s)', + ['commanderror_argumentmismatch_number'] = 'Argomento #%s di tipologia errata (passato testo, richiesto numero)', + ['commanderror_invaliditem'] = 'Oggetto non valido', + ['commanderror_invalidweapon'] = 'Arma non valida', + ['commanderror_console'] = 'Comando non eseguibile dalla console', + ['commanderror_invalidcommand'] = 'Comando non valido - /%s', + ['commanderror_invalidplayerid'] = 'Il giocatore specificato non è online', + ['commandgeneric_playerid'] = 'Id server del giocatore', + ['command_giveammo_noweapon_found'] = '%s non ha quell\' arma', + ['command_giveammo_weapon'] = 'Nome arma', + ['command_giveammo_ammo'] = 'Quantità munizioni', + ['tpm_nowaypoint'] = 'Nessuna meta impostata', + ['tpm_success'] = 'Teletrasportato con successo', - ['noclip_message'] = 'Noclip %s', - ['enabled'] = '~g~abilitato~s~', - ['disabled'] = '~r~disabilitato~s~', + ['noclip_message'] = 'Noclip %s', + ['enabled'] = '~g~abilitato~s~', + ['disabled'] = '~r~disabilitato~s~', - -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '$%s', + -- Locale settings + ['locale_digit_grouping_symbol'] = ',', + ['locale_currency'] = '$%s', - -- Weapons + -- Weapons - -- Melee - ['weapon_dagger'] = 'Pugnale Antico', - ['weapon_bat'] = 'Mazza', - ['weapon_battleaxe'] = 'Ascia', - ['weapon_bottle'] = 'Bottiglia', - ['weapon_crowbar'] = 'Piede di porco', - ['weapon_flashlight'] = 'Torcia', - ['weapon_golfclub'] = 'Mazza da golf', - ['weapon_hammer'] = 'Martello', - ['weapon_hatchet'] = 'Accetta', - ['weapon_knife'] = 'Coltello', - ['weapon_knuckle'] = 'Tirapugni', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Manganello', - ['weapon_wrench'] = 'Tubo', - ['weapon_poolcue'] = 'Stecca', - ['weapon_stone_hatchet'] = 'Accetta di pietra', - ['weapon_switchblade'] = 'Coltello a serramanico', + -- Melee + ['weapon_dagger'] = 'Pugnale Antico', + ['weapon_bat'] = 'Mazza', + ['weapon_battleaxe'] = 'Ascia', + ['weapon_bottle'] = 'Bottiglia', + ['weapon_crowbar'] = 'Piede di porco', + ['weapon_flashlight'] = 'Torcia', + ['weapon_golfclub'] = 'Mazza da golf', + ['weapon_hammer'] = 'Martello', + ['weapon_hatchet'] = 'Accetta', + ['weapon_knife'] = 'Coltello', + ['weapon_knuckle'] = 'Tirapugni', + ['weapon_machete'] = 'Machete', + ['weapon_nightstick'] = 'Manganello', + ['weapon_wrench'] = 'Tubo', + ['weapon_poolcue'] = 'Stecca', + ['weapon_stone_hatchet'] = 'Accetta di pietra', + ['weapon_switchblade'] = 'Coltello a serramanico', - -- Handguns - ['weapon_appistol'] = 'Pistola AP', - ['weapon_ceramicpistol'] = 'Pistola di ceramica', - ['weapon_combatpistol'] = 'Pistola da combattimento', - ['weapon_doubleaction'] = 'Revolver doppia azione', - ['weapon_navyrevolver'] = 'Revolver Marina', - ['weapon_flaregun'] = 'Pistola lanciarazzi', - ['weapon_gadgetpistol'] = 'Pistola Gadget', - ['weapon_heavypistol'] = 'Pistola pesante', - ['weapon_revolver'] = 'Revolver pesante', - ['weapon_revolver_mk2'] = 'Revolver pesante MK2', - ['weapon_marksmanpistol'] = 'Pistola da tiratore', - ['weapon_pistol'] = 'Pistola', - ['weapon_pistol_mk2'] = 'Pistola MK2', - ['weapon_pistol50'] = 'Pistola .50', - ['weapon_snspistol'] = 'Pistola SNS', - ['weapon_snspistol_mk2'] = 'Pistola SNS MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizzatore', - ['weapon_vintagepistol'] = 'Pistola Vintage', + -- Handguns + ['weapon_appistol'] = 'Pistola AP', + ['weapon_ceramicpistol'] = 'Pistola di ceramica', + ['weapon_combatpistol'] = 'Pistola da combattimento', + ['weapon_doubleaction'] = 'Revolver doppia azione', + ['weapon_navyrevolver'] = 'Revolver Marina', + ['weapon_flaregun'] = 'Pistola lanciarazzi', + ['weapon_gadgetpistol'] = 'Pistola Gadget', + ['weapon_heavypistol'] = 'Pistola pesante', + ['weapon_revolver'] = 'Revolver pesante', + ['weapon_revolver_mk2'] = 'Revolver pesante MK2', + ['weapon_marksmanpistol'] = 'Pistola da tiratore', + ['weapon_pistol'] = 'Pistola', + ['weapon_pistol_mk2'] = 'Pistola MK2', + ['weapon_pistol50'] = 'Pistola .50', + ['weapon_snspistol'] = 'Pistola SNS', + ['weapon_snspistol_mk2'] = 'Pistola SNS MK2', + ['weapon_stungun'] = 'Taser', + ['weapon_raypistol'] = 'Up-N-Atomizzatore', + ['weapon_vintagepistol'] = 'Pistola Vintage', - -- Shotguns - ['weapon_assaultshotgun'] = 'Fucile a pompa d\'assalto', - ['weapon_autoshotgun'] = 'Fucile a pompa automatico', - ['weapon_bullpupshotgun'] = 'Fucile a pompa Bullup', - ['weapon_combatshotgun'] = 'Fucile a pompa da combattimento', - ['weapon_dbshotgun'] = 'Fucile a pompa doppia canna', - ['weapon_heavyshotgun'] = 'Fucile a pompa pesante', - ['weapon_musket'] = 'Moschetto', - ['weapon_pumpshotgun'] = 'Fucile a pompa', - ['weapon_pumpshotgun_mk2'] = 'Fucile a pompa MK2', - ['weapon_sawnoffshotgun'] = 'Fucile a canne mozza', + -- Shotguns + ['weapon_assaultshotgun'] = 'Fucile a pompa d\'assalto', + ['weapon_autoshotgun'] = 'Fucile a pompa automatico', + ['weapon_bullpupshotgun'] = 'Fucile a pompa Bullup', + ['weapon_combatshotgun'] = 'Fucile a pompa da combattimento', + ['weapon_dbshotgun'] = 'Fucile a pompa doppia canna', + ['weapon_heavyshotgun'] = 'Fucile a pompa pesante', + ['weapon_musket'] = 'Moschetto', + ['weapon_pumpshotgun'] = 'Fucile a pompa', + ['weapon_pumpshotgun_mk2'] = 'Fucile a pompa MK2', + ['weapon_sawnoffshotgun'] = 'Fucile a canne mozza', - -- SMG & LMG - ['weapon_assaultsmg'] = 'SMG d\'assalto', - ['weapon_combatmg'] = 'MG da combattimento', - ['weapon_combatmg_mk2'] = 'MG da combattimento MK2', - ['weapon_combatpdw'] = 'PDW da combattimento', - ['weapon_gusenberg'] = 'Mitragliatrice Gusenberg', - ['weapon_machinepistol'] = 'Pistola mitragliatrice', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Micro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Hellbringer infernale', + -- SMG & LMG + ['weapon_assaultsmg'] = 'SMG d\'assalto', + ['weapon_combatmg'] = 'MG da combattimento', + ['weapon_combatmg_mk2'] = 'MG da combattimento MK2', + ['weapon_combatpdw'] = 'PDW da combattimento', + ['weapon_gusenberg'] = 'Mitragliatrice Gusenberg', + ['weapon_machinepistol'] = 'Pistola mitragliatrice', + ['weapon_mg'] = 'MG', + ['weapon_microsmg'] = 'Micro SMG', + ['weapon_minismg'] = 'Mini SMG', + ['weapon_smg'] = 'SMG', + ['weapon_smg_mk2'] = 'SMG MK2', + ['weapon_raycarbine'] = 'Hellbringer infernale', - -- Rifles - ['weapon_advancedrifle'] = 'Fucile avanzato', - ['weapon_assaultrifle'] = 'Fucile d\'assalto', - ['weapon_assaultrifle_mk2'] = 'Fucile d\' assalto MK2', - ['weapon_bullpuprifle'] = 'Fucile Bullpup', - ['weapon_bullpuprifle_mk2'] = 'Fucile Bullpup MK2', - ['weapon_carbinerifle'] = 'Carabina', - ['weapon_carbinerifle_mk2'] = 'Carbine MK2', - ['weapon_compactrifle'] = 'Fucile compatto', - ['weapon_militaryrifle'] = 'Fucile militare', - ['weapon_specialcarbine'] = 'Carabina speciale', - ['weapon_specialcarbine_mk2'] = 'Carabina speciale MK2', + -- Rifles + ['weapon_advancedrifle'] = 'Fucile avanzato', + ['weapon_assaultrifle'] = 'Fucile d\'assalto', + ['weapon_assaultrifle_mk2'] = 'Fucile d\' assalto MK2', + ['weapon_bullpuprifle'] = 'Fucile Bullpup', + ['weapon_bullpuprifle_mk2'] = 'Fucile Bullpup MK2', + ['weapon_carbinerifle'] = 'Carabina', + ['weapon_carbinerifle_mk2'] = 'Carbine MK2', + ['weapon_compactrifle'] = 'Fucile compatto', + ['weapon_militaryrifle'] = 'Fucile militare', + ['weapon_specialcarbine'] = 'Carabina speciale', + ['weapon_specialcarbine_mk2'] = 'Carabina speciale MK2', - -- Sniper - ['weapon_heavysniper'] = 'Cecchino pesante', - ['weapon_heavysniper_mk2'] = 'Cecchino pesante MK2', - ['weapon_marksmanrifle'] = 'Fucile da tiratore', - ['weapon_marksmanrifle_mk2'] = 'Fucile da tiratore MK2', - ['weapon_sniperrifle'] = 'Cecchino', + -- Sniper + ['weapon_heavysniper'] = 'Cecchino pesante', + ['weapon_heavysniper_mk2'] = 'Cecchino pesante MK2', + ['weapon_marksmanrifle'] = 'Fucile da tiratore', + ['weapon_marksmanrifle_mk2'] = 'Fucile da tiratore MK2', + ['weapon_sniperrifle'] = 'Cecchino', - -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Lanciagranate compatto', - ['weapon_firework'] = 'Cannone pirotecnico', - ['weapon_grenadelauncher'] = 'Lanciagranate', - ['weapon_hominglauncher'] = 'Lanciarazzi a tracciamento', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Lanciarazzi', - ['weapon_rayminigun'] = 'Widowmaker', + -- Heavy / Launchers + ['weapon_compactlauncher'] = 'Lanciagranate compatto', + ['weapon_firework'] = 'Cannone pirotecnico', + ['weapon_grenadelauncher'] = 'Lanciagranate', + ['weapon_hominglauncher'] = 'Lanciarazzi a tracciamento', + ['weapon_minigun'] = 'Minigun', + ['weapon_railgun'] = 'Railgun', + ['weapon_rpg'] = 'Lanciarazzi', + ['weapon_rayminigun'] = 'Widowmaker', - -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Metal Detector', - ['weapon_precisionrifle'] = 'Fucile di precisione', - ['weapon_tactilerifle'] = 'Carabina di servizio', + -- Criminal Enterprises DLC + ['weapon_metaldetector'] = 'Metal Detector', + ['weapon_precisionrifle'] = 'Fucile di precisione', + ['weapon_tactilerifle'] = 'Carabina di servizio', - -- Thrown - ['weapon_ball'] = 'Palla', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_flare'] = 'Flare', - ['weapon_grenade'] = 'Granata', - ['weapon_petrolcan'] = 'Tanica', - ['weapon_hazardcan'] = 'Tanica pericolosa', - ['weapon_molotov'] = 'Molotov', - ['weapon_proxmine'] = 'Mina di prossimità', - ['weapon_pipebomb'] = 'Esplosivo plastico', - ['weapon_snowball'] = 'Palla di neve', - ['weapon_stickybomb'] = 'Bomba adesiva', - ['weapon_smokegrenade'] = 'Gas lacrimogeno', + -- Thrown + ['weapon_ball'] = 'Palla', + ['weapon_bzgas'] = 'BZ Gas', + ['weapon_flare'] = 'Flare', + ['weapon_grenade'] = 'Granata', + ['weapon_petrolcan'] = 'Tanica', + ['weapon_hazardcan'] = 'Tanica pericolosa', + ['weapon_molotov'] = 'Molotov', + ['weapon_proxmine'] = 'Mina di prossimità', + ['weapon_pipebomb'] = 'Esplosivo plastico', + ['weapon_snowball'] = 'Palla di neve', + ['weapon_stickybomb'] = 'Bomba adesiva', + ['weapon_smokegrenade'] = 'Gas lacrimogeno', - -- Special - ['weapon_fireextinguisher'] = 'Estintore', - ['weapon_digiscanner'] = 'Scanner digitale', - ['weapon_garbagebag'] = 'Sacco della spazzatura', - ['weapon_handcuffs'] = 'Manette', - ['gadget_nightvision'] = 'Visore termico', - ['gadget_parachute'] = 'Paracadute', + -- Special + ['weapon_fireextinguisher'] = 'Estintore', + ['weapon_digiscanner'] = 'Scanner digitale', + ['weapon_garbagebag'] = 'Sacco della spazzatura', + ['weapon_handcuffs'] = 'Manette', + ['gadget_nightvision'] = 'Visore termico', + ['gadget_parachute'] = 'Paracadute', - -- Weapon Components - ['component_knuckle_base'] = 'Modello basa', - ['component_knuckle_pimp'] = 'il Pappone', - ['component_knuckle_ballas'] = 'i Ballas', - ['component_knuckle_dollar'] = 'il Riccone', - ['component_knuckle_diamond'] = 'la Roccia', - ['component_knuckle_hate'] = 'l\' Hater', - ['component_knuckle_love'] = 'l\' Amante', - ['component_knuckle_player'] = 'il Giocatore', - ['component_knuckle_king'] = 'il Re', - ['component_knuckle_vagos'] = 'i Vagos', + -- Weapon Components + ['component_knuckle_base'] = 'Modello basa', + ['component_knuckle_pimp'] = 'il Pappone', + ['component_knuckle_ballas'] = 'i Ballas', + ['component_knuckle_dollar'] = 'il Riccone', + ['component_knuckle_diamond'] = 'la Roccia', + ['component_knuckle_hate'] = 'l\' Hater', + ['component_knuckle_love'] = 'l\' Amante', + ['component_knuckle_player'] = 'il Giocatore', + ['component_knuckle_king'] = 'il Re', + ['component_knuckle_vagos'] = 'i Vagos', - ['component_luxary_finish'] = 'rifinitura di lusso', + ['component_luxary_finish'] = 'rifinitura di lusso', - ['component_handle_default'] = 'impugnatura base', - ['component_handle_vip'] = 'impugnatura VIP', - ['component_handle_bodyguard'] = 'impugnatura guardia del corpo', + ['component_handle_default'] = 'impugnatura base', + ['component_handle_vip'] = 'impugnatura VIP', + ['component_handle_bodyguard'] = 'impugnatura guardia del corpo', - ['component_vip_finish'] = 'rifinitura VIP', - ['component_bodyguard_finish'] = 'rifinitura Guardia del corpo', + ['component_vip_finish'] = 'rifinitura VIP', + ['component_bodyguard_finish'] = 'rifinitura Guardia del corpo', - ['component_camo_finish'] = 'mimetica Digitale', - ['component_camo_finish2'] = 'mimetica Cespuglio', - ['component_camo_finish3'] = 'mimetica Legnosa', - ['component_camo_finish4'] = 'mimetica Teschio', - ['component_camo_finish5'] = 'mimetica Sessanta Nove', - ['component_camo_finish6'] = 'mimetica Perseo', - ['component_camo_finish7'] = 'mimetica Leopardata', - ['component_camo_finish8'] = 'mimetica Zebra', - ['component_camo_finish9'] = 'mimetica Geometrica', - ['component_camo_finish10'] = 'mimetica Boom', - ['component_camo_finish11'] = 'mimetica Patriottica', + ['component_camo_finish'] = 'mimetica Digitale', + ['component_camo_finish2'] = 'mimetica Cespuglio', + ['component_camo_finish3'] = 'mimetica Legnosa', + ['component_camo_finish4'] = 'mimetica Teschio', + ['component_camo_finish5'] = 'mimetica Sessanta Nove', + ['component_camo_finish6'] = 'mimetica Perseo', + ['component_camo_finish7'] = 'mimetica Leopardata', + ['component_camo_finish8'] = 'mimetica Zebra', + ['component_camo_finish9'] = 'mimetica Geometrica', + ['component_camo_finish10'] = 'mimetica Boom', + ['component_camo_finish11'] = 'mimetica Patriottica', - ['component_camo_slide_finish'] = 'mimetica Digitale Slide', - ['component_camo_slide_finish2'] = 'mimetica Cespuglio Slide', - ['component_camo_slide_finish3'] = 'mimetica Legnosa Slide', - ['component_camo_slide_finish4'] = 'mimetica Teschio Slide', - ['component_camo_slide_finish5'] = 'mimetica Sessanta Nove Slide', - ['component_camo_slide_finish6'] = 'mimetica Perseo Slide', - ['component_camo_slide_finish7'] = 'mimetica Leopardata Slide', - ['component_camo_slide_finish8'] = 'mimetica Zebra Slide', - ['component_camo_slide_finish9'] = 'mimetica Geometrica Slide', - ['component_camo_slide_finish10'] = 'mimetica Boom Slide', - ['component_camo_slide_finish11'] = 'mimetica Patriottica Slide', + ['component_camo_slide_finish'] = 'mimetica Digitale Slide', + ['component_camo_slide_finish2'] = 'mimetica Cespuglio Slide', + ['component_camo_slide_finish3'] = 'mimetica Legnosa Slide', + ['component_camo_slide_finish4'] = 'mimetica Teschio Slide', + ['component_camo_slide_finish5'] = 'mimetica Sessanta Nove Slide', + ['component_camo_slide_finish6'] = 'mimetica Perseo Slide', + ['component_camo_slide_finish7'] = 'mimetica Leopardata Slide', + ['component_camo_slide_finish8'] = 'mimetica Zebra Slide', + ['component_camo_slide_finish9'] = 'mimetica Geometrica Slide', + ['component_camo_slide_finish10'] = 'mimetica Boom Slide', + ['component_camo_slide_finish11'] = 'mimetica Patriottica Slide', - ['component_clip_default'] = 'caricatore Standard', - ['component_clip_extended'] = 'caricatore Esteso', - ['component_clip_drum'] = 'caricatore A Batteria', - ['component_clip_box'] = 'caricatore A Scatola', + ['component_clip_default'] = 'caricatore Standard', + ['component_clip_extended'] = 'caricatore Esteso', + ['component_clip_drum'] = 'caricatore A Batteria', + ['component_clip_box'] = 'caricatore A Scatola', - ['component_scope_holo'] = 'mirino Olografico', - ['component_scope_small'] = 'mirino Piccolo', - ['component_scope_medium'] = 'mirino Medio', - ['component_scope_large'] = 'mirino Largo', - ['component_scope'] = 'mirino Montato', - ['component_scope_advanced'] = 'mirino Avanzato', - ['component_ironsights'] = 'integrato', + ['component_scope_holo'] = 'mirino Olografico', + ['component_scope_small'] = 'mirino Piccolo', + ['component_scope_medium'] = 'mirino Medio', + ['component_scope_large'] = 'mirino Largo', + ['component_scope'] = 'mirino Montato', + ['component_scope_advanced'] = 'mirino Avanzato', + ['component_ironsights'] = 'integrato', - ['component_suppressor'] = 'silenziatore', - ['component_compensator'] = 'compensatore', + ['component_suppressor'] = 'silenziatore', + ['component_compensator'] = 'compensatore', - ['component_muzzle_flat'] = 'freno Di Bocca Piatto', - ['component_muzzle_tactical'] = 'freno Di Bocca Tattico', - ['component_muzzle_fat'] = 'freno Di Bocca Grosso', - ['component_muzzle_precision'] = 'freno Di Bocca Di Precisione', - ['component_muzzle_heavy'] = 'freno Di Bocca Pesante', - ['component_muzzle_slanted'] = 'freno Di Bocca Inclinato', - ['component_muzzle_split'] = 'freno Di Bocca Diviso', - ['component_muzzle_squared'] = 'freno Di Bocca Quadrato', + ['component_muzzle_flat'] = 'freno Di Bocca Piatto', + ['component_muzzle_tactical'] = 'freno Di Bocca Tattico', + ['component_muzzle_fat'] = 'freno Di Bocca Grosso', + ['component_muzzle_precision'] = 'freno Di Bocca Di Precisione', + ['component_muzzle_heavy'] = 'freno Di Bocca Pesante', + ['component_muzzle_slanted'] = 'freno Di Bocca Inclinato', + ['component_muzzle_split'] = 'freno Di Bocca Diviso', + ['component_muzzle_squared'] = 'freno Di Bocca Quadrato', - ['component_flashlight'] = 'torcia', - ['component_grip'] = 'impugnatura', + ['component_flashlight'] = 'torcia', + ['component_grip'] = 'impugnatura', - ['component_barrel_default'] = 'canna Standard', - ['component_barrel_heavy'] = 'canna Pesante', + ['component_barrel_default'] = 'canna Standard', + ['component_barrel_heavy'] = 'canna Pesante', - ['component_ammo_tracer'] = 'munizioni Traccianti', - ['component_ammo_incendiary'] = 'munizioni Incendiarie', - ['component_ammo_hollowpoint'] = 'munizioni a Punta Cava', - ['component_ammo_fmj'] = 'munizioni fMj', - ['component_ammo_armor'] = 'munizioni penetranti', - ['component_ammo_explosive'] = 'munizioni penetranti incendiarie', + ['component_ammo_tracer'] = 'munizioni Traccianti', + ['component_ammo_incendiary'] = 'munizioni Incendiarie', + ['component_ammo_hollowpoint'] = 'munizioni a Punta Cava', + ['component_ammo_fmj'] = 'munizioni fMj', + ['component_ammo_armor'] = 'munizioni penetranti', + ['component_ammo_explosive'] = 'munizioni penetranti incendiarie', - ['component_shells_default'] = 'cartucce Standard', - ['component_shells_incendiary'] = 'cartucce alito di Drago', - ['component_shells_armor'] = 'cartucce a pallettoni', - ['component_shells_hollowpoint'] = 'cartucce a freccette', - ['component_shells_explosive'] = 'cartucce esplosive', + ['component_shells_default'] = 'cartucce Standard', + ['component_shells_incendiary'] = 'cartucce alito di Drago', + ['component_shells_armor'] = 'cartucce a pallettoni', + ['component_shells_hollowpoint'] = 'cartucce a freccette', + ['component_shells_explosive'] = 'cartucce esplosive', - -- Weapon Ammo - ['ammo_rounds'] = 'colpo(i)', - ['ammo_shells'] = 'cartuccia(e)', - ['ammo_charge'] = 'carica', - ['ammo_petrol'] = 'Litri di carburante', - ['ammo_firework'] = 'fuochi d\'artificio', - ['ammo_rockets'] = 'razzo(i)', - ['ammo_grenadelauncher'] = 'granata(e)', - ['ammo_grenade'] = 'granata(e)', - ['ammo_stickybomb'] = 'bomba(e)', - ['ammo_pipebomb'] = 'bomba(e)', - ['ammo_smokebomb'] = 'bomba(e)', - ['ammo_molotov'] = 'bottiglia(e)', - ['ammo_proxmine'] = 'mina(e)', - ['ammo_bzgas'] = 'latta(e)', - ['ammo_ball'] = 'palla(e)', - ['ammo_snowball'] = 'palle di neve', - ['ammo_flare'] = 'razzo(i)', - ['ammo_flaregun'] = 'razzo(i)', + -- Weapon Ammo + ['ammo_rounds'] = 'colpo(i)', + ['ammo_shells'] = 'cartuccia(e)', + ['ammo_charge'] = 'carica', + ['ammo_petrol'] = 'Litri di carburante', + ['ammo_firework'] = 'fuochi d\'artificio', + ['ammo_rockets'] = 'razzo(i)', + ['ammo_grenadelauncher'] = 'granata(e)', + ['ammo_grenade'] = 'granata(e)', + ['ammo_stickybomb'] = 'bomba(e)', + ['ammo_pipebomb'] = 'bomba(e)', + ['ammo_smokebomb'] = 'bomba(e)', + ['ammo_molotov'] = 'bottiglia(e)', + ['ammo_proxmine'] = 'mina(e)', + ['ammo_bzgas'] = 'latta(e)', + ['ammo_ball'] = 'palla(e)', + ['ammo_snowball'] = 'palle di neve', + ['ammo_flare'] = 'razzo(i)', + ['ammo_flaregun'] = 'razzo(i)', - -- Weapon Tints - ['tint_default'] = 'Colore standard', - ['tint_green'] = 'color verde', - ['tint_gold'] = 'color oro', - ['tint_pink'] = 'color rosa', - ['tint_army'] = 'color army', - ['tint_lspd'] = 'color blu', - ['tint_orange'] = 'color arancio', - ['tint_platinum'] = 'color platino', + -- Weapon Tints + ['tint_default'] = 'Colore standard', + ['tint_green'] = 'color verde', + ['tint_gold'] = 'color oro', + ['tint_pink'] = 'color rosa', + ['tint_army'] = 'color army', + ['tint_lspd'] = 'color blu', + ['tint_orange'] = 'color arancio', + ['tint_platinum'] = 'color platino', } From 928254a222f8fbc71fbf863eb1055468d1852c61 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:39:16 +0200 Subject: [PATCH 105/236] refactor(locales/pl): format code --- [core]/es_extended/locales/pl.lua | 434 +++++++++++++++--------------- 1 file changed, 217 insertions(+), 217 deletions(-) diff --git a/[core]/es_extended/locales/pl.lua b/[core]/es_extended/locales/pl.lua index 235b2d89..c3acb5bd 100644 --- a/[core]/es_extended/locales/pl.lua +++ b/[core]/es_extended/locales/pl.lua @@ -1,227 +1,227 @@ Locales['pl'] = { - -- Inventory - ['inventory'] = 'ekwipunek %s / %s', - ['use'] = 'użyj', - ['give'] = 'daj', - ['remove'] = 'usuń', - ['return'] = 'wróć', - ['give_to'] = 'daj dla', - ['amount'] = 'ilość', - ['giveammo'] = 'daj amunicje', - ['amountammo'] = 'ilość amunicji', - ['noammo'] = 'nie posiadasz wystarczającej ilości amunicji!', - ['gave_item'] = 'dałeś/aś %sx %s dla %s', - ['received_item'] = 'otrzymałeś/aś %sx %s od %s', - ['gave_weapon'] = 'dałeś/aś %s dla %s', - ['gave_weapon_ammo'] = 'dałeś/aś ~o~%sx %s do %s dla %s', - ['gave_weapon_withammo'] = 'dałeś/aś %s z ~o~%sx %s dla %s', - ['gave_weapon_hasalready'] = '%s już posiada %s', - ['gave_weapon_noweapon'] = '%s nie posiada tej broni', - ['received_weapon'] = 'otrzymałeś/aś %s od %s', - ['received_weapon_ammo'] = 'otrzymałeś/aś ~o~%sx %s do twojego %s od %s', - ['received_weapon_withammo'] = 'otrzymałeś/aś %s z ~o~%sx %s od %s', - ['received_weapon_hasalready'] = '%s próbował/a przekazać ci %s, lecz już posiadasz jedno', - ['received_weapon_noweapon'] = '%s próbował/a przekazać ci amunicje do %s, lecz nie posiadasz tej broni', - ['gave_account_money'] = 'dałeś/aś %s$ (%s) dla %s', - ['received_account_money'] = 'otrzymałeś/aś %s$ (%s) od %s', - ['amount_invalid'] = 'nieprawidłowa ilość', - ['players_nearby'] = 'brak graczy w pobliżu', - ['ex_inv_lim'] = 'akcja nie jest możliwa, nie możesz mieć więcej %s', - ['imp_invalid_quantity'] = 'akcja jest niemożliwa, nieprawidłowa ilość', - ['imp_invalid_amount'] = 'akcja jest niemożliwa, nieprawidłowa kwota', - ['threw_standard'] = 'wyrzuciłeś/aś %sx %s', - ['threw_account'] = 'wyrzuciłeś/aś $%s %s', - ['threw_weapon'] = 'wyrzuciłeś/aś %s', - ['threw_weapon_ammo'] = 'wyrzuciłeś/aś %s z ~o~%sx %s', - ['threw_weapon_already'] = 'już posiadasz taką samą broń', - ['threw_cannot_pickup'] = 'nie możesz tego podnieść, gdyż masz pełny ekwipunek!', - ['threw_pickup_prompt'] = 'naciśnij E aby podnieść', + -- Inventory + ['inventory'] = 'ekwipunek %s / %s', + ['use'] = 'użyj', + ['give'] = 'daj', + ['remove'] = 'usuń', + ['return'] = 'wróć', + ['give_to'] = 'daj dla', + ['amount'] = 'ilość', + ['giveammo'] = 'daj amunicje', + ['amountammo'] = 'ilość amunicji', + ['noammo'] = 'nie posiadasz wystarczającej ilości amunicji!', + ['gave_item'] = 'dałeś/aś %sx %s dla %s', + ['received_item'] = 'otrzymałeś/aś %sx %s od %s', + ['gave_weapon'] = 'dałeś/aś %s dla %s', + ['gave_weapon_ammo'] = 'dałeś/aś ~o~%sx %s do %s dla %s', + ['gave_weapon_withammo'] = 'dałeś/aś %s z ~o~%sx %s dla %s', + ['gave_weapon_hasalready'] = '%s już posiada %s', + ['gave_weapon_noweapon'] = '%s nie posiada tej broni', + ['received_weapon'] = 'otrzymałeś/aś %s od %s', + ['received_weapon_ammo'] = 'otrzymałeś/aś ~o~%sx %s do twojego %s od %s', + ['received_weapon_withammo'] = 'otrzymałeś/aś %s z ~o~%sx %s od %s', + ['received_weapon_hasalready'] = '%s próbował/a przekazać ci %s, lecz już posiadasz jedno', + ['received_weapon_noweapon'] = '%s próbował/a przekazać ci amunicje do %s, lecz nie posiadasz tej broni', + ['gave_account_money'] = 'dałeś/aś %s$ (%s) dla %s', + ['received_account_money'] = 'otrzymałeś/aś %s$ (%s) od %s', + ['amount_invalid'] = 'nieprawidłowa ilość', + ['players_nearby'] = 'brak graczy w pobliżu', + ['ex_inv_lim'] = 'akcja nie jest możliwa, nie możesz mieć więcej %s', + ['imp_invalid_quantity'] = 'akcja jest niemożliwa, nieprawidłowa ilość', + ['imp_invalid_amount'] = 'akcja jest niemożliwa, nieprawidłowa kwota', + ['threw_standard'] = 'wyrzuciłeś/aś %sx %s', + ['threw_account'] = 'wyrzuciłeś/aś $%s %s', + ['threw_weapon'] = 'wyrzuciłeś/aś %s', + ['threw_weapon_ammo'] = 'wyrzuciłeś/aś %s z ~o~%sx %s', + ['threw_weapon_already'] = 'już posiadasz taką samą broń', + ['threw_cannot_pickup'] = 'nie możesz tego podnieść, gdyż masz pełny ekwipunek!', + ['threw_pickup_prompt'] = 'naciśnij E aby podnieść', - -- Key mapping - ['keymap_showinventory'] = 'pokaż ekwipunek', + -- Key mapping + ['keymap_showinventory'] = 'pokaż ekwipunek', - -- Salary related - ['received_salary'] = 'otrzymałeś/aś wynagrodzenie: %s$', - ['received_help'] = 'otrzymałeś/aś zapomogę: $%s', - ['company_nomoney'] = 'firma, w której pracujesz, jest zbyt biedna, by wypłacić twoją pensję', - ['received_paycheck'] = 'otrzymano wypłate', - ['bank'] = 'bank', - ['account_bank'] = 'bank', - ['account_black_money'] = 'brudne pieniądze', - ['account_money'] = 'pieniądze', - ['act_imp'] = 'działanie niemożliwe', - ['in_vehicle'] = 'nie możesz przekazywać przedmiotów w pojeździe', + -- Salary related + ['received_salary'] = 'otrzymałeś/aś wynagrodzenie: %s$', + ['received_help'] = 'otrzymałeś/aś zapomogę: $%s', + ['company_nomoney'] = 'firma, w której pracujesz, jest zbyt biedna, by wypłacić twoją pensję', + ['received_paycheck'] = 'otrzymano wypłate', + ['bank'] = 'bank', + ['account_bank'] = 'bank', + ['account_black_money'] = 'brudne pieniądze', + ['account_money'] = 'pieniądze', + ['act_imp'] = 'działanie niemożliwe', + ['in_vehicle'] = 'nie możesz przekazywać przedmiotów w pojeździe', - -- Commands - ['command_car'] = 'przywołaj pojazd', - ['command_car_car'] = 'nazwa lub hash przywołanego pojazdu', - ['command_cardel'] = 'usuń pojazd w pobliżu', - ['command_cardel_radius'] = 'opcjonalnie usuń każdy pojazd w obszarze', - ['command_clear'] = 'wyczyść czat', - ['command_clearall'] = 'wyczyść czat dla wszystkich graczy', - ['command_clearinventory'] = 'wyczyść ekwipunek gracza', - ['command_clearloadout'] = 'wyczyść wyposarzenie gracza', - ['command_giveaccountmoney'] = 'daj pieniądze na podany typ konta', - ['command_giveaccountmoney_account'] = 'prawidłowy typ konta', - ['command_giveaccountmoney_amount'] = 'ilość do dodania', - ['command_giveaccountmoney_invalid'] = 'nieprawidłowy typ konta', - ['command_giveitem'] = 'daj przedmiot graczowi', - ['command_giveitem_item'] = 'nazwa przedmiotu', - ['command_giveitem_count'] = 'ilość przedimotu', - ['command_giveweapon'] = 'daj broń graczowi', - ['command_giveweapon_weapon'] = 'nazwa broni', - ['command_giveweapon_ammo'] = 'ilość amunicji', - ['command_giveweapon_hasalready'] = 'gracz już posiada tą broń', - ['command_giveweaponcomponent'] = 'daj komponent do broni graczowi', - ['command_giveweaponcomponent_component'] = 'nazwa komponentu', - ['command_giveweaponcomponent_invalid'] = 'nieprawidłowy komponent do broni', - ['command_giveweaponcomponent_hasalready'] = 'gracz już posiada ten komponent do tej broni', - ['command_giveweaponcomponent_missingweapon'] = 'gracz nie posiada tej broni', - ['command_save'] = 'zapisz gracza w bazie danych', - ['command_saveall'] = 'zapisz wszystkich graczy w bazie danych', - ['command_setaccountmoney'] = 'ustaw ilość pieniędzy danego konta dla gracza', - ['command_setaccountmoney_amount'] = 'ilość pieniędzy do ustawienia', - ['command_setcoords'] = 'teleportuj na koordynaty', - ['command_setcoords_x'] = 'x axis', - ['command_setcoords_y'] = 'y axis', - ['command_setcoords_z'] = 'z axis', - ['command_setjob'] = 'ustaw prace dla gracza', - ['command_setjob_job'] = 'nazwa pracy', - ['command_setjob_grade'] = 'stanowisko w pracy', - ['command_setjob_invalid'] = 'praca, stanowisko lub obydwa są nieprawidłowe', - ['command_setgroup'] = 'ustaw grupe gracza', - ['command_setgroup_group'] = 'nazwa grupy', - ['commanderror_argumentmismatch'] = 'nieprawiłowa ilość argumentów (przeszło %s, wymagane %s)', - ['commanderror_argumentmismatch_number'] = 'nieprawidłowy typ argumentu #%s (przeszedł tekst, wymagany numer)', - ['commanderror_invaliditem'] = 'nieprawidłowa nazwa przedmiotu', - ['commanderror_invalidweapon'] = 'nieprawidłowa broń', - ['commanderror_console'] = 'podana komenda nie może zostać uruchomiona przez konsole', - ['commanderror_invalidcommand'] = '/%s nie jest poprawną komendą!', - ['commanderror_invalidplayerid'] = 'brak dostepnego gracza pasującego do podanego id serwerowego', - ['commandgeneric_playerid'] = 'id gracza', - ['command_giveammo_noweapon_found'] = '%s does not have that weapon', - ['command_giveammo_weapon'] = 'Weapon name', - ['command_giveammo_ammo'] = 'Ammo Quantity', + -- Commands + ['command_car'] = 'przywołaj pojazd', + ['command_car_car'] = 'nazwa lub hash przywołanego pojazdu', + ['command_cardel'] = 'usuń pojazd w pobliżu', + ['command_cardel_radius'] = 'opcjonalnie usuń każdy pojazd w obszarze', + ['command_clear'] = 'wyczyść czat', + ['command_clearall'] = 'wyczyść czat dla wszystkich graczy', + ['command_clearinventory'] = 'wyczyść ekwipunek gracza', + ['command_clearloadout'] = 'wyczyść wyposarzenie gracza', + ['command_giveaccountmoney'] = 'daj pieniądze na podany typ konta', + ['command_giveaccountmoney_account'] = 'prawidłowy typ konta', + ['command_giveaccountmoney_amount'] = 'ilość do dodania', + ['command_giveaccountmoney_invalid'] = 'nieprawidłowy typ konta', + ['command_giveitem'] = 'daj przedmiot graczowi', + ['command_giveitem_item'] = 'nazwa przedmiotu', + ['command_giveitem_count'] = 'ilość przedimotu', + ['command_giveweapon'] = 'daj broń graczowi', + ['command_giveweapon_weapon'] = 'nazwa broni', + ['command_giveweapon_ammo'] = 'ilość amunicji', + ['command_giveweapon_hasalready'] = 'gracz już posiada tą broń', + ['command_giveweaponcomponent'] = 'daj komponent do broni graczowi', + ['command_giveweaponcomponent_component'] = 'nazwa komponentu', + ['command_giveweaponcomponent_invalid'] = 'nieprawidłowy komponent do broni', + ['command_giveweaponcomponent_hasalready'] = 'gracz już posiada ten komponent do tej broni', + ['command_giveweaponcomponent_missingweapon'] = 'gracz nie posiada tej broni', + ['command_save'] = 'zapisz gracza w bazie danych', + ['command_saveall'] = 'zapisz wszystkich graczy w bazie danych', + ['command_setaccountmoney'] = 'ustaw ilość pieniędzy danego konta dla gracza', + ['command_setaccountmoney_amount'] = 'ilość pieniędzy do ustawienia', + ['command_setcoords'] = 'teleportuj na koordynaty', + ['command_setcoords_x'] = 'x axis', + ['command_setcoords_y'] = 'y axis', + ['command_setcoords_z'] = 'z axis', + ['command_setjob'] = 'ustaw prace dla gracza', + ['command_setjob_job'] = 'nazwa pracy', + ['command_setjob_grade'] = 'stanowisko w pracy', + ['command_setjob_invalid'] = 'praca, stanowisko lub obydwa są nieprawidłowe', + ['command_setgroup'] = 'ustaw grupe gracza', + ['command_setgroup_group'] = 'nazwa grupy', + ['commanderror_argumentmismatch'] = 'nieprawiłowa ilość argumentów (przeszło %s, wymagane %s)', + ['commanderror_argumentmismatch_number'] = 'nieprawidłowy typ argumentu #%s (przeszedł tekst, wymagany numer)', + ['commanderror_invaliditem'] = 'nieprawidłowa nazwa przedmiotu', + ['commanderror_invalidweapon'] = 'nieprawidłowa broń', + ['commanderror_console'] = 'podana komenda nie może zostać uruchomiona przez konsole', + ['commanderror_invalidcommand'] = '/%s nie jest poprawną komendą!', + ['commanderror_invalidplayerid'] = 'brak dostepnego gracza pasującego do podanego id serwerowego', + ['commandgeneric_playerid'] = 'id gracza', + ['command_giveammo_noweapon_found'] = '%s does not have that weapon', + ['command_giveammo_weapon'] = 'Weapon name', + ['command_giveammo_ammo'] = 'Ammo Quantity', - -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '$%s', + -- Locale settings + ['locale_digit_grouping_symbol'] = ',', + ['locale_currency'] = '$%s', - -- Weapons - ['weapon_knife'] = 'nóż', - ['weapon_nightstick'] = 'pałka', - ['weapon_hammer'] = 'młotek', - ['weapon_bat'] = 'kij', - ['weapon_golfclub'] = 'kij golfowy', - ['weapon_crowbar'] = 'łom', - ['weapon_pistol'] = 'pistolet', - ['weapon_combatpistol'] = 'pistolet bojowy', - ['weapon_appistol'] = 'ap pistol', - ['weapon_pistol50'] = 'pistol .50', - ['weapon_microsmg'] = 'micro smg', - ['weapon_smg'] = 'smg', - ['weapon_assaultsmg'] = 'assault smg', - ['weapon_assaultrifle'] = 'assault rifle', - ['weapon_carbinerifle'] = 'carbine rifle', - ['weapon_advancedrifle'] = 'advanced rifle', - ['weapon_mg'] = 'mg', - ['weapon_combatmg'] = 'combat mg', - ['weapon_pumpshotgun'] = 'pump shotgun', - ['weapon_sawnoffshotgun'] = 'sawed off shotgun', - ['weapon_assaultshotgun'] = 'assault shotgun', - ['weapon_bullpupshotgun'] = 'bullpup shotgun', - ['weapon_stungun'] = 'tazer', - ['weapon_sniperrifle'] = 'karabin snajperski', - ['weapon_heavysniper'] = 'ciężki karabin snajperski', - ['weapon_grenadelauncher'] = 'granatnik', - ['weapon_rpg'] = 'wyrzutnia rakiet', - ['weapon_minigun'] = 'minigun', - ['weapon_grenade'] = 'granat', - ['weapon_stickybomb'] = 'ładunek przylepny', - ['weapon_smokegrenade'] = 'granat dymny', - ['weapon_bzgas'] = 'bz gas', - ['weapon_molotov'] = 'koktajl Mołotowa', - ['weapon_fireextinguisher'] = 'gaśnica', - ['weapon_petrolcan'] = 'kanister', - ['weapon_ball'] = 'piłka', - ['weapon_snspistol'] = 'sns pistolet', - ['weapon_bottle'] = 'butelka', - ['weapon_gusenberg'] = 'gusenberg sweeper', - ['weapon_specialcarbine'] = 'special carbine', - ['weapon_heavypistol'] = 'heavy pistol', - ['weapon_bullpuprifle'] = 'karabin wyborowy', - ['weapon_dagger'] = 'sztylet', - ['weapon_vintagepistol'] = 'vintage pistol', - ['weapon_firework'] = 'fajerwerki', - ['weapon_musket'] = 'muszkiet', - ['weapon_heavyshotgun'] = 'ciężki shotgun', - ['weapon_marksmanrifle'] = 'marksman rifle', - ['weapon_hominglauncher'] = 'program uruchamiający', - ['weapon_proxmine'] = 'mina zbliżeniowa', - ['weapon_snowball'] = 'śnieżka', - ['weapon_flaregun'] = 'flara', - ['weapon_combatpdw'] = 'combat pdw', - ['weapon_marksmanpistol'] = 'marksman pistol', - ['weapon_knuckle'] = 'kastety', - ['weapon_hatchet'] = 'toporek', - ['weapon_railgun'] = 'karabin', - ['weapon_machete'] = 'meczeta', - ['weapon_machinepistol'] = 'pistolet maszynowy', - ['weapon_switchblade'] = 'scyzoryk', - ['weapon_revolver'] = 'ciężki rewolwer', - ['weapon_dbshotgun'] = 'dwururka', - ['weapon_compactrifle'] = 'compact rifle', - ['weapon_autoshotgun'] = 'auto shotgun', - ['weapon_battleaxe'] = 'topór bitewny', - ['weapon_compactlauncher'] = 'compact launcher', - ['weapon_minismg'] = 'mini smg', - ['weapon_pipebomb'] = 'bomba rurowa', - ['weapon_poolcue'] = 'kij bilardowy', - ['weapon_wrench'] = 'klucz do rur', - ['weapon_flashlight'] = 'latarka', - ['gadget_parachute'] = 'spadochron', - ['weapon_flare'] = 'pistolet sygnałowy', - ['weapon_doubleaction'] = 'double-Action Revolver', + -- Weapons + ['weapon_knife'] = 'nóż', + ['weapon_nightstick'] = 'pałka', + ['weapon_hammer'] = 'młotek', + ['weapon_bat'] = 'kij', + ['weapon_golfclub'] = 'kij golfowy', + ['weapon_crowbar'] = 'łom', + ['weapon_pistol'] = 'pistolet', + ['weapon_combatpistol'] = 'pistolet bojowy', + ['weapon_appistol'] = 'ap pistol', + ['weapon_pistol50'] = 'pistol .50', + ['weapon_microsmg'] = 'micro smg', + ['weapon_smg'] = 'smg', + ['weapon_assaultsmg'] = 'assault smg', + ['weapon_assaultrifle'] = 'assault rifle', + ['weapon_carbinerifle'] = 'carbine rifle', + ['weapon_advancedrifle'] = 'advanced rifle', + ['weapon_mg'] = 'mg', + ['weapon_combatmg'] = 'combat mg', + ['weapon_pumpshotgun'] = 'pump shotgun', + ['weapon_sawnoffshotgun'] = 'sawed off shotgun', + ['weapon_assaultshotgun'] = 'assault shotgun', + ['weapon_bullpupshotgun'] = 'bullpup shotgun', + ['weapon_stungun'] = 'tazer', + ['weapon_sniperrifle'] = 'karabin snajperski', + ['weapon_heavysniper'] = 'ciężki karabin snajperski', + ['weapon_grenadelauncher'] = 'granatnik', + ['weapon_rpg'] = 'wyrzutnia rakiet', + ['weapon_minigun'] = 'minigun', + ['weapon_grenade'] = 'granat', + ['weapon_stickybomb'] = 'ładunek przylepny', + ['weapon_smokegrenade'] = 'granat dymny', + ['weapon_bzgas'] = 'bz gas', + ['weapon_molotov'] = 'koktajl Mołotowa', + ['weapon_fireextinguisher'] = 'gaśnica', + ['weapon_petrolcan'] = 'kanister', + ['weapon_ball'] = 'piłka', + ['weapon_snspistol'] = 'sns pistolet', + ['weapon_bottle'] = 'butelka', + ['weapon_gusenberg'] = 'gusenberg sweeper', + ['weapon_specialcarbine'] = 'special carbine', + ['weapon_heavypistol'] = 'heavy pistol', + ['weapon_bullpuprifle'] = 'karabin wyborowy', + ['weapon_dagger'] = 'sztylet', + ['weapon_vintagepistol'] = 'vintage pistol', + ['weapon_firework'] = 'fajerwerki', + ['weapon_musket'] = 'muszkiet', + ['weapon_heavyshotgun'] = 'ciężki shotgun', + ['weapon_marksmanrifle'] = 'marksman rifle', + ['weapon_hominglauncher'] = 'program uruchamiający', + ['weapon_proxmine'] = 'mina zbliżeniowa', + ['weapon_snowball'] = 'śnieżka', + ['weapon_flaregun'] = 'flara', + ['weapon_combatpdw'] = 'combat pdw', + ['weapon_marksmanpistol'] = 'marksman pistol', + ['weapon_knuckle'] = 'kastety', + ['weapon_hatchet'] = 'toporek', + ['weapon_railgun'] = 'karabin', + ['weapon_machete'] = 'meczeta', + ['weapon_machinepistol'] = 'pistolet maszynowy', + ['weapon_switchblade'] = 'scyzoryk', + ['weapon_revolver'] = 'ciężki rewolwer', + ['weapon_dbshotgun'] = 'dwururka', + ['weapon_compactrifle'] = 'compact rifle', + ['weapon_autoshotgun'] = 'auto shotgun', + ['weapon_battleaxe'] = 'topór bitewny', + ['weapon_compactlauncher'] = 'compact launcher', + ['weapon_minismg'] = 'mini smg', + ['weapon_pipebomb'] = 'bomba rurowa', + ['weapon_poolcue'] = 'kij bilardowy', + ['weapon_wrench'] = 'klucz do rur', + ['weapon_flashlight'] = 'latarka', + ['gadget_parachute'] = 'spadochron', + ['weapon_flare'] = 'pistolet sygnałowy', + ['weapon_doubleaction'] = 'double-Action Revolver', - -- Weapon Components - ['component_clip_default'] = 'domyślny tłumik', - ['component_clip_extended'] = 'rozszerzony tłumik', - ['component_clip_drum'] = 'magazynek bębnowy', - ['component_clip_box'] = 'magazynek', - ['component_flashlight'] = 'latarka', - ['component_scope'] = 'luneta', - ['component_scope_advanced'] = 'zaawansowana luneta', - ['component_suppressor'] = 'tłumik', - ['component_grip'] = 'uchwyt', - ['component_luxary_finish'] = 'luksusowe wykończenie broni', + -- Weapon Components + ['component_clip_default'] = 'domyślny tłumik', + ['component_clip_extended'] = 'rozszerzony tłumik', + ['component_clip_drum'] = 'magazynek bębnowy', + ['component_clip_box'] = 'magazynek', + ['component_flashlight'] = 'latarka', + ['component_scope'] = 'luneta', + ['component_scope_advanced'] = 'zaawansowana luneta', + ['component_suppressor'] = 'tłumik', + ['component_grip'] = 'uchwyt', + ['component_luxary_finish'] = 'luksusowe wykończenie broni', - -- Weapon Ammo - ['ammo_rounds'] = 'nabój/oi', - ['ammo_shells'] = 'pocisk(ów)', - ['ammo_charge'] = 'naładowania', - ['ammo_petrol'] = 'galon(y) paliwa', - ['ammo_firework'] = 'fajerwerka/i', - ['ammo_rockets'] = 'rakieta/y', - ['ammo_grenadelauncher'] = 'granat(y)', - ['ammo_grenade'] = 'granat(y)', - ['ammo_stickybomb'] = 'bomba/y', - ['ammo_pipebomb'] = 'bomba/y', - ['ammo_smokebomb'] = 'bomba/y', - ['ammo_molotov'] = 'kontail(e)', - ['ammo_proxmine'] = 'mina/y', - ['ammo_bzgas'] = 'puszka/ek', - ['ammo_ball'] = 'kula/e', - ['ammo_snowball'] = 'snieżka/i', - ['ammo_flare'] = 'flara/y', - ['ammo_flaregun'] = 'flara/y', + -- Weapon Ammo + ['ammo_rounds'] = 'nabój/oi', + ['ammo_shells'] = 'pocisk(ów)', + ['ammo_charge'] = 'naładowania', + ['ammo_petrol'] = 'galon(y) paliwa', + ['ammo_firework'] = 'fajerwerka/i', + ['ammo_rockets'] = 'rakieta/y', + ['ammo_grenadelauncher'] = 'granat(y)', + ['ammo_grenade'] = 'granat(y)', + ['ammo_stickybomb'] = 'bomba/y', + ['ammo_pipebomb'] = 'bomba/y', + ['ammo_smokebomb'] = 'bomba/y', + ['ammo_molotov'] = 'kontail(e)', + ['ammo_proxmine'] = 'mina/y', + ['ammo_bzgas'] = 'puszka/ek', + ['ammo_ball'] = 'kula/e', + ['ammo_snowball'] = 'snieżka/i', + ['ammo_flare'] = 'flara/y', + ['ammo_flaregun'] = 'flara/y', - -- Weapon Tints - ['tint_default'] = 'domyślny skin', - ['tint_green'] = 'zielony skin', - ['tint_gold'] = 'złoty skin', - ['tint_pink'] = 'różowy skin', - ['tint_army'] = 'wojskowy skin', - ['tint_lspd'] = 'niebieski skin', - ['tint_orange'] = 'pomarańczowy skin', - ['tint_platinum'] = 'platynowy skin', + -- Weapon Tints + ['tint_default'] = 'domyślny skin', + ['tint_green'] = 'zielony skin', + ['tint_gold'] = 'złoty skin', + ['tint_pink'] = 'różowy skin', + ['tint_army'] = 'wojskowy skin', + ['tint_lspd'] = 'niebieski skin', + ['tint_orange'] = 'pomarańczowy skin', + ['tint_platinum'] = 'platynowy skin', } From 7fa6fa24dab32291f69500ba9cf3d52d8e6262fe Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:39:55 +0200 Subject: [PATCH 106/236] refactor(locales/sr): format code --- [core]/es_extended/locales/sr.lua | 660 +++++++++++++++--------------- 1 file changed, 330 insertions(+), 330 deletions(-) diff --git a/[core]/es_extended/locales/sr.lua b/[core]/es_extended/locales/sr.lua index ae959ad3..69a589b1 100644 --- a/[core]/es_extended/locales/sr.lua +++ b/[core]/es_extended/locales/sr.lua @@ -1,365 +1,365 @@ Locales['sr'] = { - -- Inventory - ['inventory'] = 'Inventar ( Težina %s / %s )', - ['use'] = 'Koristi', - ['give'] = 'Daj', - ['remove'] = 'Baci', - ['return'] = 'Nazad', - ['give_to'] = 'Daj', - ['amount'] = 'Količina', - ['giveammo'] = 'Daj municiju', - ['amountammo'] = 'Količina municije', - ['noammo'] = 'Nemate dovoljno!', - ['gave_item'] = 'Davanje %sx %s igraču %s', - ['received_item'] = 'Dobijeno %sx %s od %s', - ['gave_weapon'] = 'Davanje %s igraču %s', - ['gave_weapon_ammo'] = 'Davanje ~o~%sx %s za %s igraču %s', - ['gave_weapon_withammo'] = 'Davanje %s sa ~o~%sx %s igraču %s', - ['gave_weapon_hasalready'] = '%s već ima %s', - ['gave_weapon_noweapon'] = '%s nema to oružje', - ['received_weapon'] = 'Dobijeno %s od %s', - ['received_weapon_ammo'] = 'Dobijeno ~o~%sx %s za vaš %s od %s', - ['received_weapon_withammo'] = 'Dobijeno %s sa ~o~%sx %s od %s', - ['received_weapon_hasalready'] = '%s je pokušao da Vam da %s, ali vi već imate to oružje', - ['received_weapon_noweapon'] = '%s je pokušao da Vam da municiju za %s, ali vi nemate to oružje', - ['gave_account_money'] = 'Davanje $%s (%s) igraču %s', - ['received_account_money'] = 'Dobijeno $%s (%s) od %s', - ['amount_invalid'] = 'Nevažeća količina', - ['players_nearby'] = 'Nema igrača u blizini', - ['ex_inv_lim'] = 'Ne možete uraditi to, premašuje max težinu od %s', - ['imp_invalid_quantity'] = 'Nevažeća količina', - ['imp_invalid_amount'] = 'Nevažeći iznos', - ['threw_standard'] = 'Bacanje %sx %s', - ['threw_account'] = 'Bacanje $%s %s', - ['threw_weapon'] = 'Bacanje %s', - ['threw_weapon_ammo'] = 'Bacanje %s sa ~o~%sx %s', - ['threw_weapon_already'] = 'Vi već imate to oružje', - ['threw_cannot_pickup'] = 'Inventar je pun, ne možete pokupiti to!', - ['threw_pickup_prompt'] = 'Pritisni E da pokupiš', + -- Inventory + ['inventory'] = 'Inventar ( Težina %s / %s )', + ['use'] = 'Koristi', + ['give'] = 'Daj', + ['remove'] = 'Baci', + ['return'] = 'Nazad', + ['give_to'] = 'Daj', + ['amount'] = 'Količina', + ['giveammo'] = 'Daj municiju', + ['amountammo'] = 'Količina municije', + ['noammo'] = 'Nemate dovoljno!', + ['gave_item'] = 'Davanje %sx %s igraču %s', + ['received_item'] = 'Dobijeno %sx %s od %s', + ['gave_weapon'] = 'Davanje %s igraču %s', + ['gave_weapon_ammo'] = 'Davanje ~o~%sx %s za %s igraču %s', + ['gave_weapon_withammo'] = 'Davanje %s sa ~o~%sx %s igraču %s', + ['gave_weapon_hasalready'] = '%s već ima %s', + ['gave_weapon_noweapon'] = '%s nema to oružje', + ['received_weapon'] = 'Dobijeno %s od %s', + ['received_weapon_ammo'] = 'Dobijeno ~o~%sx %s za vaš %s od %s', + ['received_weapon_withammo'] = 'Dobijeno %s sa ~o~%sx %s od %s', + ['received_weapon_hasalready'] = '%s je pokušao da Vam da %s, ali vi već imate to oružje', + ['received_weapon_noweapon'] = '%s je pokušao da Vam da municiju za %s, ali vi nemate to oružje', + ['gave_account_money'] = 'Davanje $%s (%s) igraču %s', + ['received_account_money'] = 'Dobijeno $%s (%s) od %s', + ['amount_invalid'] = 'Nevažeća količina', + ['players_nearby'] = 'Nema igrača u blizini', + ['ex_inv_lim'] = 'Ne možete uraditi to, premašuje max težinu od %s', + ['imp_invalid_quantity'] = 'Nevažeća količina', + ['imp_invalid_amount'] = 'Nevažeći iznos', + ['threw_standard'] = 'Bacanje %sx %s', + ['threw_account'] = 'Bacanje $%s %s', + ['threw_weapon'] = 'Bacanje %s', + ['threw_weapon_ammo'] = 'Bacanje %s sa ~o~%sx %s', + ['threw_weapon_already'] = 'Vi već imate to oružje', + ['threw_cannot_pickup'] = 'Inventar je pun, ne možete pokupiti to!', + ['threw_pickup_prompt'] = 'Pritisni E da pokupiš', - -- Key mapping - ['keymap_showinventory'] = 'Otvaranje inventara', + -- Key mapping + ['keymap_showinventory'] = 'Otvaranje inventara', - -- Salary related - ['received_salary'] = 'Plaćeno Vam je: $%s', - ['received_help'] = 'Isplaćen Vam je ček: $%s', - ['company_nomoney'] = 'Kompanija u kojoj ste zapošljeni nema više novca', - ['received_paycheck'] = 'primili ste platu', - ['bank'] = 'Maze Banka', - ['account_bank'] = 'Banka', - ['account_black_money'] = 'Prljav novac', - ['account_money'] = 'Novac', + -- Salary related + ['received_salary'] = 'Plaćeno Vam je: $%s', + ['received_help'] = 'Isplaćen Vam je ček: $%s', + ['company_nomoney'] = 'Kompanija u kojoj ste zapošljeni nema više novca', + ['received_paycheck'] = 'primili ste platu', + ['bank'] = 'Maze Banka', + ['account_bank'] = 'Banka', + ['account_black_money'] = 'Prljav novac', + ['account_money'] = 'Novac', - ['act_imp'] = 'Ne možete izvršiti radnju', - ['in_vehicle'] = 'Ne možete uraditi to dok je igrač u vozilu', + ['act_imp'] = 'Ne možete izvršiti radnju', + ['in_vehicle'] = 'Ne možete uraditi to dok je igrač u vozilu', - -- Commands - ['command_bring'] = 'TP-ajte igrača do Vas', - ['command_car'] = 'Stvorite vozilo', - ['command_car_car'] = 'Model ili hash vozila', - ['command_cardel'] = 'Obrišite vozilo u blizini', - ['command_cardel_radius'] = 'Obrišite sva vozila unutar navedenog radiusa', - ['command_clear'] = 'Obrišite chat', - ['command_clearall'] = 'Obrišite chat za sve igrače', - ['command_clearinventory'] = 'Obrišite sve stvari iz inventara igrača', - ['command_clearloadout'] = 'Obrišite sva oružja iz inventara igrača', - ['command_freeze'] = 'Zaledite igrača', - ['command_unfreeze'] = 'Odledite igrača', - ['command_giveaccountmoney'] = 'Dajte novac na odredjeni nalog', - ['command_giveaccountmoney_account'] = 'Nalog za slanje', - ['command_giveaccountmoney_amount'] = 'Količina', - ['command_giveaccountmoney_invalid'] = 'Nalog nepostojeći', - ['command_giveitem'] = 'Dajte item igraču', - ['command_giveitem_item'] = 'Ime item-a', - ['command_giveitem_count'] = 'Količina', - ['command_giveweapon'] = 'Dajte oružje igraču', - ['command_giveweapon_weapon'] = 'Ime oružja', - ['command_giveweapon_ammo'] = 'Količina municije', - ['command_giveweapon_hasalready'] = 'Igrač već ima to oružje', - ['command_giveweaponcomponent'] = 'Dajte dodatak za oružje igraču', - ['command_giveweaponcomponent_component'] = 'Ime dodatka', - ['command_giveweaponcomponent_invalid'] = 'Nevažeći dodatak', - ['command_giveweaponcomponent_hasalready'] = 'Igrač već ima taj dodatak', - ['command_giveweaponcomponent_missingweapon'] = 'Igrač nema oružje', - ['command_goto'] = 'Idite do igrača', - ['command_kill'] = 'Ubijte igrača', - ['command_save'] = 'Forsirajte čuvanje date igrača', - ['command_saveall'] = 'Forsirajte čuvanje date svih igrača', - ['command_setaccountmoney'] = 'Postavite novac na određeni račun', - ['command_setaccountmoney_amount'] = 'Količina', - ['command_setcoords'] = 'Teleportujte se na koordinate', - ['command_setcoords_x'] = 'X', - ['command_setcoords_y'] = 'Y', - ['command_setcoords_z'] = 'Z', - ['command_setjob'] = 'Postavite posao igraču', - ['command_setjob_job'] = 'Ime', - ['command_setjob_grade'] = 'Stepen posla', - ['command_setjob_invalid'] = 'posao, stepen ili oba nisu validna', - ['command_setgroup'] = 'Postavite permisiju', - ['command_setgroup_group'] = 'Ime grupe', - ['commanderror_argumentmismatch'] = 'Nevazeci broj argumenata (položio %s, željeno %s)', - ['commanderror_argumentmismatch_number'] = 'Nevažeći argument #%s tip podataka (položeno, željeno)', - ['commanderror_invaliditem'] = 'Nevažeći item', - ['commanderror_invalidweapon'] = 'Nevažeće oružje', - ['commanderror_console'] = 'Komanda se ne može izvršiti iz konzole', - ['commanderror_invalidcommand'] = 'Nevažeća komanda - /%s', - ['commanderror_invalidplayerid'] = 'Igrač nije online', - ['commandgeneric_playerid'] = 'Igračev server ID', - ['command_giveammo_noweapon_found'] = '%s nema to oružje', - ['command_giveammo_weapon'] = 'Ime oružja', - ['command_giveammo_ammo'] = 'Količina municije', - ['tpm_nowaypoint'] = 'Morate označiti lokaciju.', - ['tpm_success'] = 'Teleportovani ste na lokaciju', + -- Commands + ['command_bring'] = 'TP-ajte igrača do Vas', + ['command_car'] = 'Stvorite vozilo', + ['command_car_car'] = 'Model ili hash vozila', + ['command_cardel'] = 'Obrišite vozilo u blizini', + ['command_cardel_radius'] = 'Obrišite sva vozila unutar navedenog radiusa', + ['command_clear'] = 'Obrišite chat', + ['command_clearall'] = 'Obrišite chat za sve igrače', + ['command_clearinventory'] = 'Obrišite sve stvari iz inventara igrača', + ['command_clearloadout'] = 'Obrišite sva oružja iz inventara igrača', + ['command_freeze'] = 'Zaledite igrača', + ['command_unfreeze'] = 'Odledite igrača', + ['command_giveaccountmoney'] = 'Dajte novac na odredjeni nalog', + ['command_giveaccountmoney_account'] = 'Nalog za slanje', + ['command_giveaccountmoney_amount'] = 'Količina', + ['command_giveaccountmoney_invalid'] = 'Nalog nepostojeći', + ['command_giveitem'] = 'Dajte item igraču', + ['command_giveitem_item'] = 'Ime item-a', + ['command_giveitem_count'] = 'Količina', + ['command_giveweapon'] = 'Dajte oružje igraču', + ['command_giveweapon_weapon'] = 'Ime oružja', + ['command_giveweapon_ammo'] = 'Količina municije', + ['command_giveweapon_hasalready'] = 'Igrač već ima to oružje', + ['command_giveweaponcomponent'] = 'Dajte dodatak za oružje igraču', + ['command_giveweaponcomponent_component'] = 'Ime dodatka', + ['command_giveweaponcomponent_invalid'] = 'Nevažeći dodatak', + ['command_giveweaponcomponent_hasalready'] = 'Igrač već ima taj dodatak', + ['command_giveweaponcomponent_missingweapon'] = 'Igrač nema oružje', + ['command_goto'] = 'Idite do igrača', + ['command_kill'] = 'Ubijte igrača', + ['command_save'] = 'Forsirajte čuvanje date igrača', + ['command_saveall'] = 'Forsirajte čuvanje date svih igrača', + ['command_setaccountmoney'] = 'Postavite novac na određeni račun', + ['command_setaccountmoney_amount'] = 'Količina', + ['command_setcoords'] = 'Teleportujte se na koordinate', + ['command_setcoords_x'] = 'X', + ['command_setcoords_y'] = 'Y', + ['command_setcoords_z'] = 'Z', + ['command_setjob'] = 'Postavite posao igraču', + ['command_setjob_job'] = 'Ime', + ['command_setjob_grade'] = 'Stepen posla', + ['command_setjob_invalid'] = 'posao, stepen ili oba nisu validna', + ['command_setgroup'] = 'Postavite permisiju', + ['command_setgroup_group'] = 'Ime grupe', + ['commanderror_argumentmismatch'] = 'Nevazeci broj argumenata (položio %s, željeno %s)', + ['commanderror_argumentmismatch_number'] = 'Nevažeći argument #%s tip podataka (položeno, željeno)', + ['commanderror_invaliditem'] = 'Nevažeći item', + ['commanderror_invalidweapon'] = 'Nevažeće oružje', + ['commanderror_console'] = 'Komanda se ne može izvršiti iz konzole', + ['commanderror_invalidcommand'] = 'Nevažeća komanda - /%s', + ['commanderror_invalidplayerid'] = 'Igrač nije online', + ['commandgeneric_playerid'] = 'Igračev server ID', + ['command_giveammo_noweapon_found'] = '%s nema to oružje', + ['command_giveammo_weapon'] = 'Ime oružja', + ['command_giveammo_ammo'] = 'Količina municije', + ['tpm_nowaypoint'] = 'Morate označiti lokaciju.', + ['tpm_success'] = 'Teleportovani ste na lokaciju', - ['noclip_message'] = 'Noclip %s', - ['enabled'] = '~g~upaljen~s~', - ['disabled'] = '~r~ugašen~s~', + ['noclip_message'] = 'Noclip %s', + ['enabled'] = '~g~upaljen~s~', + ['disabled'] = '~r~ugašen~s~', - -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '£%s', + -- Locale settings + ['locale_digit_grouping_symbol'] = ',', + ['locale_currency'] = '£%s', - -- Weapons + -- Weapons - -- Melee - ['weapon_dagger'] = 'Dagger', - ['weapon_bat'] = 'Bat', - ['weapon_battleaxe'] = 'Battle Axe', - ['weapon_bottle'] = 'Bottle', - ['weapon_crowbar'] = 'Crowbar', - ['weapon_flashlight'] = 'Flashlight', - ['weapon_golfclub'] = 'Golf Club', - ['weapon_hammer'] = 'Hammer', - ['weapon_hatchet'] = 'Hatchet', - ['weapon_knife'] = 'Knife', - ['weapon_knuckle'] = 'Knuckledusters', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Nightstick', - ['weapon_wrench'] = 'Pipe Wrench', - ['weapon_poolcue'] = 'Pool Cue', - ['weapon_stone_hatchet'] = 'Stone Hatchet', - ['weapon_switchblade'] = 'Switchblade', + -- Melee + ['weapon_dagger'] = 'Dagger', + ['weapon_bat'] = 'Bat', + ['weapon_battleaxe'] = 'Battle Axe', + ['weapon_bottle'] = 'Bottle', + ['weapon_crowbar'] = 'Crowbar', + ['weapon_flashlight'] = 'Flashlight', + ['weapon_golfclub'] = 'Golf Club', + ['weapon_hammer'] = 'Hammer', + ['weapon_hatchet'] = 'Hatchet', + ['weapon_knife'] = 'Knife', + ['weapon_knuckle'] = 'Knuckledusters', + ['weapon_machete'] = 'Machete', + ['weapon_nightstick'] = 'Nightstick', + ['weapon_wrench'] = 'Pipe Wrench', + ['weapon_poolcue'] = 'Pool Cue', + ['weapon_stone_hatchet'] = 'Stone Hatchet', + ['weapon_switchblade'] = 'Switchblade', - -- Handguns - ['weapon_appistol'] = 'AP Pistol', - ['weapon_ceramicpistol'] = 'Ceramic Pistol', - ['weapon_combatpistol'] = 'Combat Pistol', - ['weapon_doubleaction'] = 'Double-Action Revolver', - ['weapon_navyrevolver'] = 'Navy Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadget Pistol', - ['weapon_heavypistol'] = 'Heavy Pistol', - ['weapon_revolver'] = 'Heavy Revolver', - ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', - ['weapon_marksmanpistol'] = 'Marksman Pistol', - ['weapon_pistol'] = 'Pistol', - ['weapon_pistol_mk2'] = 'Pistol MK2', - ['weapon_pistol50'] = 'Pistol .50', - ['weapon_snspistol'] = 'SNS Pistol', - ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintage Pistol', + -- Handguns + ['weapon_appistol'] = 'AP Pistol', + ['weapon_ceramicpistol'] = 'Ceramic Pistol', + ['weapon_combatpistol'] = 'Combat Pistol', + ['weapon_doubleaction'] = 'Double-Action Revolver', + ['weapon_navyrevolver'] = 'Navy Revolver', + ['weapon_flaregun'] = 'Flaregun', + ['weapon_gadgetpistol'] = 'Gadget Pistol', + ['weapon_heavypistol'] = 'Heavy Pistol', + ['weapon_revolver'] = 'Heavy Revolver', + ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', + ['weapon_marksmanpistol'] = 'Marksman Pistol', + ['weapon_pistol'] = 'Pistol', + ['weapon_pistol_mk2'] = 'Pistol MK2', + ['weapon_pistol50'] = 'Pistol .50', + ['weapon_snspistol'] = 'SNS Pistol', + ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', + ['weapon_stungun'] = 'Taser', + ['weapon_raypistol'] = 'Up-N-Atomizer', + ['weapon_vintagepistol'] = 'Vintage Pistol', - -- Shotguns - ['weapon_assaultshotgun'] = 'Assault Shotgun', - ['weapon_autoshotgun'] = 'Auto Shotgun', - ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', - ['weapon_combatshotgun'] = 'Combat Shotgun', - ['weapon_dbshotgun'] = 'Double Barrel Shotgun', - ['weapon_heavyshotgun'] = 'Heavy Shotgun', - ['weapon_musket'] = 'Musket', - ['weapon_pumpshotgun'] = 'Pump Shotgun', - ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', - ['weapon_sawnoffshotgun'] = 'Sawed Off Shotgun', + -- Shotguns + ['weapon_assaultshotgun'] = 'Assault Shotgun', + ['weapon_autoshotgun'] = 'Auto Shotgun', + ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', + ['weapon_combatshotgun'] = 'Combat Shotgun', + ['weapon_dbshotgun'] = 'Double Barrel Shotgun', + ['weapon_heavyshotgun'] = 'Heavy Shotgun', + ['weapon_musket'] = 'Musket', + ['weapon_pumpshotgun'] = 'Pump Shotgun', + ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', + ['weapon_sawnoffshotgun'] = 'Sawed Off Shotgun', - -- SMG & LMG - ['weapon_assaultsmg'] = 'Assault SMG', - ['weapon_combatmg'] = 'Combat MG', - ['weapon_combatmg_mk2'] = 'Combat MG MK2', - ['weapon_combatpdw'] = 'Combat PDW', - ['weapon_gusenberg'] = 'Gusenberg Sweeper', - ['weapon_machinepistol'] = 'Machine Pistol', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Micro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Unholy Hellbringer', + -- SMG & LMG + ['weapon_assaultsmg'] = 'Assault SMG', + ['weapon_combatmg'] = 'Combat MG', + ['weapon_combatmg_mk2'] = 'Combat MG MK2', + ['weapon_combatpdw'] = 'Combat PDW', + ['weapon_gusenberg'] = 'Gusenberg Sweeper', + ['weapon_machinepistol'] = 'Machine Pistol', + ['weapon_mg'] = 'MG', + ['weapon_microsmg'] = 'Micro SMG', + ['weapon_minismg'] = 'Mini SMG', + ['weapon_smg'] = 'SMG', + ['weapon_smg_mk2'] = 'SMG MK2', + ['weapon_raycarbine'] = 'Unholy Hellbringer', - -- Rifles - ['weapon_advancedrifle'] = 'Advanced Rifle', - ['weapon_assaultrifle'] = 'Assault Rifle', - ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', - ['weapon_bullpuprifle'] = 'Bullpup Rifle', - ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', - ['weapon_carbinerifle'] = 'Carbine Rifle', - ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', - ['weapon_compactrifle'] = 'Compact Rifle', - ['weapon_militaryrifle'] = 'Military Rifle', - ['weapon_specialcarbine'] = 'Special Carbine', - ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', + -- Rifles + ['weapon_advancedrifle'] = 'Advanced Rifle', + ['weapon_assaultrifle'] = 'Assault Rifle', + ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', + ['weapon_bullpuprifle'] = 'Bullpup Rifle', + ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', + ['weapon_carbinerifle'] = 'Carbine Rifle', + ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', + ['weapon_compactrifle'] = 'Compact Rifle', + ['weapon_militaryrifle'] = 'Military Rifle', + ['weapon_specialcarbine'] = 'Special Carbine', + ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', - -- Sniper - ['weapon_heavysniper'] = 'Heavy Sniper', - ['weapon_heavysniper_mk2'] = 'Heavy Sniper MK2', - ['weapon_marksmanrifle'] = 'Marksman Rifle', - ['weapon_marksmanrifle_mk2'] = 'Marksman Rifle MK2', - ['weapon_sniperrifle'] = 'Sniper Rifle', + -- Sniper + ['weapon_heavysniper'] = 'Heavy Sniper', + ['weapon_heavysniper_mk2'] = 'Heavy Sniper MK2', + ['weapon_marksmanrifle'] = 'Marksman Rifle', + ['weapon_marksmanrifle_mk2'] = 'Marksman Rifle MK2', + ['weapon_sniperrifle'] = 'Sniper Rifle', - -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Compact Launcher', - ['weapon_firework'] = 'Firework Launcher', - ['weapon_grenadelauncher'] = 'Grenade Launcher', - ['weapon_hominglauncher'] = 'Homing Launcher', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Rocket Launcher', - ['weapon_rayminigun'] = 'Widowmaker', + -- Heavy / Launchers + ['weapon_compactlauncher'] = 'Compact Launcher', + ['weapon_firework'] = 'Firework Launcher', + ['weapon_grenadelauncher'] = 'Grenade Launcher', + ['weapon_hominglauncher'] = 'Homing Launcher', + ['weapon_minigun'] = 'Minigun', + ['weapon_railgun'] = 'Railgun', + ['weapon_rpg'] = 'Rocket Launcher', + ['weapon_rayminigun'] = 'Widowmaker', - -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Metal Detector', - ['weapon_precisionrifle'] = 'Precision Rifle', - ['weapon_tactilerifle'] = 'Service Carbine', + -- Criminal Enterprises DLC + ['weapon_metaldetector'] = 'Metal Detector', + ['weapon_precisionrifle'] = 'Precision Rifle', + ['weapon_tactilerifle'] = 'Service Carbine', - -- Thrown - ['weapon_ball'] = 'Baseball', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_flare'] = 'Flare', - ['weapon_grenade'] = 'Grenade', - ['weapon_petrolcan'] = 'Jerrycan', - ['weapon_hazardcan'] = 'Hazardous Jerrycan', - ['weapon_molotov'] = 'Molotov Cocktail', - ['weapon_proxmine'] = 'Proximity Mine', - ['weapon_pipebomb'] = 'Pipe Bomb', - ['weapon_snowball'] = 'Snowball', - ['weapon_stickybomb'] = 'Sticky Bomb', - ['weapon_smokegrenade'] = 'Tear Gas', + -- Thrown + ['weapon_ball'] = 'Baseball', + ['weapon_bzgas'] = 'BZ Gas', + ['weapon_flare'] = 'Flare', + ['weapon_grenade'] = 'Grenade', + ['weapon_petrolcan'] = 'Jerrycan', + ['weapon_hazardcan'] = 'Hazardous Jerrycan', + ['weapon_molotov'] = 'Molotov Cocktail', + ['weapon_proxmine'] = 'Proximity Mine', + ['weapon_pipebomb'] = 'Pipe Bomb', + ['weapon_snowball'] = 'Snowball', + ['weapon_stickybomb'] = 'Sticky Bomb', + ['weapon_smokegrenade'] = 'Tear Gas', - -- Special - ['weapon_fireextinguisher'] = 'Fire Extinguisher', - ['weapon_digiscanner'] = 'Digital Scanner', - ['weapon_garbagebag'] = 'Garbage Bag', - ['weapon_handcuffs'] = 'Handcuffs', - ['gadget_nightvision'] = 'Night Vision', - ['gadget_parachute'] = 'parachute', + -- Special + ['weapon_fireextinguisher'] = 'Fire Extinguisher', + ['weapon_digiscanner'] = 'Digital Scanner', + ['weapon_garbagebag'] = 'Garbage Bag', + ['weapon_handcuffs'] = 'Handcuffs', + ['gadget_nightvision'] = 'Night Vision', + ['gadget_parachute'] = 'parachute', - -- Weapon Components - ['component_knuckle_base'] = 'base Model', - ['component_knuckle_pimp'] = 'the Pimp', - ['component_knuckle_ballas'] = 'the Ballas', - ['component_knuckle_dollar'] = 'the Hustler', - ['component_knuckle_diamond'] = 'the Rock', - ['component_knuckle_hate'] = 'the Hater', - ['component_knuckle_love'] = 'the Lover', - ['component_knuckle_player'] = 'the Player', - ['component_knuckle_king'] = 'the King', - ['component_knuckle_vagos'] = 'the Vagos', + -- Weapon Components + ['component_knuckle_base'] = 'base Model', + ['component_knuckle_pimp'] = 'the Pimp', + ['component_knuckle_ballas'] = 'the Ballas', + ['component_knuckle_dollar'] = 'the Hustler', + ['component_knuckle_diamond'] = 'the Rock', + ['component_knuckle_hate'] = 'the Hater', + ['component_knuckle_love'] = 'the Lover', + ['component_knuckle_player'] = 'the Player', + ['component_knuckle_king'] = 'the King', + ['component_knuckle_vagos'] = 'the Vagos', - ['component_luxary_finish'] = 'luxary Weapon Finish', + ['component_luxary_finish'] = 'luxary Weapon Finish', - ['component_handle_default'] = 'default Handle', - ['component_handle_vip'] = 'vIP Handle', - ['component_handle_bodyguard'] = 'bodyguard Handle', + ['component_handle_default'] = 'default Handle', + ['component_handle_vip'] = 'vIP Handle', + ['component_handle_bodyguard'] = 'bodyguard Handle', - ['component_vip_finish'] = 'vIP Finish', - ['component_bodyguard_finish'] = 'bodyguard Finish', + ['component_vip_finish'] = 'vIP Finish', + ['component_bodyguard_finish'] = 'bodyguard Finish', - ['component_camo_finish'] = 'digital Camo', - ['component_camo_finish2'] = 'brushstroke Camo', - ['component_camo_finish3'] = 'woodland Camo', - ['component_camo_finish4'] = 'skull Camo', - ['component_camo_finish5'] = 'sessanta Nove Camo', - ['component_camo_finish6'] = 'perseus Camo', - ['component_camo_finish7'] = 'leopard Camo', - ['component_camo_finish8'] = 'zebra Camo', - ['component_camo_finish9'] = 'geometric Camo', - ['component_camo_finish10'] = 'boom Camo', - ['component_camo_finish11'] = 'patriotic Camo', + ['component_camo_finish'] = 'digital Camo', + ['component_camo_finish2'] = 'brushstroke Camo', + ['component_camo_finish3'] = 'woodland Camo', + ['component_camo_finish4'] = 'skull Camo', + ['component_camo_finish5'] = 'sessanta Nove Camo', + ['component_camo_finish6'] = 'perseus Camo', + ['component_camo_finish7'] = 'leopard Camo', + ['component_camo_finish8'] = 'zebra Camo', + ['component_camo_finish9'] = 'geometric Camo', + ['component_camo_finish10'] = 'boom Camo', + ['component_camo_finish11'] = 'patriotic Camo', - ['component_camo_slide_finish'] = 'digital Slide Camo', - ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', - ['component_camo_slide_finish3'] = 'woodland Slide Camo', - ['component_camo_slide_finish4'] = 'skull Slide Camo', - ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', - ['component_camo_slide_finish6'] = 'perseus Slide Camo', - ['component_camo_slide_finish7'] = 'leopard Slide Camo', - ['component_camo_slide_finish8'] = 'zebra Slide Camo', - ['component_camo_slide_finish9'] = 'geometric Slide Camo', - ['component_camo_slide_finish10'] = 'boom Slide Camo', - ['component_camo_slide_finish11'] = 'patriotic Slide Camo', + ['component_camo_slide_finish'] = 'digital Slide Camo', + ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', + ['component_camo_slide_finish3'] = 'woodland Slide Camo', + ['component_camo_slide_finish4'] = 'skull Slide Camo', + ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', + ['component_camo_slide_finish6'] = 'perseus Slide Camo', + ['component_camo_slide_finish7'] = 'leopard Slide Camo', + ['component_camo_slide_finish8'] = 'zebra Slide Camo', + ['component_camo_slide_finish9'] = 'geometric Slide Camo', + ['component_camo_slide_finish10'] = 'boom Slide Camo', + ['component_camo_slide_finish11'] = 'patriotic Slide Camo', - ['component_clip_default'] = 'default Magazine', - ['component_clip_extended'] = 'extended Magazine', - ['component_clip_drum'] = 'drum Magazine', - ['component_clip_box'] = 'box Magazine', + ['component_clip_default'] = 'default Magazine', + ['component_clip_extended'] = 'extended Magazine', + ['component_clip_drum'] = 'drum Magazine', + ['component_clip_box'] = 'box Magazine', - ['component_scope_holo'] = 'holographic Scope', - ['component_scope_small'] = 'small Scope', - ['component_scope_medium'] = 'medium Scope', - ['component_scope_large'] = 'large Scope', - ['component_scope'] = 'mounted Scope', - ['component_scope_advanced'] = 'advanced Scope', - ['component_ironsights'] = 'ironsights', + ['component_scope_holo'] = 'holographic Scope', + ['component_scope_small'] = 'small Scope', + ['component_scope_medium'] = 'medium Scope', + ['component_scope_large'] = 'large Scope', + ['component_scope'] = 'mounted Scope', + ['component_scope_advanced'] = 'advanced Scope', + ['component_ironsights'] = 'ironsights', - ['component_suppressor'] = 'suppressor', - ['component_compensator'] = 'compensator', + ['component_suppressor'] = 'suppressor', + ['component_compensator'] = 'compensator', - ['component_muzzle_flat'] = 'flat Muzzle Brake', - ['component_muzzle_tactical'] = 'tactical Muzzle Brake', - ['component_muzzle_fat'] = 'fat-End Muzzle Brake', - ['component_muzzle_precision'] = 'precision Muzzle Brake', - ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', - ['component_muzzle_slanted'] = 'slanted Muzzle Brake', - ['component_muzzle_split'] = 'split-End Muzzle Brake', - ['component_muzzle_squared'] = 'squared Muzzle Brake', + ['component_muzzle_flat'] = 'flat Muzzle Brake', + ['component_muzzle_tactical'] = 'tactical Muzzle Brake', + ['component_muzzle_fat'] = 'fat-End Muzzle Brake', + ['component_muzzle_precision'] = 'precision Muzzle Brake', + ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', + ['component_muzzle_slanted'] = 'slanted Muzzle Brake', + ['component_muzzle_split'] = 'split-End Muzzle Brake', + ['component_muzzle_squared'] = 'squared Muzzle Brake', - ['component_flashlight'] = 'flashlight', - ['component_grip'] = 'grip', + ['component_flashlight'] = 'flashlight', + ['component_grip'] = 'grip', - ['component_barrel_default'] = 'default Barrel', - ['component_barrel_heavy'] = 'heavy Barrel', + ['component_barrel_default'] = 'default Barrel', + ['component_barrel_heavy'] = 'heavy Barrel', - ['component_ammo_tracer'] = 'tracer Ammo', - ['component_ammo_incendiary'] = 'incendiary Ammo', - ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', - ['component_ammo_fmj'] = 'fMJ Ammo', - ['component_ammo_armor'] = 'armor Piercing Ammo', - ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', + ['component_ammo_tracer'] = 'tracer Ammo', + ['component_ammo_incendiary'] = 'incendiary Ammo', + ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', + ['component_ammo_fmj'] = 'fMJ Ammo', + ['component_ammo_armor'] = 'armor Piercing Ammo', + ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', - ['component_shells_default'] = 'default Shells', - ['component_shells_incendiary'] = 'dragons Breath Shells', - ['component_shells_armor'] = 'steel Buckshot Shells', - ['component_shells_hollowpoint'] = 'flechette Shells', - ['component_shells_explosive'] = 'explosive Slug Shells', + ['component_shells_default'] = 'default Shells', + ['component_shells_incendiary'] = 'dragons Breath Shells', + ['component_shells_armor'] = 'steel Buckshot Shells', + ['component_shells_hollowpoint'] = 'flechette Shells', + ['component_shells_explosive'] = 'explosive Slug Shells', - -- Weapon Ammo - ['ammo_rounds'] = 'round(s)', - ['ammo_shells'] = 'shell(s)', - ['ammo_charge'] = 'charge', - ['ammo_petrol'] = 'gallons of fuel', - ['ammo_firework'] = 'firework(s)', - ['ammo_rockets'] = 'rocket(s)', - ['ammo_grenadelauncher'] = 'grenade(s)', - ['ammo_grenade'] = 'grenade(s)', - ['ammo_stickybomb'] = 'bomb(s)', - ['ammo_pipebomb'] = 'bomb(s)', - ['ammo_smokebomb'] = 'bomb(s)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mine(s)', - ['ammo_bzgas'] = 'can(s)', - ['ammo_ball'] = 'ball(s)', - ['ammo_snowball'] = 'snowball(s)', - ['ammo_flare'] = 'flare(s)', - ['ammo_flaregun'] = 'flare(s)', + -- Weapon Ammo + ['ammo_rounds'] = 'round(s)', + ['ammo_shells'] = 'shell(s)', + ['ammo_charge'] = 'charge', + ['ammo_petrol'] = 'gallons of fuel', + ['ammo_firework'] = 'firework(s)', + ['ammo_rockets'] = 'rocket(s)', + ['ammo_grenadelauncher'] = 'grenade(s)', + ['ammo_grenade'] = 'grenade(s)', + ['ammo_stickybomb'] = 'bomb(s)', + ['ammo_pipebomb'] = 'bomb(s)', + ['ammo_smokebomb'] = 'bomb(s)', + ['ammo_molotov'] = 'cocktail(s)', + ['ammo_proxmine'] = 'mine(s)', + ['ammo_bzgas'] = 'can(s)', + ['ammo_ball'] = 'ball(s)', + ['ammo_snowball'] = 'snowball(s)', + ['ammo_flare'] = 'flare(s)', + ['ammo_flaregun'] = 'flare(s)', - -- Weapon Tints - ['tint_default'] = 'default skin', - ['tint_green'] = 'green skin', - ['tint_gold'] = 'gold skin', - ['tint_pink'] = 'pink skin', - ['tint_army'] = 'army skin', - ['tint_lspd'] = 'blue skin', - ['tint_orange'] = 'orange skin', - ['tint_platinum'] = 'platinum skin', + -- Weapon Tints + ['tint_default'] = 'default skin', + ['tint_green'] = 'green skin', + ['tint_gold'] = 'gold skin', + ['tint_pink'] = 'pink skin', + ['tint_army'] = 'army skin', + ['tint_lspd'] = 'blue skin', + ['tint_orange'] = 'orange skin', + ['tint_platinum'] = 'platinum skin', } From 0105dab564317ed6e1010c1d40be6f2ef987a627 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:40:20 +0200 Subject: [PATCH 107/236] refactor(locales/zh-cn): format code --- [core]/es_extended/locales/zh-cn.lua | 660 +++++++++++++-------------- 1 file changed, 330 insertions(+), 330 deletions(-) diff --git a/[core]/es_extended/locales/zh-cn.lua b/[core]/es_extended/locales/zh-cn.lua index 81e39133..7671a230 100644 --- a/[core]/es_extended/locales/zh-cn.lua +++ b/[core]/es_extended/locales/zh-cn.lua @@ -1,365 +1,365 @@ Locales['zh-cn'] = { - -- Inventory - ['inventory'] = '背包 %s / %s', - ['use'] = '使用', - ['give'] = '给予', - ['remove'] = '赠送', - ['return'] = '返回', - ['give_to'] = '赠给', - ['amount'] = '数量', - ['giveammo'] = '赠送弹药', - ['amountammo'] = '弹药量', - ['noammo'] = '您没有足够的弹药!', - ['gave_item'] = '您将 %sx %s 赠送给 %s', - ['received_item'] = '您收到 %sx %s, 来自于 %s 的赠送', - ['gave_weapon'] = '您把 %s 赠送给 %s', - ['gave_weapon_ammo'] = '您把 ~o~%sx %s %s 赠送给 %s', - ['gave_weapon_withammo'] = '您把 %s 和 ~o~%sx %s 赠送给 %s', - ['gave_weapon_hasalready'] = '%s 已持有 %s', - ['gave_weapon_noweapon'] = '%s 暂无该类型武器', - ['received_weapon'] = '您收到了 %s, 来自于 %s 的赠送', - ['received_weapon_ammo'] = '您收到了 ~o~%sx %s (%s),来自于%s的赠送', - ['received_weapon_withammo'] = '您收到了 %s 和~o~%sx %s,来自于%s的赠送', - ['received_weapon_hasalready'] = '%s 试图给您 %s,但您已持有', - ['received_weapon_noweapon'] = '%s 试图给您 %s 发子弹,但是您沒有该类型武器', - ['gave_account_money'] = '您将 $%s (%s) 赠送给 %s', - ['received_account_money'] = '您收到了 $%s (%s) 来自 %s 的赠送', - ['amount_invalid'] = '无效数量', - ['players_nearby'] = '附近没有玩家', - ['ex_inv_lim'] = '操作失败, 超过 %s 背包物品的上限', - ['imp_invalid_quantity'] = '操作失败,无效数量输入', - ['imp_invalid_amount'] = '操作失败,无效金额输入', - ['threw_standard'] = '您丢弃了 %sx %s', - ['threw_account'] = '您丢弃了 $%s %s', - ['threw_weapon'] = '您丢弃了 %s', - ['threw_weapon_ammo'] = '您丢弃了 %s 和 ~o~%sx %s', - ['threw_weapon_already'] = '您已持有相同武器!', - ['threw_cannot_pickup'] = '背包容量已满, 无法持有更多该物品!', - ['threw_pickup_prompt'] = '键下 [E] 捡起', + -- Inventory + ['inventory'] = '背包 %s / %s', + ['use'] = '使用', + ['give'] = '给予', + ['remove'] = '赠送', + ['return'] = '返回', + ['give_to'] = '赠给', + ['amount'] = '数量', + ['giveammo'] = '赠送弹药', + ['amountammo'] = '弹药量', + ['noammo'] = '您没有足够的弹药!', + ['gave_item'] = '您将 %sx %s 赠送给 %s', + ['received_item'] = '您收到 %sx %s, 来自于 %s 的赠送', + ['gave_weapon'] = '您把 %s 赠送给 %s', + ['gave_weapon_ammo'] = '您把 ~o~%sx %s %s 赠送给 %s', + ['gave_weapon_withammo'] = '您把 %s 和 ~o~%sx %s 赠送给 %s', + ['gave_weapon_hasalready'] = '%s 已持有 %s', + ['gave_weapon_noweapon'] = '%s 暂无该类型武器', + ['received_weapon'] = '您收到了 %s, 来自于 %s 的赠送', + ['received_weapon_ammo'] = '您收到了 ~o~%sx %s (%s),来自于%s的赠送', + ['received_weapon_withammo'] = '您收到了 %s 和~o~%sx %s,来自于%s的赠送', + ['received_weapon_hasalready'] = '%s 试图给您 %s,但您已持有', + ['received_weapon_noweapon'] = '%s 试图给您 %s 发子弹,但是您沒有该类型武器', + ['gave_account_money'] = '您将 $%s (%s) 赠送给 %s', + ['received_account_money'] = '您收到了 $%s (%s) 来自 %s 的赠送', + ['amount_invalid'] = '无效数量', + ['players_nearby'] = '附近没有玩家', + ['ex_inv_lim'] = '操作失败, 超过 %s 背包物品的上限', + ['imp_invalid_quantity'] = '操作失败,无效数量输入', + ['imp_invalid_amount'] = '操作失败,无效金额输入', + ['threw_standard'] = '您丢弃了 %sx %s', + ['threw_account'] = '您丢弃了 $%s %s', + ['threw_weapon'] = '您丢弃了 %s', + ['threw_weapon_ammo'] = '您丢弃了 %s 和 ~o~%sx %s', + ['threw_weapon_already'] = '您已持有相同武器!', + ['threw_cannot_pickup'] = '背包容量已满, 无法持有更多该物品!', + ['threw_pickup_prompt'] = '键下 [E] 捡起', - -- Key mapping - ['keymap_showinventory'] = '显示背包', + -- Key mapping + ['keymap_showinventory'] = '显示背包', - -- Salary related - ['received_salary'] = '您收到了您的工资: $%s', - ['received_help'] = '您领取到了您的无业性低保: $%s', - ['company_nomoney'] = '您受雇的公司太穷了,无法清算您的工资.', - ['received_paycheck'] = '收到转账', - ['bank'] = '花园银行', - ['account_bank'] = '银行', - ['account_black_money'] = '赃款', - ['account_money'] = '现金', + -- Salary related + ['received_salary'] = '您收到了您的工资: $%s', + ['received_help'] = '您领取到了您的无业性低保: $%s', + ['company_nomoney'] = '您受雇的公司太穷了,无法清算您的工资.', + ['received_paycheck'] = '收到转账', + ['bank'] = '花园银行', + ['account_bank'] = '银行', + ['account_black_money'] = '赃款', + ['account_money'] = '现金', - ['act_imp'] = '操作失败', - ['in_vehicle'] = '请离开当前载具', + ['act_imp'] = '操作失败', + ['in_vehicle'] = '请离开当前载具', - -- Commands - ['command_bring'] = '传送玩家到您身边', - ['command_car'] = '生成载具', - ['command_car_car'] = '生成载具的模型名称或哈希值', - ['command_cardel'] = '删除附近载具', - ['command_cardel_radius'] = '可选,删除指定半径内的所有载具', - ['command_clear'] = '清除聊天记录', - ['command_clearall'] = '清除所有玩家的聊天记录', - ['command_clearinventory'] = '清除玩家库存', - ['command_clearloadout'] = '清除玩家武器栏', - ['command_freeze'] = '冻结玩家', - ['command_unfreeze'] = '解冻玩家', - ['command_giveaccountmoney'] = '给予任意账户资金', - ['command_giveaccountmoney_account'] = '有效的帐户类型', - ['command_giveaccountmoney_amount'] = '添加的金额数量', - ['command_giveaccountmoney_invalid'] = '无效的帐户类型', - ['command_giveitem'] = '给予玩家一件物品', - ['command_giveitem_item'] = '物品代码', - ['command_giveitem_count'] = '物品数目', - ['command_giveweapon'] = '给予玩家一把武器', - ['command_giveweapon_weapon'] = '武器代码', - ['command_giveweapon_ammo'] = '弹药数目', - ['command_giveweapon_hasalready'] = '该玩家已拥有该武器', - ['command_giveweaponcomponent'] = '给予武器改装件', - ['command_giveweaponcomponent_component'] = '改装件代码', - ['command_giveweaponcomponent_invalid'] = '无效的武器改装件', - ['command_giveweaponcomponent_hasalready'] = '玩家已拥有该武器改装件', - ['command_giveweaponcomponent_missingweapon'] = '该玩家暂无该类型改装件的武器', - ['command_goto'] = '传送至一名玩家身旁', - ['command_kill'] = '击杀一名玩家', - ['command_save'] = '保存玩家数据至数据库', - ['command_saveall'] = '保存所有玩家数据至数据库', - ['command_setaccountmoney'] = '设置玩家帐户内资金', - ['command_setaccountmoney_amount'] = '账户资金金额', - ['command_setcoords'] = '传送至XYZ坐标', - ['command_setcoords_x'] = 'X 轴', - ['command_setcoords_y'] = 'Y 轴', - ['command_setcoords_z'] = 'Z 轴', - ['command_setjob'] = '配置该玩家职业', - ['command_setjob_job'] = '职业代码', - ['command_setjob_grade'] = '职业等级', - ['command_setjob_invalid'] = '职业代码、等级或输入数据无效!', - ['command_setgroup'] = '设置玩家用户组', - ['command_setgroup_group'] = '用户组代码', - ['commanderror_argumentmismatch'] = '参数计数不匹配 (该类型为 %s, 需要传输 %s)', - ['commanderror_argumentmismatch_number'] = '参数 #%s 类型不匹配 (该类型为字符串,需要传递数字类型)', - ['commanderror_invaliditem'] = '无效的物品代码', - ['commanderror_invalidweapon'] = '无效的武器代码', - ['commanderror_console'] = '控制台无法执行此命令!', - ['commanderror_invalidcommand'] = '/%s 不是有效的命令!', - ['commanderror_invalidplayerid'] = '无效的玩家服务器ID', - ['commandgeneric_playerid'] = '玩家服务器ID', - ['command_giveammo_noweapon_found'] = '%s 为无效的武器代码!', - ['command_giveammo_weapon'] = '武器代码', - ['command_giveammo_ammo'] = '弹药数量', - ['tpm_nowaypoint'] = '尚未配置导航点!', - ['tpm_success'] = '已传送至该导航点', + -- Commands + ['command_bring'] = '传送玩家到您身边', + ['command_car'] = '生成载具', + ['command_car_car'] = '生成载具的模型名称或哈希值', + ['command_cardel'] = '删除附近载具', + ['command_cardel_radius'] = '可选,删除指定半径内的所有载具', + ['command_clear'] = '清除聊天记录', + ['command_clearall'] = '清除所有玩家的聊天记录', + ['command_clearinventory'] = '清除玩家库存', + ['command_clearloadout'] = '清除玩家武器栏', + ['command_freeze'] = '冻结玩家', + ['command_unfreeze'] = '解冻玩家', + ['command_giveaccountmoney'] = '给予任意账户资金', + ['command_giveaccountmoney_account'] = '有效的帐户类型', + ['command_giveaccountmoney_amount'] = '添加的金额数量', + ['command_giveaccountmoney_invalid'] = '无效的帐户类型', + ['command_giveitem'] = '给予玩家一件物品', + ['command_giveitem_item'] = '物品代码', + ['command_giveitem_count'] = '物品数目', + ['command_giveweapon'] = '给予玩家一把武器', + ['command_giveweapon_weapon'] = '武器代码', + ['command_giveweapon_ammo'] = '弹药数目', + ['command_giveweapon_hasalready'] = '该玩家已拥有该武器', + ['command_giveweaponcomponent'] = '给予武器改装件', + ['command_giveweaponcomponent_component'] = '改装件代码', + ['command_giveweaponcomponent_invalid'] = '无效的武器改装件', + ['command_giveweaponcomponent_hasalready'] = '玩家已拥有该武器改装件', + ['command_giveweaponcomponent_missingweapon'] = '该玩家暂无该类型改装件的武器', + ['command_goto'] = '传送至一名玩家身旁', + ['command_kill'] = '击杀一名玩家', + ['command_save'] = '保存玩家数据至数据库', + ['command_saveall'] = '保存所有玩家数据至数据库', + ['command_setaccountmoney'] = '设置玩家帐户内资金', + ['command_setaccountmoney_amount'] = '账户资金金额', + ['command_setcoords'] = '传送至XYZ坐标', + ['command_setcoords_x'] = 'X 轴', + ['command_setcoords_y'] = 'Y 轴', + ['command_setcoords_z'] = 'Z 轴', + ['command_setjob'] = '配置该玩家职业', + ['command_setjob_job'] = '职业代码', + ['command_setjob_grade'] = '职业等级', + ['command_setjob_invalid'] = '职业代码、等级或输入数据无效!', + ['command_setgroup'] = '设置玩家用户组', + ['command_setgroup_group'] = '用户组代码', + ['commanderror_argumentmismatch'] = '参数计数不匹配 (该类型为 %s, 需要传输 %s)', + ['commanderror_argumentmismatch_number'] = '参数 #%s 类型不匹配 (该类型为字符串,需要传递数字类型)', + ['commanderror_invaliditem'] = '无效的物品代码', + ['commanderror_invalidweapon'] = '无效的武器代码', + ['commanderror_console'] = '控制台无法执行此命令!', + ['commanderror_invalidcommand'] = '/%s 不是有效的命令!', + ['commanderror_invalidplayerid'] = '无效的玩家服务器ID', + ['commandgeneric_playerid'] = '玩家服务器ID', + ['command_giveammo_noweapon_found'] = '%s 为无效的武器代码!', + ['command_giveammo_weapon'] = '武器代码', + ['command_giveammo_ammo'] = '弹药数量', + ['tpm_nowaypoint'] = '尚未配置导航点!', + ['tpm_success'] = '已传送至该导航点', - ['noclip_message'] = '飞行模式已被激活 %s', - ['enabled'] = '~g~已开启~s~', - ['disabled'] = '~r~已关闭~s~', + ['noclip_message'] = '飞行模式已被激活 %s', + ['enabled'] = '~g~已开启~s~', + ['disabled'] = '~r~已关闭~s~', - -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '$%s', + -- Locale settings + ['locale_digit_grouping_symbol'] = ',', + ['locale_currency'] = '$%s', - -- Weapons + -- Weapons - -- Melee - ['weapon_dagger'] = '古骑兵匕首', - ['weapon_bat'] = '棒球棍', - ['weapon_battleaxe'] = '战斧', - ['weapon_bottle'] = '碎酒瓶', - ['weapon_crowbar'] = '撬棍', - ['weapon_flashlight'] = '手电筒', - ['weapon_golfclub'] = '高尔夫球杆', - ['weapon_hammer'] = '铁锤', - ['weapon_hatchet'] = '手斧', - ['weapon_knife'] = '小刀', - ['weapon_knuckle'] = '手指虎', - ['weapon_machete'] = '开山刀', - ['weapon_nightstick'] = '警棍', - ['weapon_wrench'] = '管钳扳手', - ['weapon_poolcue'] = '台球杆', - ['weapon_stone_hatchet'] = '石斧', - ['weapon_switchblade'] = '弹簧刀', + -- Melee + ['weapon_dagger'] = '古骑兵匕首', + ['weapon_bat'] = '棒球棍', + ['weapon_battleaxe'] = '战斧', + ['weapon_bottle'] = '碎酒瓶', + ['weapon_crowbar'] = '撬棍', + ['weapon_flashlight'] = '手电筒', + ['weapon_golfclub'] = '高尔夫球杆', + ['weapon_hammer'] = '铁锤', + ['weapon_hatchet'] = '手斧', + ['weapon_knife'] = '小刀', + ['weapon_knuckle'] = '手指虎', + ['weapon_machete'] = '开山刀', + ['weapon_nightstick'] = '警棍', + ['weapon_wrench'] = '管钳扳手', + ['weapon_poolcue'] = '台球杆', + ['weapon_stone_hatchet'] = '石斧', + ['weapon_switchblade'] = '弹簧刀', - -- Handguns - ['weapon_appistol'] = '穿甲手枪', - ['weapon_ceramicpistol'] = '陶瓷手枪', - ['weapon_combatpistol'] = '战斗手枪', - ['weapon_doubleaction'] = '双动式左轮手枪', - ['weapon_navyrevolver'] = '海军左轮手枪', - ['weapon_flaregun'] = '信号枪', - ['weapon_gadgetpistol'] = '佩里克手枪', - ['weapon_heavypistol'] = '重型手枪', - ['weapon_revolver'] = '重型左轮手枪', - ['weapon_revolver_mk2'] = '重型左轮手枪-MK2', - ['weapon_marksmanpistol'] = '射手手枪', - ['weapon_pistol'] = '手枪', - ['weapon_pistol_mk2'] = '手枪-MK2', - ['weapon_pistol50'] = '0.5-口径手枪', - ['weapon_snspistol'] = '劣质手枪', - ['weapon_snspistol_mk2'] = '劣质手枪-MK2', - ['weapon_stungun'] = '电击枪', - ['weapon_raypistol'] = '原子堡手枪', - ['weapon_vintagepistol'] = '老式手枪', + -- Handguns + ['weapon_appistol'] = '穿甲手枪', + ['weapon_ceramicpistol'] = '陶瓷手枪', + ['weapon_combatpistol'] = '战斗手枪', + ['weapon_doubleaction'] = '双动式左轮手枪', + ['weapon_navyrevolver'] = '海军左轮手枪', + ['weapon_flaregun'] = '信号枪', + ['weapon_gadgetpistol'] = '佩里克手枪', + ['weapon_heavypistol'] = '重型手枪', + ['weapon_revolver'] = '重型左轮手枪', + ['weapon_revolver_mk2'] = '重型左轮手枪-MK2', + ['weapon_marksmanpistol'] = '射手手枪', + ['weapon_pistol'] = '手枪', + ['weapon_pistol_mk2'] = '手枪-MK2', + ['weapon_pistol50'] = '0.5-口径手枪', + ['weapon_snspistol'] = '劣质手枪', + ['weapon_snspistol_mk2'] = '劣质手枪-MK2', + ['weapon_stungun'] = '电击枪', + ['weapon_raypistol'] = '原子堡手枪', + ['weapon_vintagepistol'] = '老式手枪', - -- Shotguns - ['weapon_assaultshotgun'] = '突击霰弹枪', - ['weapon_autoshotgun'] = '半自动霰弹枪', - ['weapon_bullpupshotgun'] = '无托式霰弹枪', - ['weapon_combatshotgun'] = '战斗霰弹枪', - ['weapon_dbshotgun'] = '双管霰弹枪', - ['weapon_heavyshotgun'] = '重型霰弹枪', - ['weapon_musket'] = '老式火枪', - ['weapon_pumpshotgun'] = '泵动式霰弹枪', - ['weapon_pumpshotgun_mk2'] = '泵动式霰弹枪-MK2', - ['weapon_sawnoffshotgun'] = '短管霰弹枪', + -- Shotguns + ['weapon_assaultshotgun'] = '突击霰弹枪', + ['weapon_autoshotgun'] = '半自动霰弹枪', + ['weapon_bullpupshotgun'] = '无托式霰弹枪', + ['weapon_combatshotgun'] = '战斗霰弹枪', + ['weapon_dbshotgun'] = '双管霰弹枪', + ['weapon_heavyshotgun'] = '重型霰弹枪', + ['weapon_musket'] = '老式火枪', + ['weapon_pumpshotgun'] = '泵动式霰弹枪', + ['weapon_pumpshotgun_mk2'] = '泵动式霰弹枪-MK2', + ['weapon_sawnoffshotgun'] = '短管霰弹枪', - -- SMG & LMG - ['weapon_assaultsmg'] = '突击冲锋枪', - ['weapon_combatmg'] = '战斗机枪', - ['weapon_combatmg_mk2'] = '战斗机枪-MK2', - ['weapon_combatpdw'] = '作战自卫冲锋枪', - ['weapon_gusenberg'] = '古森柏冲锋枪', - ['weapon_machinepistol'] = '冲锋手枪', - ['weapon_mg'] = '机枪', - ['weapon_microsmg'] = '微型冲锋枪', - ['weapon_minismg'] = '迷你冲锋枪', - ['weapon_smg'] = '冲锋枪', - ['weapon_smg_mk2'] = '冲锋枪-MK2', - ['weapon_raycarbine'] = '不洁使者', + -- SMG & LMG + ['weapon_assaultsmg'] = '突击冲锋枪', + ['weapon_combatmg'] = '战斗机枪', + ['weapon_combatmg_mk2'] = '战斗机枪-MK2', + ['weapon_combatpdw'] = '作战自卫冲锋枪', + ['weapon_gusenberg'] = '古森柏冲锋枪', + ['weapon_machinepistol'] = '冲锋手枪', + ['weapon_mg'] = '机枪', + ['weapon_microsmg'] = '微型冲锋枪', + ['weapon_minismg'] = '迷你冲锋枪', + ['weapon_smg'] = '冲锋枪', + ['weapon_smg_mk2'] = '冲锋枪-MK2', + ['weapon_raycarbine'] = '不洁使者', - -- Rifles - ['weapon_advancedrifle'] = '高级步枪', - ['weapon_assaultrifle'] = '突击步枪', - ['weapon_assaultrifle_mk2'] = '突击步枪-MK2', - ['weapon_bullpuprifle'] = '无托式步枪', - ['weapon_bullpuprifle_mk2'] = '无托式步枪-MK2', - ['weapon_carbinerifle'] = '卡宾步枪', - ['weapon_carbinerifle_mk2'] = '卡宾步枪-MK2', - ['weapon_compactrifle'] = '紧凑型步枪', - ['weapon_militaryrifle'] = '军用步枪', - ['weapon_specialcarbine'] = '特制卡宾步枪', - ['weapon_specialcarbine_mk2'] = '特制卡宾步枪-MK2', + -- Rifles + ['weapon_advancedrifle'] = '高级步枪', + ['weapon_assaultrifle'] = '突击步枪', + ['weapon_assaultrifle_mk2'] = '突击步枪-MK2', + ['weapon_bullpuprifle'] = '无托式步枪', + ['weapon_bullpuprifle_mk2'] = '无托式步枪-MK2', + ['weapon_carbinerifle'] = '卡宾步枪', + ['weapon_carbinerifle_mk2'] = '卡宾步枪-MK2', + ['weapon_compactrifle'] = '紧凑型步枪', + ['weapon_militaryrifle'] = '军用步枪', + ['weapon_specialcarbine'] = '特制卡宾步枪', + ['weapon_specialcarbine_mk2'] = '特制卡宾步枪-MK2', - -- Sniper - ['weapon_heavysniper'] = '重型狙击步枪', - ['weapon_heavysniper_mk2'] = '重型狙击步枪-MK2', - ['weapon_marksmanrifle'] = '射手步枪', - ['weapon_marksmanrifle_mk2'] = '射手步枪-MK2', - ['weapon_sniperrifle'] = '狙击步枪', + -- Sniper + ['weapon_heavysniper'] = '重型狙击步枪', + ['weapon_heavysniper_mk2'] = '重型狙击步枪-MK2', + ['weapon_marksmanrifle'] = '射手步枪', + ['weapon_marksmanrifle_mk2'] = '射手步枪-MK2', + ['weapon_sniperrifle'] = '狙击步枪', - -- Heavy / Launchers - ['weapon_compactlauncher'] = '紧凑型榴弹发射器', - ['weapon_firework'] = '烟花发射器', - ['weapon_grenadelauncher'] = '榴弹发射器', - ['weapon_hominglauncher'] = '制导火箭发射器', - ['weapon_minigun'] = '火神机枪', - ['weapon_railgun'] = '电磁轨道炮', - ['weapon_rpg'] = '火箭炮', - ['weapon_rayminigun'] = '寡妇制造者', + -- Heavy / Launchers + ['weapon_compactlauncher'] = '紧凑型榴弹发射器', + ['weapon_firework'] = '烟花发射器', + ['weapon_grenadelauncher'] = '榴弹发射器', + ['weapon_hominglauncher'] = '制导火箭发射器', + ['weapon_minigun'] = '火神机枪', + ['weapon_railgun'] = '电磁轨道炮', + ['weapon_rpg'] = '火箭炮', + ['weapon_rayminigun'] = '寡妇制造者', - -- Criminal Enterprises DLC - ['weapon_metaldetector'] = '金属探测器', - ['weapon_precisionrifle'] = '精确步枪', - ['weapon_tactilerifle'] = '制式卡宾步枪', + -- Criminal Enterprises DLC + ['weapon_metaldetector'] = '金属探测器', + ['weapon_precisionrifle'] = '精确步枪', + ['weapon_tactilerifle'] = '制式卡宾步枪', - -- Thrown - ['weapon_ball'] = '棒球', - ['weapon_bzgas'] = '毒气弹', - ['weapon_flare'] = '信号棒', - ['weapon_grenade'] = '手榴弹', - ['weapon_petrolcan'] = '汽油桶', - ['weapon_hazardcan'] = '有害汽油桶', - ['weapon_molotov'] = '汽油弹', - ['weapon_proxmine'] = '感应式地雷', - ['weapon_pipebomb'] = '土製炸彈', - ['weapon_snowball'] = '雪球', - ['weapon_stickybomb'] = '黏弹', - ['weapon_smokegrenade'] = '烟雾弹', + -- Thrown + ['weapon_ball'] = '棒球', + ['weapon_bzgas'] = '毒气弹', + ['weapon_flare'] = '信号棒', + ['weapon_grenade'] = '手榴弹', + ['weapon_petrolcan'] = '汽油桶', + ['weapon_hazardcan'] = '有害汽油桶', + ['weapon_molotov'] = '汽油弹', + ['weapon_proxmine'] = '感应式地雷', + ['weapon_pipebomb'] = '土製炸彈', + ['weapon_snowball'] = '雪球', + ['weapon_stickybomb'] = '黏弹', + ['weapon_smokegrenade'] = '烟雾弹', - -- Special - ['weapon_fireextinguisher'] = '灭火器', - ['weapon_digiscanner'] = '数位扫描仪', - ['weapon_garbagebag'] = '垃圾袋', - ['weapon_handcuffs'] = '手铐', - ['gadget_nightvision'] = '夜视仪', - ['gadget_parachute'] = '降落伞', + -- Special + ['weapon_fireextinguisher'] = '灭火器', + ['weapon_digiscanner'] = '数位扫描仪', + ['weapon_garbagebag'] = '垃圾袋', + ['weapon_handcuffs'] = '手铐', + ['gadget_nightvision'] = '夜视仪', + ['gadget_parachute'] = '降落伞', - -- Weapon Components - ['component_knuckle_base'] = '基本样式', - ['component_knuckle_pimp'] = '皮条客', - ['component_knuckle_ballas'] = '巴拉斯帮', - ['component_knuckle_dollar'] = '江湖骗子', - ['component_knuckle_diamond'] = '摇滚朋克', - ['component_knuckle_hate'] = '怨气冤家', - ['component_knuckle_love'] = '甜蜜情人', - ['component_knuckle_player'] = '花花公子', - ['component_knuckle_king'] = '霸者之风', - ['component_knuckle_vagos'] = '维戈斯帮', + -- Weapon Components + ['component_knuckle_base'] = '基本样式', + ['component_knuckle_pimp'] = '皮条客', + ['component_knuckle_ballas'] = '巴拉斯帮', + ['component_knuckle_dollar'] = '江湖骗子', + ['component_knuckle_diamond'] = '摇滚朋克', + ['component_knuckle_hate'] = '怨气冤家', + ['component_knuckle_love'] = '甜蜜情人', + ['component_knuckle_player'] = '花花公子', + ['component_knuckle_king'] = '霸者之风', + ['component_knuckle_vagos'] = '维戈斯帮', - ['component_luxary_finish'] = '奢华涂饰', + ['component_luxary_finish'] = '奢华涂饰', - ['component_handle_default'] = '默认刀柄', - ['component_handle_vip'] = '贵宾样式', - ['component_handle_bodyguard'] = '保镖款式', + ['component_handle_default'] = '默认刀柄', + ['component_handle_vip'] = '贵宾样式', + ['component_handle_bodyguard'] = '保镖款式', - ['component_vip_finish'] = '贵宾样式', - ['component_bodyguard_finish'] = '保镖款式', + ['component_vip_finish'] = '贵宾样式', + ['component_bodyguard_finish'] = '保镖款式', - ['component_camo_finish'] = '数码迷彩', - ['component_camo_finish2'] = '笔刷迷彩', - ['component_camo_finish3'] = '林地迷彩', - ['component_camo_finish4'] = '骷髅头', - ['component_camo_finish5'] = '希斯提·耐', - ['component_camo_finish6'] = '神之子', - ['component_camo_finish7'] = '猎豹纹理', - ['component_camo_finish8'] = '斑马纹理', - ['component_camo_finish9'] = '几何图形', - ['component_camo_finish10'] = 'BOOM!', - ['component_camo_finish11'] = '爱国者', + ['component_camo_finish'] = '数码迷彩', + ['component_camo_finish2'] = '笔刷迷彩', + ['component_camo_finish3'] = '林地迷彩', + ['component_camo_finish4'] = '骷髅头', + ['component_camo_finish5'] = '希斯提·耐', + ['component_camo_finish6'] = '神之子', + ['component_camo_finish7'] = '猎豹纹理', + ['component_camo_finish8'] = '斑马纹理', + ['component_camo_finish9'] = '几何图形', + ['component_camo_finish10'] = 'BOOM!', + ['component_camo_finish11'] = '爱国者', - ['component_camo_slide_finish'] = '数码迷涂装', - ['component_camo_slide_finish2'] = '笔刷迷彩涂装', - ['component_camo_slide_finish3'] = '林地迷彩涂装', - ['component_camo_slide_finish4'] = '骷髅头涂装', - ['component_camo_slide_finish5'] = '希斯提·耐涂装', - ['component_camo_slide_finish6'] = '神之子涂装', - ['component_camo_slide_finish7'] = '猎豹纹理涂装', - ['component_camo_slide_finish8'] = '斑马纹理涂装', - ['component_camo_slide_finish9'] = '几何图形涂装', - ['component_camo_slide_finish10'] = 'BOOM涂装', - ['component_camo_slide_finish11'] = '爱国者涂装', + ['component_camo_slide_finish'] = '数码迷涂装', + ['component_camo_slide_finish2'] = '笔刷迷彩涂装', + ['component_camo_slide_finish3'] = '林地迷彩涂装', + ['component_camo_slide_finish4'] = '骷髅头涂装', + ['component_camo_slide_finish5'] = '希斯提·耐涂装', + ['component_camo_slide_finish6'] = '神之子涂装', + ['component_camo_slide_finish7'] = '猎豹纹理涂装', + ['component_camo_slide_finish8'] = '斑马纹理涂装', + ['component_camo_slide_finish9'] = '几何图形涂装', + ['component_camo_slide_finish10'] = 'BOOM涂装', + ['component_camo_slide_finish11'] = '爱国者涂装', - ['component_clip_default'] = '默认弹夹', - ['component_clip_extended'] = '扩容弹夹', - ['component_clip_drum'] = '鼓式弹夹', - ['component_clip_box'] = '盒型弹匣', + ['component_clip_default'] = '默认弹夹', + ['component_clip_extended'] = '扩容弹夹', + ['component_clip_drum'] = '鼓式弹夹', + ['component_clip_box'] = '盒型弹匣', - ['component_scope_holo'] = '全息式瞄准镜', - ['component_scope_small'] = '小型瞄准镜', - ['component_scope_medium'] = '中型瞄准镜', - ['component_scope_large'] = '大型瞄准镜', - ['component_scope'] = '瞄准镜', - ['component_scope_advanced'] = '高级瞄准镜', - ['component_ironsights'] = '铁式瞄具', + ['component_scope_holo'] = '全息式瞄准镜', + ['component_scope_small'] = '小型瞄准镜', + ['component_scope_medium'] = '中型瞄准镜', + ['component_scope_large'] = '大型瞄准镜', + ['component_scope'] = '瞄准镜', + ['component_scope_advanced'] = '高级瞄准镜', + ['component_ironsights'] = '铁式瞄具', - ['component_suppressor'] = '消音器', - ['component_compensator'] = '补偿器', + ['component_suppressor'] = '消音器', + ['component_compensator'] = '补偿器', - ['component_muzzle_flat'] = '扁型枪口制动器', - ['component_muzzle_tactical'] = '战术枪口制动器', - ['component_muzzle_fat'] = '宽尾型枪口制动器', - ['component_muzzle_precision'] = '精準枪口制动器', - ['component_muzzle_heavy'] = '耐用型枪口制动器', - ['component_muzzle_slanted'] = '倾斜型枪口制动器', - ['component_muzzle_split'] = '分岔型枪口制动器', - ['component_muzzle_squared'] = '方形枪口制动器', + ['component_muzzle_flat'] = '扁型枪口制动器', + ['component_muzzle_tactical'] = '战术枪口制动器', + ['component_muzzle_fat'] = '宽尾型枪口制动器', + ['component_muzzle_precision'] = '精準枪口制动器', + ['component_muzzle_heavy'] = '耐用型枪口制动器', + ['component_muzzle_slanted'] = '倾斜型枪口制动器', + ['component_muzzle_split'] = '分岔型枪口制动器', + ['component_muzzle_squared'] = '方形枪口制动器', - ['component_flashlight'] = '手电筒', - ['component_grip'] = '握把', + ['component_flashlight'] = '手电筒', + ['component_grip'] = '握把', - ['component_barrel_default'] = '默认枪管', - ['component_barrel_heavy'] = '重型枪管', + ['component_barrel_default'] = '默认枪管', + ['component_barrel_heavy'] = '重型枪管', - ['component_ammo_tracer'] = '曳光弹', - ['component_ammo_incendiary'] = '燃烧弹', - ['component_ammo_hollowpoint'] = '被甲空尖弹', - ['component_ammo_fmj'] = '全金属包裹弹', - ['component_ammo_armor'] = '穿甲弹', - ['component_ammo_explosive'] = '爆炸蛋弹', + ['component_ammo_tracer'] = '曳光弹', + ['component_ammo_incendiary'] = '燃烧弹', + ['component_ammo_hollowpoint'] = '被甲空尖弹', + ['component_ammo_fmj'] = '全金属包裹弹', + ['component_ammo_armor'] = '穿甲弹', + ['component_ammo_explosive'] = '爆炸蛋弹', - ['component_shells_default'] = '默认弹药', - ['component_shells_incendiary'] = '燃烧弹', - ['component_shells_armor'] = '钢式猎鹿蛋', - ['component_shells_hollowpoint'] = '被甲空尖弹', - ['component_shells_explosive'] = '爆裂弹', + ['component_shells_default'] = '默认弹药', + ['component_shells_incendiary'] = '燃烧弹', + ['component_shells_armor'] = '钢式猎鹿蛋', + ['component_shells_hollowpoint'] = '被甲空尖弹', + ['component_shells_explosive'] = '爆裂弹', - -- Weapon Ammo - ['ammo_rounds'] = '发(子弹)', - ['ammo_shells'] = '发(子弹)', - ['ammo_charge'] = '喷', - ['ammo_petrol'] = '加仑(燃料)', - ['ammo_firework'] = '发(烟花弹)', - ['ammo_rockets'] = '枚(火箭弹)', - ['ammo_grenadelauncher'] = '发(榴弹)', - ['ammo_grenade'] = '枚(手榴弹)', - ['ammo_stickybomb'] = '枚(炸弹)', - ['ammo_pipebomb'] = '枚(炸弹)', - ['ammo_smokebomb'] = '枚(炸彈)', - ['ammo_molotov'] = '瓶(燃烧瓶)', - ['ammo_proxmine'] = '个(地雷)', - ['ammo_bzgas'] = '罐', - ['ammo_ball'] = '个(棒球)', - ['ammo_snowball'] = '个(雪球)', - ['ammo_flare'] = '根(信号棒)', - ['ammo_flaregun'] = '发(信号弹)', + -- Weapon Ammo + ['ammo_rounds'] = '发(子弹)', + ['ammo_shells'] = '发(子弹)', + ['ammo_charge'] = '喷', + ['ammo_petrol'] = '加仑(燃料)', + ['ammo_firework'] = '发(烟花弹)', + ['ammo_rockets'] = '枚(火箭弹)', + ['ammo_grenadelauncher'] = '发(榴弹)', + ['ammo_grenade'] = '枚(手榴弹)', + ['ammo_stickybomb'] = '枚(炸弹)', + ['ammo_pipebomb'] = '枚(炸弹)', + ['ammo_smokebomb'] = '枚(炸彈)', + ['ammo_molotov'] = '瓶(燃烧瓶)', + ['ammo_proxmine'] = '个(地雷)', + ['ammo_bzgas'] = '罐', + ['ammo_ball'] = '个(棒球)', + ['ammo_snowball'] = '个(雪球)', + ['ammo_flare'] = '根(信号棒)', + ['ammo_flaregun'] = '发(信号弹)', - -- Weapon Tints - ['tint_default'] = '默认色调', - ['tint_green'] = '绿色调', - ['tint_gold'] = '金色调', - ['tint_pink'] = '粉色调', - ['tint_army'] = '军用色调', - ['tint_lspd'] = '洛圣都警局色调', - ['tint_orange'] = '橙色调', - ['tint_platinum'] = '铂金色调', + -- Weapon Tints + ['tint_default'] = '默认色调', + ['tint_green'] = '绿色调', + ['tint_gold'] = '金色调', + ['tint_pink'] = '粉色调', + ['tint_army'] = '军用色调', + ['tint_lspd'] = '洛圣都警局色调', + ['tint_orange'] = '橙色调', + ['tint_platinum'] = '铂金色调', } From 62d7bcef2aed691c70506dd74a9ad0590e3ee75a Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:43:00 +0200 Subject: [PATCH 108/236] refactor(overrides/oxinventory): format code --- .../server/classes/overrides/oxinventory.lua | 356 +++++++++--------- 1 file changed, 178 insertions(+), 178 deletions(-) diff --git a/[core]/es_extended/server/classes/overrides/oxinventory.lua b/[core]/es_extended/server/classes/overrides/oxinventory.lua index 2a43144c..0bc5fe67 100644 --- a/[core]/es_extended/server/classes/overrides/oxinventory.lua +++ b/[core]/es_extended/server/classes/overrides/oxinventory.lua @@ -1,223 +1,223 @@ local Inventory if Config.OxInventory then - AddEventHandler('ox_inventory:loadInventory', function(module) - Inventory = module - end) + AddEventHandler('ox_inventory:loadInventory', function(module) + Inventory = module + end) end Core.PlayerFunctionOverrides.OxInventory = { - getInventory = function(self) - return function(minimal) - if minimal then - local minimalInventory = {} + getInventory = function(self) + return function(minimal) + if minimal then + local minimalInventory = {} - for k, v in pairs(self.inventory) do - if v.count and v.count > 0 then - local metadata = v.metadata + for k, v in pairs(self.inventory) do + if v.count and v.count > 0 then + local metadata = v.metadata - if v.metadata and next(v.metadata) == nil then - metadata = nil - end + if v.metadata and next(v.metadata) == nil then + metadata = nil + end - minimalInventory[#minimalInventory+1] = { - name = v.name, - count = v.count, - slot = k, - metadata = metadata - } - end - end + minimalInventory[#minimalInventory+1] = { + name = v.name, + count = v.count, + slot = k, + metadata = metadata + } + end + end - return minimalInventory - end + return minimalInventory + end - return self.inventory - end - end, + return self.inventory + end + end, - getLoadout = function(self) - return function() - return {} - end - end, + getLoadout = function(self) + return function() + return {} + end + end, - setAccountMoney = function(self) - return function(accountName,money, reason) - reason = reason or 'unknown' - if money >= 0 then - local account = self.getAccount(accountName) + setAccountMoney = function(self) + return function(accountName,money, reason) + reason = reason or 'unknown' + if money >= 0 then + local account = self.getAccount(accountName) - if account then - money = account.round and ESX.Math.Round(money) or money - self.accounts[account.index].money = money + if account then + money = account.round and ESX.Math.Round(money) or money + self.accounts[account.index].money = money - self.triggerEvent('esx:setAccountMoney', account) - TriggerEvent('esx:setAccountMoney', self.source, accountName, money, reason) - if Inventory.accounts[accountName] then - Inventory.SetItem(self.source, accountName, money) - end - end - end - end - end, + self.triggerEvent('esx:setAccountMoney', account) + TriggerEvent('esx:setAccountMoney', self.source, accountName, money, reason) + if Inventory.accounts[accountName] then + Inventory.SetItem(self.source, accountName, money) + end + end + end + end + end, - addAccountMoney = function(self) - return function(accountName,money, reason) - reason = reason or 'unknown' - if money > 0 then - local account = self.getAccount(accountName) + addAccountMoney = function(self) + return function(accountName,money, reason) + reason = reason or 'unknown' + if money > 0 then + local account = self.getAccount(accountName) - if account then + if account then money = account.round and ESX.Math.Round(money) or money self.accounts[account.index].money = self.accounts[account.index].money + money - self.triggerEvent('esx:setAccountMoney', account) - TriggerEvent('esx:addAccountMoney', self.source, accountName, money, reason) - if Inventory.accounts[accountName] then - Inventory.AddItem(self.source, accountName, money) - end - end - end - end - end, + self.triggerEvent('esx:setAccountMoney', account) + TriggerEvent('esx:addAccountMoney', self.source, accountName, money, reason) + if Inventory.accounts[accountName] then + Inventory.AddItem(self.source, accountName, money) + end + end + end + end + end, - removeAccountMoney = function(self) - return function(accountName,money, reason) - reason = reason or 'unknown' - if money > 0 then - local account = self.getAccount(accountName) + removeAccountMoney = function(self) + return function(accountName,money, reason) + reason = reason or 'unknown' + if money > 0 then + local account = self.getAccount(accountName) - if account then - money = account.round and ESX.Math.Round(money) or money - self.accounts[account.index].money = self.accounts[account.index].mone - money - self.triggerEvent('esx:setAccountMoney', account) - TriggerEvent('esx:removeAccountMoney', self.source, accountName, money, reason) - if Inventory.accounts[accountName] then - Inventory.RemoveItem(self.source, accountName, money) - end - end - end - end - end, + if account then + money = account.round and ESX.Math.Round(money) or money + self.accounts[account.index].money = self.accounts[account.index].mone - money + self.triggerEvent('esx:setAccountMoney', account) + TriggerEvent('esx:removeAccountMoney', self.source, accountName, money, reason) + if Inventory.accounts[accountName] then + Inventory.RemoveItem(self.source, accountName, money) + end + end + end + end + end, - getInventoryItem = function(self) - return function(name,metadata) - return Inventory.GetItem(self.source, name, metadata) - end - end, + getInventoryItem = function(self) + return function(name,metadata) + return Inventory.GetItem(self.source, name, metadata) + end + end, - addInventoryItem = function(self) - return function(name,count,metadata,slot) - return Inventory.AddItem(self.source, name, count or 1, metadata, slot) - end - end, + addInventoryItem = function(self) + return function(name,count,metadata,slot) + return Inventory.AddItem(self.source, name, count or 1, metadata, slot) + end + end, - removeInventoryItem = function(self) - return function(name,count,metadata,slot) - return Inventory.RemoveItem(self.source, name, count or 1, metadata, slot) - end - end, + removeInventoryItem = function(self) + return function(name,count,metadata,slot) + return Inventory.RemoveItem(self.source, name, count or 1, metadata, slot) + end + end, - setInventoryItem = function(self) - return function(name,count,metadata) - return Inventory.SetItem(self.source, name, count, metadata) - end - end, + setInventoryItem = function(self) + return function(name,count,metadata) + return Inventory.SetItem(self.source, name, count, metadata) + end + end, - canCarryItem = function(self) - return function(name,count,metadata) - return Inventory.CanCarryItem(self.source, name, count, metadata) - end - end, + canCarryItem = function(self) + return function(name,count,metadata) + return Inventory.CanCarryItem(self.source, name, count, metadata) + end + end, - canSwapItem = function(self) - return function(firstItem, firstItemCount, testItem, testItemCount) - return Inventory.CanSwapItem(self.source, firstItem, firstItemCount, testItem, testItemCount) - end - end, + canSwapItem = function(self) + return function(firstItem, firstItemCount, testItem, testItemCount) + return Inventory.CanSwapItem(self.source, firstItem, firstItemCount, testItem, testItemCount) + end + end, - setMaxWeight = function(self) - return function(newWeight) - self.maxWeight = newWeight - self.triggerEvent('esx:setMaxWeight', self.maxWeight) - return Inventory.Set(self.source, 'maxWeight', newWeight) - end - end, + setMaxWeight = function(self) + return function(newWeight) + self.maxWeight = newWeight + self.triggerEvent('esx:setMaxWeight', self.maxWeight) + return Inventory.Set(self.source, 'maxWeight', newWeight) + end + end, - addWeapon = function(self) - return function() end - end, + addWeapon = function(self) + return function() end + end, - addWeaponComponent = function(self) - return function() end - end, + addWeaponComponent = function(self) + return function() end + end, - addWeaponAmmo = function(self) - return function() end - end, + addWeaponAmmo = function(self) + return function() end + end, - updateWeaponAmmo = function(self) - return function() end - end, + updateWeaponAmmo = function(self) + return function() end + end, - setWeaponTint = function(self) - return function() end - end, + setWeaponTint = function(self) + return function() end + end, - getWeaponTint = function(self) - return function() end - end, + getWeaponTint = function(self) + return function() end + end, - removeWeapon = function(self) - return function() end - end, + removeWeapon = function(self) + return function() end + end, - removeWeaponComponent = function(self) - return function() end - end, + removeWeaponComponent = function(self) + return function() end + end, - removeWeaponAmmo = function(self) - return function() end - end, + removeWeaponAmmo = function(self) + return function() end + end, - hasWeaponComponent = function(self) - return function() - return false - end - end, + hasWeaponComponent = function(self) + return function() + return false + end + end, - hasWeapon = function(self) - return function() - return false - end - end, + hasWeapon = function(self) + return function() + return false + end + end, - hasItem = function(self) - return function(name,metadata) - return Inventory.GetItem(self.source, name, metadata) - end - end, + hasItem = function(self) + return function(name,metadata) + return Inventory.GetItem(self.source, name, metadata) + end + end, - getWeapon = function(self) - return function() end - end, + getWeapon = function(self) + return function() end + end, - syncInventory = function(self) - return function(weight, maxWeight, items, money) - self.weight, self.maxWeight = weight, maxWeight - self.inventory = items + syncInventory = function(self) + return function(weight, maxWeight, items, money) + self.weight, self.maxWeight = weight, maxWeight + self.inventory = items - if money then - for accountName, amount in pairs(money) do - local account = self.getAccount(accountName) + if money then + for accountName, amount in pairs(money) do + local account = self.getAccount(accountName) - if account and ESX.Math.Round(account.money) ~= amount then - account.money = amount - self.triggerEvent('esx:setAccountMoney', account) - TriggerEvent('esx:setAccountMoney', self.source, accountName, amount, 'Sync account with item') - end - end - end - end - end + if account and ESX.Math.Round(account.money) ~= amount then + account.money = amount + self.triggerEvent('esx:setAccountMoney', account) + TriggerEvent('esx:setAccountMoney', self.source, accountName, amount, 'Sync account with item') + end + end + end + end + end } From c501f069756487599768147755101f7801404320 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:43:52 +0200 Subject: [PATCH 109/236] refactor(modules/callback): format code --- .../es_extended/server/modules/callback.lua | 88 +++++++++---------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/[core]/es_extended/server/modules/callback.lua b/[core]/es_extended/server/modules/callback.lua index 9d78696b..b615be21 100644 --- a/[core]/es_extended/server/modules/callback.lua +++ b/[core]/es_extended/server/modules/callback.lua @@ -6,71 +6,71 @@ local RequestId = 0 ---@param eventName string ---@param callback function ESX.RegisterServerCallback = function(eventName, callback) - serverCallbacks[eventName] = callback + serverCallbacks[eventName] = callback end RegisterNetEvent('esx:triggerServerCallback', function(eventName, requestId, invoker, ...) - if not serverCallbacks[eventName] then - return print(('[^1ERROR^7] Server Callback not registered, name: ^5%s^7, invoker resource: ^5%s^7'):format(eventName, invoker)) - end + if not serverCallbacks[eventName] then + return print(('[^1ERROR^7] Server Callback not registered, name: ^5%s^7, invoker resource: ^5%s^7'):format(eventName, invoker)) + end - local source = source + local source = source - serverCallbacks[eventName](source, function(...) - TriggerClientEvent('esx:serverCallback', source, requestId, invoker, ...) - end, ...) + serverCallbacks[eventName](source, function(...) + TriggerClientEvent('esx:serverCallback', source, requestId, invoker, ...) + end, ...) end) ESX.TriggerClientCallback = setmetatable({ - ---@param player number? - ---@param eventName string - ---@param ... any - Await = function(player, eventName, ...) - player = tonumber(player) + ---@param player number? + ---@param eventName string + ---@param ... any + Await = function(player, eventName, ...) + player = tonumber(player) - assert(player, 'Argument 1 `player` is not a number!') - assert(type(eventName) == 'string', 'Argument 2 `eventName` is not a string!') + assert(player, 'Argument 1 `player` is not a number!') + assert(type(eventName) == 'string', 'Argument 2 `eventName` is not a string!') - local p = promise.new() + local p = promise.new() - clientRequests[RequestId] = p + clientRequests[RequestId] = p - TriggerClientEvent('esx:triggerClientCallback', player, eventName, RequestId, GetInvokingResource() or "unknown", ...) + TriggerClientEvent('esx:triggerClientCallback', player, eventName, RequestId, GetInvokingResource() or "unknown", ...) - RequestId = RequestId + 1 + RequestId = RequestId + 1 - return Citizen.Await(p) - end + return Citizen.Await(p) + end }, { - ---@param player number? playerId - ---@param eventName string - ---@param callback function - ---@param ... any - __call = function(_, player, eventName, callback, ...) - player = tonumber(player) + ---@param player number? playerId + ---@param eventName string + ---@param callback function + ---@param ... any + __call = function(_, player, eventName, callback, ...) + player = tonumber(player) - assert(player, 'Argument 1 `player` is not a number!') - assert(type(eventName) == 'string', 'Argument 2 `eventName` is not a string!') - assert(type(callback) == 'function', 'Argument 3 `callback` is not a function!') + assert(player, 'Argument 1 `player` is not a number!') + assert(type(eventName) == 'string', 'Argument 2 `eventName` is not a string!') + assert(type(callback) == 'function', 'Argument 3 `callback` is not a function!') - clientRequests[RequestId] = callback + clientRequests[RequestId] = callback - TriggerClientEvent('esx:triggerClientCallback', player, eventName, RequestId, GetInvokingResource() or "unknown", ...) + TriggerClientEvent('esx:triggerClientCallback', player, eventName, RequestId, GetInvokingResource() or "unknown", ...) - RequestId = RequestId + 1 - end + RequestId = RequestId + 1 + end }) RegisterNetEvent('esx:clientCallback', function(requestId, invoker, ...) - if not clientRequests[requestId] then - return print(('[^1ERROR^7] Client Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker)) - end + if not clientRequests[requestId] then + return print(('[^1ERROR^7] Client Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker)) + end - if type(clientRequests[requestId]) == 'table' then - clientRequests[requestId]:resolve(...) - return - end + if type(clientRequests[requestId]) == 'table' then + clientRequests[requestId]:resolve(...) + return + end - clientRequests[requestId](...) - clientRequests[requestId] = nil -end) \ No newline at end of file + clientRequests[requestId](...) + clientRequests[requestId] = nil +end) From 853df24cde7814019a2034ba27fc6093a09ecdee Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:44:24 +0200 Subject: [PATCH 110/236] refactor(modules/npwd): format code --- [core]/es_extended/server/modules/npwd.lua | 44 +++++++++++----------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/[core]/es_extended/server/modules/npwd.lua b/[core]/es_extended/server/modules/npwd.lua index 3e0c1ffc..c4712b01 100644 --- a/[core]/es_extended/server/modules/npwd.lua +++ b/[core]/es_extended/server/modules/npwd.lua @@ -1,32 +1,32 @@ local npwd = GetResourceState('npwd'):find('start') and exports.npwd or nil AddEventHandler('onServerResourceStart', function(resource) - if resource ~= 'npwd' then - return - end + if resource ~= 'npwd' then + return + end - npwd = GetResourceState('npwd'):find('start') and exports.npwd or nil + npwd = GetResourceState('npwd'):find('start') and exports.npwd or nil - for _, xPlayer in pairs(ESX.Players) do - npwd:newPlayer({ - source = xPlayer.source, - identifier = xPlayer.identifier, - firstname = xPlayer.get('firstName'), - lastname = xPlayer.get('lastName') - }) - end + for _, xPlayer in pairs(ESX.Players) do + npwd:newPlayer({ + source = xPlayer.source, + identifier = xPlayer.identifier, + firstname = xPlayer.get('firstName'), + lastname = xPlayer.get('lastName') + }) + end end) AddEventHandler('onServerResourceStop', function(resource) - if resource == 'npwd' then - npwd = nil - end + if resource == 'npwd' then + npwd = nil + end end) AddEventHandler('esx:playerLoaded', function(playerId, xPlayer) - if not npwd then - return - end + if not npwd then + return + end if not xPlayer then xPlayer = ESX.GetPlayerFromId(playerId) @@ -41,9 +41,9 @@ AddEventHandler('esx:playerLoaded', function(playerId, xPlayer) end) AddEventHandler('esx:playerLogout', function(playerId) - if not npwd then - return - end + if not npwd then + return + end npwd:unloadPlayer(playerId) -end) \ No newline at end of file +end) From d7a940f158a6dffec9e06a54acf3b82a8de10744 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:45:30 +0200 Subject: [PATCH 111/236] refactor(server/common): format code --- [core]/es_extended/server/common.lua | 84 ++++++++++++++-------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/[core]/es_extended/server/common.lua b/[core]/es_extended/server/common.lua index 57f1479e..7e3d3ebb 100644 --- a/[core]/es_extended/server/common.lua +++ b/[core]/es_extended/server/common.lua @@ -19,68 +19,68 @@ AddEventHandler("esx:getSharedObject", function() end) exports('getSharedObject', function() - return ESX + return ESX end) if GetResourceState('ox_inventory') ~= 'missing' then - Config.OxInventory = true - Config.PlayerFunctionOverride = 'OxInventory' - SetConvarReplicated('inventory:framework', 'esx') - SetConvarReplicated('inventory:weight', Config.MaxWeight * 1000) + Config.OxInventory = true + Config.PlayerFunctionOverride = 'OxInventory' + SetConvarReplicated('inventory:framework', 'esx') + SetConvarReplicated('inventory:weight', Config.MaxWeight * 1000) end local function StartDBSync() - CreateThread(function() - while true do - Wait(10 * 60 * 1000) - Core.SavePlayers() - end - end) + CreateThread(function() + while true do + Wait(10 * 60 * 1000) + Core.SavePlayers() + end + end) end MySQL.ready(function() - Core.DatabaseConnected = true - if not Config.OxInventory then - local items = MySQL.query.await('SELECT * FROM items') - for k, v in ipairs(items) do - ESX.Items[v.name] = {label = v.label, weight = v.weight, rare = v.rare, canRemove = v.can_remove} - end - else - TriggerEvent('__cfx_export_ox_inventory_Items', function(ref) - if ref then - ESX.Items = ref() - end - end) + Core.DatabaseConnected = true + if not Config.OxInventory then + local items = MySQL.query.await('SELECT * FROM items') + for k, v in ipairs(items) do + ESX.Items[v.name] = {label = v.label, weight = v.weight, rare = v.rare, canRemove = v.can_remove} + end + else + TriggerEvent('__cfx_export_ox_inventory_Items', function(ref) + if ref then + ESX.Items = ref() + end + end) - AddEventHandler('ox_inventory:itemList', function(items) - ESX.Items = items - end) + AddEventHandler('ox_inventory:itemList', function(items) + ESX.Items = items + end) - while not next(ESX.Items) do - Wait(0) - end - end + while not next(ESX.Items) do + Wait(0) + end + end - ESX.RefreshJobs() + ESX.RefreshJobs() - print(('[^2INFO^7] ESX ^5Legacy %s^0 initialized!'):format(GetResourceMetadata(GetCurrentResourceName(), "version", 0))) - - StartDBSync() - if Config.EnablePaycheck then + print(('[^2INFO^7] ESX ^5Legacy %s^0 initialized!'):format(GetResourceMetadata(GetCurrentResourceName(), "version", 0))) + + StartDBSync() + if Config.EnablePaycheck then StartPayCheck() end end) RegisterServerEvent('esx:clientLog') AddEventHandler('esx:clientLog', function(msg) - if Config.EnableDebug then - print(('[^2TRACE^7] %s^7'):format(msg)) - end + if Config.EnableDebug then + print(('[^2TRACE^7] %s^7'):format(msg)) + end end) RegisterNetEvent("esx:ReturnVehicleType", function(Type, Request) - if Core.ClientCallbacks[Request] then - Core.ClientCallbacks[Request](Type) - Core.ClientCallbacks[Request] = nil - end + if Core.ClientCallbacks[Request] then + Core.ClientCallbacks[Request](Type) + Core.ClientCallbacks[Request] = nil + end end) From a093ed7e6e8c9647f306c3d450b72e18d01a7d58 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:46:03 +0200 Subject: [PATCH 112/236] refactor(server/functions): format code --- [core]/es_extended/server/functions.lua | 696 ++++++++++++------------ 1 file changed, 348 insertions(+), 348 deletions(-) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 990cc2a1..76f9e2c4 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -1,259 +1,259 @@ function ESX.Trace(msg) - if Config.EnableDebug then - print(('[^2TRACE^7] %s^7'):format(msg)) - end + if Config.EnableDebug then + print(('[^2TRACE^7] %s^7'):format(msg)) + end end function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion) - if type(name) == 'table' then - for k, v in ipairs(name) do - ESX.RegisterCommand(v, group, cb, allowConsole, suggestion) - end + if type(name) == 'table' then + for k, v in ipairs(name) do + ESX.RegisterCommand(v, group, cb, allowConsole, suggestion) + end - return - end + return + end - if Core.RegisteredCommands[name] then - print(('[^3WARNING^7] Command ^5"%s" ^7already registered, overriding command'):format(name)) + if Core.RegisteredCommands[name] then + print(('[^3WARNING^7] Command ^5"%s" ^7already registered, overriding command'):format(name)) - if Core.RegisteredCommands[name].suggestion then - TriggerClientEvent('chat:removeSuggestion', -1, ('/%s'):format(name)) - end - end + if Core.RegisteredCommands[name].suggestion then + TriggerClientEvent('chat:removeSuggestion', -1, ('/%s'):format(name)) + end + end - if suggestion then - if not suggestion.arguments then - suggestion.arguments = {} - end - if not suggestion.help then - suggestion.help = '' - end + if suggestion then + if not suggestion.arguments then + suggestion.arguments = {} + end + if not suggestion.help then + suggestion.help = '' + end - TriggerClientEvent('chat:addSuggestion', -1, ('/%s'):format(name), suggestion.help, suggestion.arguments) - end + TriggerClientEvent('chat:addSuggestion', -1, ('/%s'):format(name), suggestion.help, suggestion.arguments) + end - Core.RegisteredCommands[name] = {group = group, cb = cb, allowConsole = allowConsole, suggestion = suggestion} + Core.RegisteredCommands[name] = {group = group, cb = cb, allowConsole = allowConsole, suggestion = suggestion} - RegisterCommand(name, function(playerId, args, rawCommand) - local command = Core.RegisteredCommands[name] + RegisterCommand(name, function(playerId, args, rawCommand) + local command = Core.RegisteredCommands[name] - if not command.allowConsole and playerId == 0 then - print(('[^3WARNING^7] ^5%s'):format(TranslateCap('commanderror_console'))) - else - local xPlayer, error = ESX.Players[playerId], nil + if not command.allowConsole and playerId == 0 then + print(('[^3WARNING^7] ^5%s'):format(TranslateCap('commanderror_console'))) + else + local xPlayer, error = ESX.Players[playerId], nil - if command.suggestion then - if command.suggestion.validate then - if #args ~= #command.suggestion.arguments then - error = TranslateCap('commanderror_argumentmismatch', #args, #command.suggestion.arguments) - end - end + if command.suggestion then + if command.suggestion.validate then + if #args ~= #command.suggestion.arguments then + error = TranslateCap('commanderror_argumentmismatch', #args, #command.suggestion.arguments) + end + end - if not error and command.suggestion.arguments then - local newArgs = {} + if not error and command.suggestion.arguments then + local newArgs = {} - for k, v in ipairs(command.suggestion.arguments) do - if v.type then - if v.type == 'number' then - local newArg = tonumber(args[k]) + for k, v in ipairs(command.suggestion.arguments) do + if v.type then + if v.type == 'number' then + local newArg = tonumber(args[k]) - if newArg then - newArgs[v.name] = newArg - else - error = TranslateCap('commanderror_argumentmismatch_number', k) - end - elseif v.type == 'player' or v.type == 'playerId' then - local targetPlayer = tonumber(args[k]) + if newArg then + newArgs[v.name] = newArg + else + error = TranslateCap('commanderror_argumentmismatch_number', k) + end + elseif v.type == 'player' or v.type == 'playerId' then + local targetPlayer = tonumber(args[k]) - if args[k] == 'me' then - targetPlayer = playerId - end + if args[k] == 'me' then + targetPlayer = playerId + end - if targetPlayer then - local xTargetPlayer = ESX.GetPlayerFromId(targetPlayer) + if targetPlayer then + local xTargetPlayer = ESX.GetPlayerFromId(targetPlayer) - if xTargetPlayer then - if v.type == 'player' then - newArgs[v.name] = xTargetPlayer - else - newArgs[v.name] = targetPlayer - end - else - error = TranslateCap('commanderror_invalidplayerid') - end - else - error = TranslateCap('commanderror_argumentmismatch_number', k) - end - elseif v.type == 'string' then - newArgs[v.name] = args[k] - elseif v.type == 'item' then - if ESX.Items[args[k]] then - newArgs[v.name] = args[k] - else - error = TranslateCap('commanderror_invaliditem') - end - elseif v.type == 'weapon' then - if ESX.GetWeapon(args[k]) then - newArgs[v.name] = string.upper(args[k]) - else - error = TranslateCap('commanderror_invalidweapon') - end - elseif v.type == 'any' then - newArgs[v.name] = args[k] - elseif v.type == 'merge' then - local lenght = 0 - for i = 1, k-1 do - lenght = lenght + string.len(args[i]) +1 - end - local merge = table.concat(args, " ") + if xTargetPlayer then + if v.type == 'player' then + newArgs[v.name] = xTargetPlayer + else + newArgs[v.name] = targetPlayer + end + else + error = TranslateCap('commanderror_invalidplayerid') + end + else + error = TranslateCap('commanderror_argumentmismatch_number', k) + end + elseif v.type == 'string' then + newArgs[v.name] = args[k] + elseif v.type == 'item' then + if ESX.Items[args[k]] then + newArgs[v.name] = args[k] + else + error = TranslateCap('commanderror_invaliditem') + end + elseif v.type == 'weapon' then + if ESX.GetWeapon(args[k]) then + newArgs[v.name] = string.upper(args[k]) + else + error = TranslateCap('commanderror_invalidweapon') + end + elseif v.type == 'any' then + newArgs[v.name] = args[k] + elseif v.type == 'merge' then + local lenght = 0 + for i = 1, k-1 do + lenght = lenght + string.len(args[i]) +1 + end + local merge = table.concat(args, " ") - newArgs[v.name] = string.sub(merge, lenght) - end - end + newArgs[v.name] = string.sub(merge, lenght) + end + end - if not v.validate then - error = nil - end + if not v.validate then + error = nil + end - if error then - break - end - end + if error then + break + end + end - args = newArgs - end - end + args = newArgs + end + end - if error then - if playerId == 0 then - print(('[^3WARNING^7] %s^7'):format(error)) - else - xPlayer.showNotification(error) - end - else - cb(xPlayer or false, args, function(msg) - if playerId == 0 then - print(('[^3WARNING^7] %s^7'):format(msg)) - else - xPlayer.showNotification(msg) - end - end) - end - end - end, true) + if error then + if playerId == 0 then + print(('[^3WARNING^7] %s^7'):format(error)) + else + xPlayer.showNotification(error) + end + else + cb(xPlayer or false, args, function(msg) + if playerId == 0 then + print(('[^3WARNING^7] %s^7'):format(msg)) + else + xPlayer.showNotification(msg) + end + end) + end + end + end, true) - if type(group) == 'table' then - for k, v in ipairs(group) do - ExecuteCommand(('add_ace group.%s command.%s allow'):format(v, name)) - end - else - ExecuteCommand(('add_ace group.%s command.%s allow'):format(group, name)) - end + if type(group) == 'table' then + for k, v in ipairs(group) do + ExecuteCommand(('add_ace group.%s command.%s allow'):format(v, name)) + end + else + ExecuteCommand(('add_ace group.%s command.%s allow'):format(group, name)) + end end function Core.SavePlayer(xPlayer, cb) - local parameters = { - json.encode(xPlayer.getAccounts(true)), - xPlayer.job.name, - xPlayer.job.grade, - xPlayer.group, - json.encode(xPlayer.getCoords()), - json.encode(xPlayer.getInventory(true)), - json.encode(xPlayer.getLoadout(true)), - json.encode(xPlayer.getMeta()), - xPlayer.identifier - } + local parameters = { + json.encode(xPlayer.getAccounts(true)), + xPlayer.job.name, + xPlayer.job.grade, + xPlayer.group, + json.encode(xPlayer.getCoords()), + json.encode(xPlayer.getInventory(true)), + json.encode(xPlayer.getLoadout(true)), + json.encode(xPlayer.getMeta()), + xPlayer.identifier + } - MySQL.prepare( - 'UPDATE `users` SET `accounts` = ?, `job` = ?, `job_grade` = ?, `group` = ?, `position` = ?, `inventory` = ?, `loadout` = ?, `metadata` = ? WHERE `identifier` = ?', - parameters, - function(affectedRows) - if affectedRows == 1 then - print(('[^2INFO^7] Saved player ^5"%s^7"'):format(xPlayer.name)) - TriggerEvent('esx:playerSaved', xPlayer.playerId, xPlayer) - end - if cb then - cb() - end - end - ) + MySQL.prepare( + 'UPDATE `users` SET `accounts` = ?, `job` = ?, `job_grade` = ?, `group` = ?, `position` = ?, `inventory` = ?, `loadout` = ?, `metadata` = ? WHERE `identifier` = ?', + parameters, + function(affectedRows) + if affectedRows == 1 then + print(('[^2INFO^7] Saved player ^5"%s^7"'):format(xPlayer.name)) + TriggerEvent('esx:playerSaved', xPlayer.playerId, xPlayer) + end + if cb then + cb() + end + end + ) end function Core.SavePlayers(cb) - local xPlayers = ESX.Players - if not next(xPlayers) then - return - end - - local startTime = os.time() - local parameters = {} + local xPlayers = ESX.Players + if not next(xPlayers) then + return + end + + local startTime = os.time() + local parameters = {} - for _, xPlayer in pairs(ESX.Players) do - parameters[#parameters + 1] = { - json.encode(xPlayer.getAccounts(true)), - xPlayer.job.name, - xPlayer.job.grade, - xPlayer.group, - json.encode(xPlayer.getCoords()), - json.encode(xPlayer.getInventory(true)), - json.encode(xPlayer.getLoadout(true)), - json.encode(xPlayer.getMeta()), - xPlayer.identifier - } - end + for _, xPlayer in pairs(ESX.Players) do + parameters[#parameters + 1] = { + json.encode(xPlayer.getAccounts(true)), + xPlayer.job.name, + xPlayer.job.grade, + xPlayer.group, + json.encode(xPlayer.getCoords()), + json.encode(xPlayer.getInventory(true)), + json.encode(xPlayer.getLoadout(true)), + json.encode(xPlayer.getMeta()), + xPlayer.identifier + } + end - MySQL.prepare( - "UPDATE `users` SET `accounts` = ?, `job` = ?, `job_grade` = ?, `group` = ?, `position` = ?, `inventory` = ?, `loadout` = ?, `metadata` = ? WHERE `identifier` = ?", - parameters, - function(results) - if not results then - return - end + MySQL.prepare( + "UPDATE `users` SET `accounts` = ?, `job` = ?, `job_grade` = ?, `group` = ?, `position` = ?, `inventory` = ?, `loadout` = ?, `metadata` = ? WHERE `identifier` = ?", + parameters, + function(results) + if not results then + return + end - if type(cb) == 'function' then - return cb() - end - - print(('[^2INFO^7] Saved ^5%s^7 %s over ^5%s^7 ms'):format(#parameters, #parameters > 1 and 'players' or 'player', ESX.Math.Round((os.time() - startTime) / 1000000, 2))) - end - ) + if type(cb) == 'function' then + return cb() + end + + print(('[^2INFO^7] Saved ^5%s^7 %s over ^5%s^7 ms'):format(#parameters, #parameters > 1 and 'players' or 'player', ESX.Math.Round((os.time() - startTime) / 1000000, 2))) + end + ) end ESX.GetPlayers = GetPlayers function ESX.GetExtendedPlayers(key, val) - local xPlayers = {} - for k, v in pairs(ESX.Players) do - if key then - if (key == 'job' and v.job.name == val) or v[key] == val then - xPlayers[#xPlayers + 1] = v - end - else - xPlayers[#xPlayers + 1] = v - end - end - return xPlayers + local xPlayers = {} + for k, v in pairs(ESX.Players) do + if key then + if (key == 'job' and v.job.name == val) or v[key] == val then + xPlayers[#xPlayers + 1] = v + end + else + xPlayers[#xPlayers + 1] = v + end + end + return xPlayers end function ESX.GetPlayerFromId(source) - return ESX.Players[tonumber(source)] + return ESX.Players[tonumber(source)] end function ESX.GetPlayerFromIdentifier(identifier) - return Core.playersByIdentifier[identifier] + return Core.playersByIdentifier[identifier] end function ESX.GetIdentifier(playerId) - local fxDk = GetConvarInt('sv_fxdkMode', 0) - if fxDk == 1 then - return "ESX-DEBUG-LICENCE" - end - for k, v in ipairs(GetPlayerIdentifiers(playerId)) do - if string.match(v, 'license:') then - local identifier = string.gsub(v, 'license:', '') - return identifier - end - end + local fxDk = GetConvarInt('sv_fxdkMode', 0) + if fxDk == 1 then + return "ESX-DEBUG-LICENCE" + end + for k, v in ipairs(GetPlayerIdentifiers(playerId)) do + if string.match(v, 'license:') then + local identifier = string.gsub(v, 'license:', '') + return identifier + end + end end ---@param model string|number @@ -261,203 +261,203 @@ end ---@param cb function function ESX.GetVehicleType(model, player, cb) - model = type(model) == 'string' and joaat(model) or model - - if Core.vehicleTypesByModel[model] then - return cb(Core.vehicleTypesByModel[model]) - end + model = type(model) == 'string' and joaat(model) or model + + if Core.vehicleTypesByModel[model] then + return cb(Core.vehicleTypesByModel[model]) + end - ESX.TriggerClientCallback(player, "esx:GetVehicleType", function(vehicleType) - Core.vehicleTypesByModel[model] = vehicleType - cb(vehicleType) - end, model) + ESX.TriggerClientCallback(player, "esx:GetVehicleType", function(vehicleType) + Core.vehicleTypesByModel[model] = vehicleType + cb(vehicleType) + end, model) end function ESX.DiscordLog(name, title, color, message) - local webHook = Config.DiscordLogs.Webhooks[name] or Config.DiscordLogs.Webhooks.default - local embedData = {{ - ['title'] = title, - ['color'] = Config.DiscordLogs.Colors[color] or Config.DiscordLogs.Colors.default, - ['footer'] = { - ['text'] = "| ESX Logs | " .. os.date(), - ['icon_url'] = "https://cdn.discordapp.com/attachments/944789399852417096/1020099828266586193/blanc-800x800.png" - }, - ['description'] = message, - ['author'] = { - ['name'] = "ESX Framework", - ['icon_url'] = "https://cdn.discordapp.com/emojis/939245183621558362.webp?size=128&quality=lossless" - } - }} - PerformHttpRequest(webHook, nil, 'POST', json.encode({ - username = 'Logs', - embeds = embedData - }), { - ['Content-Type'] = 'application/json' - }) + local webHook = Config.DiscordLogs.Webhooks[name] or Config.DiscordLogs.Webhooks.default + local embedData = {{ + ['title'] = title, + ['color'] = Config.DiscordLogs.Colors[color] or Config.DiscordLogs.Colors.default, + ['footer'] = { + ['text'] = "| ESX Logs | " .. os.date(), + ['icon_url'] = "https://cdn.discordapp.com/attachments/944789399852417096/1020099828266586193/blanc-800x800.png" + }, + ['description'] = message, + ['author'] = { + ['name'] = "ESX Framework", + ['icon_url'] = "https://cdn.discordapp.com/emojis/939245183621558362.webp?size=128&quality=lossless" + } + }} + PerformHttpRequest(webHook, nil, 'POST', json.encode({ + username = 'Logs', + embeds = embedData + }), { + ['Content-Type'] = 'application/json' + }) end function ESX.DiscordLogFields(name, title, color, fields) - local webHook = Config.DiscordLogs.Webhooks[name] or Config.DiscordLogs.Webhooks.default - local embedData = {{ - ['title'] = title, - ['color'] = Config.DiscordLogs.Colors[color] or Config.DiscordLogs.Colors.default, - ['footer'] = { - ['text'] = "| ESX Logs | " .. os.date(), - ['icon_url'] = "https://cdn.discordapp.com/attachments/944789399852417096/1020099828266586193/blanc-800x800.png" - }, - ['fields'] = fields, - ['description'] = "", - ['author'] = { - ['name'] = "ESX Framework", - ['icon_url'] = "https://cdn.discordapp.com/emojis/939245183621558362.webp?size=128&quality=lossless" - } - }} - PerformHttpRequest(webHook, nil, 'POST', json.encode({ - username = 'Logs', - embeds = embedData - }), { - ['Content-Type'] = 'application/json' - }) + local webHook = Config.DiscordLogs.Webhooks[name] or Config.DiscordLogs.Webhooks.default + local embedData = {{ + ['title'] = title, + ['color'] = Config.DiscordLogs.Colors[color] or Config.DiscordLogs.Colors.default, + ['footer'] = { + ['text'] = "| ESX Logs | " .. os.date(), + ['icon_url'] = "https://cdn.discordapp.com/attachments/944789399852417096/1020099828266586193/blanc-800x800.png" + }, + ['fields'] = fields, + ['description'] = "", + ['author'] = { + ['name'] = "ESX Framework", + ['icon_url'] = "https://cdn.discordapp.com/emojis/939245183621558362.webp?size=128&quality=lossless" + } + }} + PerformHttpRequest(webHook, nil, 'POST', json.encode({ + username = 'Logs', + embeds = embedData + }), { + ['Content-Type'] = 'application/json' + }) end function ESX.RefreshJobs() - local Jobs = {} - local jobs = MySQL.query.await('SELECT * FROM jobs') + local Jobs = {} + local jobs = MySQL.query.await('SELECT * FROM jobs') - for _, v in ipairs(jobs) do - Jobs[v.name] = v - Jobs[v.name].grades = {} - end + for _, v in ipairs(jobs) do + Jobs[v.name] = v + Jobs[v.name].grades = {} + end - local jobGrades = MySQL.query.await('SELECT * FROM job_grades') + local jobGrades = MySQL.query.await('SELECT * FROM job_grades') - for _, v in ipairs(jobGrades) do - if Jobs[v.job_name] then - Jobs[v.job_name].grades[tostring(v.grade)] = v - else - print(('[^3WARNING^7] Ignoring job grades for ^5"%s"^0 due to missing job'):format(v.job_name)) - end - end + for _, v in ipairs(jobGrades) do + if Jobs[v.job_name] then + Jobs[v.job_name].grades[tostring(v.grade)] = v + else + print(('[^3WARNING^7] Ignoring job grades for ^5"%s"^0 due to missing job'):format(v.job_name)) + end + end - for _, v in pairs(Jobs) do - if ESX.Table.SizeOf(v.grades) == 0 then - Jobs[v.name] = nil - print(('[^3WARNING^7] Ignoring job ^5"%s"^0 due to no job grades found'):format(v.name)) - end - end + for _, v in pairs(Jobs) do + if ESX.Table.SizeOf(v.grades) == 0 then + Jobs[v.name] = nil + print(('[^3WARNING^7] Ignoring job ^5"%s"^0 due to no job grades found'):format(v.name)) + end + end - if not Jobs then - -- Fallback data, if no jobs exist - ESX.Jobs['unemployed'] = {label = 'Unemployed', - grades = {['0'] = {grade = 0, label = 'Unemployed', salary = 200, skin_male = {}, skin_female = {}}}} - else - ESX.Jobs = Jobs - end + if not Jobs then + -- Fallback data, if no jobs exist + ESX.Jobs['unemployed'] = {label = 'Unemployed', + grades = {['0'] = {grade = 0, label = 'Unemployed', salary = 200, skin_male = {}, skin_female = {}}}} + else + ESX.Jobs = Jobs + end end function ESX.RegisterUsableItem(item, cb) - Core.UsableItemsCallbacks[item] = cb + Core.UsableItemsCallbacks[item] = cb end function ESX.UseItem(source, item, ...) - if ESX.Items[item] then - local itemCallback = Core.UsableItemsCallbacks[item] + if ESX.Items[item] then + local itemCallback = Core.UsableItemsCallbacks[item] - if itemCallback then - local success, result = pcall(itemCallback, source, item, ...) + if itemCallback then + local success, result = pcall(itemCallback, source, item, ...) - if not success then - return result and print(result) or - print(('[^3WARNING^7] An error occured when using item ^5"%s"^7! This was not caused by ESX.'):format(item)) - end - end - else - print(('[^3WARNING^7] Item ^5"%s"^7 was used but does not exist!'):format(item)) - end + if not success then + return result and print(result) or + print(('[^3WARNING^7] An error occured when using item ^5"%s"^7! This was not caused by ESX.'):format(item)) + end + end + else + print(('[^3WARNING^7] Item ^5"%s"^7 was used but does not exist!'):format(item)) + end end function ESX.RegisterPlayerFunctionOverrides(index, overrides) - Core.PlayerFunctionOverrides[index] = overrides + Core.PlayerFunctionOverrides[index] = overrides end function ESX.SetPlayerFunctionOverride(index) - if not index or not Core.PlayerFunctionOverrides[index] then - return print('[^3WARNING^7] No valid index provided.') - end + if not index or not Core.PlayerFunctionOverrides[index] then + return print('[^3WARNING^7] No valid index provided.') + end - Config.PlayerFunctionOverride = index + Config.PlayerFunctionOverride = index end function ESX.GetItemLabel(item) - if Config.OxInventory then - item = exports.ox_inventory:Items(item) - if item then - return item.label - end - end + if Config.OxInventory then + item = exports.ox_inventory:Items(item) + if item then + return item.label + end + end - if ESX.Items[item] then - return ESX.Items[item].label - else - print('[^3WARNING^7] Attemting to get invalid Item -> ^5' .. item .. "^7") - end + if ESX.Items[item] then + return ESX.Items[item].label + else + print('[^3WARNING^7] Attemting to get invalid Item -> ^5' .. item .. "^7") + end end function ESX.GetJobs() - return ESX.Jobs + return ESX.Jobs end function ESX.GetUsableItems() - local Usables = {} - for k in pairs(Core.UsableItemsCallbacks) do - Usables[k] = true - end - return Usables + local Usables = {} + for k in pairs(Core.UsableItemsCallbacks) do + Usables[k] = true + end + return Usables end if not Config.OxInventory then - function ESX.CreatePickup(type, name, count, label, playerId, components, tintIndex) - local pickupId = (Core.PickupId == 65635 and 0 or Core.PickupId + 1) - local xPlayer = ESX.Players[playerId] - local coords = xPlayer.getCoords() + function ESX.CreatePickup(type, name, count, label, playerId, components, tintIndex) + local pickupId = (Core.PickupId == 65635 and 0 or Core.PickupId + 1) + local xPlayer = ESX.Players[playerId] + local coords = xPlayer.getCoords() - Core.Pickups[pickupId] = {type = type, name = name, count = count, label = label, coords = coords} + Core.Pickups[pickupId] = {type = type, name = name, count = count, label = label, coords = coords} - if type == 'item_weapon' then - Core.Pickups[pickupId].components = components - Core.Pickups[pickupId].tintIndex = tintIndex - end + if type == 'item_weapon' then + Core.Pickups[pickupId].components = components + Core.Pickups[pickupId].tintIndex = tintIndex + end - TriggerClientEvent('esx:createPickup', -1, pickupId, label, coords, type, name, components, tintIndex) - Core.PickupId = pickupId - end + TriggerClientEvent('esx:createPickup', -1, pickupId, label, coords, type, name, components, tintIndex) + Core.PickupId = pickupId + end end function ESX.DoesJobExist(job, grade) - grade = tostring(grade) + grade = tostring(grade) - if job and grade then - if ESX.Jobs[job] and ESX.Jobs[job].grades[grade] then - return true - end - end + if job and grade then + if ESX.Jobs[job] and ESX.Jobs[job].grades[grade] then + return true + end + end - return false + return false end function Core.IsPlayerAdmin(playerId) - if (IsPlayerAceAllowed(playerId, 'command') or GetConvar('sv_lan', '') == 'true') and true or false then - return true - end + if (IsPlayerAceAllowed(playerId, 'command') or GetConvar('sv_lan', '') == 'true') and true or false then + return true + end - local xPlayer = ESX.Players[playerId] + local xPlayer = ESX.Players[playerId] - if xPlayer then - if xPlayer.group == 'admin' then - return true - end - end + if xPlayer then + if xPlayer.group == 'admin' then + return true + end + end - return false + return false end From 804ff0452c7e2066ce0e7d566637506fe00e4122 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:46:32 +0200 Subject: [PATCH 113/236] refactor(server/main): format code --- [core]/es_extended/server/main.lua | 1024 ++++++++++++++-------------- 1 file changed, 512 insertions(+), 512 deletions(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 228e99c0..889e9c94 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -6,638 +6,638 @@ local newPlayer = 'INSERT INTO `users` SET `accounts` = ?, `identifier` = ?, `gr local loadPlayer = 'SELECT `accounts`, `job`, `job_grade`, `group`, `position`, `inventory`, `skin`, `loadout`, `metadata`' if Config.Multichar then - newPlayer = newPlayer .. ', `firstname` = ?, `lastname` = ?, `dateofbirth` = ?, `sex` = ?, `height` = ?' + newPlayer = newPlayer .. ', `firstname` = ?, `lastname` = ?, `dateofbirth` = ?, `sex` = ?, `height` = ?' end if Config.Multichar or Config.Identity then - loadPlayer = loadPlayer .. ', `firstname`, `lastname`, `dateofbirth`, `sex`, `height`' + loadPlayer = loadPlayer .. ', `firstname`, `lastname`, `dateofbirth`, `sex`, `height`' end loadPlayer = loadPlayer .. ' FROM `users` WHERE identifier = ?' if Config.Multichar then - AddEventHandler('esx:onPlayerJoined', function(src, char, data) - while not next(ESX.Jobs) do - Wait(50) - end + AddEventHandler('esx:onPlayerJoined', function(src, char, data) + while not next(ESX.Jobs) do + Wait(50) + end - if not ESX.Players[src] then - local identifier = char .. ':' .. ESX.GetIdentifier(src) - if data then - createESXPlayer(identifier, src, data) - else - loadESXPlayer(identifier, src, false) - end - end - end) + if not ESX.Players[src] then + local identifier = char .. ':' .. ESX.GetIdentifier(src) + if data then + createESXPlayer(identifier, src, data) + else + loadESXPlayer(identifier, src, false) + end + end + end) else - RegisterNetEvent('esx:onPlayerJoined') - AddEventHandler('esx:onPlayerJoined', function() - local _source = source - while not next(ESX.Jobs) do - Wait(50) - end + RegisterNetEvent('esx:onPlayerJoined') + AddEventHandler('esx:onPlayerJoined', function() + local _source = source + while not next(ESX.Jobs) do + Wait(50) + end - if not ESX.Players[_source] then - onPlayerJoined(_source) - end - end) + if not ESX.Players[_source] then + onPlayerJoined(_source) + end + end) end function onPlayerJoined(playerId) - local identifier = ESX.GetIdentifier(playerId) - if identifier then - if ESX.GetPlayerFromIdentifier(identifier) then - DropPlayer(playerId, - ('there was an error loading your character!\nError code: identifier-active-ingame\n\nThis error is caused by a player on this server who has the same identifier as you have. Make sure you are not playing on the same Rockstar account.\n\nYour Rockstar identifier: %s'):format( - identifier)) - else - local result = MySQL.scalar.await('SELECT 1 FROM users WHERE identifier = ?', {identifier}) - if result then - loadESXPlayer(identifier, playerId, false) - else - - createESXPlayer(identifier, playerId) - end - end - else - DropPlayer(playerId, - 'there was an error loading your character!\nError code: identifier-missing-ingame\n\nThe cause of this error is not known, your identifier could not be found. Please come back later or report this problem to the server administration team.') - end + local identifier = ESX.GetIdentifier(playerId) + if identifier then + if ESX.GetPlayerFromIdentifier(identifier) then + DropPlayer(playerId, + ('there was an error loading your character!\nError code: identifier-active-ingame\n\nThis error is caused by a player on this server who has the same identifier as you have. Make sure you are not playing on the same Rockstar account.\n\nYour Rockstar identifier: %s'):format( + identifier)) + else + local result = MySQL.scalar.await('SELECT 1 FROM users WHERE identifier = ?', {identifier}) + if result then + loadESXPlayer(identifier, playerId, false) + else + + createESXPlayer(identifier, playerId) + end + end + else + DropPlayer(playerId, + 'there was an error loading your character!\nError code: identifier-missing-ingame\n\nThe cause of this error is not known, your identifier could not be found. Please come back later or report this problem to the server administration team.') + end end function createESXPlayer(identifier, playerId, data) - local accounts = {} + local accounts = {} - for account, money in pairs(Config.StartingAccountMoney) do - accounts[account] = money - end + for account, money in pairs(Config.StartingAccountMoney) do + accounts[account] = money + end - local defaultGroup = "user" - if Core.IsPlayerAdmin(playerId) then - print(('[^2INFO^0] Player ^5%s^0 Has been granted admin permissions via ^5Ace Perms^7.'):format(playerId)) - defaultGroup = "admin" - end + local defaultGroup = "user" + if Core.IsPlayerAdmin(playerId) then + print(('[^2INFO^0] Player ^5%s^0 Has been granted admin permissions via ^5Ace Perms^7.'):format(playerId)) + defaultGroup = "admin" + end - if not Config.Multichar then - MySQL.prepare(newPlayer, {json.encode(accounts), identifier, defaultGroup}, function() - loadESXPlayer(identifier, playerId, true) - end) - else - MySQL.prepare(newPlayer, - {json.encode(accounts), identifier, defaultGroup, data.firstname, data.lastname, data.dateofbirth, data.sex, data.height}, function() - loadESXPlayer(identifier, playerId, true) - end) - end + if not Config.Multichar then + MySQL.prepare(newPlayer, {json.encode(accounts), identifier, defaultGroup}, function() + loadESXPlayer(identifier, playerId, true) + end) + else + MySQL.prepare(newPlayer, + {json.encode(accounts), identifier, defaultGroup, data.firstname, data.lastname, data.dateofbirth, data.sex, data.height}, function() + loadESXPlayer(identifier, playerId, true) + end) + end end if not Config.Multichar then - AddEventHandler('playerConnecting', function(name, setCallback, deferrals) - deferrals.defer() - local playerId = source - local identifier = ESX.GetIdentifier(playerId) + AddEventHandler('playerConnecting', function(name, setCallback, deferrals) + deferrals.defer() + local playerId = source + local identifier = ESX.GetIdentifier(playerId) - if oneSyncState == "off" or oneSyncState == "legacy" then - return deferrals.done(('[ESX] ESX Requires Onesync Infinity to work. This server currently has Onesync set to: %s'):format(oneSyncState)) - end + if oneSyncState == "off" or oneSyncState == "legacy" then + return deferrals.done(('[ESX] ESX Requires Onesync Infinity to work. This server currently has Onesync set to: %s'):format(oneSyncState)) + end - if not Core.DatabaseConnected then - return deferrals.done('[ESX] OxMySQL Was Unable To Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') - end - - if identifier then - if ESX.GetPlayerFromIdentifier(identifier) then - return deferrals.done( - ('[ESX] There was an error loading your character!\nError code: identifier-active\n\nThis error is caused by a player on this server who has the same identifier as you have. Make sure you are not playing on the same account.\n\nYour identifier: %s'):format( - identifier)) - else - return deferrals.done() - end - else - return deferrals.done( - '[ESX] There was an error loading your character!\nError code: identifier-missing\n\nThe cause of this error is not known, your identifier could not be found. Please come back later or report this problem to the server administration team.') - end - end) + if not Core.DatabaseConnected then + return deferrals.done('[ESX] OxMySQL Was Unable To Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') + end + + if identifier then + if ESX.GetPlayerFromIdentifier(identifier) then + return deferrals.done( + ('[ESX] There was an error loading your character!\nError code: identifier-active\n\nThis error is caused by a player on this server who has the same identifier as you have. Make sure you are not playing on the same account.\n\nYour identifier: %s'):format( + identifier)) + else + return deferrals.done() + end + else + return deferrals.done( + '[ESX] There was an error loading your character!\nError code: identifier-missing\n\nThe cause of this error is not known, your identifier could not be found. Please come back later or report this problem to the server administration team.') + end + end) end function loadESXPlayer(identifier, playerId, isNew) - local userData = {accounts = {}, inventory = {}, job = {}, loadout = {}, playerName = GetPlayerName(playerId), weight = 0, metadata = {}} - local result = MySQL.prepare.await(loadPlayer, {identifier}) - local job, grade, jobObject, gradeObject = result.job, tostring(result.job_grade) - local foundAccounts, foundItems = {}, {} + local userData = {accounts = {}, inventory = {}, job = {}, loadout = {}, playerName = GetPlayerName(playerId), weight = 0, metadata = {}} + local result = MySQL.prepare.await(loadPlayer, {identifier}) + local job, grade, jobObject, gradeObject = result.job, tostring(result.job_grade) + local foundAccounts, foundItems = {}, {} - -- Accounts - if result.accounts and result.accounts ~= '' then - local accounts = json.decode(result.accounts) + -- Accounts + if result.accounts and result.accounts ~= '' then + local accounts = json.decode(result.accounts) - for account, money in pairs(accounts) do - foundAccounts[account] = money - end - end + for account, money in pairs(accounts) do + foundAccounts[account] = money + end + end - for account, data in pairs(Config.Accounts) do - if data.round == nil then - data.round = true - end - local index = #userData.accounts + 1 - userData.accounts[index] = { - name = account, - money = foundAccounts[account] or Config.StartingAccountMoney[account] or 0, - label = data.label, - round = data.round, - index = index - } - end + for account, data in pairs(Config.Accounts) do + if data.round == nil then + data.round = true + end + local index = #userData.accounts + 1 + userData.accounts[index] = { + name = account, + money = foundAccounts[account] or Config.StartingAccountMoney[account] or 0, + label = data.label, + round = data.round, + index = index + } + end - -- Job - if ESX.DoesJobExist(job, grade) then - jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] - else - print(('[^3WARNING^7] Ignoring invalid job for ^5%s^7 [job: ^5%s^7, grade: ^5%s^7]'):format(identifier, job, grade)) - job, grade = 'unemployed', '0' - jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] - end + -- Job + if ESX.DoesJobExist(job, grade) then + jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] + else + print(('[^3WARNING^7] Ignoring invalid job for ^5%s^7 [job: ^5%s^7, grade: ^5%s^7]'):format(identifier, job, grade)) + job, grade = 'unemployed', '0' + jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] + end - userData.job.id = jobObject.id - userData.job.name = jobObject.name - userData.job.label = jobObject.label + userData.job.id = jobObject.id + userData.job.name = jobObject.name + userData.job.label = jobObject.label - userData.job.grade = tonumber(grade) - userData.job.grade_name = gradeObject.name - userData.job.grade_label = gradeObject.label - userData.job.grade_salary = gradeObject.salary + userData.job.grade = tonumber(grade) + userData.job.grade_name = gradeObject.name + userData.job.grade_label = gradeObject.label + userData.job.grade_salary = gradeObject.salary - userData.job.skin_male = {} - userData.job.skin_female = {} + userData.job.skin_male = {} + userData.job.skin_female = {} - if gradeObject.skin_male then - userData.job.skin_male = json.decode(gradeObject.skin_male) - end - if gradeObject.skin_female then - userData.job.skin_female = json.decode(gradeObject.skin_female) - end + if gradeObject.skin_male then + userData.job.skin_male = json.decode(gradeObject.skin_male) + end + if gradeObject.skin_female then + userData.job.skin_female = json.decode(gradeObject.skin_female) + end - -- Inventory - if not Config.OxInventory then - if result.inventory and result.inventory ~= '' then - local inventory = json.decode(result.inventory) + -- Inventory + if not Config.OxInventory then + if result.inventory and result.inventory ~= '' then + local inventory = json.decode(result.inventory) - for name, count in pairs(inventory) do - local item = ESX.Items[name] + for name, count in pairs(inventory) do + local item = ESX.Items[name] - if item then - foundItems[name] = count - else - print(('[^3WARNING^7] Ignoring invalid item ^5"%s"^7 for ^5"%s^7"'):format(name, identifier)) - end - end - end + if item then + foundItems[name] = count + else + print(('[^3WARNING^7] Ignoring invalid item ^5"%s"^7 for ^5"%s^7"'):format(name, identifier)) + end + end + end - for name, item in pairs(ESX.Items) do - local count = foundItems[name] or 0 - if count > 0 then - userData.weight = userData.weight + (item.weight * count) - end + for name, item in pairs(ESX.Items) do + local count = foundItems[name] or 0 + if count > 0 then + userData.weight = userData.weight + (item.weight * count) + end - table.insert(userData.inventory, - {name = name, count = count, label = item.label, weight = item.weight, usable = Core.UsableItemsCallbacks[name] ~= nil, rare = item.rare, - canRemove = item.canRemove}) - end + table.insert(userData.inventory, + {name = name, count = count, label = item.label, weight = item.weight, usable = Core.UsableItemsCallbacks[name] ~= nil, rare = item.rare, + canRemove = item.canRemove}) + end - table.sort(userData.inventory, function(a, b) - return a.label < b.label - end) - else - if result.inventory and result.inventory ~= '' then - userData.inventory = json.decode(result.inventory) - else - userData.inventory = {} - end - end + table.sort(userData.inventory, function(a, b) + return a.label < b.label + end) + else + if result.inventory and result.inventory ~= '' then + userData.inventory = json.decode(result.inventory) + else + userData.inventory = {} + end + end - -- Group - if result.group then - if result.group == "superadmin" then - userData.group = "admin" - print("[^3WARNING^7] ^5Superadmin^7 detected, setting group to ^5admin^7") - else - userData.group = result.group - end - else - userData.group = 'user' - end + -- Group + if result.group then + if result.group == "superadmin" then + userData.group = "admin" + print("[^3WARNING^7] ^5Superadmin^7 detected, setting group to ^5admin^7") + else + userData.group = result.group + end + else + userData.group = 'user' + end - -- Loadout - if not Config.OxInventory then - if result.loadout and result.loadout ~= '' then - local loadout = json.decode(result.loadout) + -- Loadout + if not Config.OxInventory then + if result.loadout and result.loadout ~= '' then + local loadout = json.decode(result.loadout) - for name, weapon in pairs(loadout) do - local label = ESX.GetWeaponLabel(name) + for name, weapon in pairs(loadout) do + local label = ESX.GetWeaponLabel(name) - if label then - if not weapon.components then - weapon.components = {} - end - if not weapon.tintIndex then - weapon.tintIndex = 0 - end + if label then + if not weapon.components then + weapon.components = {} + end + if not weapon.tintIndex then + weapon.tintIndex = 0 + end - table.insert(userData.loadout, - {name = name, ammo = weapon.ammo, label = label, components = weapon.components, tintIndex = weapon.tintIndex}) - end - end - end - end + table.insert(userData.loadout, + {name = name, ammo = weapon.ammo, label = label, components = weapon.components, tintIndex = weapon.tintIndex}) + end + end + end + end - -- Position - userData.coords = json.decode(result.position) or Config.DefaultSpawn + -- Position + userData.coords = json.decode(result.position) or Config.DefaultSpawn - -- Skin - if result.skin and result.skin ~= '' then - userData.skin = json.decode(result.skin) - else - if userData.sex == 'f' then - userData.skin = {sex = 1} - else - userData.skin = {sex = 0} - end - end + -- Skin + if result.skin and result.skin ~= '' then + userData.skin = json.decode(result.skin) + else + if userData.sex == 'f' then + userData.skin = {sex = 1} + else + userData.skin = {sex = 0} + end + end - -- Identity - if result.firstname and result.firstname ~= '' then - userData.firstname = result.firstname - userData.lastname = result.lastname - userData.playerName = userData.firstname .. ' ' .. userData.lastname - if result.dateofbirth then - userData.dateofbirth = result.dateofbirth - end - if result.sex then - userData.sex = result.sex - end - if result.height then - userData.height = result.height - end - end + -- Identity + if result.firstname and result.firstname ~= '' then + userData.firstname = result.firstname + userData.lastname = result.lastname + userData.playerName = userData.firstname .. ' ' .. userData.lastname + if result.dateofbirth then + userData.dateofbirth = result.dateofbirth + end + if result.sex then + userData.sex = result.sex + end + if result.height then + userData.height = result.height + end + end - if result.metadata and result.metadata ~= '' then - local metadata = json.decode(result.metadata) - userData.metadata = metadata - end + if result.metadata and result.metadata ~= '' then + local metadata = json.decode(result.metadata) + userData.metadata = metadata + end - local xPlayer = CreateExtendedPlayer(playerId, identifier, userData.group, userData.accounts, userData.inventory, userData.weight, userData.job, - userData.loadout, userData.playerName, userData.coords, userData.metadata) - ESX.Players[playerId] = xPlayer - Core.playersByIdentifier[identifier] = xPlayer + local xPlayer = CreateExtendedPlayer(playerId, identifier, userData.group, userData.accounts, userData.inventory, userData.weight, userData.job, + userData.loadout, userData.playerName, userData.coords, userData.metadata) + ESX.Players[playerId] = xPlayer + Core.playersByIdentifier[identifier] = xPlayer - if userData.firstname then - xPlayer.set('firstName', userData.firstname) - xPlayer.set('lastName', userData.lastname) - if userData.dateofbirth then - xPlayer.set('dateofbirth', userData.dateofbirth) - end - if userData.sex then - xPlayer.set('sex', userData.sex) - end - if userData.height then - xPlayer.set('height', userData.height) - end - end + if userData.firstname then + xPlayer.set('firstName', userData.firstname) + xPlayer.set('lastName', userData.lastname) + if userData.dateofbirth then + xPlayer.set('dateofbirth', userData.dateofbirth) + end + if userData.sex then + xPlayer.set('sex', userData.sex) + end + if userData.height then + xPlayer.set('height', userData.height) + end + end - TriggerEvent('esx:playerLoaded', playerId, xPlayer, isNew) + TriggerEvent('esx:playerLoaded', playerId, xPlayer, isNew) - xPlayer.triggerEvent('esx:playerLoaded', - { - accounts = xPlayer.getAccounts(), - coords = xPlayer.getCoords(), - identifier = xPlayer.getIdentifier(), - inventory = xPlayer.getInventory(), - job = xPlayer.getJob(), - loadout = xPlayer.getLoadout(), - maxWeight = xPlayer.getMaxWeight(), - money = xPlayer.getMoney(), - sex = xPlayer.get("sex") or "m", - firstName = xPlayer.get("firstName") or "John", - lastName = xPlayer.get("lastName") or "Doe", - dateofbirth = xPlayer.get("dateofbirth") or "01/01/2000", - height = xPlayer.get("height") or 120, - dead = false, - metadata = xPlayer.getMeta() - }, isNew, - userData.skin) + xPlayer.triggerEvent('esx:playerLoaded', + { + accounts = xPlayer.getAccounts(), + coords = xPlayer.getCoords(), + identifier = xPlayer.getIdentifier(), + inventory = xPlayer.getInventory(), + job = xPlayer.getJob(), + loadout = xPlayer.getLoadout(), + maxWeight = xPlayer.getMaxWeight(), + money = xPlayer.getMoney(), + sex = xPlayer.get("sex") or "m", + firstName = xPlayer.get("firstName") or "John", + lastName = xPlayer.get("lastName") or "Doe", + dateofbirth = xPlayer.get("dateofbirth") or "01/01/2000", + height = xPlayer.get("height") or 120, + dead = false, + metadata = xPlayer.getMeta() + }, isNew, + userData.skin) - if not Config.OxInventory then - xPlayer.triggerEvent('esx:createMissingPickups', Core.Pickups) - else - exports.ox_inventory:setPlayerInventory(xPlayer, userData.inventory) - end - xPlayer.updateCoords() - xPlayer.triggerEvent('esx:registerSuggestions', Core.RegisteredCommands) - print(('[^2INFO^0] Player ^5"%s"^0 has connected to the server. ID: ^5%s^7'):format(xPlayer.getName(), playerId)) + if not Config.OxInventory then + xPlayer.triggerEvent('esx:createMissingPickups', Core.Pickups) + else + exports.ox_inventory:setPlayerInventory(xPlayer, userData.inventory) + end + xPlayer.updateCoords() + xPlayer.triggerEvent('esx:registerSuggestions', Core.RegisteredCommands) + print(('[^2INFO^0] Player ^5"%s"^0 has connected to the server. ID: ^5%s^7'):format(xPlayer.getName(), playerId)) end AddEventHandler('chatMessage', function(playerId, author, message) - local xPlayer = ESX.GetPlayerFromId(playerId) - if message:sub(1, 1) == '/' and playerId > 0 then - CancelEvent() - local commandName = message:sub(1):gmatch("%w+")() - xPlayer.showNotification(TranslateCap('commanderror_invalidcommand', commandName)) - end + local xPlayer = ESX.GetPlayerFromId(playerId) + if message:sub(1, 1) == '/' and playerId > 0 then + CancelEvent() + local commandName = message:sub(1):gmatch("%w+")() + xPlayer.showNotification(TranslateCap('commanderror_invalidcommand', commandName)) + end end) AddEventHandler('playerDropped', function(reason) - local playerId = source - local xPlayer = ESX.GetPlayerFromId(playerId) + local playerId = source + local xPlayer = ESX.GetPlayerFromId(playerId) - if xPlayer then - TriggerEvent('esx:playerDropped', playerId, reason) + if xPlayer then + TriggerEvent('esx:playerDropped', playerId, reason) - Core.playersByIdentifier[xPlayer.identifier] = nil - Core.SavePlayer(xPlayer, function() - ESX.Players[playerId] = nil - end) - end + Core.playersByIdentifier[xPlayer.identifier] = nil + Core.SavePlayer(xPlayer, function() + ESX.Players[playerId] = nil + end) + end end) AddEventHandler('esx:playerLogout', function(playerId, cb) - local xPlayer = ESX.GetPlayerFromId(playerId) - if xPlayer then - TriggerEvent('esx:playerDropped', playerId) + local xPlayer = ESX.GetPlayerFromId(playerId) + if xPlayer then + TriggerEvent('esx:playerDropped', playerId) - Core.playersByIdentifier[xPlayer.identifier] = nil - Core.SavePlayer(xPlayer, function() - ESX.Players[playerId] = nil - if cb then - cb() - end - end) - end - TriggerClientEvent("esx:onPlayerLogout", playerId) + Core.playersByIdentifier[xPlayer.identifier] = nil + Core.SavePlayer(xPlayer, function() + ESX.Players[playerId] = nil + if cb then + cb() + end + end) + end + TriggerClientEvent("esx:onPlayerLogout", playerId) end) if not Config.OxInventory then - RegisterNetEvent('esx:updateWeaponAmmo') - AddEventHandler('esx:updateWeaponAmmo', function(weaponName, ammoCount) - local xPlayer = ESX.GetPlayerFromId(source) + RegisterNetEvent('esx:updateWeaponAmmo') + AddEventHandler('esx:updateWeaponAmmo', function(weaponName, ammoCount) + local xPlayer = ESX.GetPlayerFromId(source) - if xPlayer then - xPlayer.updateWeaponAmmo(weaponName, ammoCount) - end - end) + if xPlayer then + xPlayer.updateWeaponAmmo(weaponName, ammoCount) + end + end) - RegisterNetEvent('esx:giveInventoryItem') - AddEventHandler('esx:giveInventoryItem', function(target, type, itemName, itemCount) - local playerId = source - local sourceXPlayer = ESX.GetPlayerFromId(playerId) - local targetXPlayer = ESX.GetPlayerFromId(target) - local distance = #(GetEntityCoords(GetPlayerPed(playerId)) - GetEntityCoords(GetPlayerPed(target))) - if not sourceXPlayer or not targetXPlayer or distance > Config.DistanceGive then - print("[^3WARNING^7] Player Detected Cheating: ^5" .. GetPlayerName(playerId) .. "^7") - return - end + RegisterNetEvent('esx:giveInventoryItem') + AddEventHandler('esx:giveInventoryItem', function(target, type, itemName, itemCount) + local playerId = source + local sourceXPlayer = ESX.GetPlayerFromId(playerId) + local targetXPlayer = ESX.GetPlayerFromId(target) + local distance = #(GetEntityCoords(GetPlayerPed(playerId)) - GetEntityCoords(GetPlayerPed(target))) + if not sourceXPlayer or not targetXPlayer or distance > Config.DistanceGive then + print("[^3WARNING^7] Player Detected Cheating: ^5" .. GetPlayerName(playerId) .. "^7") + return + end - if type == 'item_standard' then - local sourceItem = sourceXPlayer.getInventoryItem(itemName) + if type == 'item_standard' then + local sourceItem = sourceXPlayer.getInventoryItem(itemName) - if itemCount > 0 and sourceItem.count >= itemCount then - if targetXPlayer.canCarryItem(itemName, itemCount) then - sourceXPlayer.removeInventoryItem(itemName, itemCount) - targetXPlayer.addInventoryItem(itemName, itemCount) + if itemCount > 0 and sourceItem.count >= itemCount then + if targetXPlayer.canCarryItem(itemName, itemCount) then + sourceXPlayer.removeInventoryItem(itemName, itemCount) + targetXPlayer.addInventoryItem(itemName, itemCount) - sourceXPlayer.showNotification(TranslateCap('gave_item', itemCount, sourceItem.label, targetXPlayer.name)) - targetXPlayer.showNotification(TranslateCap('received_item', itemCount, sourceItem.label, sourceXPlayer.name)) - else - sourceXPlayer.showNotification(TranslateCap('ex_inv_lim', targetXPlayer.name)) - end - else - sourceXPlayer.showNotification(TranslateCap('imp_invalid_quantity')) - end - elseif type == 'item_account' then - if itemCount > 0 and sourceXPlayer.getAccount(itemName).money >= itemCount then - sourceXPlayer.removeAccountMoney(itemName, itemCount, "Gave to " .. targetXPlayer.name) - targetXPlayer.addAccountMoney(itemName, itemCount, "Received from " .. sourceXPlayer.name) + sourceXPlayer.showNotification(TranslateCap('gave_item', itemCount, sourceItem.label, targetXPlayer.name)) + targetXPlayer.showNotification(TranslateCap('received_item', itemCount, sourceItem.label, sourceXPlayer.name)) + else + sourceXPlayer.showNotification(TranslateCap('ex_inv_lim', targetXPlayer.name)) + end + else + sourceXPlayer.showNotification(TranslateCap('imp_invalid_quantity')) + end + elseif type == 'item_account' then + if itemCount > 0 and sourceXPlayer.getAccount(itemName).money >= itemCount then + sourceXPlayer.removeAccountMoney(itemName, itemCount, "Gave to " .. targetXPlayer.name) + targetXPlayer.addAccountMoney(itemName, itemCount, "Received from " .. sourceXPlayer.name) - sourceXPlayer.showNotification(TranslateCap('gave_account_money', ESX.Math.GroupDigits(itemCount), Config.Accounts[itemName].label, targetXPlayer.name)) - targetXPlayer.showNotification(TranslateCap('received_account_money', ESX.Math.GroupDigits(itemCount), Config.Accounts[itemName].label, - sourceXPlayer.name)) - else - sourceXPlayer.showNotification(TranslateCap('imp_invalid_amount')) - end - elseif type == 'item_weapon' then - if sourceXPlayer.hasWeapon(itemName) then - local weaponLabel = ESX.GetWeaponLabel(itemName) - if not targetXPlayer.hasWeapon(itemName) then - local _, weapon = sourceXPlayer.getWeapon(itemName) - local _, weaponObject = ESX.GetWeapon(itemName) - itemCount = weapon.ammo - local weaponComponents = ESX.Table.Clone(weapon.components) - local weaponTint = weapon.tintIndex - if weaponTint then - targetXPlayer.setWeaponTint(itemName, weaponTint) - end - if weaponComponents then - for k, v in pairs(weaponComponents) do - targetXPlayer.addWeaponComponent(itemName, v) - end - end - sourceXPlayer.removeWeapon(itemName) - targetXPlayer.addWeapon(itemName, itemCount) + sourceXPlayer.showNotification(TranslateCap('gave_account_money', ESX.Math.GroupDigits(itemCount), Config.Accounts[itemName].label, targetXPlayer.name)) + targetXPlayer.showNotification(TranslateCap('received_account_money', ESX.Math.GroupDigits(itemCount), Config.Accounts[itemName].label, + sourceXPlayer.name)) + else + sourceXPlayer.showNotification(TranslateCap('imp_invalid_amount')) + end + elseif type == 'item_weapon' then + if sourceXPlayer.hasWeapon(itemName) then + local weaponLabel = ESX.GetWeaponLabel(itemName) + if not targetXPlayer.hasWeapon(itemName) then + local _, weapon = sourceXPlayer.getWeapon(itemName) + local _, weaponObject = ESX.GetWeapon(itemName) + itemCount = weapon.ammo + local weaponComponents = ESX.Table.Clone(weapon.components) + local weaponTint = weapon.tintIndex + if weaponTint then + targetXPlayer.setWeaponTint(itemName, weaponTint) + end + if weaponComponents then + for k, v in pairs(weaponComponents) do + targetXPlayer.addWeaponComponent(itemName, v) + end + end + sourceXPlayer.removeWeapon(itemName) + targetXPlayer.addWeapon(itemName, itemCount) - if weaponObject.ammo and itemCount > 0 then - local ammoLabel = weaponObject.ammo.label - sourceXPlayer.showNotification(TranslateCap('gave_weapon_withammo', weaponLabel, itemCount, ammoLabel, targetXPlayer.name)) - targetXPlayer.showNotification(TranslateCap('received_weapon_withammo', weaponLabel, itemCount, ammoLabel, sourceXPlayer.name)) - else - sourceXPlayer.showNotification(TranslateCap('gave_weapon', weaponLabel, targetXPlayer.name)) - targetXPlayer.showNotification(TranslateCap('received_weapon', weaponLabel, sourceXPlayer.name)) - end - else - sourceXPlayer.showNotification(TranslateCap('gave_weapon_hasalready', targetXPlayer.name, weaponLabel)) - targetXPlayer.showNotification(TranslateCap('received_weapon_hasalready', sourceXPlayer.name, weaponLabel)) - end - end - elseif type == 'item_ammo' then - if sourceXPlayer.hasWeapon(itemName) then - local weaponNum, weapon = sourceXPlayer.getWeapon(itemName) + if weaponObject.ammo and itemCount > 0 then + local ammoLabel = weaponObject.ammo.label + sourceXPlayer.showNotification(TranslateCap('gave_weapon_withammo', weaponLabel, itemCount, ammoLabel, targetXPlayer.name)) + targetXPlayer.showNotification(TranslateCap('received_weapon_withammo', weaponLabel, itemCount, ammoLabel, sourceXPlayer.name)) + else + sourceXPlayer.showNotification(TranslateCap('gave_weapon', weaponLabel, targetXPlayer.name)) + targetXPlayer.showNotification(TranslateCap('received_weapon', weaponLabel, sourceXPlayer.name)) + end + else + sourceXPlayer.showNotification(TranslateCap('gave_weapon_hasalready', targetXPlayer.name, weaponLabel)) + targetXPlayer.showNotification(TranslateCap('received_weapon_hasalready', sourceXPlayer.name, weaponLabel)) + end + end + elseif type == 'item_ammo' then + if sourceXPlayer.hasWeapon(itemName) then + local weaponNum, weapon = sourceXPlayer.getWeapon(itemName) - if targetXPlayer.hasWeapon(itemName) then - local _, weaponObject = ESX.GetWeapon(itemName) + if targetXPlayer.hasWeapon(itemName) then + local _, weaponObject = ESX.GetWeapon(itemName) - if weaponObject.ammo then - local ammoLabel = weaponObject.ammo.label + if weaponObject.ammo then + local ammoLabel = weaponObject.ammo.label - if weapon.ammo >= itemCount then - sourceXPlayer.removeWeaponAmmo(itemName, itemCount) - targetXPlayer.addWeaponAmmo(itemName, itemCount) + if weapon.ammo >= itemCount then + sourceXPlayer.removeWeaponAmmo(itemName, itemCount) + targetXPlayer.addWeaponAmmo(itemName, itemCount) - sourceXPlayer.showNotification(TranslateCap('gave_weapon_ammo', itemCount, ammoLabel, weapon.label, targetXPlayer.name)) - targetXPlayer.showNotification(TranslateCap('received_weapon_ammo', itemCount, ammoLabel, weapon.label, sourceXPlayer.name)) - end - end - else - sourceXPlayer.showNotification(TranslateCap('gave_weapon_noweapon', targetXPlayer.name)) - targetXPlayer.showNotification(TranslateCap('received_weapon_noweapon', sourceXPlayer.name, weapon.label)) - end - end - end - end) + sourceXPlayer.showNotification(TranslateCap('gave_weapon_ammo', itemCount, ammoLabel, weapon.label, targetXPlayer.name)) + targetXPlayer.showNotification(TranslateCap('received_weapon_ammo', itemCount, ammoLabel, weapon.label, sourceXPlayer.name)) + end + end + else + sourceXPlayer.showNotification(TranslateCap('gave_weapon_noweapon', targetXPlayer.name)) + targetXPlayer.showNotification(TranslateCap('received_weapon_noweapon', sourceXPlayer.name, weapon.label)) + end + end + end + end) - RegisterNetEvent('esx:removeInventoryItem') - AddEventHandler('esx:removeInventoryItem', function(type, itemName, itemCount) - local playerId = source - local xPlayer = ESX.GetPlayerFromId(playerId) + RegisterNetEvent('esx:removeInventoryItem') + AddEventHandler('esx:removeInventoryItem', function(type, itemName, itemCount) + local playerId = source + local xPlayer = ESX.GetPlayerFromId(playerId) - if type == 'item_standard' then - if itemCount == nil or itemCount < 1 then - xPlayer.showNotification(TranslateCap('imp_invalid_quantity')) - else - local xItem = xPlayer.getInventoryItem(itemName) + if type == 'item_standard' then + if itemCount == nil or itemCount < 1 then + xPlayer.showNotification(TranslateCap('imp_invalid_quantity')) + else + local xItem = xPlayer.getInventoryItem(itemName) - if (itemCount > xItem.count or xItem.count < 1) then - xPlayer.showNotification(TranslateCap('imp_invalid_quantity')) - else - xPlayer.removeInventoryItem(itemName, itemCount) - local pickupLabel = ('%s [%s]'):format(xItem.label, itemCount) - ESX.CreatePickup('item_standard', itemName, itemCount, pickupLabel, playerId) - xPlayer.showNotification(TranslateCap('threw_standard', itemCount, xItem.label)) - end - end - elseif type == 'item_account' then - if itemCount == nil or itemCount < 1 then - xPlayer.showNotification(TranslateCap('imp_invalid_amount')) - else - local account = xPlayer.getAccount(itemName) + if (itemCount > xItem.count or xItem.count < 1) then + xPlayer.showNotification(TranslateCap('imp_invalid_quantity')) + else + xPlayer.removeInventoryItem(itemName, itemCount) + local pickupLabel = ('%s [%s]'):format(xItem.label, itemCount) + ESX.CreatePickup('item_standard', itemName, itemCount, pickupLabel, playerId) + xPlayer.showNotification(TranslateCap('threw_standard', itemCount, xItem.label)) + end + end + elseif type == 'item_account' then + if itemCount == nil or itemCount < 1 then + xPlayer.showNotification(TranslateCap('imp_invalid_amount')) + else + local account = xPlayer.getAccount(itemName) - if (itemCount > account.money or account.money < 1) then - xPlayer.showNotification(TranslateCap('imp_invalid_amount')) - else - xPlayer.removeAccountMoney(itemName, itemCount, "Threw away") - local pickupLabel = ('%s [%s]'):format(account.label, TranslateCap('locale_currency', ESX.Math.GroupDigits(itemCount))) - ESX.CreatePickup('item_account', itemName, itemCount, pickupLabel, playerId) - xPlayer.showNotification(TranslateCap('threw_account', ESX.Math.GroupDigits(itemCount), string.lower(account.label))) - end - end - elseif type == 'item_weapon' then - itemName = string.upper(itemName) + if (itemCount > account.money or account.money < 1) then + xPlayer.showNotification(TranslateCap('imp_invalid_amount')) + else + xPlayer.removeAccountMoney(itemName, itemCount, "Threw away") + local pickupLabel = ('%s [%s]'):format(account.label, TranslateCap('locale_currency', ESX.Math.GroupDigits(itemCount))) + ESX.CreatePickup('item_account', itemName, itemCount, pickupLabel, playerId) + xPlayer.showNotification(TranslateCap('threw_account', ESX.Math.GroupDigits(itemCount), string.lower(account.label))) + end + end + elseif type == 'item_weapon' then + itemName = string.upper(itemName) - if xPlayer.hasWeapon(itemName) then - local _, weapon = xPlayer.getWeapon(itemName) - local _, weaponObject = ESX.GetWeapon(itemName) - local components, pickupLabel = ESX.Table.Clone(weapon.components) - xPlayer.removeWeapon(itemName) + if xPlayer.hasWeapon(itemName) then + local _, weapon = xPlayer.getWeapon(itemName) + local _, weaponObject = ESX.GetWeapon(itemName) + local components, pickupLabel = ESX.Table.Clone(weapon.components) + xPlayer.removeWeapon(itemName) - if weaponObject.ammo and weapon.ammo > 0 then - local ammoLabel = weaponObject.ammo.label - pickupLabel = ('%s [%s %s]'):format(weapon.label, weapon.ammo, ammoLabel) - xPlayer.showNotification(TranslateCap('threw_weapon_ammo', weapon.label, weapon.ammo, ammoLabel)) - else - pickupLabel = ('%s'):format(weapon.label) - xPlayer.showNotification(TranslateCap('threw_weapon', weapon.label)) - end + if weaponObject.ammo and weapon.ammo > 0 then + local ammoLabel = weaponObject.ammo.label + pickupLabel = ('%s [%s %s]'):format(weapon.label, weapon.ammo, ammoLabel) + xPlayer.showNotification(TranslateCap('threw_weapon_ammo', weapon.label, weapon.ammo, ammoLabel)) + else + pickupLabel = ('%s'):format(weapon.label) + xPlayer.showNotification(TranslateCap('threw_weapon', weapon.label)) + end - ESX.CreatePickup('item_weapon', itemName, weapon.ammo, pickupLabel, playerId, components, weapon.tintIndex) - end - end - end) + ESX.CreatePickup('item_weapon', itemName, weapon.ammo, pickupLabel, playerId, components, weapon.tintIndex) + end + end + end) - RegisterNetEvent('esx:useItem') - AddEventHandler('esx:useItem', function(itemName) - local source = source - local xPlayer = ESX.GetPlayerFromId(source) - local count = xPlayer.getInventoryItem(itemName).count + RegisterNetEvent('esx:useItem') + AddEventHandler('esx:useItem', function(itemName) + local source = source + local xPlayer = ESX.GetPlayerFromId(source) + local count = xPlayer.getInventoryItem(itemName).count - if count > 0 then - ESX.UseItem(source, itemName) - else - xPlayer.showNotification(TranslateCap('act_imp')) - end - end) + if count > 0 then + ESX.UseItem(source, itemName) + else + xPlayer.showNotification(TranslateCap('act_imp')) + end + end) - RegisterNetEvent('esx:onPickup') - AddEventHandler('esx:onPickup', function(pickupId) - local pickup, xPlayer, success = Core.Pickups[pickupId], ESX.GetPlayerFromId(source) + RegisterNetEvent('esx:onPickup') + AddEventHandler('esx:onPickup', function(pickupId) + local pickup, xPlayer, success = Core.Pickups[pickupId], ESX.GetPlayerFromId(source) - if pickup then - if pickup.type == 'item_standard' then - if xPlayer.canCarryItem(pickup.name, pickup.count) then - xPlayer.addInventoryItem(pickup.name, pickup.count) - success = true - else - xPlayer.showNotification(TranslateCap('threw_cannot_pickup')) - end - elseif pickup.type == 'item_account' then - success = true - xPlayer.addAccountMoney(pickup.name, pickup.count, "Picked up") - elseif pickup.type == 'item_weapon' then - if xPlayer.hasWeapon(pickup.name) then - xPlayer.showNotification(TranslateCap('threw_weapon_already')) - else - success = true - xPlayer.addWeapon(pickup.name, pickup.count) - xPlayer.setWeaponTint(pickup.name, pickup.tintIndex) + if pickup then + if pickup.type == 'item_standard' then + if xPlayer.canCarryItem(pickup.name, pickup.count) then + xPlayer.addInventoryItem(pickup.name, pickup.count) + success = true + else + xPlayer.showNotification(TranslateCap('threw_cannot_pickup')) + end + elseif pickup.type == 'item_account' then + success = true + xPlayer.addAccountMoney(pickup.name, pickup.count, "Picked up") + elseif pickup.type == 'item_weapon' then + if xPlayer.hasWeapon(pickup.name) then + xPlayer.showNotification(TranslateCap('threw_weapon_already')) + else + success = true + xPlayer.addWeapon(pickup.name, pickup.count) + xPlayer.setWeaponTint(pickup.name, pickup.tintIndex) - for k, v in ipairs(pickup.components) do - xPlayer.addWeaponComponent(pickup.name, v) - end - end - end + for k, v in ipairs(pickup.components) do + xPlayer.addWeaponComponent(pickup.name, v) + end + end + end - if success then - Core.Pickups[pickupId] = nil - TriggerClientEvent('esx:removePickup', -1, pickupId) - end - end - end) + if success then + Core.Pickups[pickupId] = nil + TriggerClientEvent('esx:removePickup', -1, pickupId) + end + end + end) end ESX.RegisterServerCallback('esx:getPlayerData', function(source, cb) - local xPlayer = ESX.GetPlayerFromId(source) + local xPlayer = ESX.GetPlayerFromId(source) - cb({identifier = xPlayer.identifier, accounts = xPlayer.getAccounts(), inventory = xPlayer.getInventory(), job = xPlayer.getJob(), - loadout = xPlayer.getLoadout(), money = xPlayer.getMoney(), position = xPlayer.getCoords(true), metadata = xPlayer.getMeta()}) + cb({identifier = xPlayer.identifier, accounts = xPlayer.getAccounts(), inventory = xPlayer.getInventory(), job = xPlayer.getJob(), + loadout = xPlayer.getLoadout(), money = xPlayer.getMoney(), position = xPlayer.getCoords(true), metadata = xPlayer.getMeta()}) end) ESX.RegisterServerCallback('esx:isUserAdmin', function(source, cb) - cb(Core.IsPlayerAdmin(source)) + cb(Core.IsPlayerAdmin(source)) end) ESX.RegisterServerCallback('esx:getGameBuild', function(source, cb) - cb(tonumber(GetConvar("sv_enforceGameBuild", 1604))) + cb(tonumber(GetConvar("sv_enforceGameBuild", 1604))) end) ESX.RegisterServerCallback('esx:getOtherPlayerData', function(source, cb, target) - local xPlayer = ESX.GetPlayerFromId(target) + local xPlayer = ESX.GetPlayerFromId(target) - cb({identifier = xPlayer.identifier, accounts = xPlayer.getAccounts(), inventory = xPlayer.getInventory(), job = xPlayer.getJob(), - loadout = xPlayer.getLoadout(), money = xPlayer.getMoney(), position = xPlayer.getCoords(true), metadata = xPlayer.getMeta()}) + cb({identifier = xPlayer.identifier, accounts = xPlayer.getAccounts(), inventory = xPlayer.getInventory(), job = xPlayer.getJob(), + loadout = xPlayer.getLoadout(), money = xPlayer.getMoney(), position = xPlayer.getCoords(true), metadata = xPlayer.getMeta()}) end) ESX.RegisterServerCallback('esx:getPlayerNames', function(source, cb, players) - players[source] = nil + players[source] = nil - for playerId, v in pairs(players) do - local xPlayer = ESX.GetPlayerFromId(playerId) + for playerId, v in pairs(players) do + local xPlayer = ESX.GetPlayerFromId(playerId) - if xPlayer then - players[playerId] = xPlayer.getName() - else - players[playerId] = nil - end - end + if xPlayer then + players[playerId] = xPlayer.getName() + else + players[playerId] = nil + end + end - cb(players) + cb(players) end) AddEventHandler('txAdmin:events:scheduledRestart', function(eventData) - if eventData.secondsRemaining == 60 then - CreateThread(function() - Wait(50000) - Core.SavePlayers() - end) - end + if eventData.secondsRemaining == 60 then + CreateThread(function() + Wait(50000) + Core.SavePlayers() + end) + end end) AddEventHandler('txAdmin:events:serverShuttingDown', function() - Core.SavePlayers() + Core.SavePlayers() end) From 0557080d2f8ac3ed794ce8ece1adcd346c8c7174 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 7 May 2023 21:47:02 +0200 Subject: [PATCH 114/236] refactor(server/paycheck): format code --- [core]/es_extended/server/paycheck.lua | 78 +++++++++++++------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/[core]/es_extended/server/paycheck.lua b/[core]/es_extended/server/paycheck.lua index 1f234a57..d300752d 100644 --- a/[core]/es_extended/server/paycheck.lua +++ b/[core]/es_extended/server/paycheck.lua @@ -1,44 +1,44 @@ function StartPayCheck() - CreateThread(function() - while true do - Wait(Config.PaycheckInterval) + CreateThread(function() + while true do + Wait(Config.PaycheckInterval) - for player, xPlayer in pairs(ESX.Players) do - local job = xPlayer.job.grade_name - local salary = xPlayer.job.grade_salary + for player, xPlayer in pairs(ESX.Players) do + local job = xPlayer.job.grade_name + local salary = xPlayer.job.grade_salary - if salary > 0 then - if job == 'unemployed' then -- unemployed - xPlayer.addAccountMoney('bank', salary, "Welfare Check") - TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), TranslateCap('received_paycheck'), TranslateCap('received_help', salary), - 'CHAR_BANK_MAZE', 9) - elseif Config.EnableSocietyPayouts then -- possibly a society - TriggerEvent('esx_society:getSociety', xPlayer.job.name, function(society) - if society ~= nil then -- verified society - TriggerEvent('esx_addonaccount:getSharedAccount', society.account, function(account) - if account.money >= salary then -- does the society money to pay its employees? - xPlayer.addAccountMoney('bank', salary, "Paycheck") - account.removeMoney(salary) + if salary > 0 then + if job == 'unemployed' then -- unemployed + xPlayer.addAccountMoney('bank', salary, "Welfare Check") + TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), TranslateCap('received_paycheck'), TranslateCap('received_help', salary), + 'CHAR_BANK_MAZE', 9) + elseif Config.EnableSocietyPayouts then -- possibly a society + TriggerEvent('esx_society:getSociety', xPlayer.job.name, function(society) + if society ~= nil then -- verified society + TriggerEvent('esx_addonaccount:getSharedAccount', society.account, function(account) + if account.money >= salary then -- does the society money to pay its employees? + xPlayer.addAccountMoney('bank', salary, "Paycheck") + account.removeMoney(salary) - TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), TranslateCap('received_paycheck'), - TranslateCap('received_salary', salary), 'CHAR_BANK_MAZE', 9) - else - TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), '', TranslateCap('company_nomoney'), 'CHAR_BANK_MAZE', 1) - end - end) - else -- not a society - xPlayer.addAccountMoney('bank', salary, "Paycheck") - TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), TranslateCap('received_paycheck'), TranslateCap('received_salary', salary), - 'CHAR_BANK_MAZE', 9) - end - end) - else -- generic job - xPlayer.addAccountMoney('bank', salary, "Paycheck") - TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), TranslateCap('received_paycheck'), TranslateCap('received_salary', salary), - 'CHAR_BANK_MAZE', 9) - end - end - end - end - end) + TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), TranslateCap('received_paycheck'), + TranslateCap('received_salary', salary), 'CHAR_BANK_MAZE', 9) + else + TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), '', TranslateCap('company_nomoney'), 'CHAR_BANK_MAZE', 1) + end + end) + else -- not a society + xPlayer.addAccountMoney('bank', salary, "Paycheck") + TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), TranslateCap('received_paycheck'), TranslateCap('received_salary', salary), + 'CHAR_BANK_MAZE', 9) + end + end) + else -- generic job + xPlayer.addAccountMoney('bank', salary, "Paycheck") + TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), TranslateCap('received_paycheck'), TranslateCap('received_salary', salary), + 'CHAR_BANK_MAZE', 9) + end + end + end + end + end) end From eaa27d0ac4212b1fbde507a40493ae9d91bdd5dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=C4=87?= Date: Mon, 8 May 2023 10:00:17 +0200 Subject: [PATCH 115/236] feat(Client): GetAccount method - Minor code refactoring - Return nil on the server if the account isn't fount (self.getAccount) --- [core]/cron/server/main.lua | 2 +- [core]/es_extended/client/functions.lua | 36 +++++++++++++------- [core]/es_extended/client/main.lua | 2 +- [core]/es_extended/common/functions.lua | 2 +- [core]/es_extended/common/modules/table.lua | 18 +++++----- [core]/es_extended/server/classes/player.lua | 21 ++++++------ [core]/es_extended/server/commands.lua | 6 ++-- [core]/esx_identity/server/main.lua | 2 +- [core]/esx_menu_dialog/client/main.lua | 2 +- [core]/esx_menu_list/client/main.lua | 2 +- [core]/esx_multicharacter/client/main.lua | 2 +- [core]/esx_skin/client/main.lua | 10 +++--- 12 files changed, 58 insertions(+), 47 deletions(-) diff --git a/[core]/cron/server/main.lua b/[core]/cron/server/main.lua index 4228f089..e517d10e 100644 --- a/[core]/cron/server/main.lua +++ b/[core]/cron/server/main.lua @@ -20,7 +20,7 @@ end function OnTime(d, h, m) - for i=1, #Jobs, 1 do + for i = 1, #Jobs, 1 do if Jobs[i].h == h and Jobs[i].m == m then Jobs[i].cb(d, h, m) end diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index 90191138..99a0d58e 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -77,8 +77,7 @@ function ESX.ShowNotification(message, type, length) print("[^1ERROR^7] ^5ESX Notify^7 is Missing!") end - - + function ESX.TextUI(message, type) if GetResourceState("esx_textui") ~= "missing" then return exports["esx_textui"]:TextUI(message, type) @@ -155,9 +154,9 @@ if GetResourceState("esx_context") ~= "missing" then end function ESX.RefreshContext(...) - exports["esx_context"]:Refresh(...) + exports["esx_context"]:Refresh(...) end -else +else function ESX.OpenContext() print("[^1ERROR^7] Tried to ^5open^7 context menu, but ^5esx_context^7 is missing!") end @@ -358,7 +357,7 @@ end function ESX.Game.SpawnObject(object, coords, cb, networked) networked = networked == nil and true or networked - if networked then + if networked then ESX.TriggerServerCallback('esx:Onesync:SpawnObject', function(NetworkID) if cb then local obj = NetworkGetEntityFromNetworkId(NetworkID) @@ -374,7 +373,7 @@ function ESX.Game.SpawnObject(object, coords, cb, networked) cb(obj) end end, object, coords, 0.0) - else + else local model = type(object) == 'number' and object or joaat(object) local vector = type(coords) == "vector3" and coords or vec(coords.x, coords.y, coords.z) CreateThread(function() @@ -408,13 +407,13 @@ function ESX.Game.SpawnVehicle(vehicle, coords, heading, cb, networked) networked = networked == nil and true or networked local playerCoords = GetEntityCoords(ESX.PlayerData.ped) - if not vector or not playerCoords then + if not vector or not playerCoords then return end local dist = #(playerCoords - vector) if dist > 424 then -- Onesync infinity Range (https://docs.fivem.net/docs/scripting-reference/onesync/) local executingResource = GetInvokingResource() or "Unknown" - return print(("[^1ERROR^7] Resource ^5%s^7 Tried to spawn vehicle on the client but the position is too far away (Out of onesync range)."):format(executing_resource)) + return print(("[^1ERROR^7] Resource ^5%s^7 Tried to spawn vehicle on the client but the position is too far away (Out of onesync range)."):format(executingResource)) end CreateThread(function() @@ -610,10 +609,10 @@ function ESX.Game.GetVehicleProperties(vehicle) local hasCustomXenonColor, customXenonColorR, customXenonColorG, customXenonColorB = GetVehicleXenonLightsCustomColor(vehicle) local customXenonColor = nil - if hasCustomXenonColor then + if hasCustomXenonColor then customXenonColor = {customXenonColorR, customXenonColorG, customXenonColorB} end - + local hasCustomSecondaryColor = GetIsVehicleSecondaryColourCustom(vehicle) local customSecondaryColor = nil if hasCustomSecondaryColor then @@ -675,7 +674,7 @@ function ESX.Game.GetVehicleProperties(vehicle) pearlescentColor = pearlescentColor, wheelColor = wheelColor, - + dashboardColor = dashboardColor, interiorColor = interiorColor, @@ -1027,6 +1026,17 @@ function ESX.Game.Utils.DrawText3D(coords, text, size, font) ClearDrawOrigin() end +---@param account string Account name (money/bank/black_money) +---@return table|nil +function ESX.GetAccount(account) + for i = 1, #ESX.PlayerData.accounts, 1 do + if ESX.PlayerData.accounts[i].name == account then + return ESX.PlayerData.accounts[i] + end + end + return nil +end + function ESX.ShowInventory() if not Config.EnableDefaultInventory then return @@ -1038,7 +1048,7 @@ function ESX.ShowInventory() } local currentWeight = 0 - for i=1, #(ESX.PlayerData.accounts) do + for i = 1, #(ESX.PlayerData.accounts) do if ESX.PlayerData.accounts[i].money > 0 then local formattedMoney = TranslateCap('locale_currency', ESX.Math.GroupDigits(ESX.PlayerData.accounts[i].money)) local canDrop = ESX.PlayerData.accounts[i].name ~= 'bank' @@ -1105,7 +1115,7 @@ function ESX.ShowInventory() icon = "fas fa-weight", title = "Current Weight: "..currentWeight } - + ESX.CloseContext() ESX.OpenContext("right", elements, function(menu,element) diff --git a/[core]/es_extended/client/main.lua b/[core]/es_extended/client/main.lua index 0c851b5f..f1c4e134 100644 --- a/[core]/es_extended/client/main.lua +++ b/[core]/es_extended/client/main.lua @@ -338,7 +338,7 @@ if not Config.OxInventory then RegisterNetEvent('esx:removeWeapon') AddEventHandler('esx:removeWeapon', function(weapon) local playerPed = ESX.PlayerData.ped - RemoveWeaponFromPed(ESX.PlayerData.ped, joaat(weapon)) + RemoveWeaponFromPed(playerPed, joaat(weapon)) SetPedAmmo(ESX.PlayerData.ped, joaat(weapon), 0) end) diff --git a/[core]/es_extended/common/functions.lua b/[core]/es_extended/common/functions.lua index f8d65bde..afee79b8 100644 --- a/[core]/es_extended/common/functions.lua +++ b/[core]/es_extended/common/functions.lua @@ -77,7 +77,7 @@ function ESX.DumpTable(table, nb) end s = '{\n' - for k,v in pairs(table) do + for k, v in pairs(table) do if type(k) ~= 'number' then k = '"'..k..'"' end for i = 1, nb, 1 do s = s .. " " diff --git a/[core]/es_extended/common/modules/table.lua b/[core]/es_extended/common/modules/table.lua index b2800c57..23a67821 100644 --- a/[core]/es_extended/common/modules/table.lua +++ b/[core]/es_extended/common/modules/table.lua @@ -13,12 +13,12 @@ end function ESX.Table.Set(t) local set = {} - for k,v in ipairs(t) do set[v] = true end + for k, v in ipairs(t) do set[v] = true end return set end function ESX.Table.IndexOf(t, value) - for i=1, #t, 1 do + for i = 1, #t, 1 do if t[i] == value then return i end @@ -38,7 +38,7 @@ function ESX.Table.LastIndexOf(t, value) end function ESX.Table.Find(t, cb) - for i=1, #t, 1 do + for i = 1, #t, 1 do if cb(t[i]) then return t[i] end @@ -48,7 +48,7 @@ function ESX.Table.Find(t, cb) end function ESX.Table.FindIndex(t, cb) - for i=1, #t, 1 do + for i = 1, #t, 1 do if cb(t[i]) then return i end @@ -60,7 +60,7 @@ end function ESX.Table.Filter(t, cb) local newTable = {} - for i=1, #t, 1 do + for i = 1, #t, 1 do if cb(t[i]) then table.insert(newTable, t[i]) end @@ -72,7 +72,7 @@ end function ESX.Table.Map(t, cb) local newTable = {} - for i=1, #t, 1 do + for i = 1, #t, 1 do newTable[i] = cb(t[i], i) end @@ -95,7 +95,7 @@ function ESX.Table.Clone(t) local meta = getmetatable(t) local target = {} - for k,v in pairs(t) do + for k, v in pairs(t) do if type(v) == 'table' then target[k] = ESX.Table.Clone(v) else @@ -111,7 +111,7 @@ end function ESX.Table.Concat(t1, t2) local t3 = ESX.Table.Clone(t1) - for i=1, #t2, 1 do + for i = 1, #t2, 1 do table.insert(t3, t2[i]) end @@ -122,7 +122,7 @@ function ESX.Table.Join(t, sep) local sep = sep or ',' local str = '' - for i=1, #t, 1 do + for i = 1, #t, 1 do if i > 1 then str = str .. sep end diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index e0788424..a4ba2204 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -129,7 +129,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, local minimalAccounts = {} - for i=1, #self.accounts do + for i = 1, #self.accounts do minimalAccounts[self.accounts[i].name] = self.accounts[i].money end @@ -137,11 +137,12 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end function self.getAccount(account) - for i=1, #self.accounts do + for i = 1, #self.accounts do if self.accounts[i].name == account then return self.accounts[i] end end + return nil end function self.getInventory(minimal) @@ -170,7 +171,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end local minimalLoadout = {} - for k,v in ipairs(self.loadout) do + for k, v in ipairs(self.loadout) do minimalLoadout[v.name] = {ammo = v.ammo} if v.tintIndex > 0 then minimalLoadout[v.name].tintIndex = v.tintIndex end @@ -270,7 +271,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end function self.getInventoryItem(name, metadata) - for k,v in ipairs(self.inventory) do + for k, v in ipairs(self.inventory) do if v.name == name then return v end @@ -477,7 +478,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, function self.removeWeapon(weaponName) local weaponLabel - for k,v in ipairs(self.loadout) do + for k, v in ipairs(self.loadout) do if v.name == weaponName then weaponLabel = v.label @@ -504,7 +505,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, if component then if self.hasWeaponComponent(weaponName, weaponComponent) then - for k,v in ipairs(self.loadout[loadoutNum].components) do + for k, v in ipairs(self.loadout[loadoutNum].components) do if v == weaponComponent then table.remove(self.loadout[loadoutNum].components, k) break @@ -531,7 +532,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, local loadoutNum, weapon = self.getWeapon(weaponName) if weapon then - for k,v in ipairs(weapon.components) do + for k, v in ipairs(weapon.components) do if v == weaponComponent then return true end @@ -544,7 +545,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end function self.hasWeapon(weaponName) - for k,v in ipairs(self.loadout) do + for k, v in ipairs(self.loadout) do if v.name == weaponName then return true end @@ -554,7 +555,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end function self.hasItem(item, metadata) - for k,v in ipairs(self.inventory) do + for k, v in ipairs(self.inventory) do if (v.name == item) and (v.count >= 1) then return v, v.count end @@ -564,7 +565,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end function self.getWeapon(weaponName) - for k,v in ipairs(self.loadout) do + for k, v in ipairs(self.loadout) do if v.name == weaponName then return k, v end diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index b89ae36a..3c15eacf 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -84,7 +84,7 @@ ESX.RegisterCommand({'cardel', 'dv'}, 'admin', function(xPlayer, args, showError DeleteEntity(PedVehicle) end local Vehicles = ESX.OneSync.GetVehiclesInArea(GetEntityCoords(GetPlayerPed(xPlayer.source)), tonumber(args.radius) or 5.0) - for i=1, #Vehicles do + for i = 1, #Vehicles do local Vehicle = NetworkGetEntityFromNetworkId(Vehicles[i]) if DoesEntityExist(Vehicle) then DeleteEntity(Vehicle) @@ -188,7 +188,7 @@ end, true, {help = TranslateCap('command_clearall')}) if not Config.OxInventory then ESX.RegisterCommand('clearinventory', 'admin', function(xPlayer, args, showError) - for k,v in ipairs(args.playerId.inventory) do + for k, v in ipairs(args.playerId.inventory) do if v.count > 0 then args.playerId.setInventoryItem(v.name, 0) end @@ -293,7 +293,7 @@ end, false) ESX.RegisterCommand('players', "admin", function(xPlayer, args, showError) local xPlayers = ESX.GetExtendedPlayers() -- Returns all xPlayers print("^5"..#xPlayers.." ^2online player(s)^0") - for i=1, #(xPlayers) do + for i = 1, #(xPlayers) do local xPlayer = xPlayers[i] print("^1[ ^2ID : ^5"..xPlayer.source.." ^0| ^2Name : ^5"..xPlayer.getName().." ^0 | ^2Group : ^5"..xPlayer.getGroup().." ^0 | ^2Identifier : ^5".. xPlayer.identifier .."^1]^0\n") end diff --git a/[core]/esx_identity/server/main.lua b/[core]/esx_identity/server/main.lua index b9513cee..0f30c2e5 100644 --- a/[core]/esx_identity/server/main.lua +++ b/[core]/esx_identity/server/main.lua @@ -338,7 +338,7 @@ else local xPlayers = ESX.GetExtendedPlayers() - for i=1, #(xPlayers) do + for i = 1, #(xPlayers) do if xPlayers[i] then checkIdentity(xPlayers[i]) end diff --git a/[core]/esx_menu_dialog/client/main.lua b/[core]/esx_menu_dialog/client/main.lua index 2720c412..2d5bfd0d 100644 --- a/[core]/esx_menu_dialog/client/main.lua +++ b/[core]/esx_menu_dialog/client/main.lua @@ -1,7 +1,7 @@ local Timeouts, OpenedMenus, MenuType = {}, {}, 'dialog' local function openMenu(namespace, name, data) - for i=1, #Timeouts, 1 do + for i = 1, #Timeouts, 1 do ESX.ClearTimeout(Timeouts[i]) end diff --git a/[core]/esx_menu_list/client/main.lua b/[core]/esx_menu_list/client/main.lua index 4d0af0c9..d4c45483 100644 --- a/[core]/esx_menu_list/client/main.lua +++ b/[core]/esx_menu_list/client/main.lua @@ -28,7 +28,7 @@ CreateThread(function() name = name, }) - for k,v in pairs(OpenedMenus) do + for k, v in pairs(OpenedMenus) do if v then OpenedMenuCount = OpenedMenuCount + 1 end diff --git a/[core]/esx_multicharacter/client/main.lua b/[core]/esx_multicharacter/client/main.lua index 4cb35486..7d3bdc01 100644 --- a/[core]/esx_multicharacter/client/main.lua +++ b/[core]/esx_multicharacter/client/main.lua @@ -185,7 +185,7 @@ if ESX.GetConfig().Multichar then function SelectCharacterMenu(Characters, slots) local Character = next(Characters) local elements = {{title = TranslateCap('select_char') , icon = "fa-solid fa-users", description = TranslateCap('select_char_description') , unselectable = true}} - for k,v in pairs(Characters) do + for k, v in pairs(Characters) do if not v.model and v.skin then if v.skin.model then v.model = v.skin.model elseif v.skin.sex == 1 then v.model = mp_f_freemode_01 else v.model = mp_m_freemode_01 end end diff --git a/[core]/esx_skin/client/main.lua b/[core]/esx_skin/client/main.lua index 086a8cdf..367e27a6 100644 --- a/[core]/esx_skin/client/main.lua +++ b/[core]/esx_skin/client/main.lua @@ -16,11 +16,11 @@ function OpenMenu(submitCb, cancelCb, restrict) -- Restrict menu if restrict == nil then - for i=1, #components, 1 do + for i = 1, #components, 1 do _components[i] = components[i] end else - for i=1, #components, 1 do + for i = 1, #components, 1 do local found = false for j=1, #restrict, 1 do @@ -35,7 +35,7 @@ function OpenMenu(submitCb, cancelCb, restrict) end end -- Insert elements - for i=1, #_components, 1 do + for i = 1, #_components, 1 do local value = _components[i].value local componentId = _components[i].componentId @@ -54,7 +54,7 @@ function OpenMenu(submitCb, cancelCb, restrict) type = 'slider' } - for k,v in pairs(maxVals) do + for k, v in pairs(maxVals) do if k == _components[i].name then data.max = v break @@ -104,7 +104,7 @@ function OpenMenu(submitCb, cancelCb, restrict) local newData = {} - for i=1, #elements, 1 do + for i = 1, #elements, 1 do newData = {} newData.max = maxVals[elements[i].name] From 5172029c89adaa7199a64142c39a58b21e7c37c3 Mon Sep 17 00:00:00 2001 From: 0xDEMXN <15928886+0xDEMXN@users.noreply.github.com> Date: Thu, 11 May 2023 01:55:02 +0200 Subject: [PATCH 116/236] fix: multicharacter commands --- [core]/esx_multicharacter/locales/cs.lua | 3 +-- [core]/esx_multicharacter/locales/da.lua | 3 +-- [core]/esx_multicharacter/locales/en.lua | 3 +-- [core]/esx_multicharacter/locales/es.lua | 3 +-- [core]/esx_multicharacter/locales/fr.lua | 3 +-- [core]/esx_multicharacter/locales/hu.lua | 3 +-- [core]/esx_multicharacter/locales/it.lua | 3 +-- [core]/esx_multicharacter/locales/nl.lua | 3 +-- [core]/esx_multicharacter/locales/pt.lua | 3 +-- [core]/esx_multicharacter/server/commands.lua | 18 +++--------------- 10 files changed, 12 insertions(+), 33 deletions(-) diff --git a/[core]/esx_multicharacter/locales/cs.lua b/[core]/esx_multicharacter/locales/cs.lua index f02f14c4..e566f490 100644 --- a/[core]/esx_multicharacter/locales/cs.lua +++ b/[core]/esx_multicharacter/locales/cs.lua @@ -20,8 +20,7 @@ Locales['cs'] = { ['command_charslot'] = "Číslo slotu", ['command_identifier'] = "Identifier hráče", ['command_slots'] = "# ze slotu", - ['slotsadd'] = "Přidal slot %s hráči %s", - ['slotsedit'] = "Nastavil si slot %s hráči %s", + ['slotsadd'] = "Nastavil si slot %s hráči %s", ['slotsrem'] = "Odebral si slot %s", ['charenabled'] = "Povolil si postavu #%s z %s", ['chardisabled'] = "Zakázal si postavu #%s z %s", diff --git a/[core]/esx_multicharacter/locales/da.lua b/[core]/esx_multicharacter/locales/da.lua index 648138cf..74ce2895 100644 --- a/[core]/esx_multicharacter/locales/da.lua +++ b/[core]/esx_multicharacter/locales/da.lua @@ -24,8 +24,7 @@ Locales["da"] = { ["command_charslot"] = "Karakterens plads nummer", ["command_identifier"] = "Spiller-id", ["command_slots"] = "# af slots", - ["slotsadd"] = "Du føjede %s slots til %s", - ["slotsedit"] = "Du indstillerde %s slots til %s", + ["slotsadd"] = "Du indstillerde %s slots til %s", ["slotsrem"] = "Du fjernede slots til %s", ["charenabled"] = "Du aktiverede karakter #%s af %s", ["chardisabled"] = "Du deaktiverede tegn #%s af %s", diff --git a/[core]/esx_multicharacter/locales/en.lua b/[core]/esx_multicharacter/locales/en.lua index d796ec32..76be7047 100644 --- a/[core]/esx_multicharacter/locales/en.lua +++ b/[core]/esx_multicharacter/locales/en.lua @@ -24,8 +24,7 @@ Locales["en"] = { ["command_charslot"] = "Slot number of the character", ["command_identifier"] = "Player identifier", ["command_slots"] = "# of slots", - ["slotsadd"] = "You added %s slots to %s", - ["slotsedit"] = "You set %s slots to %s", + ["slotsadd"] = "You set %s slots to %s", ["slotsrem"] = "You removed slots to %s", ["charenabled"] = "You enabled character #%s of %s", ["chardisabled"] = "You disabled character #%s of %s", diff --git a/[core]/esx_multicharacter/locales/es.lua b/[core]/esx_multicharacter/locales/es.lua index 4bef70ed..7c97a731 100644 --- a/[core]/esx_multicharacter/locales/es.lua +++ b/[core]/esx_multicharacter/locales/es.lua @@ -20,8 +20,7 @@ Locales["es"] = { ["command_charslot"] = "Número de espacio del personaje", ["command_identifier"] = "Identificador del jugador", ["command_slots"] = "Nº de espacios", - ["slotsadd"] = "Has añadido %s espacios a %s", - ["slotsedit"] = "Has establecido los espacios de %s a %s", + ["slotsadd"] = "Has establecido los espacios de %s a %s", ["slotsrem"] = "Has eliminado espacios a %s", ["charenabled"] = "Has habilitado el personaje Nº%s de %s", ["chardisabled"] = "Has deshabilitado el personaje Nº%s de %s", diff --git a/[core]/esx_multicharacter/locales/fr.lua b/[core]/esx_multicharacter/locales/fr.lua index 4d058556..5309ef76 100644 --- a/[core]/esx_multicharacter/locales/fr.lua +++ b/[core]/esx_multicharacter/locales/fr.lua @@ -17,8 +17,7 @@ Locales["fr"] = { ["command_charslot"] = "Numéro d\'emplacement du caractère", ["command_identifier"] = "Identifiant du joueur", ["command_slots"] = "# de slots", - ["slotsadd"] = "Vous avez ajouté %s slots à %s", - ["slotsedit"] = "Vous avez défini %s slots à %s", + ["slotsadd"] = "Vous avez défini %s slots à %s", ["slotsrem"] = "Vous avez suprimé les slots à %s", ["charenabled"] = "Vous avez activé le personnage #%s de %s", ["chardisabled"] = "Vous avez désactivé le personnage #%s de %s", diff --git a/[core]/esx_multicharacter/locales/hu.lua b/[core]/esx_multicharacter/locales/hu.lua index f6d45163..7b5a6861 100644 --- a/[core]/esx_multicharacter/locales/hu.lua +++ b/[core]/esx_multicharacter/locales/hu.lua @@ -24,8 +24,7 @@ Locales["hu"] = { ["command_charslot"] = "Karakter slotok számának beállítása", ["command_identifier"] = "Játékos identifier", ["command_slots"] = "# slotok", - ["slotsadd"] = "Adtál %s slotokat, neki %s", - ["slotsedit"] = "Beállítottad %s slotokat, neki %s", + ["slotsadd"] = "Beállítottad %s slotokat, neki %s", ["slotsrem"] = "Eltávolítottad a következő slotokat: %s", ["charenabled"] = "Karakter engedélyezve #%s-ból/ből %s", ["chardisabled"] = "Karakter letiltva #%s-ból/ből %s", diff --git a/[core]/esx_multicharacter/locales/it.lua b/[core]/esx_multicharacter/locales/it.lua index 384fcf4f..36316e85 100644 --- a/[core]/esx_multicharacter/locales/it.lua +++ b/[core]/esx_multicharacter/locales/it.lua @@ -17,8 +17,7 @@ Locales['it'] = { ['command_charslot'] = "Numero dello slot del personaggio", ['command_identifier'] = "Identifier del giocatore", ['command_slots'] = "# di slot", - ['slotsadd'] = "Hai aggiunto %s slot a %s", - ['slotsedit'] = "Hai impostato %s slot a %s", + ['slotsadd'] = "Hai impostato %s slot a %s", ['slotsrem'] = "Hai rimosso gli slot a %s", ['charenabled'] = "Hai abilitato il %s° personaggio di %s", ['chardisabled'] = "Hai disabilitato il %s° personaggio di %s", diff --git a/[core]/esx_multicharacter/locales/nl.lua b/[core]/esx_multicharacter/locales/nl.lua index d45872c5..59a6eea1 100644 --- a/[core]/esx_multicharacter/locales/nl.lua +++ b/[core]/esx_multicharacter/locales/nl.lua @@ -24,8 +24,7 @@ Locales["nl"] = { ["command_charslot"] = "Slotnummer van het personage", ["command_identifier"] = "Speler identifier", ["command_slots"] = "# van de slots", - ["slotsadd"] = "Je hebt %s slots toegevoegd aan %s", - ["slotsedit"] = "Je hebt %s slots gezet naar %s", + ["slotsadd"] = "Je hebt %s slots gezet naar %s", ["slotsrem"] = "Je hebt slots verwijderd naar %s", ["charenabled"] = "Je hebt karakter #%s ingeschakeld van %s", ["chardisabled"] = "Je hebt karakter #%s uitgeschakeld van %s", diff --git a/[core]/esx_multicharacter/locales/pt.lua b/[core]/esx_multicharacter/locales/pt.lua index f2768283..354f0291 100644 --- a/[core]/esx_multicharacter/locales/pt.lua +++ b/[core]/esx_multicharacter/locales/pt.lua @@ -17,8 +17,7 @@ Locales['pt'] = { ['command_charslot'] = "Número do slot do personagem", ['command_identifier'] = "Identificador do jogador", ['command_slots'] = "# de slots", - ['slotsadd'] = "Você adcionou %s slots para %s", - ['slotsedit'] = "Você definiu %s slots para %s", + ['slotsadd'] = "Você definiu %s slots para %s", ['slotsrem'] = "Você removeu slots de %s", ['charenabled'] = "Você ativou o personagem #%s de %s", ['chardisabled'] = "Você desativou o personagem #%s de %s", diff --git a/[core]/esx_multicharacter/server/commands.lua b/[core]/esx_multicharacter/server/commands.lua index 02dcdb18..67fb5b04 100644 --- a/[core]/esx_multicharacter/server/commands.lua +++ b/[core]/esx_multicharacter/server/commands.lua @@ -1,28 +1,16 @@ ESX.RegisterCommand('setslots', 'admin', function(xPlayer, args, showError) - local slots = MySQL.scalar('SELECT `slots` FROM `multicharacter_slots` WHERE identifier = ?', { - args.identifier - }) - - if not slots then - MySQL.update('INSERT INTO `multicharacter_slots` (`identifier`, `slots`) VALUES (?, ?)', { + MySQL.insert('INSERT INTO `multicharacter_slots` (`identifier`, `slots`) VALUES (?, ?) ON DUPLICATE KEY UPDATE `slots` = VALUES(`slots`)', { args.identifier, - args.slots + args.slots, }) xPlayer.triggerEvent('esx:showNotification', TranslateCap('slotsadd', args.slots, args.identifier)) - else - MySQL.update('UPDATE `multicharacter_slots` SET `slots` = ? WHERE `identifier` = ?', { - args.slots, - args.identifier - }) - xPlayer.triggerEvent('esx:showNotification', TranslateCap('slotsedit', args.slots, args.identifier)) - end end, true, {help = TranslateCap('command_setslots'), validate = true, arguments = { {name = 'identifier', help = TranslateCap('command_identifier'), type = 'string'}, {name = 'slots', help = TranslateCap('command_slots'), type = 'number'} }}) ESX.RegisterCommand('remslots', 'admin', function(xPlayer, args, showError) - local slots = MySQL.scalar('SELECT `slots` FROM `multicharacter_slots` WHERE identifier = ?', { + local slots = MySQL.scalar.await('SELECT `slots` FROM `multicharacter_slots` WHERE identifier = ?', { args.identifier }) From 349bb41e7373acd814e6c6098e6deeba57bfc035 Mon Sep 17 00:00:00 2001 From: FekyDEV <71899549+FekyDEV@users.noreply.github.com> Date: Fri, 12 May 2023 22:55:40 +0200 Subject: [PATCH 117/236] Added option to externally cancel progress bar Personally, I think this feature should have been here a long time ago. I hope that adding this code will help players in the future and if anyone here has a suggestion for a code change feel free to comment. --- [core]/esx_progressbar/Progress.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/[core]/esx_progressbar/Progress.lua b/[core]/esx_progressbar/Progress.lua index 96a638fb..08923692 100644 --- a/[core]/esx_progressbar/Progress.lua +++ b/[core]/esx_progressbar/Progress.lua @@ -1,4 +1,5 @@ local CurrentProgress = nil + local function Progressbar(message,length,Options) if CurrentProgress then return false @@ -34,9 +35,8 @@ local function Progressbar(message,length,Options) end end -ESX.RegisterInput("cancelprog", "[ProgressBar] Cancel Progressbar", "keyboard", "BACK", function() +local function CancelProgressbar() if not CurrentProgress then return end - if not CurrentProgress.onCancel then return end SendNUIMessage({ type = "Close" }) @@ -44,7 +44,12 @@ ESX.RegisterInput("cancelprog", "[ProgressBar] Cancel Progressbar", "keyboard", if CurrentProgress.FreezePlayer then FreezeEntityPosition(PlayerPedId(), false) end CurrentProgress.canceled = true CurrentProgress.length = 0 - CurrentProgress.onCancel() CurrentProgress = nil +end + +ESX.RegisterInput("cancelprog", "[ProgressBar] Cancel Progressbar", "keyboard", "BACK", function() + CancelProgressbar() end) + exports('Progressbar', Progressbar) +exports('CancelProgressbar', CancelProgressbar) From d979ba4ae8a242c83aed9963b3a37447e2d27719 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Fri, 12 May 2023 23:09:38 +0200 Subject: [PATCH 118/236] Update Progress.lua --- [core]/esx_progressbar/Progress.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/[core]/esx_progressbar/Progress.lua b/[core]/esx_progressbar/Progress.lua index 08923692..3336e4a1 100644 --- a/[core]/esx_progressbar/Progress.lua +++ b/[core]/esx_progressbar/Progress.lua @@ -47,9 +47,7 @@ local function CancelProgressbar() CurrentProgress = nil end -ESX.RegisterInput("cancelprog", "[ProgressBar] Cancel Progressbar", "keyboard", "BACK", function() - CancelProgressbar() -end) +ESX.RegisterInput("cancelprog", "[ProgressBar] Cancel Progressbar", "keyboard", "BACK", CancelProgressbar) exports('Progressbar', Progressbar) exports('CancelProgressbar', CancelProgressbar) From ace6090849bcbbb07623def9fba3fe480abbfad8 Mon Sep 17 00:00:00 2001 From: copium <79623528+AzSumPesho@users.noreply.github.com> Date: Mon, 15 May 2023 01:06:54 +0300 Subject: [PATCH 119/236] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 16609cf8..6db69c2e 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@

Discord - Website - Documentation

Want more resources? You can browse the ESX Community Github or Cfx.re Releases board for more! -

ESX is the leading framework, trusted By thousands of commmunitys for the heighest quality roleplay servers on FiveM

+

ESX is the leading framework, trusted By thousands of commmunitys for the highest quality roleplay servers on FiveM


From 696277d5bbb2dfb9656b18a049bf3a431c3abfb1 Mon Sep 17 00:00:00 2001 From: thesysadmindev Date: Mon, 15 May 2023 10:41:02 +1000 Subject: [PATCH 120/236] Added Paycheck Logging Added a config variable to config.lua to enable/disable paycheck logging to Discord, added config option to config.logs.lua for Discord webhook and added function into paycheck.lua to send data to webhook containing paycheck information. --- [core]/es_extended/config.logs.lua | 3 ++- [core]/es_extended/config.lua | 1 + [core]/es_extended/server/paycheck.lua | 29 ++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/[core]/es_extended/config.logs.lua b/[core]/es_extended/config.logs.lua index b58a8fed..34f91641 100644 --- a/[core]/es_extended/config.logs.lua +++ b/[core]/es_extended/config.logs.lua @@ -4,7 +4,8 @@ Config.DiscordLogs = { test = '', Chat = '', UserActions = '', - Resources = '' + Resources = '', + Paycheck = '' }, Colors = { -- https://www.spycolor.com/ diff --git a/[core]/es_extended/config.lua b/[core]/es_extended/config.lua index cb13fb33..62b38a21 100644 --- a/[core]/es_extended/config.lua +++ b/[core]/es_extended/config.lua @@ -21,6 +21,7 @@ Config.StartingAccountMoney = {bank = 50000} Config.DefaultSpawn = {x = -269.4, y = -955.3, z = 31.2, heading = 205.8} Config.EnablePaycheck = true -- enable paycheck +Config.LogPaycheck = false -- Logs paychecks to a nominated Discord channel via webhook (default is false) Config.EnableSocietyPayouts = false -- pay from the society account that the player is employed at? Requirement: esx_society Config.MaxWeight = 24 -- the max inventory weight without backpack Config.PaycheckInterval = 7 * 60000 -- how often to recieve pay checks in milliseconds diff --git a/[core]/es_extended/server/paycheck.lua b/[core]/es_extended/server/paycheck.lua index 1f234a57..ba5b776b 100644 --- a/[core]/es_extended/server/paycheck.lua +++ b/[core]/es_extended/server/paycheck.lua @@ -4,6 +4,7 @@ function StartPayCheck() Wait(Config.PaycheckInterval) for player, xPlayer in pairs(ESX.Players) do + local jobLabel = xPlayer.job.label local job = xPlayer.job.grade_name local salary = xPlayer.job.grade_salary @@ -12,6 +13,13 @@ function StartPayCheck() xPlayer.addAccountMoney('bank', salary, "Welfare Check") TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), TranslateCap('received_paycheck'), TranslateCap('received_help', salary), 'CHAR_BANK_MAZE', 9) + if Config.LogPaycheck then + ESX.DiscordLogFields("Paycheck", "Paycheck - Unemployment Benefits", "green", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Amount", value = salary, inline = true} + }) + end elseif Config.EnableSocietyPayouts then -- possibly a society TriggerEvent('esx_society:getSociety', xPlayer.job.name, function(society) if society ~= nil then -- verified society @@ -19,6 +27,13 @@ function StartPayCheck() if account.money >= salary then -- does the society money to pay its employees? xPlayer.addAccountMoney('bank', salary, "Paycheck") account.removeMoney(salary) + if Config.LogPaycheck then + ESX.DiscordLogFields("Paycheck", "Paycheck - "..jobLabel, "green", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Amount", value = salary, inline = true} + }) + end TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), TranslateCap('received_paycheck'), TranslateCap('received_salary', salary), 'CHAR_BANK_MAZE', 9) @@ -28,12 +43,26 @@ function StartPayCheck() end) else -- not a society xPlayer.addAccountMoney('bank', salary, "Paycheck") + if Config.LogPaycheck then + ESX.DiscordLogFields("Paycheck", "Paycheck - "..jobLabel, "green", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Amount", value = salary, inline = true} + }) + end TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), TranslateCap('received_paycheck'), TranslateCap('received_salary', salary), 'CHAR_BANK_MAZE', 9) end end) else -- generic job xPlayer.addAccountMoney('bank', salary, "Paycheck") + if Config.LogPaycheck then + ESX.DiscordLogFields("Paycheck", "Paycheck - Generic", "green", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Amount", value = salary, inline = true} + }) + end TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), TranslateCap('received_paycheck'), TranslateCap('received_salary', salary), 'CHAR_BANK_MAZE', 9) end From 7c93194833964ed0db47e4ea9a05f6a5064d9973 Mon Sep 17 00:00:00 2001 From: 0xDEMXN <15928886+0xDEMXN@users.noreply.github.com> Date: Mon, 15 May 2023 14:24:31 +0200 Subject: [PATCH 121/236] chore: uniform locales quotes to avoid escaping apoostrophes --- [core]/es_extended/locales/cs.lua | 612 +++++++++--------- [core]/es_extended/locales/da.lua | 622 +++++++++---------- [core]/es_extended/locales/de.lua | 622 +++++++++---------- [core]/es_extended/locales/en.lua | 622 +++++++++---------- [core]/es_extended/locales/es.lua | 610 +++++++++--------- [core]/es_extended/locales/fi.lua | 416 ++++++------- [core]/es_extended/locales/fr.lua | 420 ++++++------- [core]/es_extended/locales/hu.lua | 16 +- [core]/es_extended/locales/it.lua | 622 +++++++++---------- [core]/es_extended/locales/nl.lua | 622 +++++++++---------- [core]/es_extended/locales/pl.lua | 416 ++++++------- [core]/es_extended/locales/sl.lua | 622 +++++++++---------- [core]/es_extended/locales/sr.lua | 622 +++++++++---------- [core]/es_extended/locales/zh-cn.lua | 622 +++++++++---------- [core]/esx_identity/locales/cs.lua | 18 +- [core]/esx_identity/locales/da.lua | 72 +-- [core]/esx_identity/locales/en.lua | 72 +-- [core]/esx_identity/locales/es.lua | 30 +- [core]/esx_identity/locales/fi.lua | 18 +- [core]/esx_identity/locales/fr.lua | 72 +-- [core]/esx_identity/locales/it.lua | 72 +-- [core]/esx_identity/locales/nl.lua | 72 +-- [core]/esx_identity/locales/pl.lua | 18 +- [core]/esx_identity/locales/pt.lua | 72 +-- [core]/esx_identity/locales/sl.lua | 72 +-- [core]/esx_identity/locales/sr.lua | 72 +-- [core]/esx_multicharacter/html/locales/hu.js | 12 +- [core]/esx_multicharacter/locales/es.lua | 52 +- [core]/esx_multicharacter/locales/fr.lua | 12 +- [core]/esx_skin/locales/da.lua | 8 +- [core]/esx_skin/locales/en.lua | 8 +- [core]/esx_skin/locales/es.lua | 8 +- [core]/esx_skin/locales/fi.lua | 8 +- [core]/esx_skin/locales/fr.lua | 8 +- [core]/esx_skin/locales/it.lua | 8 +- [core]/esx_skin/locales/nl.lua | 8 +- [core]/esx_skin/locales/pl.lua | 8 +- [core]/esx_skin/locales/pt.lua | 8 +- [core]/esx_skin/locales/sl.lua | 8 +- [core]/esx_skin/locales/sr.lua | 8 +- [core]/esx_skin/locales/zh-cn.lua | 8 +- [core]/skinchanger/locales/da.lua | 196 +++--- [core]/skinchanger/locales/en.lua | 196 +++--- [core]/skinchanger/locales/es.lua | 196 +++--- [core]/skinchanger/locales/fi.lua | 148 ++--- [core]/skinchanger/locales/fr.lua | 186 +++--- [core]/skinchanger/locales/it.lua | 196 +++--- [core]/skinchanger/locales/nl.lua | 196 +++--- [core]/skinchanger/locales/pl.lua | 200 +++--- [core]/skinchanger/locales/pt.lua | 196 +++--- [core]/skinchanger/locales/sl.lua | 196 +++--- [core]/skinchanger/locales/sr.lua | 196 +++--- 52 files changed, 5200 insertions(+), 5200 deletions(-) diff --git a/[core]/es_extended/locales/cs.lua b/[core]/es_extended/locales/cs.lua index 417ee851..ef2a54d2 100644 --- a/[core]/es_extended/locales/cs.lua +++ b/[core]/es_extended/locales/cs.lua @@ -1,359 +1,359 @@ Locales['cs'] = { -- Inventory - ['inventory'] = 'Inventář ( Váha %s / %s )', - ['use'] = 'Použít', - ['give'] = 'Darovat', - ['remove'] = 'Odhodit', - ['return'] = 'Vrátit', - ['give_to'] = 'Darováno', - ['amount'] = 'Počet', - ['giveammo'] = 'Podat náboje', - ['amountammo'] = 'Počet nábojů', - ['noammo'] = 'Nedostatek!', - ['gave_item'] = 'Daroval %sx %s pro %s', - ['received_item'] = 'Získáno %sx %s od %s', - ['gave_weapon'] = 'Předání %s pro %s', - ['gave_weapon_ammo'] = 'Darování ~o~%sx %s do %s pro %s', - ['gave_weapon_withammo'] = 'Darování %s s ~o~%sx %s pro %s', - ['gave_weapon_hasalready'] = '%s již vlastní %s', - ['gave_weapon_noweapon'] = '%s nemá tuto zbraň', - ['received_weapon'] = 'Obdrženo %s od %s', - ['received_weapon_ammo'] = 'Obdrženo ~o~%sx %s pro zbraň %s od %s', - ['received_weapon_withammo'] = 'Obdrženo %s s ~o~%sx %s od %s', - ['received_weapon_hasalready'] = '%s se snažil darovat %s, ale již tuto zbraň máš', - ['received_weapon_noweapon'] = '%s se snažil ti dát náboje %s, ale nemáš potřebnou zbrań', - ['gave_account_money'] = 'Darováno $%s (%s) pro %s', - ['received_account_money'] = 'Získáno $%s (%s) od %s', - ['amount_invalid'] = 'Špatné množství', - ['players_nearby'] = 'Žádný hráč není poblíž', - ['ex_inv_lim'] = 'Nelze sebrat,protože máš plné kapsy %s', - ['imp_invalid_quantity'] = 'Neplatné množství', - ['imp_invalid_amount'] = 'Nelze provést, neplatné množství', - ['threw_standard'] = 'Zahozeno %sx %s', - ['threw_account'] = 'Zahozeno $%s %s', - ['threw_weapon'] = 'Zahozeno %s', - ['threw_weapon_ammo'] = 'Zahozeno %s s ~o~%sx %s', - ['threw_weapon_already'] = 'Již vlastníš tuto zbraň', - ['threw_cannot_pickup'] = 'Kapsy máš plné, nemůžeš sebrat!', - ['threw_pickup_prompt'] = 'Zmáčkni E pro sebrání!', + ['inventory'] = "Inventář ( Váha %s / %s )", + ['use'] = "Použít", + ['give'] = "Darovat", + ['remove'] = "Odhodit", + ['return'] = "Vrátit", + ['give_to'] = "Darováno", + ['amount'] = "Počet", + ['giveammo'] = "Podat náboje", + ['amountammo'] = "Počet nábojů", + ['noammo'] = "Nedostatek!", + ['gave_item'] = "Daroval %sx %s pro %s", + ['received_item'] = "Získáno %sx %s od %s", + ['gave_weapon'] = "Předání %s pro %s", + ['gave_weapon_ammo'] = "Darování ~o~%sx %s do %s pro %s", + ['gave_weapon_withammo'] = "Darování %s s ~o~%sx %s pro %s", + ['gave_weapon_hasalready'] = "%s již vlastní %s", + ['gave_weapon_noweapon'] = "%s nemá tuto zbraň", + ['received_weapon'] = "Obdrženo %s od %s", + ['received_weapon_ammo'] = "Obdrženo ~o~%sx %s pro zbraň %s od %s", + ['received_weapon_withammo'] = "Obdrženo %s s ~o~%sx %s od %s", + ['received_weapon_hasalready'] = "%s se snažil darovat %s, ale již tuto zbraň máš", + ['received_weapon_noweapon'] = "%s se snažil ti dát náboje %s, ale nemáš potřebnou zbrań", + ['gave_account_money'] = "Darováno $%s (%s) pro %s", + ['received_account_money'] = "Získáno $%s (%s) od %s", + ['amount_invalid'] = "Špatné množství", + ['players_nearby'] = "Žádný hráč není poblíž", + ['ex_inv_lim'] = "Nelze sebrat,protože máš plné kapsy %s", + ['imp_invalid_quantity'] = "Neplatné množství", + ['imp_invalid_amount'] = "Nelze provést, neplatné množství", + ['threw_standard'] = "Zahozeno %sx %s", + ['threw_account'] = "Zahozeno $%s %s", + ['threw_weapon'] = "Zahozeno %s", + ['threw_weapon_ammo'] = "Zahozeno %s s ~o~%sx %s", + ['threw_weapon_already'] = "Již vlastníš tuto zbraň", + ['threw_cannot_pickup'] = "Kapsy máš plné, nemůžeš sebrat!", + ['threw_pickup_prompt'] = "Zmáčkni E pro sebrání!", -- Key mapping - ['keymap_showinventory'] = 'Otevřít inventář', + ['keymap_showinventory'] = "Otevřít inventář", -- Salary related - ['received_salary'] = 'Obdržel jsi: $%s', - ['received_help'] = 'Obdržel jsi svůj podíl: $%s', - ['company_nomoney'] = 'Firma kde pracujete je příliš chudá, aby vám zaplatila', - ['received_paycheck'] = 'Obdržena platba', - ['bank'] = 'Banka', - ['account_bank'] = 'V bance', - ['account_black_money'] = 'Špináve peníze', - ['account_money'] = 'V kapse', + ['received_salary'] = "Obdržel jsi: $%s", + ['received_help'] = "Obdržel jsi svůj podíl: $%s", + ['company_nomoney'] = "Firma kde pracujete je příliš chudá, aby vám zaplatila", + ['received_paycheck'] = "Obdržena platba", + ['bank'] = "Banka", + ['account_bank'] = "V bance", + ['account_black_money'] = "Špináve peníze", + ['account_money'] = "V kapse", - ['act_imp'] = 'Nelze provést', - ['in_vehicle'] = 'Nelze provést, hráč je v autě', + ['act_imp'] = "Nelze provést", + ['in_vehicle'] = "Nelze provést, hráč je v autě", -- Commands - ['command_bring'] = 'Přivolat si hráče k sobě', - ['command_car'] = 'Spawnout vozidlo', - ['command_car_car'] = 'Zadej jméno vozidla nebo spawnname', - ['command_cardel'] = 'Odstranění vozidla v okolí', - ['command_cardel_radius'] = 'Odstranění vozidla v určeném dosahu', - ['command_clear'] = 'Vymazat text v chatu', - ['command_clearall'] = 'Vymazat chet pro všechny hráče', - ['command_clearinventory'] = 'Vymazat všechny věci z invetáře hráče', - ['command_clearloadout'] = 'Vymazat všechny zbraně z inventáře hráče', - ['command_freeze'] = 'Zmrazit hráče', - ['command_unfreeze'] = 'Odmrazit hráče', - ['command_giveaccountmoney'] = 'Poslat peníze na účet ', - ['command_giveaccountmoney_account'] = 'Převést peníze na účet', - ['command_giveaccountmoney_amount'] = 'Částka k poslání', - ['command_giveaccountmoney_invalid'] = 'Neplátné jméno', - ['command_giveitem'] = 'Darovat věc hráči', - ['command_giveitem_item'] = 'Název věci', - ['command_giveitem_count'] = 'Množství', - ['command_giveweapon'] = 'Dát zbraň hráči', - ['command_giveweapon_weapon'] = 'Název zbraně', - ['command_giveweapon_ammo'] = 'Množství náboje', - ['command_giveweapon_hasalready'] = 'Hráč již má tuto zbraň', - ['command_giveweaponcomponent'] = 'Darovat přídavek na zbraň', - ['command_giveweaponcomponent_component'] = 'Název zbraně', - ['command_giveweaponcomponent_invalid'] = 'Špatné jméno přídavku', - ['command_giveweaponcomponent_hasalready'] = 'Hráč již má tento přídavek', - ['command_giveweaponcomponent_missingweapon'] = 'Hráč nemá tuto zbrań', - ['command_goto'] = 'Teleportování sebe k hráči', - ['command_kill'] = 'Zabití hráče', - ['command_save'] = 'Uložení dat hráče', - ['command_saveall'] = 'Uložení veškerých dat hráče', - ['command_setaccountmoney'] = 'Nastavení určeného počtu peněz', - ['command_setaccountmoney_amount'] = 'Počet peněz', - ['command_setcoords'] = 'Teleportování na určené souřadnice', - ['command_setcoords_x'] = 'Hodnota X', - ['command_setcoords_y'] = 'Hodnota Y', - ['command_setcoords_z'] = 'Hodnota Z', - ['command_setjob'] = 'Nastavit práci hráči', - ['command_setjob_job'] = 'Název práce', - ['command_setjob_grade'] = 'Pozice ve firmě', - ['command_setjob_invalid'] = 'Špatné zadání práce,hodnosti nebo i obou hodnot', - ['command_setgroup'] = 'Nastavení práv hráči', - ['command_setgroup_group'] = 'Název skupiny', - ['commanderror_argumentmismatch'] = 'Chybný počet hodnot (správně %s, potřebných %s)', - ['commanderror_argumentmismatch_number'] = 'Chybně zadaná hodnot #%s (správně, špatně)', - ['commanderror_invaliditem'] = 'Špatný předmět', - ['commanderror_invalidweapon'] = 'Špatná zbraň', - ['commanderror_console'] = 'příkaz nelze být zpracován v konzoli', - ['commanderror_invalidcommand'] = 'Špatný příakz - /%s', - ['commanderror_invalidplayerid'] = 'Hráč není dostupný', - ['commandgeneric_playerid'] = 'Id hráče', - ['command_giveammo_noweapon_found'] = '%s nemá tuto zbraň', - ['command_giveammo_weapon'] = 'Název zbraně', - ['command_giveammo_ammo'] = 'Počet nábojů', + ['command_bring'] = "Přivolat si hráče k sobě", + ['command_car'] = "Spawnout vozidlo", + ['command_car_car'] = "Zadej jméno vozidla nebo spawnname", + ['command_cardel'] = "Odstranění vozidla v okolí", + ['command_cardel_radius'] = "Odstranění vozidla v určeném dosahu", + ['command_clear'] = "Vymazat text v chatu", + ['command_clearall'] = "Vymazat chet pro všechny hráče", + ['command_clearinventory'] = "Vymazat všechny věci z invetáře hráče", + ['command_clearloadout'] = "Vymazat všechny zbraně z inventáře hráče", + ['command_freeze'] = "Zmrazit hráče", + ['command_unfreeze'] = "Odmrazit hráče", + ['command_giveaccountmoney'] = "Poslat peníze na účet ", + ['command_giveaccountmoney_account'] = "Převést peníze na účet", + ['command_giveaccountmoney_amount'] = "Částka k poslání", + ['command_giveaccountmoney_invalid'] = "Neplátné jméno", + ['command_giveitem'] = "Darovat věc hráči", + ['command_giveitem_item'] = "Název věci", + ['command_giveitem_count'] = "Množství", + ['command_giveweapon'] = "Dát zbraň hráči", + ['command_giveweapon_weapon'] = "Název zbraně", + ['command_giveweapon_ammo'] = "Množství náboje", + ['command_giveweapon_hasalready'] = "Hráč již má tuto zbraň", + ['command_giveweaponcomponent'] = "Darovat přídavek na zbraň", + ['command_giveweaponcomponent_component'] = "Název zbraně", + ['command_giveweaponcomponent_invalid'] = "Špatné jméno přídavku", + ['command_giveweaponcomponent_hasalready'] = "Hráč již má tento přídavek", + ['command_giveweaponcomponent_missingweapon'] = "Hráč nemá tuto zbrań", + ['command_goto'] = "Teleportování sebe k hráči", + ['command_kill'] = "Zabití hráče", + ['command_save'] = "Uložení dat hráče", + ['command_saveall'] = "Uložení veškerých dat hráče", + ['command_setaccountmoney'] = "Nastavení určeného počtu peněz", + ['command_setaccountmoney_amount'] = "Počet peněz", + ['command_setcoords'] = "Teleportování na určené souřadnice", + ['command_setcoords_x'] = "Hodnota X", + ['command_setcoords_y'] = "Hodnota Y", + ['command_setcoords_z'] = "Hodnota Z", + ['command_setjob'] = "Nastavit práci hráči", + ['command_setjob_job'] = "Název práce", + ['command_setjob_grade'] = "Pozice ve firmě", + ['command_setjob_invalid'] = "Špatné zadání práce,hodnosti nebo i obou hodnot", + ['command_setgroup'] = "Nastavení práv hráči", + ['command_setgroup_group'] = "Název skupiny", + ['commanderror_argumentmismatch'] = "Chybný počet hodnot (správně %s, potřebných %s)", + ['commanderror_argumentmismatch_number'] = "Chybně zadaná hodnot #%s (správně, špatně)", + ['commanderror_invaliditem'] = "Špatný předmět", + ['commanderror_invalidweapon'] = "Špatná zbraň", + ['commanderror_console'] = "příkaz nelze být zpracován v konzoli", + ['commanderror_invalidcommand'] = "Špatný příakz - /%s", + ['commanderror_invalidplayerid'] = "Hráč není dostupný", + ['commandgeneric_playerid'] = "Id hráče", + ['command_giveammo_noweapon_found'] = "%s nemá tuto zbraň", + ['command_giveammo_weapon'] = "Název zbraně", + ['command_giveammo_ammo'] = "Počet nábojů", -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '£%s', + ['locale_digit_grouping_symbol'] = ",", + ['locale_currency'] = "£%s", -- Weapons -- Melee - ['weapon_dagger'] = 'Dýka', - ['weapon_bat'] = 'Baseballová pálka', - ['weapon_battleaxe'] = 'Bitevní sekera', - ['weapon_bottle'] = 'Rozbitá lahve', - ['weapon_crowbar'] = 'Páčidlo', - ['weapon_flashlight'] = 'Baterka', - ['weapon_golfclub'] = 'Golfová hůl', - ['weapon_hammer'] = 'Kladivo', - ['weapon_hatchet'] = 'Sekera', - ['weapon_knife'] = 'Nůž', - ['weapon_knuckle'] = 'Boxer', - ['weapon_machete'] = 'Mačeta', - ['weapon_nightstick'] = 'Policejní obušek', - ['weapon_wrench'] = 'Francouzský klíč', - ['weapon_poolcue'] = 'Kulečníkové tágo', - ['weapon_stone_hatchet'] = 'Kamenná sekera', - ['weapon_switchblade'] = 'Vystřelovací nůž', + ['weapon_dagger'] = "Dýka", + ['weapon_bat'] = "Baseballová pálka", + ['weapon_battleaxe'] = "Bitevní sekera", + ['weapon_bottle'] = "Rozbitá lahve", + ['weapon_crowbar'] = "Páčidlo", + ['weapon_flashlight'] = "Baterka", + ['weapon_golfclub'] = "Golfová hůl", + ['weapon_hammer'] = "Kladivo", + ['weapon_hatchet'] = "Sekera", + ['weapon_knife'] = "Nůž", + ['weapon_knuckle'] = "Boxer", + ['weapon_machete'] = "Mačeta", + ['weapon_nightstick'] = "Policejní obušek", + ['weapon_wrench'] = "Francouzský klíč", + ['weapon_poolcue'] = "Kulečníkové tágo", + ['weapon_stone_hatchet'] = "Kamenná sekera", + ['weapon_switchblade'] = "Vystřelovací nůž", -- Handguns - ['weapon_appistol'] = 'AP pistol', - ['weapon_ceramicpistol'] = 'Ceramic pistol', - ['weapon_combatpistol'] = 'Combat pistol', - ['weapon_doubleaction'] = 'Double-Action Revolver', - ['weapon_navyrevolver'] = 'Navy Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadget Pistol', - ['weapon_heavypistol'] = 'Heavy Pistol', - ['weapon_revolver'] = 'Heavy Revolver', - ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', - ['weapon_marksmanpistol'] = 'Marksman Pistol', - ['weapon_pistol'] = 'Pistol', - ['weapon_pistol_mk2'] = 'Pistol MK2', - ['weapon_pistol50'] = 'Pistol .50', - ['weapon_snspistol'] = 'SNS Pistol', - ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintage Pistol', + ['weapon_appistol'] = "AP pistol", + ['weapon_ceramicpistol'] = "Ceramic pistol", + ['weapon_combatpistol'] = "Combat pistol", + ['weapon_doubleaction'] = "Double-Action Revolver", + ['weapon_navyrevolver'] = "Navy Revolver", + ['weapon_flaregun'] = "Flaregun", + ['weapon_gadgetpistol'] = "Gadget Pistol", + ['weapon_heavypistol'] = "Heavy Pistol", + ['weapon_revolver'] = "Heavy Revolver", + ['weapon_revolver_mk2'] = "Heavy Revolver MK2", + ['weapon_marksmanpistol'] = "Marksman Pistol", + ['weapon_pistol'] = "Pistol", + ['weapon_pistol_mk2'] = "Pistol MK2", + ['weapon_pistol50'] = "Pistol .50", + ['weapon_snspistol'] = "SNS Pistol", + ['weapon_snspistol_mk2'] = "SNS Pistol MK2", + ['weapon_stungun'] = "Taser", + ['weapon_raypistol'] = "Up-N-Atomizer", + ['weapon_vintagepistol'] = "Vintage Pistol", -- Shotguns - ['weapon_assaultshotgun'] = 'Assault Shotgun', - ['weapon_autoshotgun'] = 'Auto Shotgun', - ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', - ['weapon_combatshotgun'] = 'Combat Shotgun', - ['weapon_dbshotgun'] = 'Double Barrel Shotgun', - ['weapon_heavyshotgun'] = 'Heavy Shotgun', - ['weapon_musket'] = 'Musket', - ['weapon_pumpshotgun'] = 'Pump Shotgun', - ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', - ['weapon_sawnoffshotgun'] = 'Sawed Off Shotgun', + ['weapon_assaultshotgun'] = "Assault Shotgun", + ['weapon_autoshotgun'] = "Auto Shotgun", + ['weapon_bullpupshotgun'] = "Bullpup Shotgun", + ['weapon_combatshotgun'] = "Combat Shotgun", + ['weapon_dbshotgun'] = "Double Barrel Shotgun", + ['weapon_heavyshotgun'] = "Heavy Shotgun", + ['weapon_musket'] = "Musket", + ['weapon_pumpshotgun'] = "Pump Shotgun", + ['weapon_pumpshotgun_mk2'] = "Pump Shotgun MK2", + ['weapon_sawnoffshotgun'] = "Sawed Off Shotgun", -- SMG & LMG - ['weapon_assaultsmg'] = 'Assault SMG', - ['weapon_combatmg'] = 'Combat MG', - ['weapon_combatmg_mk2'] = 'Combat MG MK2', - ['weapon_combatpdw'] = 'Combat PDW', - ['weapon_gusenberg'] = 'Gusenberg Sweeper', - ['weapon_machinepistol'] = 'Machine Pistol', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Micro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Unholy Hellbringer', + ['weapon_assaultsmg'] = "Assault SMG", + ['weapon_combatmg'] = "Combat MG", + ['weapon_combatmg_mk2'] = "Combat MG MK2", + ['weapon_combatpdw'] = "Combat PDW", + ['weapon_gusenberg'] = "Gusenberg Sweeper", + ['weapon_machinepistol'] = "Machine Pistol", + ['weapon_mg'] = "MG", + ['weapon_microsmg'] = "Micro SMG", + ['weapon_minismg'] = "Mini SMG", + ['weapon_smg'] = "SMG", + ['weapon_smg_mk2'] = "SMG MK2", + ['weapon_raycarbine'] = "Unholy Hellbringer", -- Rifles - ['weapon_advancedrifle'] = 'Advanced Rifle', - ['weapon_assaultrifle'] = 'Assault Rifle', - ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', - ['weapon_bullpuprifle'] = 'Bullpup Rifle', - ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', - ['weapon_carbinerifle'] = 'Carbine Rifle', - ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', - ['weapon_compactrifle'] = 'Compact Rifle', - ['weapon_militaryrifle'] = 'Military Rifle', - ['weapon_specialcarbine'] = 'Special Carbine', - ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', + ['weapon_advancedrifle'] = "Advanced Rifle", + ['weapon_assaultrifle'] = "Assault Rifle", + ['weapon_assaultrifle_mk2'] = "Assault Rifle MK2", + ['weapon_bullpuprifle'] = "Bullpup Rifle", + ['weapon_bullpuprifle_mk2'] = "Bullpup Rifle MK2", + ['weapon_carbinerifle'] = "Carbine Rifle", + ['weapon_carbinerifle_mk2'] = "Carbine Rifle MK2", + ['weapon_compactrifle'] = "Compact Rifle", + ['weapon_militaryrifle'] = "Military Rifle", + ['weapon_specialcarbine'] = "Special Carbine", + ['weapon_specialcarbine_mk2'] = "Special Carbine MK2", -- Sniper - ['weapon_heavysniper'] = 'Heavy Sniper', - ['weapon_heavysniper_mk2'] = 'Heavy Sniper MK2', - ['weapon_marksmanrifle'] = 'Marksman Rifle', - ['weapon_marksmanrifle_mk2'] = 'Marksman Rifle MK2', - ['weapon_sniperrifle'] = 'Sniper Rifle', + ['weapon_heavysniper'] = "Heavy Sniper", + ['weapon_heavysniper_mk2'] = "Heavy Sniper MK2", + ['weapon_marksmanrifle'] = "Marksman Rifle", + ['weapon_marksmanrifle_mk2'] = "Marksman Rifle MK2", + ['weapon_sniperrifle'] = "Sniper Rifle", -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Compact Launcher', - ['weapon_firework'] = 'Firework Launcher', - ['weapon_grenadelauncher'] = 'Grenade Launcher', - ['weapon_hominglauncher'] = 'Homing Launcher', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Rocket Launcher', - ['weapon_rayminigun'] = 'Widowmaker', + ['weapon_compactlauncher'] = "Compact Launcher", + ['weapon_firework'] = "Firework Launcher", + ['weapon_grenadelauncher'] = "Grenade Launcher", + ['weapon_hominglauncher'] = "Homing Launcher", + ['weapon_minigun'] = "Minigun", + ['weapon_railgun'] = "Railgun", + ['weapon_rpg'] = "Rocket Launcher", + ['weapon_rayminigun'] = "Widowmaker", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Detektor kovu', - ['weapon_precisionrifle'] = 'Precision Rifle', - ['weapon_tactilerifle'] = 'Service Carbine', + ['weapon_metaldetector'] = "Detektor kovu", + ['weapon_precisionrifle'] = "Precision Rifle", + ['weapon_tactilerifle'] = "Service Carbine", -- Thrown - ['weapon_ball'] = 'Míček', - ['weapon_bzgas'] = 'Smrtící slzný plyn', - ['weapon_flare'] = 'Světlice', - ['weapon_grenade'] = 'Granát', - ['weapon_petrolcan'] = 'Kanistr', - ['weapon_hazardcan'] = 'Hazardous Jerrycan', - ['weapon_molotov'] = 'Molotův koktejl', - ['weapon_proxmine'] = 'Pohybová mina', - ['weapon_pipebomb'] = 'Trubková bomba', - ['weapon_snowball'] = 'Sněhová koule', - ['weapon_stickybomb'] = 'C4', - ['weapon_smokegrenade'] = 'Slzný plyn', + ['weapon_ball'] = "Míček", + ['weapon_bzgas'] = "Smrtící slzný plyn", + ['weapon_flare'] = "Světlice", + ['weapon_grenade'] = "Granát", + ['weapon_petrolcan'] = "Kanistr", + ['weapon_hazardcan'] = "Hazardous Jerrycan", + ['weapon_molotov'] = "Molotův koktejl", + ['weapon_proxmine'] = "Pohybová mina", + ['weapon_pipebomb'] = "Trubková bomba", + ['weapon_snowball'] = "Sněhová koule", + ['weapon_stickybomb'] = "C4", + ['weapon_smokegrenade'] = "Slzný plyn", -- Special - ['weapon_fireextinguisher'] = 'Hasící přístroj', - ['weapon_digiscanner'] = 'Skener', - ['weapon_garbagebag'] = 'Odpadkový pytel', - ['weapon_handcuffs'] = 'Pouta', - ['gadget_nightvision'] = 'Noční vidění', - ['gadget_parachute'] = 'Padák', + ['weapon_fireextinguisher'] = "Hasící přístroj", + ['weapon_digiscanner'] = "Skener", + ['weapon_garbagebag'] = "Odpadkový pytel", + ['weapon_handcuffs'] = "Pouta", + ['gadget_nightvision'] = "Noční vidění", + ['gadget_parachute'] = "Padák", -- Weapon Components - ['component_knuckle_base'] = 'base Model', - ['component_knuckle_pimp'] = 'the Pimp', - ['component_knuckle_ballas'] = 'the Ballas', - ['component_knuckle_dollar'] = 'the Hustler', - ['component_knuckle_diamond'] = 'the Rock', - ['component_knuckle_hate'] = 'the Hater', - ['component_knuckle_love'] = 'the Lover', - ['component_knuckle_player'] = 'the Player', - ['component_knuckle_king'] = 'the King', - ['component_knuckle_vagos'] = 'the Vagos', + ['component_knuckle_base'] = "base Model", + ['component_knuckle_pimp'] = "the Pimp", + ['component_knuckle_ballas'] = "the Ballas", + ['component_knuckle_dollar'] = "the Hustler", + ['component_knuckle_diamond'] = "the Rock", + ['component_knuckle_hate'] = "the Hater", + ['component_knuckle_love'] = "the Lover", + ['component_knuckle_player'] = "the Player", + ['component_knuckle_king'] = "the King", + ['component_knuckle_vagos'] = "the Vagos", - ['component_luxary_finish'] = 'luxary Weapon Finish', + ['component_luxary_finish'] = "luxary Weapon Finish", - ['component_handle_default'] = 'default Handle', - ['component_handle_vip'] = 'vIP Handle', - ['component_handle_bodyguard'] = 'bodyguard Handle', + ['component_handle_default'] = "default Handle", + ['component_handle_vip'] = "vIP Handle", + ['component_handle_bodyguard'] = "bodyguard Handle", - ['component_vip_finish'] = 'vIP Finish', - ['component_bodyguard_finish'] = 'bodyguard Finish', + ['component_vip_finish'] = "vIP Finish", + ['component_bodyguard_finish'] = "bodyguard Finish", - ['component_camo_finish'] = 'digital Camo', - ['component_camo_finish2'] = 'brushstroke Camo', - ['component_camo_finish3'] = 'woodland Camo', - ['component_camo_finish4'] = 'skull Camo', - ['component_camo_finish5'] = 'sessanta Nove Camo', - ['component_camo_finish6'] = 'perseus Camo', - ['component_camo_finish7'] = 'leopard Camo', - ['component_camo_finish8'] = 'zebra Camo', - ['component_camo_finish9'] = 'geometric Camo', - ['component_camo_finish10'] = 'boom Camo', - ['component_camo_finish11'] = 'patriotic Camo', + ['component_camo_finish'] = "digital Camo", + ['component_camo_finish2'] = "brushstroke Camo", + ['component_camo_finish3'] = "woodland Camo", + ['component_camo_finish4'] = "skull Camo", + ['component_camo_finish5'] = "sessanta Nove Camo", + ['component_camo_finish6'] = "perseus Camo", + ['component_camo_finish7'] = "leopard Camo", + ['component_camo_finish8'] = "zebra Camo", + ['component_camo_finish9'] = "geometric Camo", + ['component_camo_finish10'] = "boom Camo", + ['component_camo_finish11'] = "patriotic Camo", - ['component_camo_slide_finish'] = 'digital Slide Camo', - ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', - ['component_camo_slide_finish3'] = 'woodland Slide Camo', - ['component_camo_slide_finish4'] = 'skull Slide Camo', - ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', - ['component_camo_slide_finish6'] = 'perseus Slide Camo', - ['component_camo_slide_finish7'] = 'leopard Slide Camo', - ['component_camo_slide_finish8'] = 'zebra Slide Camo', - ['component_camo_slide_finish9'] = 'geometric Slide Camo', - ['component_camo_slide_finish10'] = 'boom Slide Camo', - ['component_camo_slide_finish11'] = 'patriotic Slide Camo', + ['component_camo_slide_finish'] = "digital Slide Camo", + ['component_camo_slide_finish2'] = "brushstroke Slide Camo", + ['component_camo_slide_finish3'] = "woodland Slide Camo", + ['component_camo_slide_finish4'] = "skull Slide Camo", + ['component_camo_slide_finish5'] = "sessanta Nove Slide Camo", + ['component_camo_slide_finish6'] = "perseus Slide Camo", + ['component_camo_slide_finish7'] = "leopard Slide Camo", + ['component_camo_slide_finish8'] = "zebra Slide Camo", + ['component_camo_slide_finish9'] = "geometric Slide Camo", + ['component_camo_slide_finish10'] = "boom Slide Camo", + ['component_camo_slide_finish11'] = "patriotic Slide Camo", - ['component_clip_default'] = 'default Magazine', - ['component_clip_extended'] = 'extended Magazine', - ['component_clip_drum'] = 'drum Magazine', - ['component_clip_box'] = 'box Magazine', + ['component_clip_default'] = "default Magazine", + ['component_clip_extended'] = "extended Magazine", + ['component_clip_drum'] = "drum Magazine", + ['component_clip_box'] = "box Magazine", - ['component_scope_holo'] = 'holographic Scope', - ['component_scope_small'] = 'small Scope', - ['component_scope_medium'] = 'medium Scope', - ['component_scope_large'] = 'large Scope', - ['component_scope'] = 'mounted Scope', - ['component_scope_advanced'] = 'advanced Scope', - ['component_ironsights'] = 'ironsights', + ['component_scope_holo'] = "holographic Scope", + ['component_scope_small'] = "small Scope", + ['component_scope_medium'] = "medium Scope", + ['component_scope_large'] = "large Scope", + ['component_scope'] = "mounted Scope", + ['component_scope_advanced'] = "advanced Scope", + ['component_ironsights'] = "ironsights", - ['component_suppressor'] = 'suppressor', - ['component_compensator'] = 'compensator', + ['component_suppressor'] = "suppressor", + ['component_compensator'] = "compensator", - ['component_muzzle_flat'] = 'flat Muzzle Brake', - ['component_muzzle_tactical'] = 'tactical Muzzle Brake', - ['component_muzzle_fat'] = 'fat-End Muzzle Brake', - ['component_muzzle_precision'] = 'precision Muzzle Brake', - ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', - ['component_muzzle_slanted'] = 'slanted Muzzle Brake', - ['component_muzzle_split'] = 'split-End Muzzle Brake', - ['component_muzzle_squared'] = 'squared Muzzle Brake', + ['component_muzzle_flat'] = "flat Muzzle Brake", + ['component_muzzle_tactical'] = "tactical Muzzle Brake", + ['component_muzzle_fat'] = "fat-End Muzzle Brake", + ['component_muzzle_precision'] = "precision Muzzle Brake", + ['component_muzzle_heavy'] = "heavy Duty Muzzle Brake", + ['component_muzzle_slanted'] = "slanted Muzzle Brake", + ['component_muzzle_split'] = "split-End Muzzle Brake", + ['component_muzzle_squared'] = "squared Muzzle Brake", - ['component_flashlight'] = 'flashlight', - ['component_grip'] = 'grip', + ['component_flashlight'] = "flashlight", + ['component_grip'] = "grip", - ['component_barrel_default'] = 'default Barrel', - ['component_barrel_heavy'] = 'heavy Barrel', + ['component_barrel_default'] = "default Barrel", + ['component_barrel_heavy'] = "heavy Barrel", - ['component_ammo_tracer'] = 'tracer Ammo', - ['component_ammo_incendiary'] = 'incendiary Ammo', - ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', - ['component_ammo_fmj'] = 'fMJ Ammo', - ['component_ammo_armor'] = 'armor Piercing Ammo', - ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', + ['component_ammo_tracer'] = "tracer Ammo", + ['component_ammo_incendiary'] = "incendiary Ammo", + ['component_ammo_hollowpoint'] = "hollowpoint Ammo", + ['component_ammo_fmj'] = "fMJ Ammo", + ['component_ammo_armor'] = "armor Piercing Ammo", + ['component_ammo_explosive'] = "armor Piercing Incendiary Ammo", - ['component_shells_default'] = 'default Shells', - ['component_shells_incendiary'] = 'dragons Breath Shells', - ['component_shells_armor'] = 'steel Buckshot Shells', - ['component_shells_hollowpoint'] = 'flechette Shells', - ['component_shells_explosive'] = 'explosive Slug Shells', + ['component_shells_default'] = "default Shells", + ['component_shells_incendiary'] = "dragons Breath Shells", + ['component_shells_armor'] = "steel Buckshot Shells", + ['component_shells_hollowpoint'] = "flechette Shells", + ['component_shells_explosive'] = "explosive Slug Shells", -- Weapon Ammo - ['ammo_rounds'] = 'round(s)', - ['ammo_shells'] = 'shell(s)', - ['ammo_charge'] = 'charge', - ['ammo_petrol'] = 'gallons of fuel', - ['ammo_firework'] = 'firework(s)', - ['ammo_rockets'] = 'rocket(s)', - ['ammo_grenadelauncher'] = 'grenade(s)', - ['ammo_grenade'] = 'grenade(s)', - ['ammo_stickybomb'] = 'bomb(s)', - ['ammo_pipebomb'] = 'bomb(s)', - ['ammo_smokebomb'] = 'bomb(s)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mine(s)', - ['ammo_bzgas'] = 'can(s)', - ['ammo_ball'] = 'ball(s)', - ['ammo_snowball'] = 'snowball(s)', - ['ammo_flare'] = 'flare(s)', - ['ammo_flaregun'] = 'flare(s)', + ['ammo_rounds'] = "round(s)", + ['ammo_shells'] = "shell(s)", + ['ammo_charge'] = "charge", + ['ammo_petrol'] = "gallons of fuel", + ['ammo_firework'] = "firework(s)", + ['ammo_rockets'] = "rocket(s)", + ['ammo_grenadelauncher'] = "grenade(s)", + ['ammo_grenade'] = "grenade(s)", + ['ammo_stickybomb'] = "bomb(s)", + ['ammo_pipebomb'] = "bomb(s)", + ['ammo_smokebomb'] = "bomb(s)", + ['ammo_molotov'] = "cocktail(s)", + ['ammo_proxmine'] = "mine(s)", + ['ammo_bzgas'] = "can(s)", + ['ammo_ball'] = "ball(s)", + ['ammo_snowball'] = "snowball(s)", + ['ammo_flare'] = "flare(s)", + ['ammo_flaregun'] = "flare(s)", -- Weapon Tints - ['tint_default'] = 'default skin', - ['tint_green'] = 'green skin', - ['tint_gold'] = 'gold skin', - ['tint_pink'] = 'pink skin', - ['tint_army'] = 'army skin', - ['tint_lspd'] = 'blue skin', - ['tint_orange'] = 'orange skin', - ['tint_platinum'] = 'platinum skin', + ['tint_default'] = "default skin", + ['tint_green'] = "green skin", + ['tint_gold'] = "gold skin", + ['tint_pink'] = "pink skin", + ['tint_army'] = "army skin", + ['tint_lspd'] = "blue skin", + ['tint_orange'] = "orange skin", + ['tint_platinum'] = "platinum skin", } diff --git a/[core]/es_extended/locales/da.lua b/[core]/es_extended/locales/da.lua index a5e5548f..8ade0931 100644 --- a/[core]/es_extended/locales/da.lua +++ b/[core]/es_extended/locales/da.lua @@ -1,365 +1,365 @@ Locales['da'] = { -- Inventory - ['inventory'] = 'Inventar ( Vægt %s / %s )', - ['use'] = 'Brug', - ['give'] = 'Giv', - ['remove'] = 'Smid', - ['return'] = 'Tilbage', - ['give_to'] = 'Giv til', - ['amount'] = 'Beløb', - ['giveammo'] = 'Giv ammunition', - ['amountammo'] = 'Ammunition beløb', - ['noammo'] = 'Ikke nok!', - ['gave_item'] = 'Giver %sx %s til %s', - ['received_item'] = 'Modtog %sx %s fra %s', - ['gave_weapon'] = 'Giver %s til %s', - ['gave_weapon_ammo'] = 'Giver ~o~%sx %s for %s til %s', - ['gave_weapon_withammo'] = 'Giver %s med ~o~%sx %s til %s', - ['gave_weapon_hasalready'] = '%s har allerede en %s', - ['gave_weapon_noweapon'] = '%s har ikke det våben', - ['received_weapon'] = 'Modtog %s fra %s', - ['received_weapon_ammo'] = 'Modtog ~o~%sx %s for din %s fra %s', - ['received_weapon_withammo'] = 'Modtog %s med ~o~%sx %s fra %s', - ['received_weapon_hasalready'] = '%s har forsøgt at give dig en %s, men du allerede dette våben', - ['received_weapon_noweapon'] = '%s har forsøgt at give dig ammunition for en %s, men du har ikke dette våben', - ['gave_account_money'] = 'Giver %s kr. (%s) til %s', - ['received_account_money'] = 'Modtog %s kr. (%s) fra %s', - ['amount_invalid'] = 'Ugyldig mængde', - ['players_nearby'] = 'Ingen spillere i nærheden', - ['ex_inv_lim'] = 'Kan ikke udføre handling, overskrider maks. vægt på %s', - ['imp_invalid_quantity'] = 'Handlingen kan ikke udføres, mængden er ugyldig', - ['imp_invalid_amount'] = 'Handlingen kan ikke udføres, beløbet er ugyldigt', - ['threw_standard'] = 'Smider %sx %s', - ['threw_account'] = 'Smider %s kr. %s', - ['threw_weapon'] = 'Smider %s', - ['threw_weapon_ammo'] = 'Smider %s med ~o~%sx %s', - ['threw_weapon_already'] = 'Du har allerede dette våben', - ['threw_cannot_pickup'] = 'Inventory er fyldt, Kan ikke tages!', - ['threw_pickup_prompt'] = 'Tryk på E for at tage genstand', + ['inventory'] = "Inventar ( Vægt %s / %s )", + ['use'] = "Brug", + ['give'] = "Giv", + ['remove'] = "Smid", + ['return'] = "Tilbage", + ['give_to'] = "Giv til", + ['amount'] = "Beløb", + ['giveammo'] = "Giv ammunition", + ['amountammo'] = "Ammunition beløb", + ['noammo'] = "Ikke nok!", + ['gave_item'] = "Giver %sx %s til %s", + ['received_item'] = "Modtog %sx %s fra %s", + ['gave_weapon'] = "Giver %s til %s", + ['gave_weapon_ammo'] = "Giver ~o~%sx %s for %s til %s", + ['gave_weapon_withammo'] = "Giver %s med ~o~%sx %s til %s", + ['gave_weapon_hasalready'] = "%s har allerede en %s", + ['gave_weapon_noweapon'] = "%s har ikke det våben", + ['received_weapon'] = "Modtog %s fra %s", + ['received_weapon_ammo'] = "Modtog ~o~%sx %s for din %s fra %s", + ['received_weapon_withammo'] = "Modtog %s med ~o~%sx %s fra %s", + ['received_weapon_hasalready'] = "%s har forsøgt at give dig en %s, men du allerede dette våben", + ['received_weapon_noweapon'] = "%s har forsøgt at give dig ammunition for en %s, men du har ikke dette våben", + ['gave_account_money'] = "Giver %s kr. (%s) til %s", + ['received_account_money'] = "Modtog %s kr. (%s) fra %s", + ['amount_invalid'] = "Ugyldig mængde", + ['players_nearby'] = "Ingen spillere i nærheden", + ['ex_inv_lim'] = "Kan ikke udføre handling, overskrider maks. vægt på %s", + ['imp_invalid_quantity'] = "Handlingen kan ikke udføres, mængden er ugyldig", + ['imp_invalid_amount'] = "Handlingen kan ikke udføres, beløbet er ugyldigt", + ['threw_standard'] = "Smider %sx %s", + ['threw_account'] = "Smider %s kr. %s", + ['threw_weapon'] = "Smider %s", + ['threw_weapon_ammo'] = "Smider %s med ~o~%sx %s", + ['threw_weapon_already'] = "Du har allerede dette våben", + ['threw_cannot_pickup'] = "Inventory er fyldt, Kan ikke tages!", + ['threw_pickup_prompt'] = "Tryk på E for at tage genstand", -- Key mapping - ['keymap_showinventory'] = 'Vis Inventory', + ['keymap_showinventory'] = "Vis Inventory", -- Salary related - ['received_salary'] = 'Du er blevet betalt: %s kr.', - ['received_help'] = 'Du har fået udbetalt din velfærdscheck: %s kr.', - ['company_nomoney'] = 'den virksomhed, du er ansat i, er for fattig til at udbetale din løn', - ['received_paycheck'] = 'modtaget lønseddel', - ['bank'] = 'Maze Bank', - ['account_bank'] = 'Bank', - ['account_black_money'] = 'Beskidte penge', - ['account_money'] = 'Penge', + ['received_salary'] = "Du er blevet betalt: %s kr.", + ['received_help'] = "Du har fået udbetalt din velfærdscheck: %s kr.", + ['company_nomoney'] = "den virksomhed, du er ansat i, er for fattig til at udbetale din løn", + ['received_paycheck'] = "modtaget lønseddel", + ['bank'] = "Maze Bank", + ['account_bank'] = "Bank", + ['account_black_money'] = "Beskidte penge", + ['account_money'] = "Penge", - ['act_imp'] = 'Kan ikke udføre handling', - ['in_vehicle'] = 'Kan ikke udføre handling, spilleren er i et køretøj', + ['act_imp'] = "Kan ikke udføre handling", + ['in_vehicle'] = "Kan ikke udføre handling, spilleren er i et køretøj", -- Commands - ['command_bring'] = 'Tag en spiller til dig', - ['command_car'] = 'Spawn et køretøj', - ['command_car_car'] = 'Køretøjsmodel eller hash', - ['command_cardel'] = 'Fjern køretøjer i nærheden', - ['command_cardel_radius'] = 'Fjerner alle køretøjer inden for den specificerede radius', - ['command_clear'] = 'Ryd chatten', - ['command_clearall'] = 'Ryd chatten for alle spillere', - ['command_clearinventory'] = 'Fjern alle elementer fra spillernes inventar', - ['command_clearloadout'] = 'Fjern alle våben fra Players Loadout', - ['command_freeze'] = 'Frys en spiller', - ['command_unfreeze'] = 'Frigør en spiller', - ['command_giveaccountmoney'] = 'Giv penge til en bestemt konto', - ['command_giveaccountmoney_account'] = 'Konto at tilføje til', - ['command_giveaccountmoney_amount'] = 'Beløb at tilføje', - ['command_giveaccountmoney_invalid'] = 'Kontonavn ugyldigt', - ['command_giveitem'] = 'Giv spilleren en genstand', - ['command_giveitem_item'] = 'Genstands navn', - ['command_giveitem_count'] = 'Antal', - ['command_giveweapon'] = 'Giv spilleren et våben', - ['command_giveweapon_weapon'] = 'Navn på våben', - ['command_giveweapon_ammo'] = 'Ammunitions mængde', - ['command_giveweapon_hasalready'] = 'Spilleren har allerede dette våben', - ['command_giveweaponcomponent'] = 'Giv en våbenkomponent til spilleren', - ['command_giveweaponcomponent_component'] = 'Komponent navn', - ['command_giveweaponcomponent_invalid'] = 'Ugyldig våben-komponent', - ['command_giveweaponcomponent_hasalready'] = 'Spilleren har allerede denne våben-komponent', - ['command_giveweaponcomponent_missingweapon'] = 'Spilleren har ikke dette våben', - ['command_goto'] = 'Teleporter dig selv til en spiller', - ['command_kill'] = 'Dræb en spiller', - ['command_save'] = 'Force save en spillers data', - ['command_saveall'] = 'Force save alle spillers data', - ['command_setaccountmoney'] = 'Indstil pengene på en bestemt konto', - ['command_setaccountmoney_amount'] = 'Beløb', - ['command_setcoords'] = 'Teleporter til specificerede koordinater', - ['command_setcoords_x'] = 'X værdi', - ['command_setcoords_y'] = 'Y værdi', - ['command_setcoords_z'] = 'Z værdi', - ['command_setjob'] = 'Sæt en spillers job', - ['command_setjob_job'] = 'Navn', - ['command_setjob_grade'] = 'Job karakter', - ['command_setjob_invalid'] = 'jobbet, karakteren eller begge dele er ugyldige', - ['command_setgroup'] = 'Indstil en spillers tilladelsesgruppe', - ['command_setgroup_group'] = 'Navn på gruppe', - ['commanderror_argumentmismatch'] = 'Antal ugyldige argumenter (bestået %s, ønsket %s)', - ['commanderror_argumentmismatch_number'] = 'Ugyldigt argument #%s datatype (bestået streng, ønsket nummer)', - ['commanderror_invaliditem'] = 'Ugyldig genstand', - ['commanderror_invalidweapon'] = 'Ugyldigt våben', - ['commanderror_console'] = 'Kommandoen kan ikke udføres fra konsollen', - ['commanderror_invalidcommand'] = 'Ugyldig kommando - /%s', - ['commanderror_invalidplayerid'] = 'Den angivne spiller er ikke online', - ['commandgeneric_playerid'] = 'Spillerens server-id', - ['command_giveammo_noweapon_found'] = '%s har ikke det våben', - ['command_giveammo_weapon'] = 'Våben navn', - ['command_giveammo_ammo'] = 'Ammunitions mængde', - ['tpm_nowaypoint'] = 'Ingen waypoint indstillet.', - ['tpm_success'] = 'Teleporteret med succes', + ['command_bring'] = "Tag en spiller til dig", + ['command_car'] = "Spawn et køretøj", + ['command_car_car'] = "Køretøjsmodel eller hash", + ['command_cardel'] = "Fjern køretøjer i nærheden", + ['command_cardel_radius'] = "Fjerner alle køretøjer inden for den specificerede radius", + ['command_clear'] = "Ryd chatten", + ['command_clearall'] = "Ryd chatten for alle spillere", + ['command_clearinventory'] = "Fjern alle elementer fra spillernes inventar", + ['command_clearloadout'] = "Fjern alle våben fra Players Loadout", + ['command_freeze'] = "Frys en spiller", + ['command_unfreeze'] = "Frigør en spiller", + ['command_giveaccountmoney'] = "Giv penge til en bestemt konto", + ['command_giveaccountmoney_account'] = "Konto at tilføje til", + ['command_giveaccountmoney_amount'] = "Beløb at tilføje", + ['command_giveaccountmoney_invalid'] = "Kontonavn ugyldigt", + ['command_giveitem'] = "Giv spilleren en genstand", + ['command_giveitem_item'] = "Genstands navn", + ['command_giveitem_count'] = "Antal", + ['command_giveweapon'] = "Giv spilleren et våben", + ['command_giveweapon_weapon'] = "Navn på våben", + ['command_giveweapon_ammo'] = "Ammunitions mængde", + ['command_giveweapon_hasalready'] = "Spilleren har allerede dette våben", + ['command_giveweaponcomponent'] = "Giv en våbenkomponent til spilleren", + ['command_giveweaponcomponent_component'] = "Komponent navn", + ['command_giveweaponcomponent_invalid'] = "Ugyldig våben-komponent", + ['command_giveweaponcomponent_hasalready'] = "Spilleren har allerede denne våben-komponent", + ['command_giveweaponcomponent_missingweapon'] = "Spilleren har ikke dette våben", + ['command_goto'] = "Teleporter dig selv til en spiller", + ['command_kill'] = "Dræb en spiller", + ['command_save'] = "Force save en spillers data", + ['command_saveall'] = "Force save alle spillers data", + ['command_setaccountmoney'] = "Indstil pengene på en bestemt konto", + ['command_setaccountmoney_amount'] = "Beløb", + ['command_setcoords'] = "Teleporter til specificerede koordinater", + ['command_setcoords_x'] = "X værdi", + ['command_setcoords_y'] = "Y værdi", + ['command_setcoords_z'] = "Z værdi", + ['command_setjob'] = "Sæt en spillers job", + ['command_setjob_job'] = "Navn", + ['command_setjob_grade'] = "Job karakter", + ['command_setjob_invalid'] = "jobbet, karakteren eller begge dele er ugyldige", + ['command_setgroup'] = "Indstil en spillers tilladelsesgruppe", + ['command_setgroup_group'] = "Navn på gruppe", + ['commanderror_argumentmismatch'] = "Antal ugyldige argumenter (bestået %s, ønsket %s)", + ['commanderror_argumentmismatch_number'] = "Ugyldigt argument #%s datatype (bestået streng, ønsket nummer)", + ['commanderror_invaliditem'] = "Ugyldig genstand", + ['commanderror_invalidweapon'] = "Ugyldigt våben", + ['commanderror_console'] = "Kommandoen kan ikke udføres fra konsollen", + ['commanderror_invalidcommand'] = "Ugyldig kommando - /%s", + ['commanderror_invalidplayerid'] = "Den angivne spiller er ikke online", + ['commandgeneric_playerid'] = "Spillerens server-id", + ['command_giveammo_noweapon_found'] = "%s har ikke det våben", + ['command_giveammo_weapon'] = "Våben navn", + ['command_giveammo_ammo'] = "Ammunitions mængde", + ['tpm_nowaypoint'] = "Ingen waypoint indstillet.", + ['tpm_success'] = "Teleporteret med succes", - ['noclip_message'] = 'Noclip er blevet %s', - ['enabled'] = '~g~aktiveret~s~', - ['disabled'] = '~r~deaktiveret~s~', + ['noclip_message'] = "Noclip er blevet %s", + ['enabled'] = "~g~aktiveret~s~", + ['disabled'] = "~r~deaktiveret~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '%s DKK', + ['locale_digit_grouping_symbol'] = ",", + ['locale_currency'] = "%s DKK", -- Weapons -- Melee - ['weapon_dagger'] = 'Dolk', - ['weapon_bat'] = 'Bat', - ['weapon_battleaxe'] = 'Kampøkse', - ['weapon_bottle'] = 'Flaske', - ['weapon_crowbar'] = 'Koben', - ['weapon_flashlight'] = 'Lommelygte', - ['weapon_golfclub'] = 'Golf Club', - ['weapon_hammer'] = 'Hammer', - ['weapon_hatchet'] = 'Økse', - ['weapon_knife'] = 'Kniv', - ['weapon_knuckle'] = 'Knuckledusters', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Nightstick', - ['weapon_wrench'] = 'Pipe Wrench', - ['weapon_poolcue'] = 'Pool Cue', - ['weapon_stone_hatchet'] = 'Stone Hatchet', - ['weapon_switchblade'] = 'Switchblade', + ['weapon_dagger'] = "Dolk", + ['weapon_bat'] = "Bat", + ['weapon_battleaxe'] = "Kampøkse", + ['weapon_bottle'] = "Flaske", + ['weapon_crowbar'] = "Koben", + ['weapon_flashlight'] = "Lommelygte", + ['weapon_golfclub'] = "Golf Club", + ['weapon_hammer'] = "Hammer", + ['weapon_hatchet'] = "Økse", + ['weapon_knife'] = "Kniv", + ['weapon_knuckle'] = "Knuckledusters", + ['weapon_machete'] = "Machete", + ['weapon_nightstick'] = "Nightstick", + ['weapon_wrench'] = "Pipe Wrench", + ['weapon_poolcue'] = "Pool Cue", + ['weapon_stone_hatchet'] = "Stone Hatchet", + ['weapon_switchblade'] = "Switchblade", -- Handguns - ['weapon_appistol'] = 'AP Pistol', - ['weapon_ceramicpistol'] = 'Ceramic Pistol', - ['weapon_combatpistol'] = 'Combat Pistol', - ['weapon_doubleaction'] = 'Double-Action Revolver', - ['weapon_navyrevolver'] = 'Navy Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadget Pistol', - ['weapon_heavypistol'] = 'Tung Pistol', - ['weapon_revolver'] = 'Tung Revolver', - ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', - ['weapon_marksmanpistol'] = 'Marksman Pistol', - ['weapon_pistol'] = 'Pistol', - ['weapon_pistol_mk2'] = 'Pistol MK2', - ['weapon_pistol50'] = 'Pistol .50', - ['weapon_snspistol'] = 'SNS Pistol', - ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintage Pistol', + ['weapon_appistol'] = "AP Pistol", + ['weapon_ceramicpistol'] = "Ceramic Pistol", + ['weapon_combatpistol'] = "Combat Pistol", + ['weapon_doubleaction'] = "Double-Action Revolver", + ['weapon_navyrevolver'] = "Navy Revolver", + ['weapon_flaregun'] = "Flaregun", + ['weapon_gadgetpistol'] = "Gadget Pistol", + ['weapon_heavypistol'] = "Tung Pistol", + ['weapon_revolver'] = "Tung Revolver", + ['weapon_revolver_mk2'] = "Heavy Revolver MK2", + ['weapon_marksmanpistol'] = "Marksman Pistol", + ['weapon_pistol'] = "Pistol", + ['weapon_pistol_mk2'] = "Pistol MK2", + ['weapon_pistol50'] = "Pistol .50", + ['weapon_snspistol'] = "SNS Pistol", + ['weapon_snspistol_mk2'] = "SNS Pistol MK2", + ['weapon_stungun'] = "Taser", + ['weapon_raypistol'] = "Up-N-Atomizer", + ['weapon_vintagepistol'] = "Vintage Pistol", -- Shotguns - ['weapon_assaultshotgun'] = 'Assault Shotgun', - ['weapon_autoshotgun'] = 'Auto Shotgun', - ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', - ['weapon_combatshotgun'] = 'Kamp Haglgevær', - ['weapon_dbshotgun'] = 'Dobbeltløbet gevær', - ['weapon_heavyshotgun'] = 'Tungt haglgevær', - ['weapon_musket'] = 'Musket', - ['weapon_pumpshotgun'] = 'Pumpe haglgevær', - ['weapon_pumpshotgun_mk2'] = 'Pumpe haglgevær MK2', - ['weapon_sawnoffshotgun'] = 'Oversavet haglgevær', + ['weapon_assaultshotgun'] = "Assault Shotgun", + ['weapon_autoshotgun'] = "Auto Shotgun", + ['weapon_bullpupshotgun'] = "Bullpup Shotgun", + ['weapon_combatshotgun'] = "Kamp Haglgevær", + ['weapon_dbshotgun'] = "Dobbeltløbet gevær", + ['weapon_heavyshotgun'] = "Tungt haglgevær", + ['weapon_musket'] = "Musket", + ['weapon_pumpshotgun'] = "Pumpe haglgevær", + ['weapon_pumpshotgun_mk2'] = "Pumpe haglgevær MK2", + ['weapon_sawnoffshotgun'] = "Oversavet haglgevær", -- SMG & LMG - ['weapon_assaultsmg'] = 'Assault SMG', - ['weapon_combatmg'] = 'Combat MG', - ['weapon_combatmg_mk2'] = 'Combat MG MK2', - ['weapon_combatpdw'] = 'Combat PDW', - ['weapon_gusenberg'] = 'Gusenberg Sweeper', - ['weapon_machinepistol'] = 'Maskinpistol', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Micro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Unholy Hellbringer', + ['weapon_assaultsmg'] = "Assault SMG", + ['weapon_combatmg'] = "Combat MG", + ['weapon_combatmg_mk2'] = "Combat MG MK2", + ['weapon_combatpdw'] = "Combat PDW", + ['weapon_gusenberg'] = "Gusenberg Sweeper", + ['weapon_machinepistol'] = "Maskinpistol", + ['weapon_mg'] = "MG", + ['weapon_microsmg'] = "Micro SMG", + ['weapon_minismg'] = "Mini SMG", + ['weapon_smg'] = "SMG", + ['weapon_smg_mk2'] = "SMG MK2", + ['weapon_raycarbine'] = "Unholy Hellbringer", -- Rifles - ['weapon_advancedrifle'] = 'Advanced Rifle', - ['weapon_assaultrifle'] = 'Assault Rifle', - ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', - ['weapon_bullpuprifle'] = 'Bullpup Rifle', - ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', - ['weapon_carbinerifle'] = 'Carbine Rifle', - ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', - ['weapon_compactrifle'] = 'Compact Rifle', - ['weapon_militaryrifle'] = 'Militær riffel', - ['weapon_specialcarbine'] = 'Special Carbine', - ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', + ['weapon_advancedrifle'] = "Advanced Rifle", + ['weapon_assaultrifle'] = "Assault Rifle", + ['weapon_assaultrifle_mk2'] = "Assault Rifle MK2", + ['weapon_bullpuprifle'] = "Bullpup Rifle", + ['weapon_bullpuprifle_mk2'] = "Bullpup Rifle MK2", + ['weapon_carbinerifle'] = "Carbine Rifle", + ['weapon_carbinerifle_mk2'] = "Carbine Rifle MK2", + ['weapon_compactrifle'] = "Compact Rifle", + ['weapon_militaryrifle'] = "Militær riffel", + ['weapon_specialcarbine'] = "Special Carbine", + ['weapon_specialcarbine_mk2'] = "Special Carbine MK2", -- Sniper - ['weapon_heavysniper'] = 'Tung snigskytte', - ['weapon_heavysniper_mk2'] = 'Tung snigskytte MK2', - ['weapon_marksmanrifle'] = 'Skytterifle', - ['weapon_marksmanrifle_mk2'] = 'Skytterifle MK2', - ['weapon_sniperrifle'] = 'Snigskytteriffel', + ['weapon_heavysniper'] = "Tung snigskytte", + ['weapon_heavysniper_mk2'] = "Tung snigskytte MK2", + ['weapon_marksmanrifle'] = "Skytterifle", + ['weapon_marksmanrifle_mk2'] = "Skytterifle MK2", + ['weapon_sniperrifle'] = "Snigskytteriffel", -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Compact Launcher', - ['weapon_firework'] = 'Firework Launcher', - ['weapon_grenadelauncher'] = 'Grenade Launcher', - ['weapon_hominglauncher'] = 'Homing Launcher', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Rocket Launcher', - ['weapon_rayminigun'] = 'Widowmaker', + ['weapon_compactlauncher'] = "Compact Launcher", + ['weapon_firework'] = "Firework Launcher", + ['weapon_grenadelauncher'] = "Grenade Launcher", + ['weapon_hominglauncher'] = "Homing Launcher", + ['weapon_minigun'] = "Minigun", + ['weapon_railgun'] = "Railgun", + ['weapon_rpg'] = "Rocket Launcher", + ['weapon_rayminigun'] = "Widowmaker", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Metal Detector', - ['weapon_precisionrifle'] = 'Precision Rifle', - ['weapon_tactilerifle'] = 'Service Carbine', + ['weapon_metaldetector'] = "Metal Detector", + ['weapon_precisionrifle'] = "Precision Rifle", + ['weapon_tactilerifle'] = "Service Carbine", -- Thrown - ['weapon_ball'] = 'Baseball', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_flare'] = 'Flare', - ['weapon_grenade'] = 'Granat', - ['weapon_petrolcan'] = 'Benzindunk', - ['weapon_hazardcan'] = 'Farlig Benzindunk', - ['weapon_molotov'] = 'Molotov Cocktail', - ['weapon_proxmine'] = 'Proximity Mine', - ['weapon_pipebomb'] = 'Pipe Bomb', - ['weapon_snowball'] = 'Snebold', - ['weapon_stickybomb'] = 'Sticky Bomb', - ['weapon_smokegrenade'] = 'Tåregas', + ['weapon_ball'] = "Baseball", + ['weapon_bzgas'] = "BZ Gas", + ['weapon_flare'] = "Flare", + ['weapon_grenade'] = "Granat", + ['weapon_petrolcan'] = "Benzindunk", + ['weapon_hazardcan'] = "Farlig Benzindunk", + ['weapon_molotov'] = "Molotov Cocktail", + ['weapon_proxmine'] = "Proximity Mine", + ['weapon_pipebomb'] = "Pipe Bomb", + ['weapon_snowball'] = "Snebold", + ['weapon_stickybomb'] = "Sticky Bomb", + ['weapon_smokegrenade'] = "Tåregas", -- Special - ['weapon_fireextinguisher'] = 'Brandslukker', - ['weapon_digiscanner'] = 'Digital scanner', - ['weapon_garbagebag'] = 'Skraldepose', - ['weapon_handcuffs'] = 'Håndjern', - ['gadget_nightvision'] = 'Night Vision', - ['gadget_parachute'] = 'faldskærm', + ['weapon_fireextinguisher'] = "Brandslukker", + ['weapon_digiscanner'] = "Digital scanner", + ['weapon_garbagebag'] = "Skraldepose", + ['weapon_handcuffs'] = "Håndjern", + ['gadget_nightvision'] = "Night Vision", + ['gadget_parachute'] = "faldskærm", -- Weapon Components - ['component_knuckle_base'] = 'base Model', - ['component_knuckle_pimp'] = 'the Pimp', - ['component_knuckle_ballas'] = 'the Ballas', - ['component_knuckle_dollar'] = 'the Hustler', - ['component_knuckle_diamond'] = 'the Rock', - ['component_knuckle_hate'] = 'the Hater', - ['component_knuckle_love'] = 'the Lover', - ['component_knuckle_player'] = 'the Player', - ['component_knuckle_king'] = 'the King', - ['component_knuckle_vagos'] = 'the Vagos', + ['component_knuckle_base'] = "base Model", + ['component_knuckle_pimp'] = "the Pimp", + ['component_knuckle_ballas'] = "the Ballas", + ['component_knuckle_dollar'] = "the Hustler", + ['component_knuckle_diamond'] = "the Rock", + ['component_knuckle_hate'] = "the Hater", + ['component_knuckle_love'] = "the Lover", + ['component_knuckle_player'] = "the Player", + ['component_knuckle_king'] = "the King", + ['component_knuckle_vagos'] = "the Vagos", - ['component_luxary_finish'] = 'luxary Weapon Finish', + ['component_luxary_finish'] = "luxary Weapon Finish", - ['component_handle_default'] = 'standardhåndtag', - ['component_handle_vip'] = 'VIP håndtag', - ['component_handle_bodyguard'] = 'livvagt håndtag', + ['component_handle_default'] = "standardhåndtag", + ['component_handle_vip'] = "VIP håndtag", + ['component_handle_bodyguard'] = "livvagt håndtag", - ['component_vip_finish'] = 'VIP Finish', - ['component_bodyguard_finish'] = 'bodyguard Finish', + ['component_vip_finish'] = "VIP Finish", + ['component_bodyguard_finish'] = "bodyguard Finish", - ['component_camo_finish'] = 'digital Camo', - ['component_camo_finish2'] = 'brushstroke Camo', - ['component_camo_finish3'] = 'woodland Camo', - ['component_camo_finish4'] = 'skull Camo', - ['component_camo_finish5'] = 'sessanta Nove Camo', - ['component_camo_finish6'] = 'perseus Camo', - ['component_camo_finish7'] = 'leopard Camo', - ['component_camo_finish8'] = 'zebra Camo', - ['component_camo_finish9'] = 'geometric Camo', - ['component_camo_finish10'] = 'boom Camo', - ['component_camo_finish11'] = 'patriotic Camo', + ['component_camo_finish'] = "digital Camo", + ['component_camo_finish2'] = "brushstroke Camo", + ['component_camo_finish3'] = "woodland Camo", + ['component_camo_finish4'] = "skull Camo", + ['component_camo_finish5'] = "sessanta Nove Camo", + ['component_camo_finish6'] = "perseus Camo", + ['component_camo_finish7'] = "leopard Camo", + ['component_camo_finish8'] = "zebra Camo", + ['component_camo_finish9'] = "geometric Camo", + ['component_camo_finish10'] = "boom Camo", + ['component_camo_finish11'] = "patriotic Camo", - ['component_camo_slide_finish'] = 'digital Slide Camo', - ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', - ['component_camo_slide_finish3'] = 'woodland Slide Camo', - ['component_camo_slide_finish4'] = 'skull Slide Camo', - ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', - ['component_camo_slide_finish6'] = 'perseus Slide Camo', - ['component_camo_slide_finish7'] = 'leopard Slide Camo', - ['component_camo_slide_finish8'] = 'zebra Slide Camo', - ['component_camo_slide_finish9'] = 'geometric Slide Camo', - ['component_camo_slide_finish10'] = 'boom Slide Camo', - ['component_camo_slide_finish11'] = 'patriotic Slide Camo', + ['component_camo_slide_finish'] = "digital Slide Camo", + ['component_camo_slide_finish2'] = "brushstroke Slide Camo", + ['component_camo_slide_finish3'] = "woodland Slide Camo", + ['component_camo_slide_finish4'] = "skull Slide Camo", + ['component_camo_slide_finish5'] = "sessanta Nove Slide Camo", + ['component_camo_slide_finish6'] = "perseus Slide Camo", + ['component_camo_slide_finish7'] = "leopard Slide Camo", + ['component_camo_slide_finish8'] = "zebra Slide Camo", + ['component_camo_slide_finish9'] = "geometric Slide Camo", + ['component_camo_slide_finish10'] = "boom Slide Camo", + ['component_camo_slide_finish11'] = "patriotic Slide Camo", - ['component_clip_default'] = 'standard magasin', - ['component_clip_extended'] = 'udvidet Magasin', - ['component_clip_drum'] = 'drum Magasin', - ['component_clip_box'] = 'box Magazine', + ['component_clip_default'] = "standard magasin", + ['component_clip_extended'] = "udvidet Magasin", + ['component_clip_drum'] = "drum Magasin", + ['component_clip_box'] = "box Magazine", - ['component_scope_holo'] = 'rødpunktsigte', - ['component_scope_small'] = 'lille sigte', - ['component_scope_medium'] = 'medium sigte', - ['component_scope_large'] = 'stort sigte', - ['component_scope'] = 'mounted Scope', - ['component_scope_advanced'] = 'avanceret sigte', - ['component_ironsights'] = 'jernsigte', + ['component_scope_holo'] = "rødpunktsigte", + ['component_scope_small'] = "lille sigte", + ['component_scope_medium'] = "medium sigte", + ['component_scope_large'] = "stort sigte", + ['component_scope'] = "mounted Scope", + ['component_scope_advanced'] = "avanceret sigte", + ['component_ironsights'] = "jernsigte", - ['component_suppressor'] = 'suppressor', - ['component_compensator'] = 'compensator', + ['component_suppressor'] = "suppressor", + ['component_compensator'] = "compensator", - ['component_muzzle_flat'] = 'flat Muzzle Brake', - ['component_muzzle_tactical'] = 'tactical Muzzle Brake', - ['component_muzzle_fat'] = 'fat-End Muzzle Brake', - ['component_muzzle_precision'] = 'precision Muzzle Brake', - ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', - ['component_muzzle_slanted'] = 'slanted Muzzle Brake', - ['component_muzzle_split'] = 'split-End Muzzle Brake', - ['component_muzzle_squared'] = 'squared Muzzle Brake', + ['component_muzzle_flat'] = "flat Muzzle Brake", + ['component_muzzle_tactical'] = "tactical Muzzle Brake", + ['component_muzzle_fat'] = "fat-End Muzzle Brake", + ['component_muzzle_precision'] = "precision Muzzle Brake", + ['component_muzzle_heavy'] = "heavy Duty Muzzle Brake", + ['component_muzzle_slanted'] = "slanted Muzzle Brake", + ['component_muzzle_split'] = "split-End Muzzle Brake", + ['component_muzzle_squared'] = "squared Muzzle Brake", - ['component_flashlight'] = 'våbenlygte', - ['component_grip'] = 'greb', + ['component_flashlight'] = "våbenlygte", + ['component_grip'] = "greb", - ['component_barrel_default'] = 'default Barrel', - ['component_barrel_heavy'] = 'heavy Barrel', + ['component_barrel_default'] = "default Barrel", + ['component_barrel_heavy'] = "heavy Barrel", - ['component_ammo_tracer'] = 'tracer Ammo', - ['component_ammo_incendiary'] = 'incendiary Ammo', - ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', - ['component_ammo_fmj'] = 'fMJ Ammo', - ['component_ammo_armor'] = 'armor Piercing Ammo', - ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', + ['component_ammo_tracer'] = "tracer Ammo", + ['component_ammo_incendiary'] = "incendiary Ammo", + ['component_ammo_hollowpoint'] = "hollowpoint Ammo", + ['component_ammo_fmj'] = "fMJ Ammo", + ['component_ammo_armor'] = "armor Piercing Ammo", + ['component_ammo_explosive'] = "armor Piercing Incendiary Ammo", - ['component_shells_default'] = 'default Shells', - ['component_shells_incendiary'] = 'dragons Breath Shells', - ['component_shells_armor'] = 'steel Buckshot Shells', - ['component_shells_hollowpoint'] = 'flechette Shells', - ['component_shells_explosive'] = 'explosive Slug Shells', + ['component_shells_default'] = "default Shells", + ['component_shells_incendiary'] = "dragons Breath Shells", + ['component_shells_armor'] = "steel Buckshot Shells", + ['component_shells_hollowpoint'] = "flechette Shells", + ['component_shells_explosive'] = "explosive Slug Shells", -- Weapon Ammo - ['ammo_rounds'] = 'round(s)', - ['ammo_shells'] = 'shell(s)', - ['ammo_charge'] = 'charge', - ['ammo_petrol'] = 'gallons of fuel', - ['ammo_firework'] = 'firework(s)', - ['ammo_rockets'] = 'rocket(s)', - ['ammo_grenadelauncher'] = 'grenade(s)', - ['ammo_grenade'] = 'grenade(s)', - ['ammo_stickybomb'] = 'bomb(s)', - ['ammo_pipebomb'] = 'bomb(s)', - ['ammo_smokebomb'] = 'bomb(s)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mine(s)', - ['ammo_bzgas'] = 'can(s)', - ['ammo_ball'] = 'ball(s)', - ['ammo_snowball'] = 'snowball(s)', - ['ammo_flare'] = 'flare(s)', - ['ammo_flaregun'] = 'flare(s)', + ['ammo_rounds'] = "round(s)", + ['ammo_shells'] = "shell(s)", + ['ammo_charge'] = "charge", + ['ammo_petrol'] = "gallons of fuel", + ['ammo_firework'] = "firework(s)", + ['ammo_rockets'] = "rocket(s)", + ['ammo_grenadelauncher'] = "grenade(s)", + ['ammo_grenade'] = "grenade(s)", + ['ammo_stickybomb'] = "bomb(s)", + ['ammo_pipebomb'] = "bomb(s)", + ['ammo_smokebomb'] = "bomb(s)", + ['ammo_molotov'] = "cocktail(s)", + ['ammo_proxmine'] = "mine(s)", + ['ammo_bzgas'] = "can(s)", + ['ammo_ball'] = "ball(s)", + ['ammo_snowball'] = "snowball(s)", + ['ammo_flare'] = "flare(s)", + ['ammo_flaregun'] = "flare(s)", -- Weapon Tints - ['tint_default'] = 'default skin', - ['tint_green'] = 'green skin', - ['tint_gold'] = 'gold skin', - ['tint_pink'] = 'pink skin', - ['tint_army'] = 'army skin', - ['tint_lspd'] = 'blue skin', - ['tint_orange'] = 'orange skin', - ['tint_platinum'] = 'platinum skin', + ['tint_default'] = "default skin", + ['tint_green'] = "green skin", + ['tint_gold'] = "gold skin", + ['tint_pink'] = "pink skin", + ['tint_army'] = "army skin", + ['tint_lspd'] = "blue skin", + ['tint_orange'] = "orange skin", + ['tint_platinum'] = "platinum skin", } diff --git a/[core]/es_extended/locales/de.lua b/[core]/es_extended/locales/de.lua index 6ea003dd..cc7f8383 100644 --- a/[core]/es_extended/locales/de.lua +++ b/[core]/es_extended/locales/de.lua @@ -1,365 +1,365 @@ Locales['de'] = { -- Inventory - ['inventory'] = 'Inventar ( Gewicht %s / %s )', - ['use'] = 'Benutzen', - ['give'] = 'Geben', - ['remove'] = 'Entsorgen', - ['return'] = 'Zurück', - ['give_to'] = 'Geben an', - ['amount'] = 'Anzahl', - ['giveammo'] = 'Munition geben', - ['amountammo'] = 'Munitions Anzahl', - ['noammo'] = 'Nicht Genug!', - ['gave_item'] = 'Du gibst %sx %s an %s', - ['received_item'] = 'Du bekommst %sx %s von %s', - ['gave_weapon'] = 'Du gibst %s an %s', - ['gave_weapon_ammo'] = 'Du gibst ~o~%sx %s für %s an %s', - ['gave_weapon_withammo'] = 'Du gibst %s mit ~o~%sx %s an %s', - ['gave_weapon_hasalready'] = '%s hat bereits %s', - ['gave_weapon_noweapon'] = '%s hat diese Waffe nicht', - ['received_weapon'] = 'Du bekommst %s von %s', - ['received_weapon_ammo'] = 'Du bekommst ~o~%sx %s für deine %s von %s', - ['received_weapon_withammo'] = 'Du bekommst %s mit ~o~%sx %s von %s', - ['received_weapon_hasalready'] = '%s hat versucht dir eine %s zu geben, jedoch hast du diese Waffe bereits!', - ['received_weapon_noweapon'] = '%s hat versucht dir Munition für eine %s zu geben, jedoch hast du diese Waffe bereits!', - ['gave_account_money'] = 'Du gibst %s€ (%s) an %s', - ['received_account_money'] = 'Du bekommst %s€ (%s) von %s', - ['amount_invalid'] = 'Ungültige Anzahl', - ['players_nearby'] = 'Keine Personen in der Nähe!', - ['ex_inv_lim'] = 'Du kannst diese Aktion nicht ausführen!, Inventarlimit für %s überschritten.', - ['imp_invalid_quantity'] = 'Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl!', - ['imp_invalid_amount'] = 'Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl', - ['threw_standard'] = 'Du entsorgst %sx %s', - ['threw_account'] = 'Du Entsorgst %s€ %s', - ['threw_weapon'] = 'Du entsorgst %s', - ['threw_weapon_ammo'] = 'Du entsorgst %s mit ~o~%sx %s', - ['threw_weapon_already'] = 'Du hast diese Waffe bereits!', - ['threw_cannot_pickup'] = 'Inventar ist voll! Du kannst dies nicht aufheben', - ['threw_pickup_prompt'] = 'Drücke [E] zum aufheben', + ['inventory'] = "Inventar ( Gewicht %s / %s )", + ['use'] = "Benutzen", + ['give'] = "Geben", + ['remove'] = "Entsorgen", + ['return'] = "Zurück", + ['give_to'] = "Geben an", + ['amount'] = "Anzahl", + ['giveammo'] = "Munition geben", + ['amountammo'] = "Munitions Anzahl", + ['noammo'] = "Nicht Genug!", + ['gave_item'] = "Du gibst %sx %s an %s", + ['received_item'] = "Du bekommst %sx %s von %s", + ['gave_weapon'] = "Du gibst %s an %s", + ['gave_weapon_ammo'] = "Du gibst ~o~%sx %s für %s an %s", + ['gave_weapon_withammo'] = "Du gibst %s mit ~o~%sx %s an %s", + ['gave_weapon_hasalready'] = "%s hat bereits %s", + ['gave_weapon_noweapon'] = "%s hat diese Waffe nicht", + ['received_weapon'] = "Du bekommst %s von %s", + ['received_weapon_ammo'] = "Du bekommst ~o~%sx %s für deine %s von %s", + ['received_weapon_withammo'] = "Du bekommst %s mit ~o~%sx %s von %s", + ['received_weapon_hasalready'] = "%s hat versucht dir eine %s zu geben, jedoch hast du diese Waffe bereits!", + ['received_weapon_noweapon'] = "%s hat versucht dir Munition für eine %s zu geben, jedoch hast du diese Waffe bereits!", + ['gave_account_money'] = "Du gibst %s€ (%s) an %s", + ['received_account_money'] = "Du bekommst %s€ (%s) von %s", + ['amount_invalid'] = "Ungültige Anzahl", + ['players_nearby'] = "Keine Personen in der Nähe!", + ['ex_inv_lim'] = "Du kannst diese Aktion nicht ausführen!, Inventarlimit für %s überschritten.", + ['imp_invalid_quantity'] = "Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl!", + ['imp_invalid_amount'] = "Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl", + ['threw_standard'] = "Du entsorgst %sx %s", + ['threw_account'] = "Du Entsorgst %s€ %s", + ['threw_weapon'] = "Du entsorgst %s", + ['threw_weapon_ammo'] = "Du entsorgst %s mit ~o~%sx %s", + ['threw_weapon_already'] = "Du hast diese Waffe bereits!", + ['threw_cannot_pickup'] = "Inventar ist voll! Du kannst dies nicht aufheben", + ['threw_pickup_prompt'] = "Drücke [E] zum aufheben", -- Key mapping - ['keymap_showinventory'] = 'Inventar Anzeigen', + ['keymap_showinventory'] = "Inventar Anzeigen", -- Salary related - ['received_salary'] = 'Dein Gehaltscheck ist angekommen!: %s€', - ['received_help'] = 'Deine Sozialhilfe ist angekommen: %s€', - ['company_nomoney'] = 'Die Firma an der du Angestellt bist, ist leider Arm und kann dich nicht bezahlen :(', - ['received_paycheck'] = 'Gehaltscheck erhalten', - ['bank'] = 'Maze Bank', - ['account_bank'] = 'Bank', - ['account_black_money'] = 'Schwarzgeld', - ['account_money'] = 'Bargeld', + ['received_salary'] = "Dein Gehaltscheck ist angekommen!: %s€", + ['received_help'] = "Deine Sozialhilfe ist angekommen: %s€", + ['company_nomoney'] = "Die Firma an der du Angestellt bist, ist leider Arm und kann dich nicht bezahlen :(", + ['received_paycheck'] = "Gehaltscheck erhalten", + ['bank'] = "Maze Bank", + ['account_bank'] = "Bank", + ['account_black_money'] = "Schwarzgeld", + ['account_money'] = "Bargeld", - ['act_imp'] = 'Du kannst diese Aktion nicht ausführen!', - ['in_vehicle'] = 'Du kannst diese Aktion nicht ausführen! Person ist in einem Fahrzeug', + ['act_imp'] = "Du kannst diese Aktion nicht ausführen!", + ['in_vehicle'] = "Du kannst diese Aktion nicht ausführen! Person ist in einem Fahrzeug", -- Commands - ['command_bring'] = 'Person zu dir bringen', - ['command_car'] = 'Fahrzeug Spawnen', - ['command_car_car'] = 'Fahrzeug Model oder Hash', - ['command_cardel'] = 'Fahrzeuge entfernen', - ['command_cardel_radius'] = 'Entfernt alle Fahrzeuge in einem bestimmten Radius', - ['command_clear'] = 'Textchat leeren', - ['command_clearall'] = 'Textchat leeren für alle Spieler leeren', - ['command_clearinventory'] = 'Alle Items von dem Inventar eines Spielers entfernen', - ['command_clearloadout'] = 'Alle waffen von dem Spieler Loadout entfernen', - ['command_freeze'] = 'Spieler Freezen', - ['command_unfreeze'] = 'Spieler Entfreezen', - ['command_giveaccountmoney'] = 'Geld an einen bestimmten Account geben', - ['command_giveaccountmoney_account'] = 'Account wohin das Geld hinzugefügt werden soll', - ['command_giveaccountmoney_amount'] = 'Anzahl zum hinzufügen', - ['command_giveaccountmoney_invalid'] = 'Accountname Ungültig', - ['command_giveitem'] = 'Spieler ein item geben', - ['command_giveitem_item'] = 'Item Name', - ['command_giveitem_count'] = 'Anzahl', - ['command_giveweapon'] = 'Spieler eine Waffe geben', - ['command_giveweapon_weapon'] = 'Waffenname', - ['command_giveweapon_ammo'] = 'Munitionsanzahl', - ['command_giveweapon_hasalready'] = 'Spieler hat bereits diese Waffe', - ['command_giveweaponcomponent'] = 'Waffenkomponent an einen Spieler geben', - ['command_giveweaponcomponent_component'] = 'Komponent Name', - ['command_giveweaponcomponent_invalid'] = 'Ungültiger Komponent Name', - ['command_giveweaponcomponent_hasalready'] = 'Spieler hat bereits diesen Komponent', - ['command_giveweaponcomponent_missingweapon'] = 'Spieler hat diese Waffe nicht', - ['command_goto'] = 'Teleportiere dich zu einem Spieler', - ['command_kill'] = 'Spieler Töten', - ['command_save'] = 'Von einem bestimmten Spieler die Spielerdaten Speichern', - ['command_saveall'] = 'Von allen Spielern die Spielerdaten Speichern', - ['command_setaccountmoney'] = 'Geld auf einem bestimmten Account setzen', - ['command_setaccountmoney_amount'] = 'Anzahl', - ['command_setcoords'] = 'Zu den bestimmten Koordinaten teleportieren', - ['command_setcoords_x'] = 'X Koordinate', - ['command_setcoords_y'] = 'Y Koordinate', - ['command_setcoords_z'] = 'Z Koordinate', - ['command_setjob'] = 'Job eines Spielers setzen', - ['command_setjob_job'] = 'Name', - ['command_setjob_grade'] = 'Job Grad', - ['command_setjob_invalid'] = 'Der Job Grad oder beides sind ungültig', - ['command_setgroup'] = 'Setzt eine Berechtigungs Gruppe für einen User', - ['command_setgroup_group'] = 'Name der Gruppe', - ['commanderror_argumentmismatch'] = 'Ungültiger Argument (gegeben %s, gewollt %s)', - ['commanderror_argumentmismatch_number'] = 'Ungültiges Argument #%s daten typ (string gegeben, gewollte nummer)', - ['commanderror_invaliditem'] = 'Ungültiges Item', - ['commanderror_invalidweapon'] = 'Ungültige Waffe', - ['commanderror_console'] = 'Befehl kann nicht von der Konsole aus ausgeführt werden', - ['commanderror_invalidcommand'] = 'Ungültiger Befehl - /%s', - ['commanderror_invalidplayerid'] = 'Angegebener Spieler ist nicht online!', - ['commandgeneric_playerid'] = 'Spieler`s ID', - ['command_giveammo_noweapon_found'] = '%s besitzt diese Waffe nicht', - ['command_giveammo_weapon'] = 'Waffenname', - ['command_giveammo_ammo'] = 'Munitionsanzahl', - ['tpm_nowaypoint'] = 'Kein Wegpunkt gesetzt.', - ['tpm_success'] = 'Erfolgreich teleportiert', + ['command_bring'] = "Person zu dir bringen", + ['command_car'] = "Fahrzeug Spawnen", + ['command_car_car'] = "Fahrzeug Model oder Hash", + ['command_cardel'] = "Fahrzeuge entfernen", + ['command_cardel_radius'] = "Entfernt alle Fahrzeuge in einem bestimmten Radius", + ['command_clear'] = "Textchat leeren", + ['command_clearall'] = "Textchat leeren für alle Spieler leeren", + ['command_clearinventory'] = "Alle Items von dem Inventar eines Spielers entfernen", + ['command_clearloadout'] = "Alle waffen von dem Spieler Loadout entfernen", + ['command_freeze'] = "Spieler Freezen", + ['command_unfreeze'] = "Spieler Entfreezen", + ['command_giveaccountmoney'] = "Geld an einen bestimmten Account geben", + ['command_giveaccountmoney_account'] = "Account wohin das Geld hinzugefügt werden soll", + ['command_giveaccountmoney_amount'] = "Anzahl zum hinzufügen", + ['command_giveaccountmoney_invalid'] = "Accountname Ungültig", + ['command_giveitem'] = "Spieler ein item geben", + ['command_giveitem_item'] = "Item Name", + ['command_giveitem_count'] = "Anzahl", + ['command_giveweapon'] = "Spieler eine Waffe geben", + ['command_giveweapon_weapon'] = "Waffenname", + ['command_giveweapon_ammo'] = "Munitionsanzahl", + ['command_giveweapon_hasalready'] = "Spieler hat bereits diese Waffe", + ['command_giveweaponcomponent'] = "Waffenkomponent an einen Spieler geben", + ['command_giveweaponcomponent_component'] = "Komponent Name", + ['command_giveweaponcomponent_invalid'] = "Ungültiger Komponent Name", + ['command_giveweaponcomponent_hasalready'] = "Spieler hat bereits diesen Komponent", + ['command_giveweaponcomponent_missingweapon'] = "Spieler hat diese Waffe nicht", + ['command_goto'] = "Teleportiere dich zu einem Spieler", + ['command_kill'] = "Spieler Töten", + ['command_save'] = "Von einem bestimmten Spieler die Spielerdaten Speichern", + ['command_saveall'] = "Von allen Spielern die Spielerdaten Speichern", + ['command_setaccountmoney'] = "Geld auf einem bestimmten Account setzen", + ['command_setaccountmoney_amount'] = "Anzahl", + ['command_setcoords'] = "Zu den bestimmten Koordinaten teleportieren", + ['command_setcoords_x'] = "X Koordinate", + ['command_setcoords_y'] = "Y Koordinate", + ['command_setcoords_z'] = "Z Koordinate", + ['command_setjob'] = "Job eines Spielers setzen", + ['command_setjob_job'] = "Name", + ['command_setjob_grade'] = "Job Grad", + ['command_setjob_invalid'] = "Der Job Grad oder beides sind ungültig", + ['command_setgroup'] = "Setzt eine Berechtigungs Gruppe für einen User", + ['command_setgroup_group'] = "Name der Gruppe", + ['commanderror_argumentmismatch'] = "Ungültiger Argument (gegeben %s, gewollt %s)", + ['commanderror_argumentmismatch_number'] = "Ungültiges Argument #%s daten typ (string gegeben, gewollte nummer)", + ['commanderror_invaliditem'] = "Ungültiges Item", + ['commanderror_invalidweapon'] = "Ungültige Waffe", + ['commanderror_console'] = "Befehl kann nicht von der Konsole aus ausgeführt werden", + ['commanderror_invalidcommand'] = "Ungültiger Befehl - /%s", + ['commanderror_invalidplayerid'] = "Angegebener Spieler ist nicht online!", + ['commandgeneric_playerid'] = "Spieler`s ID", + ['command_giveammo_noweapon_found'] = "%s besitzt diese Waffe nicht", + ['command_giveammo_weapon'] = "Waffenname", + ['command_giveammo_ammo'] = "Munitionsanzahl", + ['tpm_nowaypoint'] = "Kein Wegpunkt gesetzt.", + ['tpm_success'] = "Erfolgreich teleportiert", - ['noclip_message'] = 'Noclip wurde %s', - ['enabled'] = '~g~Aktiviert~s~', - ['disabled'] = '~r~Deaktiviert~s~', + ['noclip_message'] = "Noclip wurde %s", + ['enabled'] = "~g~Aktiviert~s~", + ['disabled'] = "~r~Deaktiviert~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '%s€', + ['locale_digit_grouping_symbol'] = ",", + ['locale_currency'] = "%s€", -- Weapons -- Melee - ['weapon_dagger'] = 'Dolch', - ['weapon_bat'] = 'Baseballschläger', - ['weapon_battleaxe'] = 'Kampfaxt', - ['weapon_bottle'] = 'Flasche', - ['weapon_crowbar'] = 'Brechstange', - ['weapon_flashlight'] = 'Taschenlampe', - ['weapon_golfclub'] = 'Golfschläger', - ['weapon_hammer'] = 'Hammer', - ['weapon_hatchet'] = 'Beil', - ['weapon_knife'] = 'Messer', - ['weapon_knuckle'] = 'Schlagring', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Schlagstock', - ['weapon_wrench'] = 'Rohrzange', - ['weapon_poolcue'] = 'Billiardstange', - ['weapon_stone_hatchet'] = 'Steinbeil', - ['weapon_switchblade'] = 'Springmesser', + ['weapon_dagger'] = "Dolch", + ['weapon_bat'] = "Baseballschläger", + ['weapon_battleaxe'] = "Kampfaxt", + ['weapon_bottle'] = "Flasche", + ['weapon_crowbar'] = "Brechstange", + ['weapon_flashlight'] = "Taschenlampe", + ['weapon_golfclub'] = "Golfschläger", + ['weapon_hammer'] = "Hammer", + ['weapon_hatchet'] = "Beil", + ['weapon_knife'] = "Messer", + ['weapon_knuckle'] = "Schlagring", + ['weapon_machete'] = "Machete", + ['weapon_nightstick'] = "Schlagstock", + ['weapon_wrench'] = "Rohrzange", + ['weapon_poolcue'] = "Billiardstange", + ['weapon_stone_hatchet'] = "Steinbeil", + ['weapon_switchblade'] = "Springmesser", -- Handguns - ['weapon_appistol'] = 'AP Pistole', - ['weapon_ceramicpistol'] = 'Keramikpistole', - ['weapon_combatpistol'] = 'Kampfpistole', - ['weapon_doubleaction'] = 'Double-Action Revolver', - ['weapon_navyrevolver'] = 'Navy Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadgetpistole', - ['weapon_heavypistol'] = 'Schwere Pistole', - ['weapon_revolver'] = 'Schwerer Revolver', - ['weapon_revolver_mk2'] = 'Schwerer Revolver MK2', - ['weapon_marksmanpistol'] = 'Scharfschützen Pistole', - ['weapon_pistol'] = 'Pistole', - ['weapon_pistol_mk2'] = 'Pistole MK2', - ['weapon_pistol50'] = 'Pistole 50 Kaliber', - ['weapon_snspistol'] = 'SNS Pistol', - ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintagepistole', + ['weapon_appistol'] = "AP Pistole", + ['weapon_ceramicpistol'] = "Keramikpistole", + ['weapon_combatpistol'] = "Kampfpistole", + ['weapon_doubleaction'] = "Double-Action Revolver", + ['weapon_navyrevolver'] = "Navy Revolver", + ['weapon_flaregun'] = "Flaregun", + ['weapon_gadgetpistol'] = "Gadgetpistole", + ['weapon_heavypistol'] = "Schwere Pistole", + ['weapon_revolver'] = "Schwerer Revolver", + ['weapon_revolver_mk2'] = "Schwerer Revolver MK2", + ['weapon_marksmanpistol'] = "Scharfschützen Pistole", + ['weapon_pistol'] = "Pistole", + ['weapon_pistol_mk2'] = "Pistole MK2", + ['weapon_pistol50'] = "Pistole 50 Kaliber", + ['weapon_snspistol'] = "SNS Pistol", + ['weapon_snspistol_mk2'] = "SNS Pistol MK2", + ['weapon_stungun'] = "Taser", + ['weapon_raypistol'] = "Up-N-Atomizer", + ['weapon_vintagepistol'] = "Vintagepistole", -- Shotguns - ['weapon_assaultshotgun'] = 'Sturmschrotflinte', - ['weapon_autoshotgun'] = 'Automatische Schrotflinte', - ['weapon_bullpupshotgun'] = 'Bullpup-Schrotflinte', - ['weapon_combatshotgun'] = 'Kampfschrotfline', - ['weapon_dbshotgun'] = 'Doppelbarrel Schrotflinte', - ['weapon_heavyshotgun'] = 'Schwere Schrotflinte', - ['weapon_musket'] = 'Muskete', - ['weapon_pumpshotgun'] = 'Pump Schrotflinte', - ['weapon_pumpshotgun_mk2'] = 'Pump Schrotflinte MK2', - ['weapon_sawnoffshotgun'] = 'Abgesägte Schrotflinte', + ['weapon_assaultshotgun'] = "Sturmschrotflinte", + ['weapon_autoshotgun'] = "Automatische Schrotflinte", + ['weapon_bullpupshotgun'] = "Bullpup-Schrotflinte", + ['weapon_combatshotgun'] = "Kampfschrotfline", + ['weapon_dbshotgun'] = "Doppelbarrel Schrotflinte", + ['weapon_heavyshotgun'] = "Schwere Schrotflinte", + ['weapon_musket'] = "Muskete", + ['weapon_pumpshotgun'] = "Pump Schrotflinte", + ['weapon_pumpshotgun_mk2'] = "Pump Schrotflinte MK2", + ['weapon_sawnoffshotgun'] = "Abgesägte Schrotflinte", -- SMG & LMG - ['weapon_assaultsmg'] = 'Sturm SMG', - ['weapon_combatmg'] = 'Kampf MG', - ['weapon_combatmg_mk2'] = 'Kampf MG MK2', - ['weapon_combatpdw'] = 'Kampf PDW', - ['weapon_gusenberg'] = 'Gusenberg Sweeper', - ['weapon_machinepistol'] = 'Maschinenpistole', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Mikro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Unheiliger Höllenbringer', + ['weapon_assaultsmg'] = "Sturm SMG", + ['weapon_combatmg'] = "Kampf MG", + ['weapon_combatmg_mk2'] = "Kampf MG MK2", + ['weapon_combatpdw'] = "Kampf PDW", + ['weapon_gusenberg'] = "Gusenberg Sweeper", + ['weapon_machinepistol'] = "Maschinenpistole", + ['weapon_mg'] = "MG", + ['weapon_microsmg'] = "Mikro SMG", + ['weapon_minismg'] = "Mini SMG", + ['weapon_smg'] = "SMG", + ['weapon_smg_mk2'] = "SMG MK2", + ['weapon_raycarbine'] = "Unheiliger Höllenbringer", -- Rifles - ['weapon_advancedrifle'] = 'Fortgeschrittenes Gewehr', - ['weapon_assaultrifle'] = 'Sturmgewehr', - ['weapon_assaultrifle_mk2'] = 'Sturmgewehr MK2', - ['weapon_bullpuprifle'] = 'Bullpup Gewehr', - ['weapon_bullpuprifle_mk2'] = 'Bullpup Gewehr MK2', - ['weapon_carbinerifle'] = 'Karabinergewehr', - ['weapon_carbinerifle_mk2'] = 'Karabinergewehr MK2', - ['weapon_compactrifle'] = 'Kompaktesgewehr', - ['weapon_militaryrifle'] = 'Militärgewehr', - ['weapon_specialcarbine'] = 'Spezialkarabiner', - ['weapon_specialcarbine_mk2'] = 'Spezialkarabiner MK2', + ['weapon_advancedrifle'] = "Fortgeschrittenes Gewehr", + ['weapon_assaultrifle'] = "Sturmgewehr", + ['weapon_assaultrifle_mk2'] = "Sturmgewehr MK2", + ['weapon_bullpuprifle'] = "Bullpup Gewehr", + ['weapon_bullpuprifle_mk2'] = "Bullpup Gewehr MK2", + ['weapon_carbinerifle'] = "Karabinergewehr", + ['weapon_carbinerifle_mk2'] = "Karabinergewehr MK2", + ['weapon_compactrifle'] = "Kompaktesgewehr", + ['weapon_militaryrifle'] = "Militärgewehr", + ['weapon_specialcarbine'] = "Spezialkarabiner", + ['weapon_specialcarbine_mk2'] = "Spezialkarabiner MK2", -- Sniper - ['weapon_heavysniper'] = 'Schwere Sniper', - ['weapon_heavysniper_mk2'] = 'Schwere Sniper MK2', - ['weapon_marksmanrifle'] = 'Scharfschützengewehr', - ['weapon_marksmanrifle_mk2'] = 'Scharfschützengewehr MK2', - ['weapon_sniperrifle'] = 'Sniper', + ['weapon_heavysniper'] = "Schwere Sniper", + ['weapon_heavysniper_mk2'] = "Schwere Sniper MK2", + ['weapon_marksmanrifle'] = "Scharfschützengewehr", + ['weapon_marksmanrifle_mk2'] = "Scharfschützengewehr MK2", + ['weapon_sniperrifle'] = "Sniper", -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Kompaktlauncher', - ['weapon_firework'] = 'Feuerwerklauncher', - ['weapon_grenadelauncher'] = 'Granatwerfer', - ['weapon_hominglauncher'] = 'Lenkraketenwerfer', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Raketenwerfer', - ['weapon_rayminigun'] = 'Witwenmacher', + ['weapon_compactlauncher'] = "Kompaktlauncher", + ['weapon_firework'] = "Feuerwerklauncher", + ['weapon_grenadelauncher'] = "Granatwerfer", + ['weapon_hominglauncher'] = "Lenkraketenwerfer", + ['weapon_minigun'] = "Minigun", + ['weapon_railgun'] = "Railgun", + ['weapon_rpg'] = "Raketenwerfer", + ['weapon_rayminigun'] = "Witwenmacher", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Metalldetektor', - ['weapon_precisionrifle'] = 'Präzisionsgewehr', - ['weapon_tactilerifle'] = 'Service Karabiner', + ['weapon_metaldetector'] = "Metalldetektor", + ['weapon_precisionrifle'] = "Präzisionsgewehr", + ['weapon_tactilerifle'] = "Service Karabiner", -- Thrown - ['weapon_ball'] = 'Baseball', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_flare'] = 'Leuchtfackel', - ['weapon_grenade'] = 'Granate', - ['weapon_petrolcan'] = 'Benzinkanister', - ['weapon_hazardcan'] = 'Gefährliche Kanister', - ['weapon_molotov'] = 'Molotov Cocktail', - ['weapon_proxmine'] = 'Annährungsmine', - ['weapon_pipebomb'] = 'Rohrbombe', - ['weapon_snowball'] = 'Schneeball', - ['weapon_stickybomb'] = 'Haftbombe', - ['weapon_smokegrenade'] = 'Tränengas', + ['weapon_ball'] = "Baseball", + ['weapon_bzgas'] = "BZ Gas", + ['weapon_flare'] = "Leuchtfackel", + ['weapon_grenade'] = "Granate", + ['weapon_petrolcan'] = "Benzinkanister", + ['weapon_hazardcan'] = "Gefährliche Kanister", + ['weapon_molotov'] = "Molotov Cocktail", + ['weapon_proxmine'] = "Annährungsmine", + ['weapon_pipebomb'] = "Rohrbombe", + ['weapon_snowball'] = "Schneeball", + ['weapon_stickybomb'] = "Haftbombe", + ['weapon_smokegrenade'] = "Tränengas", -- Special - ['weapon_fireextinguisher'] = 'Feuerlöscher', - ['weapon_digiscanner'] = 'Digitalscanner', - ['weapon_garbagebag'] = 'Müllsack', - ['weapon_handcuffs'] = 'Handschelle', - ['gadget_nightvision'] = 'Nachtsicht', - ['gadget_parachute'] = 'Fallschirm', + ['weapon_fireextinguisher'] = "Feuerlöscher", + ['weapon_digiscanner'] = "Digitalscanner", + ['weapon_garbagebag'] = "Müllsack", + ['weapon_handcuffs'] = "Handschelle", + ['gadget_nightvision'] = "Nachtsicht", + ['gadget_parachute'] = "Fallschirm", -- Weapon Components - ['component_knuckle_base'] = 'Basismodell', - ['component_knuckle_pimp'] = 'Der Pimp', - ['component_knuckle_ballas'] = 'Die Ballas', - ['component_knuckle_dollar'] = 'Der Hustler', - ['component_knuckle_diamond'] = 'Der Stein', - ['component_knuckle_hate'] = 'Der Hater', - ['component_knuckle_love'] = 'Der Lover', - ['component_knuckle_player'] = 'Der Player', - ['component_knuckle_king'] = 'Der King', - ['component_knuckle_vagos'] = 'Die Vagos', + ['component_knuckle_base'] = "Basismodell", + ['component_knuckle_pimp'] = "Der Pimp", + ['component_knuckle_ballas'] = "Die Ballas", + ['component_knuckle_dollar'] = "Der Hustler", + ['component_knuckle_diamond'] = "Der Stein", + ['component_knuckle_hate'] = "Der Hater", + ['component_knuckle_love'] = "Der Lover", + ['component_knuckle_player'] = "Der Player", + ['component_knuckle_king'] = "Der King", + ['component_knuckle_vagos'] = "Die Vagos", - ['component_luxary_finish'] = 'Luxuswaffenlackierung', + ['component_luxary_finish'] = "Luxuswaffenlackierung", - ['component_handle_default'] = 'Normaler Handgriff', - ['component_handle_vip'] = 'VIP Handgriff', - ['component_handle_bodyguard'] = 'Bodyguard Handgriff', + ['component_handle_default'] = "Normaler Handgriff", + ['component_handle_vip'] = "VIP Handgriff", + ['component_handle_bodyguard'] = "Bodyguard Handgriff", - ['component_vip_finish'] = 'VIP Lackierung', - ['component_bodyguard_finish'] = 'Bodyguard Lackierung', + ['component_vip_finish'] = "VIP Lackierung", + ['component_bodyguard_finish'] = "Bodyguard Lackierung", - ['component_camo_finish'] = 'Digitales Camouflage', - ['component_camo_finish2'] = 'Pinselstrich Camouflage', - ['component_camo_finish3'] = 'Holzland Camouflage', - ['component_camo_finish4'] = 'Kopf Camouflage', - ['component_camo_finish5'] = 'Sessebta-Nove Camouflage', - ['component_camo_finish6'] = 'Perseus Camouflage', - ['component_camo_finish7'] = 'Leopard Camouflage', - ['component_camo_finish8'] = 'Zebra Camouflage', - ['component_camo_finish9'] = 'Geometrisch Camouflage', - ['component_camo_finish10'] = 'BOOM Camouflage', - ['component_camo_finish11'] = 'Patriotisch Camouflage', + ['component_camo_finish'] = "Digitales Camouflage", + ['component_camo_finish2'] = "Pinselstrich Camouflage", + ['component_camo_finish3'] = "Holzland Camouflage", + ['component_camo_finish4'] = "Kopf Camouflage", + ['component_camo_finish5'] = "Sessebta-Nove Camouflage", + ['component_camo_finish6'] = "Perseus Camouflage", + ['component_camo_finish7'] = "Leopard Camouflage", + ['component_camo_finish8'] = "Zebra Camouflage", + ['component_camo_finish9'] = "Geometrisch Camouflage", + ['component_camo_finish10'] = "BOOM Camouflage", + ['component_camo_finish11'] = "Patriotisch Camouflage", - ['component_camo_slide_finish'] = 'Digital Rutschen Camouflage', - ['component_camo_slide_finish2'] = 'Pinselstrich Rutschen Camouflage', - ['component_camo_slide_finish3'] = 'Holzland Rutschen Camouflage', - ['component_camo_slide_finish4'] = 'Kopf Rutschen Camouflage', - ['component_camo_slide_finish5'] = 'Sessebta-Nove Nove Rutschen Camouflage', - ['component_camo_slide_finish6'] = 'Perseus Rutschen Camouflage', - ['component_camo_slide_finish7'] = 'Leopard Rutschen Camouflage', - ['component_camo_slide_finish8'] = 'Zebra Rutschen Camouflage', - ['component_camo_slide_finish9'] = 'Geometrisch Rutschen Camouflage', - ['component_camo_slide_finish10'] = 'BOOM Rutschen Camouflage', - ['component_camo_slide_finish11'] = 'Patriotisch Rutschen Camouflage', + ['component_camo_slide_finish'] = "Digital Rutschen Camouflage", + ['component_camo_slide_finish2'] = "Pinselstrich Rutschen Camouflage", + ['component_camo_slide_finish3'] = "Holzland Rutschen Camouflage", + ['component_camo_slide_finish4'] = "Kopf Rutschen Camouflage", + ['component_camo_slide_finish5'] = "Sessebta-Nove Nove Rutschen Camouflage", + ['component_camo_slide_finish6'] = "Perseus Rutschen Camouflage", + ['component_camo_slide_finish7'] = "Leopard Rutschen Camouflage", + ['component_camo_slide_finish8'] = "Zebra Rutschen Camouflage", + ['component_camo_slide_finish9'] = "Geometrisch Rutschen Camouflage", + ['component_camo_slide_finish10'] = "BOOM Rutschen Camouflage", + ['component_camo_slide_finish11'] = "Patriotisch Rutschen Camouflage", - ['component_clip_default'] = 'Standart Magazin', - ['component_clip_extended'] = 'Erweiterters Magazin', - ['component_clip_drum'] = 'Trommelmagazin', - ['component_clip_box'] = 'Kastenmagazin', + ['component_clip_default'] = "Standart Magazin", + ['component_clip_extended'] = "Erweiterters Magazin", + ['component_clip_drum'] = "Trommelmagazin", + ['component_clip_box'] = "Kastenmagazin", - ['component_scope_holo'] = 'Holographisches Zielfernrohr', - ['component_scope_small'] = 'Kleines Zielfernrohr', - ['component_scope_medium'] = 'Mittleres Zielfernrohr', - ['component_scope_large'] = 'Großes Zielfernrohr', - ['component_scope'] = 'Montiertes Zielfernrohr', - ['component_scope_advanced'] = 'Fortgeschrittenes Zielfernrohr', - ['component_ironsights'] = 'Ironsights', + ['component_scope_holo'] = "Holographisches Zielfernrohr", + ['component_scope_small'] = "Kleines Zielfernrohr", + ['component_scope_medium'] = "Mittleres Zielfernrohr", + ['component_scope_large'] = "Großes Zielfernrohr", + ['component_scope'] = "Montiertes Zielfernrohr", + ['component_scope_advanced'] = "Fortgeschrittenes Zielfernrohr", + ['component_ironsights'] = "Ironsights", - ['component_suppressor'] = 'Entstörer', - ['component_compensator'] = 'Kompensator', + ['component_suppressor'] = "Entstörer", + ['component_compensator'] = "Kompensator", - ['component_muzzle_flat'] = 'Flache Mündung', - ['component_muzzle_tactical'] = 'Taktische Mündung', - ['component_muzzle_fat'] = 'Fettes-Ende Mündung', - ['component_muzzle_precision'] = 'Präzision Mündung', - ['component_muzzle_heavy'] = 'Schwere Mündung', - ['component_muzzle_slanted'] = 'Schräge Mündung', - ['component_muzzle_split'] = 'Geteiletes-Ende Mündung', - ['component_muzzle_squared'] = 'Quadratische Mündung', + ['component_muzzle_flat'] = "Flache Mündung", + ['component_muzzle_tactical'] = "Taktische Mündung", + ['component_muzzle_fat'] = "Fettes-Ende Mündung", + ['component_muzzle_precision'] = "Präzision Mündung", + ['component_muzzle_heavy'] = "Schwere Mündung", + ['component_muzzle_slanted'] = "Schräge Mündung", + ['component_muzzle_split'] = "Geteiletes-Ende Mündung", + ['component_muzzle_squared'] = "Quadratische Mündung", - ['component_flashlight'] = 'Taschenlampe', - ['component_grip'] = 'Grip', + ['component_flashlight'] = "Taschenlampe", + ['component_grip'] = "Grip", - ['component_barrel_default'] = 'Normales Fass', - ['component_barrel_heavy'] = 'Schweres Fass', + ['component_barrel_default'] = "Normales Fass", + ['component_barrel_heavy'] = "Schweres Fass", - ['component_ammo_tracer'] = 'Tracer Munition', - ['component_ammo_incendiary'] = 'Aufruhr Munition', - ['component_ammo_hollowpoint'] = 'Hohlspitze Munition', - ['component_ammo_fmj'] = 'FMJ Munition', - ['component_ammo_armor'] = 'Panzerbrechende Munition', - ['component_ammo_explosive'] = 'Panzerbrechende brennende Munition', + ['component_ammo_tracer'] = "Tracer Munition", + ['component_ammo_incendiary'] = "Aufruhr Munition", + ['component_ammo_hollowpoint'] = "Hohlspitze Munition", + ['component_ammo_fmj'] = "FMJ Munition", + ['component_ammo_armor'] = "Panzerbrechende Munition", + ['component_ammo_explosive'] = "Panzerbrechende brennende Munition", - ['component_shells_default'] = 'Normale Hülsen', - ['component_shells_incendiary'] = 'Drachenatem Hülsen', - ['component_shells_armor'] = 'Stahlschrot Hülsen', - ['component_shells_hollowpoint'] = 'Flechette Hülsen', - ['component_shells_explosive'] = 'Explosives Geschoss Hülsen', + ['component_shells_default'] = "Normale Hülsen", + ['component_shells_incendiary'] = "Drachenatem Hülsen", + ['component_shells_armor'] = "Stahlschrot Hülsen", + ['component_shells_hollowpoint'] = "Flechette Hülsen", + ['component_shells_explosive'] = "Explosives Geschoss Hülsen", -- Weapon Ammo - ['ammo_rounds'] = 'Kugel(n)', - ['ammo_shells'] = 'Schrotpatrone(n)', - ['ammo_charge'] = 'Nachladen', - ['ammo_petrol'] = 'Benzinkanister', - ['ammo_firework'] = 'Feuerwerksrakete(n)', - ['ammo_rockets'] = 'Rakete(n)', - ['ammo_grenadelauncher'] = 'Granate(n)', - ['ammo_grenade'] = 'Granate(n)', - ['ammo_stickybomb'] = 'C4(s)', - ['ammo_pipebomb'] = 'Rohrbombe(n)', - ['ammo_smokebomb'] = 'Rauchgranate(n)', - ['ammo_molotov'] = 'Molotovcocktail(s)', - ['ammo_proxmine'] = 'Annäherungsmine(n)', - ['ammo_bzgas'] = 'Bzgas', - ['ammo_ball'] = 'Ball', - ['ammo_snowball'] = 'Schneebälle', - ['ammo_flare'] = 'Signalfackel(n)', - ['ammo_flaregun'] = 'Signalfackeln(munition)', + ['ammo_rounds'] = "Kugel(n)", + ['ammo_shells'] = "Schrotpatrone(n)", + ['ammo_charge'] = "Nachladen", + ['ammo_petrol'] = "Benzinkanister", + ['ammo_firework'] = "Feuerwerksrakete(n)", + ['ammo_rockets'] = "Rakete(n)", + ['ammo_grenadelauncher'] = "Granate(n)", + ['ammo_grenade'] = "Granate(n)", + ['ammo_stickybomb'] = "C4(s)", + ['ammo_pipebomb'] = "Rohrbombe(n)", + ['ammo_smokebomb'] = "Rauchgranate(n)", + ['ammo_molotov'] = "Molotovcocktail(s)", + ['ammo_proxmine'] = "Annäherungsmine(n)", + ['ammo_bzgas'] = "Bzgas", + ['ammo_ball'] = "Ball", + ['ammo_snowball'] = "Schneebälle", + ['ammo_flare'] = "Signalfackel(n)", + ['ammo_flaregun'] = "Signalfackeln(munition)", -- Weapon Tints - ['tint_default'] = 'Standard', - ['tint_green'] = 'Grün', - ['tint_gold'] = 'Gold', - ['tint_pink'] = 'Pink', - ['tint_army'] = 'Camouflage', - ['tint_lspd'] = 'Blau', - ['tint_orange'] = 'Orange', - ['tint_platinum'] = 'Platin', + ['tint_default'] = "Standard", + ['tint_green'] = "Grün", + ['tint_gold'] = "Gold", + ['tint_pink'] = "Pink", + ['tint_army'] = "Camouflage", + ['tint_lspd'] = "Blau", + ['tint_orange'] = "Orange", + ['tint_platinum'] = "Platin", } diff --git a/[core]/es_extended/locales/en.lua b/[core]/es_extended/locales/en.lua index ec590def..ecaac0dd 100644 --- a/[core]/es_extended/locales/en.lua +++ b/[core]/es_extended/locales/en.lua @@ -1,365 +1,365 @@ Locales['en'] = { -- Inventory - ['inventory'] = 'Inventory ( Weight %s / %s )', - ['use'] = 'Use', - ['give'] = 'Give', - ['remove'] = 'Throw', - ['return'] = 'Return', - ['give_to'] = 'Give to', - ['amount'] = 'Amount', - ['giveammo'] = 'Give ammo', - ['amountammo'] = 'Ammo Amount', - ['noammo'] = 'Not Enough!', - ['gave_item'] = 'Giving %sx %s to %s', - ['received_item'] = 'Received %sx %s from %s', - ['gave_weapon'] = 'Giving %s to %s', - ['gave_weapon_ammo'] = 'Giving ~o~%sx %s for %s to %s', - ['gave_weapon_withammo'] = 'Giving %s with ~o~%sx %s to %s', - ['gave_weapon_hasalready'] = '%s already has a %s', - ['gave_weapon_noweapon'] = '%s does not have that weapon', - ['received_weapon'] = 'Received %s from %s', - ['received_weapon_ammo'] = 'Received ~o~%sx %s for your %s from %s', - ['received_weapon_withammo'] = 'Received %s with ~o~%sx %s from %s', - ['received_weapon_hasalready'] = '%s has attempted to give you a %s, but you already this weapon', - ['received_weapon_noweapon'] = '%s has attempted to give you ammo for a %s, but you do not have this weapon', - ['gave_account_money'] = 'Giving $%s (%s) to %s', - ['received_account_money'] = 'Received $%s (%s) from %s', - ['amount_invalid'] = 'Invalid quantity', - ['players_nearby'] = 'No nearby Players', - ['ex_inv_lim'] = 'Cannot perfom action,exceeding max weight of %s', - ['imp_invalid_quantity'] = 'Cannot perfom action, the quantity is invalid', - ['imp_invalid_amount'] = 'Cannot perfom action, the amount is invalid', - ['threw_standard'] = 'Throwing %sx %s', - ['threw_account'] = 'Throwing $%s %s', - ['threw_weapon'] = 'Throwing %s', - ['threw_weapon_ammo'] = 'Throwing %s with ~o~%sx %s', - ['threw_weapon_already'] = 'You already have this weapon', - ['threw_cannot_pickup'] = 'Inventory is full, Cannot Pickup!', - ['threw_pickup_prompt'] = 'Press E to Pickup', + ['inventory'] = "Inventory ( Weight %s / %s )", + ['use'] = "Use", + ['give'] = "Give", + ['remove'] = "Throw", + ['return'] = "Return", + ['give_to'] = "Give to", + ['amount'] = "Amount", + ['giveammo'] = "Give ammo", + ['amountammo'] = "Ammo Amount", + ['noammo'] = "Not Enough!", + ['gave_item'] = "Giving %sx %s to %s", + ['received_item'] = "Received %sx %s from %s", + ['gave_weapon'] = "Giving %s to %s", + ['gave_weapon_ammo'] = "Giving ~o~%sx %s for %s to %s", + ['gave_weapon_withammo'] = "Giving %s with ~o~%sx %s to %s", + ['gave_weapon_hasalready'] = "%s already has a %s", + ['gave_weapon_noweapon'] = "%s does not have that weapon", + ['received_weapon'] = "Received %s from %s", + ['received_weapon_ammo'] = "Received ~o~%sx %s for your %s from %s", + ['received_weapon_withammo'] = "Received %s with ~o~%sx %s from %s", + ['received_weapon_hasalready'] = "%s has attempted to give you a %s, but you already this weapon", + ['received_weapon_noweapon'] = "%s has attempted to give you ammo for a %s, but you do not have this weapon", + ['gave_account_money'] = "Giving $%s (%s) to %s", + ['received_account_money'] = "Received $%s (%s) from %s", + ['amount_invalid'] = "Invalid quantity", + ['players_nearby'] = "No nearby Players", + ['ex_inv_lim'] = "Cannot perfom action,exceeding max weight of %s", + ['imp_invalid_quantity'] = "Cannot perfom action, the quantity is invalid", + ['imp_invalid_amount'] = "Cannot perfom action, the amount is invalid", + ['threw_standard'] = "Throwing %sx %s", + ['threw_account'] = "Throwing $%s %s", + ['threw_weapon'] = "Throwing %s", + ['threw_weapon_ammo'] = "Throwing %s with ~o~%sx %s", + ['threw_weapon_already'] = "You already have this weapon", + ['threw_cannot_pickup'] = "Inventory is full, Cannot Pickup!", + ['threw_pickup_prompt'] = "Press E to Pickup", -- Key mapping - ['keymap_showinventory'] = 'Show Inventory', + ['keymap_showinventory'] = "Show Inventory", -- Salary related - ['received_salary'] = 'You have been paid: $%s', - ['received_help'] = 'You have been paid your welfare check: $%s', - ['company_nomoney'] = 'the company you\'re employeed at is too poor to pay out your salary', - ['received_paycheck'] = 'received paycheck', - ['bank'] = 'Maze Bank', - ['account_bank'] = 'Bank', - ['account_black_money'] = 'Dirty Money', - ['account_money'] = 'Cash', + ['received_salary'] = "You have been paid: $%s", + ['received_help'] = "You have been paid your welfare check: $%s", + ['company_nomoney'] = "the company you're employeed at is too poor to pay out your salary", + ['received_paycheck'] = "received paycheck", + ['bank'] = "Maze Bank", + ['account_bank'] = "Bank", + ['account_black_money'] = "Dirty Money", + ['account_money'] = "Cash", - ['act_imp'] = 'Cannot Perform Action', - ['in_vehicle'] = 'Cannot Perform Action, Player is in a vehicle', + ['act_imp'] = "Cannot Perform Action", + ['in_vehicle'] = "Cannot Perform Action, Player is in a vehicle", -- Commands - ['command_bring'] = 'Bring player to you', - ['command_car'] = 'Spawn a vehicle', - ['command_car_car'] = 'Vehicle model or hash', - ['command_cardel'] = 'Remove vehicles in proximity', - ['command_cardel_radius'] = 'Removes all vehicles within the specified radius', - ['command_clear'] = 'Clear chat Text', - ['command_clearall'] = 'Clear chat Text for all players', - ['command_clearinventory'] = 'Remove All items from the Players Inventory', - ['command_clearloadout'] = 'Remove All weapons from the Players Loadout', - ['command_freeze'] = 'Freeze a player', - ['command_unfreeze'] = 'Unfreeze a player', - ['command_giveaccountmoney'] = 'Give Money to a specified Account', - ['command_giveaccountmoney_account'] = 'Account to add to', - ['command_giveaccountmoney_amount'] = 'Amount to add', - ['command_giveaccountmoney_invalid'] = 'Account Name Invalid', - ['command_giveitem'] = 'Give Player an item', - ['command_giveitem_item'] = 'Item name', - ['command_giveitem_count'] = 'Quantity', - ['command_giveweapon'] = 'Give player a weapon', - ['command_giveweapon_weapon'] = 'Weapon name', - ['command_giveweapon_ammo'] = 'Ammo Quantity', - ['command_giveweapon_hasalready'] = 'Player already has this weapon', - ['command_giveweaponcomponent'] = 'Give weapon component to player', - ['command_giveweaponcomponent_component'] = 'Component name', - ['command_giveweaponcomponent_invalid'] = 'Invalid weapon component', - ['command_giveweaponcomponent_hasalready'] = 'Player already has this weapon component', - ['command_giveweaponcomponent_missingweapon'] = 'Player does not have this weapon', - ['command_goto'] = 'Teleport yourself to a player', - ['command_kill'] = 'Kill a player', - ['command_save'] = 'Force Save a player`s Data', - ['command_saveall'] = 'Force Save all player data', - ['command_setaccountmoney'] = 'Set the money within a specified account', - ['command_setaccountmoney_amount'] = 'Amount', - ['command_setcoords'] = 'Teleport to specified Coordinates', - ['command_setcoords_x'] = 'X value', - ['command_setcoords_y'] = 'Y value', - ['command_setcoords_z'] = 'Z value', - ['command_setjob'] = 'Set a player`s job', - ['command_setjob_job'] = 'Name', - ['command_setjob_grade'] = 'Job grade', - ['command_setjob_invalid'] = 'the job, grade or both are invalid', - ['command_setgroup'] = 'Set a players permission group', - ['command_setgroup_group'] = 'Name of Group', - ['commanderror_argumentmismatch'] = 'Invalid Argument Count (passed %s, wanted %s)', - ['commanderror_argumentmismatch_number'] = 'Invalid Argument #%s data type (passed string, wanted number)', - ['commanderror_invaliditem'] = 'Invalid item', - ['commanderror_invalidweapon'] = 'Invalid weapon', - ['commanderror_console'] = 'Command Cannot be executed from console', - ['commanderror_invalidcommand'] = 'Invalid Command - /%s', - ['commanderror_invalidplayerid'] = 'Specified Player is not online', - ['commandgeneric_playerid'] = 'Player`s Server Id', - ['command_giveammo_noweapon_found'] = '%s does not have that weapon', - ['command_giveammo_weapon'] = 'Weapon name', - ['command_giveammo_ammo'] = 'Ammo Quantity', - ['tpm_nowaypoint'] = 'No Waypoint Set.', - ['tpm_success'] = 'Successfully Teleported', + ['command_bring'] = "Bring player to you", + ['command_car'] = "Spawn a vehicle", + ['command_car_car'] = "Vehicle model or hash", + ['command_cardel'] = "Remove vehicles in proximity", + ['command_cardel_radius'] = "Removes all vehicles within the specified radius", + ['command_clear'] = "Clear chat Text", + ['command_clearall'] = "Clear chat Text for all players", + ['command_clearinventory'] = "Remove All items from the Players Inventory", + ['command_clearloadout'] = "Remove All weapons from the Players Loadout", + ['command_freeze'] = "Freeze a player", + ['command_unfreeze'] = "Unfreeze a player", + ['command_giveaccountmoney'] = "Give Money to a specified Account", + ['command_giveaccountmoney_account'] = "Account to add to", + ['command_giveaccountmoney_amount'] = "Amount to add", + ['command_giveaccountmoney_invalid'] = "Account Name Invalid", + ['command_giveitem'] = "Give Player an item", + ['command_giveitem_item'] = "Item name", + ['command_giveitem_count'] = "Quantity", + ['command_giveweapon'] = "Give player a weapon", + ['command_giveweapon_weapon'] = "Weapon name", + ['command_giveweapon_ammo'] = "Ammo Quantity", + ['command_giveweapon_hasalready'] = "Player already has this weapon", + ['command_giveweaponcomponent'] = "Give weapon component to player", + ['command_giveweaponcomponent_component'] = "Component name", + ['command_giveweaponcomponent_invalid'] = "Invalid weapon component", + ['command_giveweaponcomponent_hasalready'] = "Player already has this weapon component", + ['command_giveweaponcomponent_missingweapon'] = "Player does not have this weapon", + ['command_goto'] = "Teleport yourself to a player", + ['command_kill'] = "Kill a player", + ['command_save'] = "Force Save a player`s Data", + ['command_saveall'] = "Force Save all player data", + ['command_setaccountmoney'] = "Set the money within a specified account", + ['command_setaccountmoney_amount'] = "Amount", + ['command_setcoords'] = "Teleport to specified Coordinates", + ['command_setcoords_x'] = "X value", + ['command_setcoords_y'] = "Y value", + ['command_setcoords_z'] = "Z value", + ['command_setjob'] = "Set a player`s job", + ['command_setjob_job'] = "Name", + ['command_setjob_grade'] = "Job grade", + ['command_setjob_invalid'] = "the job, grade or both are invalid", + ['command_setgroup'] = "Set a players permission group", + ['command_setgroup_group'] = "Name of Group", + ['commanderror_argumentmismatch'] = "Invalid Argument Count (passed %s, wanted %s)", + ['commanderror_argumentmismatch_number'] = "Invalid Argument #%s data type (passed string, wanted number)", + ['commanderror_invaliditem'] = "Invalid item", + ['commanderror_invalidweapon'] = "Invalid weapon", + ['commanderror_console'] = "Command Cannot be executed from console", + ['commanderror_invalidcommand'] = "Invalid Command - /%s", + ['commanderror_invalidplayerid'] = "Specified Player is not online", + ['commandgeneric_playerid'] = "Player`s Server Id", + ['command_giveammo_noweapon_found'] = "%s does not have that weapon", + ['command_giveammo_weapon'] = "Weapon name", + ['command_giveammo_ammo'] = "Ammo Quantity", + ['tpm_nowaypoint'] = "No Waypoint Set.", + ['tpm_success'] = "Successfully Teleported", - ['noclip_message'] = 'Noclip has been %s', - ['enabled'] = '~g~enabled~s~', - ['disabled'] = '~r~disabled~s~', + ['noclip_message'] = "Noclip has been %s", + ['enabled'] = "~g~enabled~s~", + ['disabled'] = "~r~disabled~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '£%s', + ['locale_digit_grouping_symbol'] = ",", + ['locale_currency'] = "£%s", -- Weapons -- Melee - ['weapon_dagger'] = 'Dagger', - ['weapon_bat'] = 'Bat', - ['weapon_battleaxe'] = 'Battle Axe', - ['weapon_bottle'] = 'Bottle', - ['weapon_crowbar'] = 'Crowbar', - ['weapon_flashlight'] = 'Flashlight', - ['weapon_golfclub'] = 'Golf Club', - ['weapon_hammer'] = 'Hammer', - ['weapon_hatchet'] = 'Hatchet', - ['weapon_knife'] = 'Knife', - ['weapon_knuckle'] = 'Knuckledusters', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Nightstick', - ['weapon_wrench'] = 'Pipe Wrench', - ['weapon_poolcue'] = 'Pool Cue', - ['weapon_stone_hatchet'] = 'Stone Hatchet', - ['weapon_switchblade'] = 'Switchblade', + ['weapon_dagger'] = "Dagger", + ['weapon_bat'] = "Bat", + ['weapon_battleaxe'] = "Battle Axe", + ['weapon_bottle'] = "Bottle", + ['weapon_crowbar'] = "Crowbar", + ['weapon_flashlight'] = "Flashlight", + ['weapon_golfclub'] = "Golf Club", + ['weapon_hammer'] = "Hammer", + ['weapon_hatchet'] = "Hatchet", + ['weapon_knife'] = "Knife", + ['weapon_knuckle'] = "Knuckledusters", + ['weapon_machete'] = "Machete", + ['weapon_nightstick'] = "Nightstick", + ['weapon_wrench'] = "Pipe Wrench", + ['weapon_poolcue'] = "Pool Cue", + ['weapon_stone_hatchet'] = "Stone Hatchet", + ['weapon_switchblade'] = "Switchblade", -- Handguns - ['weapon_appistol'] = 'AP Pistol', - ['weapon_ceramicpistol'] = 'Ceramic Pistol', - ['weapon_combatpistol'] = 'Combat Pistol', - ['weapon_doubleaction'] = 'Double-Action Revolver', - ['weapon_navyrevolver'] = 'Navy Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadget Pistol', - ['weapon_heavypistol'] = 'Heavy Pistol', - ['weapon_revolver'] = 'Heavy Revolver', - ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', - ['weapon_marksmanpistol'] = 'Marksman Pistol', - ['weapon_pistol'] = 'Pistol', - ['weapon_pistol_mk2'] = 'Pistol MK2', - ['weapon_pistol50'] = 'Pistol .50', - ['weapon_snspistol'] = 'SNS Pistol', - ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintage Pistol', + ['weapon_appistol'] = "AP Pistol", + ['weapon_ceramicpistol'] = "Ceramic Pistol", + ['weapon_combatpistol'] = "Combat Pistol", + ['weapon_doubleaction'] = "Double-Action Revolver", + ['weapon_navyrevolver'] = "Navy Revolver", + ['weapon_flaregun'] = "Flaregun", + ['weapon_gadgetpistol'] = "Gadget Pistol", + ['weapon_heavypistol'] = "Heavy Pistol", + ['weapon_revolver'] = "Heavy Revolver", + ['weapon_revolver_mk2'] = "Heavy Revolver MK2", + ['weapon_marksmanpistol'] = "Marksman Pistol", + ['weapon_pistol'] = "Pistol", + ['weapon_pistol_mk2'] = "Pistol MK2", + ['weapon_pistol50'] = "Pistol .50", + ['weapon_snspistol'] = "SNS Pistol", + ['weapon_snspistol_mk2'] = "SNS Pistol MK2", + ['weapon_stungun'] = "Taser", + ['weapon_raypistol'] = "Up-N-Atomizer", + ['weapon_vintagepistol'] = "Vintage Pistol", -- Shotguns - ['weapon_assaultshotgun'] = 'Assault Shotgun', - ['weapon_autoshotgun'] = 'Auto Shotgun', - ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', - ['weapon_combatshotgun'] = 'Combat Shotgun', - ['weapon_dbshotgun'] = 'Double Barrel Shotgun', - ['weapon_heavyshotgun'] = 'Heavy Shotgun', - ['weapon_musket'] = 'Musket', - ['weapon_pumpshotgun'] = 'Pump Shotgun', - ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', - ['weapon_sawnoffshotgun'] = 'Sawed Off Shotgun', + ['weapon_assaultshotgun'] = "Assault Shotgun", + ['weapon_autoshotgun'] = "Auto Shotgun", + ['weapon_bullpupshotgun'] = "Bullpup Shotgun", + ['weapon_combatshotgun'] = "Combat Shotgun", + ['weapon_dbshotgun'] = "Double Barrel Shotgun", + ['weapon_heavyshotgun'] = "Heavy Shotgun", + ['weapon_musket'] = "Musket", + ['weapon_pumpshotgun'] = "Pump Shotgun", + ['weapon_pumpshotgun_mk2'] = "Pump Shotgun MK2", + ['weapon_sawnoffshotgun'] = "Sawed Off Shotgun", -- SMG & LMG - ['weapon_assaultsmg'] = 'Assault SMG', - ['weapon_combatmg'] = 'Combat MG', - ['weapon_combatmg_mk2'] = 'Combat MG MK2', - ['weapon_combatpdw'] = 'Combat PDW', - ['weapon_gusenberg'] = 'Gusenberg Sweeper', - ['weapon_machinepistol'] = 'Machine Pistol', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Micro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Unholy Hellbringer', + ['weapon_assaultsmg'] = "Assault SMG", + ['weapon_combatmg'] = "Combat MG", + ['weapon_combatmg_mk2'] = "Combat MG MK2", + ['weapon_combatpdw'] = "Combat PDW", + ['weapon_gusenberg'] = "Gusenberg Sweeper", + ['weapon_machinepistol'] = "Machine Pistol", + ['weapon_mg'] = "MG", + ['weapon_microsmg'] = "Micro SMG", + ['weapon_minismg'] = "Mini SMG", + ['weapon_smg'] = "SMG", + ['weapon_smg_mk2'] = "SMG MK2", + ['weapon_raycarbine'] = "Unholy Hellbringer", -- Rifles - ['weapon_advancedrifle'] = 'Advanced Rifle', - ['weapon_assaultrifle'] = 'Assault Rifle', - ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', - ['weapon_bullpuprifle'] = 'Bullpup Rifle', - ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', - ['weapon_carbinerifle'] = 'Carbine Rifle', - ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', - ['weapon_compactrifle'] = 'Compact Rifle', - ['weapon_militaryrifle'] = 'Military Rifle', - ['weapon_specialcarbine'] = 'Special Carbine', - ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', + ['weapon_advancedrifle'] = "Advanced Rifle", + ['weapon_assaultrifle'] = "Assault Rifle", + ['weapon_assaultrifle_mk2'] = "Assault Rifle MK2", + ['weapon_bullpuprifle'] = "Bullpup Rifle", + ['weapon_bullpuprifle_mk2'] = "Bullpup Rifle MK2", + ['weapon_carbinerifle'] = "Carbine Rifle", + ['weapon_carbinerifle_mk2'] = "Carbine Rifle MK2", + ['weapon_compactrifle'] = "Compact Rifle", + ['weapon_militaryrifle'] = "Military Rifle", + ['weapon_specialcarbine'] = "Special Carbine", + ['weapon_specialcarbine_mk2'] = "Special Carbine MK2", -- Sniper - ['weapon_heavysniper'] = 'Heavy Sniper', - ['weapon_heavysniper_mk2'] = 'Heavy Sniper MK2', - ['weapon_marksmanrifle'] = 'Marksman Rifle', - ['weapon_marksmanrifle_mk2'] = 'Marksman Rifle MK2', - ['weapon_sniperrifle'] = 'Sniper Rifle', + ['weapon_heavysniper'] = "Heavy Sniper", + ['weapon_heavysniper_mk2'] = "Heavy Sniper MK2", + ['weapon_marksmanrifle'] = "Marksman Rifle", + ['weapon_marksmanrifle_mk2'] = "Marksman Rifle MK2", + ['weapon_sniperrifle'] = "Sniper Rifle", -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Compact Launcher', - ['weapon_firework'] = 'Firework Launcher', - ['weapon_grenadelauncher'] = 'Grenade Launcher', - ['weapon_hominglauncher'] = 'Homing Launcher', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Rocket Launcher', - ['weapon_rayminigun'] = 'Widowmaker', + ['weapon_compactlauncher'] = "Compact Launcher", + ['weapon_firework'] = "Firework Launcher", + ['weapon_grenadelauncher'] = "Grenade Launcher", + ['weapon_hominglauncher'] = "Homing Launcher", + ['weapon_minigun'] = "Minigun", + ['weapon_railgun'] = "Railgun", + ['weapon_rpg'] = "Rocket Launcher", + ['weapon_rayminigun'] = "Widowmaker", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Metal Detector', - ['weapon_precisionrifle'] = 'Precision Rifle', - ['weapon_tactilerifle'] = 'Service Carbine', + ['weapon_metaldetector'] = "Metal Detector", + ['weapon_precisionrifle'] = "Precision Rifle", + ['weapon_tactilerifle'] = "Service Carbine", -- Thrown - ['weapon_ball'] = 'Baseball', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_flare'] = 'Flare', - ['weapon_grenade'] = 'Grenade', - ['weapon_petrolcan'] = 'Jerrycan', - ['weapon_hazardcan'] = 'Hazardous Jerrycan', - ['weapon_molotov'] = 'Molotov Cocktail', - ['weapon_proxmine'] = 'Proximity Mine', - ['weapon_pipebomb'] = 'Pipe Bomb', - ['weapon_snowball'] = 'Snowball', - ['weapon_stickybomb'] = 'Sticky Bomb', - ['weapon_smokegrenade'] = 'Tear Gas', + ['weapon_ball'] = "Baseball", + ['weapon_bzgas'] = "BZ Gas", + ['weapon_flare'] = "Flare", + ['weapon_grenade'] = "Grenade", + ['weapon_petrolcan'] = "Jerrycan", + ['weapon_hazardcan'] = "Hazardous Jerrycan", + ['weapon_molotov'] = "Molotov Cocktail", + ['weapon_proxmine'] = "Proximity Mine", + ['weapon_pipebomb'] = "Pipe Bomb", + ['weapon_snowball'] = "Snowball", + ['weapon_stickybomb'] = "Sticky Bomb", + ['weapon_smokegrenade'] = "Tear Gas", -- Special - ['weapon_fireextinguisher'] = 'Fire Extinguisher', - ['weapon_digiscanner'] = 'Digital Scanner', - ['weapon_garbagebag'] = 'Garbage Bag', - ['weapon_handcuffs'] = 'Handcuffs', - ['gadget_nightvision'] = 'Night Vision', - ['gadget_parachute'] = 'parachute', + ['weapon_fireextinguisher'] = "Fire Extinguisher", + ['weapon_digiscanner'] = "Digital Scanner", + ['weapon_garbagebag'] = "Garbage Bag", + ['weapon_handcuffs'] = "Handcuffs", + ['gadget_nightvision'] = "Night Vision", + ['gadget_parachute'] = "parachute", -- Weapon Components - ['component_knuckle_base'] = 'base Model', - ['component_knuckle_pimp'] = 'the Pimp', - ['component_knuckle_ballas'] = 'the Ballas', - ['component_knuckle_dollar'] = 'the Hustler', - ['component_knuckle_diamond'] = 'the Rock', - ['component_knuckle_hate'] = 'the Hater', - ['component_knuckle_love'] = 'the Lover', - ['component_knuckle_player'] = 'the Player', - ['component_knuckle_king'] = 'the King', - ['component_knuckle_vagos'] = 'the Vagos', + ['component_knuckle_base'] = "base Model", + ['component_knuckle_pimp'] = "the Pimp", + ['component_knuckle_ballas'] = "the Ballas", + ['component_knuckle_dollar'] = "the Hustler", + ['component_knuckle_diamond'] = "the Rock", + ['component_knuckle_hate'] = "the Hater", + ['component_knuckle_love'] = "the Lover", + ['component_knuckle_player'] = "the Player", + ['component_knuckle_king'] = "the King", + ['component_knuckle_vagos'] = "the Vagos", - ['component_luxary_finish'] = 'luxary Weapon Finish', + ['component_luxary_finish'] = "luxary Weapon Finish", - ['component_handle_default'] = 'default Handle', - ['component_handle_vip'] = 'vIP Handle', - ['component_handle_bodyguard'] = 'bodyguard Handle', + ['component_handle_default'] = "default Handle", + ['component_handle_vip'] = "vIP Handle", + ['component_handle_bodyguard'] = "bodyguard Handle", - ['component_vip_finish'] = 'vIP Finish', - ['component_bodyguard_finish'] = 'bodyguard Finish', + ['component_vip_finish'] = "vIP Finish", + ['component_bodyguard_finish'] = "bodyguard Finish", - ['component_camo_finish'] = 'digital Camo', - ['component_camo_finish2'] = 'brushstroke Camo', - ['component_camo_finish3'] = 'woodland Camo', - ['component_camo_finish4'] = 'skull Camo', - ['component_camo_finish5'] = 'sessanta Nove Camo', - ['component_camo_finish6'] = 'perseus Camo', - ['component_camo_finish7'] = 'leopard Camo', - ['component_camo_finish8'] = 'zebra Camo', - ['component_camo_finish9'] = 'geometric Camo', - ['component_camo_finish10'] = 'boom Camo', - ['component_camo_finish11'] = 'patriotic Camo', + ['component_camo_finish'] = "digital Camo", + ['component_camo_finish2'] = "brushstroke Camo", + ['component_camo_finish3'] = "woodland Camo", + ['component_camo_finish4'] = "skull Camo", + ['component_camo_finish5'] = "sessanta Nove Camo", + ['component_camo_finish6'] = "perseus Camo", + ['component_camo_finish7'] = "leopard Camo", + ['component_camo_finish8'] = "zebra Camo", + ['component_camo_finish9'] = "geometric Camo", + ['component_camo_finish10'] = "boom Camo", + ['component_camo_finish11'] = "patriotic Camo", - ['component_camo_slide_finish'] = 'digital Slide Camo', - ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', - ['component_camo_slide_finish3'] = 'woodland Slide Camo', - ['component_camo_slide_finish4'] = 'skull Slide Camo', - ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', - ['component_camo_slide_finish6'] = 'perseus Slide Camo', - ['component_camo_slide_finish7'] = 'leopard Slide Camo', - ['component_camo_slide_finish8'] = 'zebra Slide Camo', - ['component_camo_slide_finish9'] = 'geometric Slide Camo', - ['component_camo_slide_finish10'] = 'boom Slide Camo', - ['component_camo_slide_finish11'] = 'patriotic Slide Camo', + ['component_camo_slide_finish'] = "digital Slide Camo", + ['component_camo_slide_finish2'] = "brushstroke Slide Camo", + ['component_camo_slide_finish3'] = "woodland Slide Camo", + ['component_camo_slide_finish4'] = "skull Slide Camo", + ['component_camo_slide_finish5'] = "sessanta Nove Slide Camo", + ['component_camo_slide_finish6'] = "perseus Slide Camo", + ['component_camo_slide_finish7'] = "leopard Slide Camo", + ['component_camo_slide_finish8'] = "zebra Slide Camo", + ['component_camo_slide_finish9'] = "geometric Slide Camo", + ['component_camo_slide_finish10'] = "boom Slide Camo", + ['component_camo_slide_finish11'] = "patriotic Slide Camo", - ['component_clip_default'] = 'default Magazine', - ['component_clip_extended'] = 'extended Magazine', - ['component_clip_drum'] = 'drum Magazine', - ['component_clip_box'] = 'box Magazine', + ['component_clip_default'] = "default Magazine", + ['component_clip_extended'] = "extended Magazine", + ['component_clip_drum'] = "drum Magazine", + ['component_clip_box'] = "box Magazine", - ['component_scope_holo'] = 'holographic Scope', - ['component_scope_small'] = 'small Scope', - ['component_scope_medium'] = 'medium Scope', - ['component_scope_large'] = 'large Scope', - ['component_scope'] = 'mounted Scope', - ['component_scope_advanced'] = 'advanced Scope', - ['component_ironsights'] = 'ironsights', + ['component_scope_holo'] = "holographic Scope", + ['component_scope_small'] = "small Scope", + ['component_scope_medium'] = "medium Scope", + ['component_scope_large'] = "large Scope", + ['component_scope'] = "mounted Scope", + ['component_scope_advanced'] = "advanced Scope", + ['component_ironsights'] = "ironsights", - ['component_suppressor'] = 'suppressor', - ['component_compensator'] = 'compensator', + ['component_suppressor'] = "suppressor", + ['component_compensator'] = "compensator", - ['component_muzzle_flat'] = 'flat Muzzle Brake', - ['component_muzzle_tactical'] = 'tactical Muzzle Brake', - ['component_muzzle_fat'] = 'fat-End Muzzle Brake', - ['component_muzzle_precision'] = 'precision Muzzle Brake', - ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', - ['component_muzzle_slanted'] = 'slanted Muzzle Brake', - ['component_muzzle_split'] = 'split-End Muzzle Brake', - ['component_muzzle_squared'] = 'squared Muzzle Brake', + ['component_muzzle_flat'] = "flat Muzzle Brake", + ['component_muzzle_tactical'] = "tactical Muzzle Brake", + ['component_muzzle_fat'] = "fat-End Muzzle Brake", + ['component_muzzle_precision'] = "precision Muzzle Brake", + ['component_muzzle_heavy'] = "heavy Duty Muzzle Brake", + ['component_muzzle_slanted'] = "slanted Muzzle Brake", + ['component_muzzle_split'] = "split-End Muzzle Brake", + ['component_muzzle_squared'] = "squared Muzzle Brake", - ['component_flashlight'] = 'flashlight', - ['component_grip'] = 'grip', + ['component_flashlight'] = "flashlight", + ['component_grip'] = "grip", - ['component_barrel_default'] = 'default Barrel', - ['component_barrel_heavy'] = 'heavy Barrel', + ['component_barrel_default'] = "default Barrel", + ['component_barrel_heavy'] = "heavy Barrel", - ['component_ammo_tracer'] = 'tracer Ammo', - ['component_ammo_incendiary'] = 'incendiary Ammo', - ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', - ['component_ammo_fmj'] = 'fMJ Ammo', - ['component_ammo_armor'] = 'armor Piercing Ammo', - ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', + ['component_ammo_tracer'] = "tracer Ammo", + ['component_ammo_incendiary'] = "incendiary Ammo", + ['component_ammo_hollowpoint'] = "hollowpoint Ammo", + ['component_ammo_fmj'] = "fMJ Ammo", + ['component_ammo_armor'] = "armor Piercing Ammo", + ['component_ammo_explosive'] = "armor Piercing Incendiary Ammo", - ['component_shells_default'] = 'default Shells', - ['component_shells_incendiary'] = 'dragons Breath Shells', - ['component_shells_armor'] = 'steel Buckshot Shells', - ['component_shells_hollowpoint'] = 'flechette Shells', - ['component_shells_explosive'] = 'explosive Slug Shells', + ['component_shells_default'] = "default Shells", + ['component_shells_incendiary'] = "dragons Breath Shells", + ['component_shells_armor'] = "steel Buckshot Shells", + ['component_shells_hollowpoint'] = "flechette Shells", + ['component_shells_explosive'] = "explosive Slug Shells", -- Weapon Ammo - ['ammo_rounds'] = 'round(s)', - ['ammo_shells'] = 'shell(s)', - ['ammo_charge'] = 'charge', - ['ammo_petrol'] = 'gallons of fuel', - ['ammo_firework'] = 'firework(s)', - ['ammo_rockets'] = 'rocket(s)', - ['ammo_grenadelauncher'] = 'grenade(s)', - ['ammo_grenade'] = 'grenade(s)', - ['ammo_stickybomb'] = 'bomb(s)', - ['ammo_pipebomb'] = 'bomb(s)', - ['ammo_smokebomb'] = 'bomb(s)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mine(s)', - ['ammo_bzgas'] = 'can(s)', - ['ammo_ball'] = 'ball(s)', - ['ammo_snowball'] = 'snowball(s)', - ['ammo_flare'] = 'flare(s)', - ['ammo_flaregun'] = 'flare(s)', + ['ammo_rounds'] = "round(s)", + ['ammo_shells'] = "shell(s)", + ['ammo_charge'] = "charge", + ['ammo_petrol'] = "gallons of fuel", + ['ammo_firework'] = "firework(s)", + ['ammo_rockets'] = "rocket(s)", + ['ammo_grenadelauncher'] = "grenade(s)", + ['ammo_grenade'] = "grenade(s)", + ['ammo_stickybomb'] = "bomb(s)", + ['ammo_pipebomb'] = "bomb(s)", + ['ammo_smokebomb'] = "bomb(s)", + ['ammo_molotov'] = "cocktail(s)", + ['ammo_proxmine'] = "mine(s)", + ['ammo_bzgas'] = "can(s)", + ['ammo_ball'] = "ball(s)", + ['ammo_snowball'] = "snowball(s)", + ['ammo_flare'] = "flare(s)", + ['ammo_flaregun'] = "flare(s)", -- Weapon Tints - ['tint_default'] = 'default skin', - ['tint_green'] = 'green skin', - ['tint_gold'] = 'gold skin', - ['tint_pink'] = 'pink skin', - ['tint_army'] = 'army skin', - ['tint_lspd'] = 'blue skin', - ['tint_orange'] = 'orange skin', - ['tint_platinum'] = 'platinum skin', + ['tint_default'] = "default skin", + ['tint_green'] = "green skin", + ['tint_gold'] = "gold skin", + ['tint_pink'] = "pink skin", + ['tint_army'] = "army skin", + ['tint_lspd'] = "blue skin", + ['tint_orange'] = "orange skin", + ['tint_platinum'] = "platinum skin", } diff --git a/[core]/es_extended/locales/es.lua b/[core]/es_extended/locales/es.lua index dc9c57bb..2f0e9cdf 100644 --- a/[core]/es_extended/locales/es.lua +++ b/[core]/es_extended/locales/es.lua @@ -1,358 +1,358 @@ Locales['es'] = { -- Inventory - ['inventory'] = 'Inventario %s / %s', - ['use'] = 'Usar', - ['give'] = 'Dar', - ['remove'] = 'Tirar', - ['return'] = 'Volver', - ['give_to'] = 'Dar a', - ['amount'] = 'Cantidad', - ['giveammo'] = 'Dar munición', - ['amountammo'] = 'Cantidad de munición', - ['noammo'] = 'No tienes suficiente munición!', - ['gave_item'] = 'Has dado %sx %s a %s', - ['received_item'] = 'Has recibido %sx %s de %s', - ['gave_weapon'] = 'Has dado %s a %s', - ['gave_weapon_ammo'] = 'Has dado ~o~%sx %s para %s a %s', - ['gave_weapon_withammo'] = 'Has dado %s con ~o~%sx %s a %s', - ['gave_weapon_hasalready'] = '%s ya tiene un/a %s', - ['gave_weapon_noweapon'] = '%s no tiene ese arma', - ['received_weapon'] = 'Has recibido %s de %s', - ['received_weapon_ammo'] = 'Has recibido ~o~%sx %s para su %s de %s', - ['received_weapon_withammo'] = 'Has recibido %s con ~o~%sx %s de %s', - ['received_weapon_hasalready'] = '%s intentó darle un/a %s, pero ya tienes uno', - ['received_weapon_noweapon'] = '%s intentó darles munición para un %s, pero no tiene uno', - ['gave_account_money'] = 'Has dado $%s (%s) a %s', - ['received_account_money'] = 'Has recibido $%s (%s) de %s', - ['amount_invalid'] = 'Cantidad inválida', - ['players_nearby'] = 'No hay jugadores cerca', - ['ex_inv_lim'] = 'Acción no posible, excediendo el límite de inventario para %s', - ['imp_invalid_quantity'] = 'Acción imposible, cantidad inválida', - ['imp_invalid_amount'] = 'Acción imposible, cantidad inválida', - ['threw_standard'] = 'Has tirado %sx %s', - ['threw_account'] = 'Has tirado $%s %s', - ['threw_weapon'] = 'Has tirado %s', - ['threw_weapon_ammo'] = 'Has tirado %s con ~o~%sx %s', - ['threw_weapon_already'] = 'Ya llevas el mismo arma', - ['threw_cannot_pickup'] = 'No puedes recogerlo porque tu inventario está lleno!', - ['threw_pickup_prompt'] = 'Pulsa E para recoger', + ['inventory'] = "Inventario %s / %s", + ['use'] = "Usar", + ['give'] = "Dar", + ['remove'] = "Tirar", + ['return'] = "Volver", + ['give_to'] = "Dar a", + ['amount'] = "Cantidad", + ['giveammo'] = "Dar munición", + ['amountammo'] = "Cantidad de munición", + ['noammo'] = "No tienes suficiente munición!", + ['gave_item'] = "Has dado %sx %s a %s", + ['received_item'] = "Has recibido %sx %s de %s", + ['gave_weapon'] = "Has dado %s a %s", + ['gave_weapon_ammo'] = "Has dado ~o~%sx %s para %s a %s", + ['gave_weapon_withammo'] = "Has dado %s con ~o~%sx %s a %s", + ['gave_weapon_hasalready'] = "%s ya tiene un/a %s", + ['gave_weapon_noweapon'] = "%s no tiene ese arma", + ['received_weapon'] = "Has recibido %s de %s", + ['received_weapon_ammo'] = "Has recibido ~o~%sx %s para su %s de %s", + ['received_weapon_withammo'] = "Has recibido %s con ~o~%sx %s de %s", + ['received_weapon_hasalready'] = "%s intentó darle un/a %s, pero ya tienes uno", + ['received_weapon_noweapon'] = "%s intentó darles munición para un %s, pero no tiene uno", + ['gave_account_money'] = "Has dado $%s (%s) a %s", + ['received_account_money'] = "Has recibido $%s (%s) de %s", + ['amount_invalid'] = "Cantidad inválida", + ['players_nearby'] = "No hay jugadores cerca", + ['ex_inv_lim'] = "Acción no posible, excediendo el límite de inventario para %s", + ['imp_invalid_quantity'] = "Acción imposible, cantidad inválida", + ['imp_invalid_amount'] = "Acción imposible, cantidad inválida", + ['threw_standard'] = "Has tirado %sx %s", + ['threw_account'] = "Has tirado $%s %s", + ['threw_weapon'] = "Has tirado %s", + ['threw_weapon_ammo'] = "Has tirado %s con ~o~%sx %s", + ['threw_weapon_already'] = "Ya llevas el mismo arma", + ['threw_cannot_pickup'] = "No puedes recogerlo porque tu inventario está lleno!", + ['threw_pickup_prompt'] = "Pulsa E para recoger", -- Key mapping - ['keymap_showinventory'] = 'Ver Inventario', + ['keymap_showinventory'] = "Ver Inventario", -- Salary related - ['received_salary'] = 'Has recibido tu sueldo: $%s', - ['received_help'] = 'Has recibido su cheque de bienestar: $%s', - ['company_nomoney'] = 'La empresa en la que trabajas no tiene dinero para pagar tu sueldo', - ['received_paycheck'] = 'Recibió su paga', - ['bank'] = 'Banco', - ['account_bank'] = 'Banco', - ['account_black_money'] = 'Dinero Negro', - ['account_money'] = 'Efectivo', + ['received_salary'] = "Has recibido tu sueldo: $%s", + ['received_help'] = "Has recibido su cheque de bienestar: $%s", + ['company_nomoney'] = "La empresa en la que trabajas no tiene dinero para pagar tu sueldo", + ['received_paycheck'] = "Recibió su paga", + ['bank'] = "Banco", + ['account_bank'] = "Banco", + ['account_black_money'] = "Dinero Negro", + ['account_money'] = "Efectivo", - ['act_imp'] = 'No se pudo realizar la acción.', - ['in_vehicle'] = 'Acción rechazada. El jugador se encuentra en un vehículo', + ['act_imp'] = "No se pudo realizar la acción.", + ['in_vehicle'] = "Acción rechazada. El jugador se encuentra en un vehículo", -- Commands - ['command_bring'] = 'Traer un jugador hacia ti', - ['command_car'] = 'Spawnear un vehículo', - ['command_car_car'] = 'Nombre del vehículo', - ['command_cardel'] = 'Eliminar vehículos cercanos', - ['command_cardel_radius'] = 'Opcional, eliminar todos los vehículos en el radio especificado', - ['command_clear'] = 'Limpiar chat para ti', - ['command_clearall'] = 'Limpiar chat para todos los jugadores', - ['command_clearinventory'] = 'Limpiar el inventario del jugador', - ['command_clearloadout'] = 'Limpiar inventario de un jugador', - ['command_freeze'] = 'Congelar un jugador', - ['command_unfreeze'] = 'Descongelar un jugador', - ['command_giveaccountmoney'] = 'Dar dinero', - ['command_giveaccountmoney_account'] = 'Nombre de cuenta válido', - ['command_giveaccountmoney_amount'] = 'Cantidad a añadir', - ['command_giveaccountmoney_invalid'] = 'Nombre de cuenta no existente. [bank, money, black_money]', - ['command_giveitem'] = 'Dar un objeto a un jugador', - ['command_giveitem_item'] = 'Nombre del artículo', - ['command_giveitem_count'] = 'Cantidad de articulos', - ['command_giveweapon'] = 'Dar un arma a un jugador', - ['command_giveweapon_weapon'] = 'Nombre del arma', - ['command_giveweapon_ammo'] = 'Cantidad de municion', - ['command_giveweapon_hasalready'] = 'El jugador ya tiene esa arma', - ['command_giveweaponcomponent'] = 'Dar el componente del arma', - ['command_giveweaponcomponent_component'] = 'Nombre del componente', - ['command_giveweaponcomponent_invalid'] = 'Componente del arma no válido', - ['command_giveweaponcomponent_hasalready'] = 'El jugador ya tiene ese componente del arma', - ['command_giveweaponcomponent_missingweapon'] = 'El jugador no tiene esa arma', - ['command_goto'] = 'Teletransportarte hacia un jugador', - ['command_kill'] = 'Matar un jugador', - ['command_save'] = 'Guardar la informacion de un jugador en la base de datos.', - ['command_saveall'] = 'Guardar toda la informacion de jugadores en la base de datos.', - ['command_setaccountmoney'] = 'Establecer el dinero de la cuenta para un jugador', - ['command_setaccountmoney_amount'] = 'Cantidad de dinero a establecer', - ['command_setcoords'] = 'Teletransporte a coordenadas', - ['command_setcoords_x'] = 'Eje X', - ['command_setcoords_y'] = 'Eje Y', - ['command_setcoords_z'] = 'Eje Z', - ['command_setjob'] = 'Dar un trabajo a un jugador', - ['command_setjob_job'] = 'Nombre del trabajo', - ['command_setjob_grade'] = 'Rango del trabajo', - ['command_setjob_invalid'] = 'El trabajo o el rango no son válidos', - ['command_setgroup'] = 'Establecer el grupo de un jugador', - ['command_setgroup_group'] = 'Nombre del grupo', - ['commanderror_argumentmismatch'] = 'Error en el recuento de argumentos (pasado %s, deseado %s)', - ['commanderror_argumentmismatch_number'] = 'Argumento #%s tipo no coincide (cadena pasada, número deseado)', - ['commanderror_invaliditem'] = 'Nombre del artículo no válido', - ['commanderror_invalidweapon'] = 'Arma inválida', - ['commanderror_console'] = 'Ese comando no se puede ejecutar desde la consola', - ['commanderror_invalidcommand'] = '/%s ¡No es un comando válido!', - ['commanderror_invalidplayerid'] = 'No hay ningún jugador online con la ID especificada', - ['commandgeneric_playerid'] = 'ID del jugador', - ['command_giveammo_noweapon_found'] = '%s no posee esa arma', - ['command_giveammo_weapon'] = 'Nombre del arma', - ['command_giveammo_ammo'] = 'Cantidad de municion', + ['command_bring'] = "Traer un jugador hacia ti", + ['command_car'] = "Spawnear un vehículo", + ['command_car_car'] = "Nombre del vehículo", + ['command_cardel'] = "Eliminar vehículos cercanos", + ['command_cardel_radius'] = "Opcional, eliminar todos los vehículos en el radio especificado", + ['command_clear'] = "Limpiar chat para ti", + ['command_clearall'] = "Limpiar chat para todos los jugadores", + ['command_clearinventory'] = "Limpiar el inventario del jugador", + ['command_clearloadout'] = "Limpiar inventario de un jugador", + ['command_freeze'] = "Congelar un jugador", + ['command_unfreeze'] = "Descongelar un jugador", + ['command_giveaccountmoney'] = "Dar dinero", + ['command_giveaccountmoney_account'] = "Nombre de cuenta válido", + ['command_giveaccountmoney_amount'] = "Cantidad a añadir", + ['command_giveaccountmoney_invalid'] = "Nombre de cuenta no existente. [bank, money, black_money]", + ['command_giveitem'] = "Dar un objeto a un jugador", + ['command_giveitem_item'] = "Nombre del artículo", + ['command_giveitem_count'] = "Cantidad de articulos", + ['command_giveweapon'] = "Dar un arma a un jugador", + ['command_giveweapon_weapon'] = "Nombre del arma", + ['command_giveweapon_ammo'] = "Cantidad de municion", + ['command_giveweapon_hasalready'] = "El jugador ya tiene esa arma", + ['command_giveweaponcomponent'] = "Dar el componente del arma", + ['command_giveweaponcomponent_component'] = "Nombre del componente", + ['command_giveweaponcomponent_invalid'] = "Componente del arma no válido", + ['command_giveweaponcomponent_hasalready'] = "El jugador ya tiene ese componente del arma", + ['command_giveweaponcomponent_missingweapon'] = "El jugador no tiene esa arma", + ['command_goto'] = "Teletransportarte hacia un jugador", + ['command_kill'] = "Matar un jugador", + ['command_save'] = "Guardar la informacion de un jugador en la base de datos.", + ['command_saveall'] = "Guardar toda la informacion de jugadores en la base de datos.", + ['command_setaccountmoney'] = "Establecer el dinero de la cuenta para un jugador", + ['command_setaccountmoney_amount'] = "Cantidad de dinero a establecer", + ['command_setcoords'] = "Teletransporte a coordenadas", + ['command_setcoords_x'] = "Eje X", + ['command_setcoords_y'] = "Eje Y", + ['command_setcoords_z'] = "Eje Z", + ['command_setjob'] = "Dar un trabajo a un jugador", + ['command_setjob_job'] = "Nombre del trabajo", + ['command_setjob_grade'] = "Rango del trabajo", + ['command_setjob_invalid'] = "El trabajo o el rango no son válidos", + ['command_setgroup'] = "Establecer el grupo de un jugador", + ['command_setgroup_group'] = "Nombre del grupo", + ['commanderror_argumentmismatch'] = "Error en el recuento de argumentos (pasado %s, deseado %s)", + ['commanderror_argumentmismatch_number'] = "Argumento #%s tipo no coincide (cadena pasada, número deseado)", + ['commanderror_invaliditem'] = "Nombre del artículo no válido", + ['commanderror_invalidweapon'] = "Arma inválida", + ['commanderror_console'] = "Ese comando no se puede ejecutar desde la consola", + ['commanderror_invalidcommand'] = "/%s ¡No es un comando válido!", + ['commanderror_invalidplayerid'] = "No hay ningún jugador online con la ID especificada", + ['commandgeneric_playerid'] = "ID del jugador", + ['command_giveammo_noweapon_found'] = "%s no posee esa arma", + ['command_giveammo_weapon'] = "Nombre del arma", + ['command_giveammo_ammo'] = "Cantidad de municion", -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '$%s', + ['locale_digit_grouping_symbol'] = ",", + ['locale_currency'] = "$%s", -- Weapons -- Melee - ['weapon_dagger'] = 'Daga', - ['weapon_bat'] = 'Bate', - ['weapon_battleaxe'] = 'Hacha de combate', - ['weapon_bottle'] = 'Botella', - ['weapon_crowbar'] = 'Palanca', - ['weapon_flashlight'] = 'Linterna', - ['weapon_golfclub'] = 'Palo de Golf', - ['weapon_hammer'] = 'Martillo', - ['weapon_hatchet'] = 'Hacha', - ['weapon_knife'] = 'Cuchillo', - ['weapon_knuckle'] = 'Puño Americano', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Porra', - ['weapon_wrench'] = 'Llave Inglesa', - ['weapon_poolcue'] = 'Taco de Billar', - ['weapon_stone_hatchet'] = 'Hacha de Piedra', - ['weapon_switchblade'] = 'Navaja', + ['weapon_dagger'] = "Daga", + ['weapon_bat'] = "Bate", + ['weapon_battleaxe'] = "Hacha de combate", + ['weapon_bottle'] = "Botella", + ['weapon_crowbar'] = "Palanca", + ['weapon_flashlight'] = "Linterna", + ['weapon_golfclub'] = "Palo de Golf", + ['weapon_hammer'] = "Martillo", + ['weapon_hatchet'] = "Hacha", + ['weapon_knife'] = "Cuchillo", + ['weapon_knuckle'] = "Puño Americano", + ['weapon_machete'] = "Machete", + ['weapon_nightstick'] = "Porra", + ['weapon_wrench'] = "Llave Inglesa", + ['weapon_poolcue'] = "Taco de Billar", + ['weapon_stone_hatchet'] = "Hacha de Piedra", + ['weapon_switchblade'] = "Navaja", -- Handguns - ['weapon_appistol'] = 'Pistola AP', - ['weapon_ceramicpistol'] = 'Pistola de Ceramica', - ['weapon_combatpistol'] = 'Pistola de Combate', - ['weapon_doubleaction'] = 'Revólver de Doble Acción', - ['weapon_navyrevolver'] = 'Revólver de la Armada', - ['weapon_flaregun'] = 'Pistola de Bengalas', - ['weapon_gadgetpistol'] = 'Pistola de Perico', - ['weapon_heavypistol'] = 'Pistola Pesada', - ['weapon_revolver'] = 'Revólver Pesado', - ['weapon_revolver_mk2'] = 'Revólver Pesado MK2', - ['weapon_marksmanpistol'] = 'Pistola Marksman', - ['weapon_pistol'] = 'Pistola 9mm', - ['weapon_pistol_mk2'] = 'Pistola MK2', - ['weapon_pistol50'] = 'Pistola .50', - ['weapon_snspistol'] = 'Pistola SNS', - ['weapon_snspistol_mk2'] = 'Pistola SNS MK2', - ['weapon_stungun'] = 'Tazer', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Pistola Vintage', + ['weapon_appistol'] = "Pistola AP", + ['weapon_ceramicpistol'] = "Pistola de Ceramica", + ['weapon_combatpistol'] = "Pistola de Combate", + ['weapon_doubleaction'] = "Revólver de Doble Acción", + ['weapon_navyrevolver'] = "Revólver de la Armada", + ['weapon_flaregun'] = "Pistola de Bengalas", + ['weapon_gadgetpistol'] = "Pistola de Perico", + ['weapon_heavypistol'] = "Pistola Pesada", + ['weapon_revolver'] = "Revólver Pesado", + ['weapon_revolver_mk2'] = "Revólver Pesado MK2", + ['weapon_marksmanpistol'] = "Pistola Marksman", + ['weapon_pistol'] = "Pistola 9mm", + ['weapon_pistol_mk2'] = "Pistola MK2", + ['weapon_pistol50'] = "Pistola .50", + ['weapon_snspistol'] = "Pistola SNS", + ['weapon_snspistol_mk2'] = "Pistola SNS MK2", + ['weapon_stungun'] = "Tazer", + ['weapon_raypistol'] = "Up-N-Atomizer", + ['weapon_vintagepistol'] = "Pistola Vintage", -- Shotguns - ['weapon_assaultshotgun'] = 'Escopeta de Asalto', - ['weapon_autoshotgun'] = 'Escopeta Automática', - ['weapon_bullpupshotgun'] = 'Escopeta Bullpup', - ['weapon_combatshotgun'] = 'Escopeta Combate', - ['weapon_dbshotgun'] = 'Escopeta de Doble Barril', - ['weapon_heavyshotgun'] = 'Escopeta Pesada', - ['weapon_musket'] = 'Mosquete', - ['weapon_pumpshotgun'] = 'Escopeta de Bombeo', - ['weapon_pumpshotgun_mk2'] = 'Escopeta de Bombeo MK2', - ['weapon_sawnoffshotgun'] = 'Escopeta Recortada', + ['weapon_assaultshotgun'] = "Escopeta de Asalto", + ['weapon_autoshotgun'] = "Escopeta Automática", + ['weapon_bullpupshotgun'] = "Escopeta Bullpup", + ['weapon_combatshotgun'] = "Escopeta Combate", + ['weapon_dbshotgun'] = "Escopeta de Doble Barril", + ['weapon_heavyshotgun'] = "Escopeta Pesada", + ['weapon_musket'] = "Mosquete", + ['weapon_pumpshotgun'] = "Escopeta de Bombeo", + ['weapon_pumpshotgun_mk2'] = "Escopeta de Bombeo MK2", + ['weapon_sawnoffshotgun'] = "Escopeta Recortada", -- SMG & LMG - ['weapon_assaultsmg'] = 'Subfusil de Asalto', - ['weapon_combatmg'] = 'Ametralladora de Combate', - ['weapon_combatmg_mk2'] = 'Ametralladora MK2', - ['weapon_combatpdw'] = 'Subfusil PDW', - ['weapon_gusenberg'] = 'Subfusil de Barril', - ['weapon_machinepistol'] = 'Pistola Ametralladora', - ['weapon_mg'] = 'Ametralladora', - ['weapon_microsmg'] = 'Micro Subfusil', - ['weapon_minismg'] = 'Mini Subfusil', - ['weapon_smg'] = 'Subfusil', - ['weapon_smg_mk2'] = 'Subfusil MK2', - ['weapon_raycarbine'] = 'Ametralladora de Rayos', + ['weapon_assaultsmg'] = "Subfusil de Asalto", + ['weapon_combatmg'] = "Ametralladora de Combate", + ['weapon_combatmg_mk2'] = "Ametralladora MK2", + ['weapon_combatpdw'] = "Subfusil PDW", + ['weapon_gusenberg'] = "Subfusil de Barril", + ['weapon_machinepistol'] = "Pistola Ametralladora", + ['weapon_mg'] = "Ametralladora", + ['weapon_microsmg'] = "Micro Subfusil", + ['weapon_minismg'] = "Mini Subfusil", + ['weapon_smg'] = "Subfusil", + ['weapon_smg_mk2'] = "Subfusil MK2", + ['weapon_raycarbine'] = "Ametralladora de Rayos", -- Rifles - ['weapon_advancedrifle'] = 'Rifle Avanzado', - ['weapon_assaultrifle'] = 'Rifle de Asalto', - ['weapon_assaultrifle_mk2'] = 'Rifle de Asalto MK2', - ['weapon_bullpuprifle'] = 'Rifle Bullpup', - ['weapon_bullpuprifle_mk2'] = 'Rifle Bullpup MK2', - ['weapon_carbinerifle'] = 'Carabina', - ['weapon_carbinerifle_mk2'] = 'Carabina MK2', - ['weapon_compactrifle'] = 'Rifle Compacto', - ['weapon_militaryrifle'] = 'Rifle Militar', - ['weapon_specialcarbine'] = 'Carabina Especial', - ['weapon_specialcarbine_mk2'] = 'Carabina Especial MK2', + ['weapon_advancedrifle'] = "Rifle Avanzado", + ['weapon_assaultrifle'] = "Rifle de Asalto", + ['weapon_assaultrifle_mk2'] = "Rifle de Asalto MK2", + ['weapon_bullpuprifle'] = "Rifle Bullpup", + ['weapon_bullpuprifle_mk2'] = "Rifle Bullpup MK2", + ['weapon_carbinerifle'] = "Carabina", + ['weapon_carbinerifle_mk2'] = "Carabina MK2", + ['weapon_compactrifle'] = "Rifle Compacto", + ['weapon_militaryrifle'] = "Rifle Militar", + ['weapon_specialcarbine'] = "Carabina Especial", + ['weapon_specialcarbine_mk2'] = "Carabina Especial MK2", -- Sniper - ['weapon_heavysniper'] = 'Francotirador Pesado', - ['weapon_heavysniper_mk2'] = 'Francotirador Pesado MK2', - ['weapon_marksmanrifle'] = 'Rifle Marksman', - ['weapon_marksmanrifle_mk2'] = 'Rifle Marksman MK2', - ['weapon_sniperrifle'] = 'Rifle de Francotirador', + ['weapon_heavysniper'] = "Francotirador Pesado", + ['weapon_heavysniper_mk2'] = "Francotirador Pesado MK2", + ['weapon_marksmanrifle'] = "Rifle Marksman", + ['weapon_marksmanrifle_mk2'] = "Rifle Marksman MK2", + ['weapon_sniperrifle'] = "Rifle de Francotirador", -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Lanzador Compacto', - ['weapon_firework'] = 'Lanzador de Fuegos Artificiales', - ['weapon_grenadelauncher'] = 'Lanzagranadas', - ['weapon_hominglauncher'] = 'Lanzacohetes Guiado', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Cañón de riel', - ['weapon_rpg'] = 'Lanzador de cohetes', - ['weapon_rayminigun'] = 'Minigun de Rayos', + ['weapon_compactlauncher'] = "Lanzador Compacto", + ['weapon_firework'] = "Lanzador de Fuegos Artificiales", + ['weapon_grenadelauncher'] = "Lanzagranadas", + ['weapon_hominglauncher'] = "Lanzacohetes Guiado", + ['weapon_minigun'] = "Minigun", + ['weapon_railgun'] = "Cañón de riel", + ['weapon_rpg'] = "Lanzador de cohetes", + ['weapon_rayminigun'] = "Minigun de Rayos", -- Thrown - ['weapon_ball'] = 'Pelota de Beisbol', - ['weapon_bzgas'] = 'Gas Pimienta', - ['weapon_flare'] = 'Bengala', - ['weapon_grenade'] = 'Granada', - ['weapon_petrolcan'] = 'Bidon de Gasolina', - ['weapon_hazardcan'] = 'Bidón de Gasolina Peligroso', - ['weapon_molotov'] = 'Molotov', - ['weapon_proxmine'] = 'Mina de Proximidad ', - ['weapon_pipebomb'] = 'Bomba casera', - ['weapon_snowball'] = 'Bola de nieve', - ['weapon_stickybomb'] = 'C4', - ['weapon_smokegrenade'] = 'Granada de Humo', + ['weapon_ball'] = "Pelota de Beisbol", + ['weapon_bzgas'] = "Gas Pimienta", + ['weapon_flare'] = "Bengala", + ['weapon_grenade'] = "Granada", + ['weapon_petrolcan'] = "Bidon de Gasolina", + ['weapon_hazardcan'] = "Bidón de Gasolina Peligroso", + ['weapon_molotov'] = "Molotov", + ['weapon_proxmine'] = "Mina de Proximidad ", + ['weapon_pipebomb'] = "Bomba casera", + ['weapon_snowball'] = "Bola de nieve", + ['weapon_stickybomb'] = "C4", + ['weapon_smokegrenade'] = "Granada de Humo", -- Special - ['weapon_fireextinguisher'] = 'Extintor', - ['weapon_digiscanner'] = 'Escaner Digital', - ['weapon_garbagebag'] = 'Bolsa de Basura', - ['weapon_handcuffs'] = 'Grilletes', - ['gadget_nightvision'] = 'Vision Nocturna', - ['gadget_parachute'] = 'Paracaidas', + ['weapon_fireextinguisher'] = "Extintor", + ['weapon_digiscanner'] = "Escaner Digital", + ['weapon_garbagebag'] = "Bolsa de Basura", + ['weapon_handcuffs'] = "Grilletes", + ['gadget_nightvision'] = "Vision Nocturna", + ['gadget_parachute'] = "Paracaidas", -- Weapon Components - ['component_knuckle_base'] = 'Modelo Basico', - ['component_knuckle_pimp'] = 'el Proxeneta', - ['component_knuckle_ballas'] = 'los Ballas', - ['component_knuckle_dollar'] = 'el Buscavidas', - ['component_knuckle_diamond'] = 'la Roca', - ['component_knuckle_hate'] = 'el Hater', - ['component_knuckle_love'] = 'el Amante', - ['component_knuckle_player'] = 'el Jugador', - ['component_knuckle_king'] = 'el Rey', - ['component_knuckle_vagos'] = 'los Vagos', + ['component_knuckle_base'] = "Modelo Basico", + ['component_knuckle_pimp'] = "el Proxeneta", + ['component_knuckle_ballas'] = "los Ballas", + ['component_knuckle_dollar'] = "el Buscavidas", + ['component_knuckle_diamond'] = "la Roca", + ['component_knuckle_hate'] = "el Hater", + ['component_knuckle_love'] = "el Amante", + ['component_knuckle_player'] = "el Jugador", + ['component_knuckle_king'] = "el Rey", + ['component_knuckle_vagos'] = "los Vagos", - ['component_luxary_finish'] = 'Acabado de Armas de Lujo', + ['component_luxary_finish'] = "Acabado de Armas de Lujo", - ['component_handle_default'] = 'Mango Default', - ['component_handle_vip'] = 'Mango VIP', - ['component_handle_bodyguard'] = 'Mango de Guardaespaldas', + ['component_handle_default'] = "Mango Default", + ['component_handle_vip'] = "Mango VIP", + ['component_handle_bodyguard'] = "Mango de Guardaespaldas", - ['component_vip_finish'] = 'Acabado VIP', - ['component_bodyguard_finish'] = 'Acabado Guardaespaldas', + ['component_vip_finish'] = "Acabado VIP", + ['component_bodyguard_finish'] = "Acabado Guardaespaldas", - ['component_camo_finish'] = 'Camuflaje Digital', - ['component_camo_finish2'] = 'Camuflaje Pincelada', - ['component_camo_finish3'] = 'Camuflaje Bosque', - ['component_camo_finish4'] = 'Camuflaje Calavera', - ['component_camo_finish5'] = 'Camuflaje Sessanta Nove', - ['component_camo_finish6'] = 'Camuflaje Perseo', - ['component_camo_finish7'] = 'Camuflaje Leopardo', - ['component_camo_finish8'] = 'Camuflaje Zebra', - ['component_camo_finish9'] = 'Camuflaje Geométrico', - ['component_camo_finish10'] = 'Camuflaje Boom', - ['component_camo_finish11'] = 'Camuflaje Patriotico', + ['component_camo_finish'] = "Camuflaje Digital", + ['component_camo_finish2'] = "Camuflaje Pincelada", + ['component_camo_finish3'] = "Camuflaje Bosque", + ['component_camo_finish4'] = "Camuflaje Calavera", + ['component_camo_finish5'] = "Camuflaje Sessanta Nove", + ['component_camo_finish6'] = "Camuflaje Perseo", + ['component_camo_finish7'] = "Camuflaje Leopardo", + ['component_camo_finish8'] = "Camuflaje Zebra", + ['component_camo_finish9'] = "Camuflaje Geométrico", + ['component_camo_finish10'] = "Camuflaje Boom", + ['component_camo_finish11'] = "Camuflaje Patriotico", - ['component_camo_slide_finish'] = 'Camuflaje Digital Deslizante', - ['component_camo_slide_finish2'] = 'Camuflaje Pincelada Deslizante', - ['component_camo_slide_finish3'] = 'Camuflaje Bosque Deslizante', - ['component_camo_slide_finish4'] = 'Camuflaje Calavera Deslizante', - ['component_camo_slide_finish5'] = 'Camuflaje Sessanta Nove Deslizante', - ['component_camo_slide_finish6'] = 'Camuflaje Perseo Deslizante', - ['component_camo_slide_finish7'] = 'Camuflaje Leopardo Deslizante', - ['component_camo_slide_finish8'] = 'Camuflaje Zebra Deslizante', - ['component_camo_slide_finish9'] = 'Camuflaje Geométrico Deslizante', - ['component_camo_slide_finish10'] = 'Camuflaje Boom Deslizante', - ['component_camo_slide_finish11'] = 'Camuflaje Patriotico Deslizante', + ['component_camo_slide_finish'] = "Camuflaje Digital Deslizante", + ['component_camo_slide_finish2'] = "Camuflaje Pincelada Deslizante", + ['component_camo_slide_finish3'] = "Camuflaje Bosque Deslizante", + ['component_camo_slide_finish4'] = "Camuflaje Calavera Deslizante", + ['component_camo_slide_finish5'] = "Camuflaje Sessanta Nove Deslizante", + ['component_camo_slide_finish6'] = "Camuflaje Perseo Deslizante", + ['component_camo_slide_finish7'] = "Camuflaje Leopardo Deslizante", + ['component_camo_slide_finish8'] = "Camuflaje Zebra Deslizante", + ['component_camo_slide_finish9'] = "Camuflaje Geométrico Deslizante", + ['component_camo_slide_finish10'] = "Camuflaje Boom Deslizante", + ['component_camo_slide_finish11'] = "Camuflaje Patriotico Deslizante", - ['component_clip_default'] = 'Cargador Default', - ['component_clip_extended'] = 'Cargador Extendido', - ['component_clip_drum'] = 'Cargador Barril', - ['component_clip_box'] = 'Caja de Cargador', + ['component_clip_default'] = "Cargador Default", + ['component_clip_extended'] = "Cargador Extendido", + ['component_clip_drum'] = "Cargador Barril", + ['component_clip_box'] = "Caja de Cargador", - ['component_scope_holo'] = 'Mira Holográfica', - ['component_scope_small'] = 'Mira Pequeña', - ['component_scope_medium'] = 'Mira Mediana', - ['component_scope_large'] = 'Mira Larga', - ['component_scope'] = 'Mira', - ['component_scope_advanced'] = 'Mira Avanzada', - ['component_ironsights'] = 'Mira de Hierro', + ['component_scope_holo'] = "Mira Holográfica", + ['component_scope_small'] = "Mira Pequeña", + ['component_scope_medium'] = "Mira Mediana", + ['component_scope_large'] = "Mira Larga", + ['component_scope'] = "Mira", + ['component_scope_advanced'] = "Mira Avanzada", + ['component_ironsights'] = "Mira de Hierro", - ['component_suppressor'] = 'Silenciador', - ['component_compensator'] = 'Estabilizador', + ['component_suppressor'] = "Silenciador", + ['component_compensator'] = "Estabilizador", - ['component_muzzle_flat'] = 'Boquilla de Freno Plana', - ['component_muzzle_tactical'] = 'Boquilla de Freno Tactica', - ['component_muzzle_fat'] = 'Boquilla de Freno Punta Gorda', - ['component_muzzle_precision'] = 'Boquilla de Freno de Precision', - ['component_muzzle_heavy'] = 'Boquilla de Freno Pesada', - ['component_muzzle_slanted'] = 'Boquilla de Freno inclinada', - ['component_muzzle_split'] = 'Boquilla de Freno de Puntas Abiertas', - ['component_muzzle_squared'] = 'Boquilla de Freno Cuadrada', + ['component_muzzle_flat'] = "Boquilla de Freno Plana", + ['component_muzzle_tactical'] = "Boquilla de Freno Tactica", + ['component_muzzle_fat'] = "Boquilla de Freno Punta Gorda", + ['component_muzzle_precision'] = "Boquilla de Freno de Precision", + ['component_muzzle_heavy'] = "Boquilla de Freno Pesada", + ['component_muzzle_slanted'] = "Boquilla de Freno inclinada", + ['component_muzzle_split'] = "Boquilla de Freno de Puntas Abiertas", + ['component_muzzle_squared'] = "Boquilla de Freno Cuadrada", - ['component_flashlight'] = 'Linterna', - ['component_grip'] = 'Agarre', + ['component_flashlight'] = "Linterna", + ['component_grip'] = "Agarre", - ['component_barrel_default'] = 'Barril Por Defecto', - ['component_barrel_heavy'] = 'Barril Pesado', + ['component_barrel_default'] = "Barril Por Defecto", + ['component_barrel_heavy'] = "Barril Pesado", - ['component_ammo_tracer'] = 'Munición de Rastreo', - ['component_ammo_incendiary'] = 'Munición Incendiaria', - ['component_ammo_hollowpoint'] = 'Munición de Punta Hueca', - ['component_ammo_fmj'] = 'Munición fMJ', - ['component_ammo_armor'] = 'Munición Perforante para Blindaje', - ['component_ammo_explosive'] = 'Munición Incendiaria Perforadora de Blindajes', + ['component_ammo_tracer'] = "Munición de Rastreo", + ['component_ammo_incendiary'] = "Munición Incendiaria", + ['component_ammo_hollowpoint'] = "Munición de Punta Hueca", + ['component_ammo_fmj'] = "Munición fMJ", + ['component_ammo_armor'] = "Munición Perforante para Blindaje", + ['component_ammo_explosive'] = "Munición Incendiaria Perforadora de Blindajes", - ['component_shells_default'] = 'Casquillos Por Defecto', - ['component_shells_incendiary'] = 'Casquillos Aliento de Dragón', - ['component_shells_armor'] = 'Casquillos Perdigones de Acero', - ['component_shells_hollowpoint'] = 'Casquillos Punta Hueca', - ['component_shells_explosive'] = 'Casquillos Posta Explosiva', + ['component_shells_default'] = "Casquillos Por Defecto", + ['component_shells_incendiary'] = "Casquillos Aliento de Dragón", + ['component_shells_armor'] = "Casquillos Perdigones de Acero", + ['component_shells_hollowpoint'] = "Casquillos Punta Hueca", + ['component_shells_explosive'] = "Casquillos Posta Explosiva", -- Weapon Ammo - ['ammo_rounds'] = 'Redonda/s', - ['ammo_shells'] = 'Casquillo/s', - ['ammo_charge'] = 'Carga', - ['ammo_petrol'] = 'Galones de Combustible', - ['ammo_firework'] = 'Fuegos Artificiale/s', - ['ammo_rockets'] = 'Cohete/s', - ['ammo_grenadelauncher'] = 'Granada/s', - ['ammo_grenade'] = 'Granada/s', - ['ammo_stickybomb'] = 'Bomba/s', - ['ammo_pipebomb'] = 'Bomba/s', - ['ammo_smokebomb'] = 'Bomba/s', - ['ammo_molotov'] = 'Molotov/s', - ['ammo_proxmine'] = 'Mina(s)', - ['ammo_bzgas'] = 'Lata(s)', - ['ammo_ball'] = 'Bola(s)', - ['ammo_snowball'] = 'Bola(s)', - ['ammo_flare'] = 'Bengala(s)', - ['ammo_flaregun'] = 'Bengala(s)', + ['ammo_rounds'] = "Redonda/s", + ['ammo_shells'] = "Casquillo/s", + ['ammo_charge'] = "Carga", + ['ammo_petrol'] = "Galones de Combustible", + ['ammo_firework'] = "Fuegos Artificiale/s", + ['ammo_rockets'] = "Cohete/s", + ['ammo_grenadelauncher'] = "Granada/s", + ['ammo_grenade'] = "Granada/s", + ['ammo_stickybomb'] = "Bomba/s", + ['ammo_pipebomb'] = "Bomba/s", + ['ammo_smokebomb'] = "Bomba/s", + ['ammo_molotov'] = "Molotov/s", + ['ammo_proxmine'] = "Mina(s)", + ['ammo_bzgas'] = "Lata(s)", + ['ammo_ball'] = "Bola(s)", + ['ammo_snowball'] = "Bola(s)", + ['ammo_flare'] = "Bengala(s)", + ['ammo_flaregun'] = "Bengala(s)", -- Weapon Tints - ['tint_default'] = 'Skin común', - ['tint_green'] = 'Skin Verde', - ['tint_gold'] = 'Skin Oro', - ['tint_pink'] = 'Skin Rosa', - ['tint_army'] = 'Skin Militar', - ['tint_lspd'] = 'Skin Azul', - ['tint_orange'] = 'Skin Naranja', - ['tint_platinum'] = 'Skin Plata', + ['tint_default'] = "Skin común", + ['tint_green'] = "Skin Verde", + ['tint_gold'] = "Skin Oro", + ['tint_pink'] = "Skin Rosa", + ['tint_army'] = "Skin Militar", + ['tint_lspd'] = "Skin Azul", + ['tint_orange'] = "Skin Naranja", + ['tint_platinum'] = "Skin Plata", -- Duty related - ['stopped_duty'] = 'Has salido de servicio.', - ['started_duty'] = 'Has entrado de servicio.', + ['stopped_duty'] = "Has salido de servicio.", + ['started_duty'] = "Has entrado de servicio.", } diff --git a/[core]/es_extended/locales/fi.lua b/[core]/es_extended/locales/fi.lua index 9e169caf..70aff891 100644 --- a/[core]/es_extended/locales/fi.lua +++ b/[core]/es_extended/locales/fi.lua @@ -1,228 +1,228 @@ Locales['fi'] = { -- Inventory - ['inventory'] = 'Reppu %s / %s', - ['use'] = 'Käytä', - ['give'] = 'Anna', - ['remove'] = 'Poista', - ['return'] = 'Takaisin', - ['give_to'] = 'Anna henkilölle', - ['amount'] = 'Määrä', - ['giveammo'] = 'Anna ammuksia', - ['amountammo'] = 'Ammusten määrä', - ['noammo'] = 'Sinulla ei ole ammuksia!', - ['gave_item'] = 'Sinä annoit %sx %s henkilölle %s', - ['received_item'] = 'Sinä sait %sx %s henkilöltä %s', - ['gave_weapon'] = 'Sinä annoit 1x %s henkilölle %s', - ['gave_weapon_ammo'] = 'Annoit ~o~%sx %s kohteelle %s henkilölle %s', - ['gave_weapon_withammo'] = 'Sinä annoit 1x %s ammuksella ~o~%sx %s henkilölle %s', - ['gave_weapon_hasalready'] = '%s omistaa jo %s', - ['gave_weapon_noweapon'] = '%s ei ole kyseistä asetta', - ['received_weapon'] = 'Vastaanotit 1x %s henkilöltä %s', - ['received_weapon_ammo'] = 'Sinä sait ~o~%sx %s sinun %s varten henkilöltä %s', - ['received_weapon_withammo'] = 'Sinä sait 1x %s ammuksella ~o~%sx %s henkilöltä %s', - ['received_weapon_hasalready'] = '%s yritti antaa sinulle %s, mutta sinulla on jo sellainen', - ['received_weapon_noweapon'] = '%s yritti antaa sinulle ammuksia %s:lle, mutta sinulla ei ole sellaista', - ['gave_account_money'] = 'Sinä annoit $%s (%s) henkilölle %s', - ['received_account_money'] = 'Sinä sait $%s (%s) henkilöltä %s', - ['amount_invalid'] = 'Virheellinen määrä', - ['players_nearby'] = 'Ei pelaajia lähettyvillä', - ['ex_inv_lim'] = 'Toiminto mahdoton, reppu alkaa olla täysi %s', - ['imp_invalid_quantity'] = 'Toiminto mahdoton, virheellinen määrä', - ['imp_invalid_amount'] = 'Toiminto mahdoton, virhellinen summa', - ['threw_standard'] = 'Sinä heitit %sx %s', - ['threw_account'] = 'Sinä heitit $%s %s', - ['threw_weapon'] = 'Sinä heitit 1x %s', - ['threw_weapon_ammo'] = 'Heitit 1x %s ammuksella ~o~%sx %s', - ['threw_weapon_already'] = 'Sinulla on jo sama ase', - ['threw_cannot_pickup'] = 'Et voi kerätä sitä, koska reppusi on täynnä', - ['threw_pickup_prompt'] = 'Paina E kerätäksesi', + ['inventory'] = "Reppu %s / %s", + ['use'] = "Käytä", + ['give'] = "Anna", + ['remove'] = "Poista", + ['return'] = "Takaisin", + ['give_to'] = "Anna henkilölle", + ['amount'] = "Määrä", + ['giveammo'] = "Anna ammuksia", + ['amountammo'] = "Ammusten määrä", + ['noammo'] = "Sinulla ei ole ammuksia!", + ['gave_item'] = "Sinä annoit %sx %s henkilölle %s", + ['received_item'] = "Sinä sait %sx %s henkilöltä %s", + ['gave_weapon'] = "Sinä annoit 1x %s henkilölle %s", + ['gave_weapon_ammo'] = "Annoit ~o~%sx %s kohteelle %s henkilölle %s", + ['gave_weapon_withammo'] = "Sinä annoit 1x %s ammuksella ~o~%sx %s henkilölle %s", + ['gave_weapon_hasalready'] = "%s omistaa jo %s", + ['gave_weapon_noweapon'] = "%s ei ole kyseistä asetta", + ['received_weapon'] = "Vastaanotit 1x %s henkilöltä %s", + ['received_weapon_ammo'] = "Sinä sait ~o~%sx %s sinun %s varten henkilöltä %s", + ['received_weapon_withammo'] = "Sinä sait 1x %s ammuksella ~o~%sx %s henkilöltä %s", + ['received_weapon_hasalready'] = "%s yritti antaa sinulle %s, mutta sinulla on jo sellainen", + ['received_weapon_noweapon'] = "%s yritti antaa sinulle ammuksia %s:lle, mutta sinulla ei ole sellaista", + ['gave_account_money'] = "Sinä annoit $%s (%s) henkilölle %s", + ['received_account_money'] = "Sinä sait $%s (%s) henkilöltä %s", + ['amount_invalid'] = "Virheellinen määrä", + ['players_nearby'] = "Ei pelaajia lähettyvillä", + ['ex_inv_lim'] = "Toiminto mahdoton, reppu alkaa olla täysi %s", + ['imp_invalid_quantity'] = "Toiminto mahdoton, virheellinen määrä", + ['imp_invalid_amount'] = "Toiminto mahdoton, virhellinen summa", + ['threw_standard'] = "Sinä heitit %sx %s", + ['threw_account'] = "Sinä heitit $%s %s", + ['threw_weapon'] = "Sinä heitit 1x %s", + ['threw_weapon_ammo'] = "Heitit 1x %s ammuksella ~o~%sx %s", + ['threw_weapon_already'] = "Sinulla on jo sama ase", + ['threw_cannot_pickup'] = "Et voi kerätä sitä, koska reppusi on täynnä", + ['threw_pickup_prompt'] = "Paina E kerätäksesi", -- Key mapping - ['keymap_showinventory'] = 'Avaa reppu', + ['keymap_showinventory'] = "Avaa reppu", -- Salary related - ['received_salary'] = 'Vastaanotit palkkaa: $%s', - ['received_help'] = 'Vastaanotit valtion tukea: $%s', - ['company_nomoney'] = 'Yrityksellä jolle teet töitä ei ole varaa maksaa palkkaasi', - ['received_paycheck'] = 'Sait palkan', - ['bank'] = 'Pankki', - ['account_bank'] = 'Pankki', - ['account_black_money'] = 'Likainen raha', - ['account_money'] = 'Käteinen', + ['received_salary'] = "Vastaanotit palkkaa: $%s", + ['received_help'] = "Vastaanotit valtion tukea: $%s", + ['company_nomoney'] = "Yrityksellä jolle teet töitä ei ole varaa maksaa palkkaasi", + ['received_paycheck'] = "Sait palkan", + ['bank'] = "Pankki", + ['account_bank'] = "Pankki", + ['account_black_money'] = "Likainen raha", + ['account_money'] = "Käteinen", - ['act_imp'] = 'Toiminto mahdoton', - ['in_vehicle'] = 'Et voi antaa ajoneuvossa olevalle mitään', + ['act_imp'] = "Toiminto mahdoton", + ['in_vehicle'] = "Et voi antaa ajoneuvossa olevalle mitään", -- Commands - ['command_car'] = 'Luo ajoneuvo', - ['command_car_car'] = 'Ajoneuvon nimi tai hash', - ['command_cardel'] = 'Poistaa ajoneuvon läheltä', - ['command_cardel_radius'] = 'Valinnainen, poista kaikki ajoneuvot määritetyllä säteellä', - ['command_clear'] = 'Tyhjennä keskustelu', - ['command_clearall'] = 'Tyhjennä keskustelu kaikilta pelaajilta', - ['command_clearinventory'] = 'Tyhjennä pelaajan reppu', - ['command_clearloadout'] = 'Tyhjennä pelaajan varustus', - ['command_giveaccountmoney'] = 'Anna tilirahaa', - ['command_giveaccountmoney_account'] = 'Kelvollinen tilin nimi', - ['command_giveaccountmoney_amount'] = 'Lisättävä määrä', - ['command_giveaccountmoney_invalid'] = 'Virheellinen tili nimi', - ['command_giveitem'] = 'Anna pelaajalle esine', - ['command_giveitem_item'] = 'Esineen nimi', - ['command_giveitem_count'] = 'Esineiden määrä', - ['command_giveweapon'] = 'Anna pelaajalle ase', - ['command_giveweapon_weapon'] = 'Aseen nimi', - ['command_giveweapon_ammo'] = 'Ammusten määrä', - ['command_giveweapon_hasalready'] = 'Pelaajalla on jo kyseinen ase', - ['command_giveweaponcomponent'] = 'Anna aseen komponentti', - ['command_giveweaponcomponent_component'] = 'Komponentin nimi', - ['command_giveweaponcomponent_invalid'] = 'Virheellinen aseen komponentti', - ['command_giveweaponcomponent_hasalready'] = 'Pelaajalla on jo kyseinen asekomponentti', - ['command_giveweaponcomponent_missingweapon'] = 'Pelaajalla ei ole kyseistä asetta', - ['command_save'] = 'Talenna pelaaja tietokantaan', - ['command_saveall'] = 'Tallenna kaikki pelaajat tietokantaan', - ['command_setaccountmoney'] = 'Aseta tilirahaa pelaajalle', - ['command_setaccountmoney_amount'] = 'Asetettava rahamäärä', - ['command_setcoords'] = 'Teleporttaa koordinaatteihin', - ['command_setcoords_x'] = 'x akseli', - ['command_setcoords_y'] = 'y akseli', - ['command_setcoords_z'] = 'z akseli', - ['command_setjob'] = 'Aseta pelaajalle työ', - ['command_setjob_job'] = 'Työ', - ['command_setjob_grade'] = 'Arvo', - ['command_setjob_invalid'] = 'Työ ja arvo tai molemmat ovat virheellisiä', - ['command_setgroup'] = 'Aseta pelaajan ryhmä', - ['command_setgroup_group'] = 'Ryhmän nimi', - ['commanderror_argumentmismatch'] = 'Argumenttien määrä ei täsmää (hyväksytty %s, haluttu %s)', - ['commanderror_argumentmismatch_number'] = 'Argumentin #%s tyyppi ei täsmää (syötetty merkkijono, haluttu numero)', - ['commanderror_invaliditem'] = 'Virheellinen esineen nimi', - ['commanderror_invalidweapon'] = 'Virheellinen ase', - ['commanderror_console'] = 'Komentoa ei voi suorittaa konsolissa', - ['commanderror_invalidcommand'] = '/%s ei ole kelvollinen komento!', - ['commanderror_invalidplayerid'] = 'Palvelimella ei ole pelaajaa, joka vastaa annetua ID', - ['commandgeneric_playerid'] = 'Pelaajan ID', - ['command_giveammo_noweapon_found'] = '%s ei ole sitä asetta', - ['command_giveammo_weapon'] = 'Aseen nimi', - ['command_giveammo_ammo'] = 'Ammusten määrä', + ['command_car'] = "Luo ajoneuvo", + ['command_car_car'] = "Ajoneuvon nimi tai hash", + ['command_cardel'] = "Poistaa ajoneuvon läheltä", + ['command_cardel_radius'] = "Valinnainen, poista kaikki ajoneuvot määritetyllä säteellä", + ['command_clear'] = "Tyhjennä keskustelu", + ['command_clearall'] = "Tyhjennä keskustelu kaikilta pelaajilta", + ['command_clearinventory'] = "Tyhjennä pelaajan reppu", + ['command_clearloadout'] = "Tyhjennä pelaajan varustus", + ['command_giveaccountmoney'] = "Anna tilirahaa", + ['command_giveaccountmoney_account'] = "Kelvollinen tilin nimi", + ['command_giveaccountmoney_amount'] = "Lisättävä määrä", + ['command_giveaccountmoney_invalid'] = "Virheellinen tili nimi", + ['command_giveitem'] = "Anna pelaajalle esine", + ['command_giveitem_item'] = "Esineen nimi", + ['command_giveitem_count'] = "Esineiden määrä", + ['command_giveweapon'] = "Anna pelaajalle ase", + ['command_giveweapon_weapon'] = "Aseen nimi", + ['command_giveweapon_ammo'] = "Ammusten määrä", + ['command_giveweapon_hasalready'] = "Pelaajalla on jo kyseinen ase", + ['command_giveweaponcomponent'] = "Anna aseen komponentti", + ['command_giveweaponcomponent_component'] = "Komponentin nimi", + ['command_giveweaponcomponent_invalid'] = "Virheellinen aseen komponentti", + ['command_giveweaponcomponent_hasalready'] = "Pelaajalla on jo kyseinen asekomponentti", + ['command_giveweaponcomponent_missingweapon'] = "Pelaajalla ei ole kyseistä asetta", + ['command_save'] = "Talenna pelaaja tietokantaan", + ['command_saveall'] = "Tallenna kaikki pelaajat tietokantaan", + ['command_setaccountmoney'] = "Aseta tilirahaa pelaajalle", + ['command_setaccountmoney_amount'] = "Asetettava rahamäärä", + ['command_setcoords'] = "Teleporttaa koordinaatteihin", + ['command_setcoords_x'] = "x akseli", + ['command_setcoords_y'] = "y akseli", + ['command_setcoords_z'] = "z akseli", + ['command_setjob'] = "Aseta pelaajalle työ", + ['command_setjob_job'] = "Työ", + ['command_setjob_grade'] = "Arvo", + ['command_setjob_invalid'] = "Työ ja arvo tai molemmat ovat virheellisiä", + ['command_setgroup'] = "Aseta pelaajan ryhmä", + ['command_setgroup_group'] = "Ryhmän nimi", + ['commanderror_argumentmismatch'] = "Argumenttien määrä ei täsmää (hyväksytty %s, haluttu %s)", + ['commanderror_argumentmismatch_number'] = "Argumentin #%s tyyppi ei täsmää (syötetty merkkijono, haluttu numero)", + ['commanderror_invaliditem'] = "Virheellinen esineen nimi", + ['commanderror_invalidweapon'] = "Virheellinen ase", + ['commanderror_console'] = "Komentoa ei voi suorittaa konsolissa", + ['commanderror_invalidcommand'] = "/%s ei ole kelvollinen komento!", + ['commanderror_invalidplayerid'] = "Palvelimella ei ole pelaajaa, joka vastaa annetua ID", + ['commandgeneric_playerid'] = "Pelaajan ID", + ['command_giveammo_noweapon_found'] = "%s ei ole sitä asetta", + ['command_giveammo_weapon'] = "Aseen nimi", + ['command_giveammo_ammo'] = "Ammusten määrä", -- Locale settings - ['locale_digit_grouping_symbol'] = '', - ['locale_currency'] = '$%s', + ['locale_digit_grouping_symbol'] = "", + ['locale_currency'] = "$%s", -- Weapons - ['weapon_knife'] = 'Veitsi', - ['weapon_nightstick'] = 'Pamppu', - ['weapon_hammer'] = 'Vasara', - ['weapon_bat'] = 'Pesäpallomaila', - ['weapon_golfclub'] = 'Golf maila', - ['weapon_crowbar'] = 'Sorkkarauta', - ['weapon_pistol'] = 'Pistooli', - ['weapon_combatpistol'] = 'Taistelu pistooli', - ['weapon_appistol'] = 'Automaatti pistooli', - ['weapon_pistol50'] = '50 kaliiperinen pistooli', - ['weapon_microsmg'] = 'Mikro konepistooli', - ['weapon_smg'] = 'Konepistooli', - ['weapon_assaultsmg'] = 'Rynnäkkö konepistooli', - ['weapon_assaultrifle'] = 'Rynnäkkökivääri', - ['weapon_carbinerifle'] = 'Karbiini kivääri', - ['weapon_advancedrifle'] = 'Edistynyt kivääri', - ['weapon_mg'] = 'Konekivääri', - ['weapon_combatmg'] = 'Rynnäkkö konekivääri', - ['weapon_pumpshotgun'] = 'Pumppu haulikko', - ['weapon_sawnoffshotgun'] = 'Katkaistuhaulikko', - ['weapon_assaultshotgun'] = 'Hyökkäyshaulikko', - ['weapon_bullpupshotgun'] = 'Bullpup haulikko', - ['weapon_stungun'] = 'Tainutusase', - ['weapon_sniperrifle'] = 'Tarkkuuskivääri', - ['weapon_heavysniper'] = 'Raskas tarkkuuskivääri', - ['weapon_grenadelauncher'] = 'Kranaatinheitin', - ['weapon_rpg'] = 'Raketinheitin', - ['weapon_minigun'] = 'Minigun', - ['weapon_grenade'] = 'Kranaatti', - ['weapon_stickybomb'] = 'Tahma pommi', - ['weapon_smokegrenade'] = 'Savukranaatti', - ['weapon_bzgas'] = 'Bz-kaasu', - ['weapon_molotov'] = 'Polttopullo', - ['weapon_fireextinguisher'] = 'Palosammutin', - ['weapon_petrolcan'] = 'Jerrykannu', - ['weapon_ball'] = 'Pallo', - ['weapon_snspistol'] = 'Pienpistooli', - ['weapon_bottle'] = 'Pullo', - ['weapon_gusenberg'] = 'Thompson-konepistooli', - ['weapon_specialcarbine'] = 'G86C', - ['weapon_heavypistol'] = 'Raskas pistooli', - ['weapon_bullpuprifle'] = 'Bullpup kivääri', - ['weapon_dagger'] = 'Tikari', - ['weapon_vintagepistol'] = 'Vanha pistooli', - ['weapon_firework'] = 'Ilotulite', - ['weapon_musket'] = 'Musketti', - ['weapon_heavyshotgun'] = 'Raskas haulikko', - ['weapon_marksmanrifle'] = 'Marksman kivääri', - ['weapon_hominglauncher'] = 'Ohjautuva raketinheitin', - ['weapon_proxmine'] = 'Lähellä räjähtävä miina', - ['weapon_snowball'] = 'Lumipallo', - ['weapon_flaregun'] = 'Valopistooli', - ['weapon_combatpdw'] = 'Rynnäkkö pdw', - ['weapon_marksmanpistol'] = 'Marksman pistooli', - ['weapon_knuckle'] = 'Nyrkkirauta', - ['weapon_hatchet'] = 'Kirves', - ['weapon_railgun'] = 'Raidetykki', - ['weapon_machete'] = 'Viidakkoveitsi', - ['weapon_machinepistol'] = 'Konepistooli', - ['weapon_switchblade'] = 'Stiletti', - ['weapon_revolver'] = 'Raskas revolveri', - ['weapon_dbshotgun'] = 'Kaksipiippunen haulikko', - ['weapon_compactrifle'] = 'Pikku AK', - ['weapon_autoshotgun'] = 'Automaattinen haulikko', - ['weapon_battleaxe'] = 'Taistelukirves', - ['weapon_compactlauncher'] = 'Pien kranaatinheitin', - ['weapon_minismg'] = 'Mini konepistooli', - ['weapon_pipebomb'] = 'Putkipommi', - ['weapon_poolcue'] = 'Biljardimaila', - ['weapon_wrench'] = 'Putkipihdit', - ['weapon_flashlight'] = 'Taskulamppu', - ['gadget_parachute'] = 'Laskuvarjo', - ['weapon_flare'] = 'Hätäraketti', - ['weapon_doubleaction'] = 'Double action revolveri', + ['weapon_knife'] = "Veitsi", + ['weapon_nightstick'] = "Pamppu", + ['weapon_hammer'] = "Vasara", + ['weapon_bat'] = "Pesäpallomaila", + ['weapon_golfclub'] = "Golf maila", + ['weapon_crowbar'] = "Sorkkarauta", + ['weapon_pistol'] = "Pistooli", + ['weapon_combatpistol'] = "Taistelu pistooli", + ['weapon_appistol'] = "Automaatti pistooli", + ['weapon_pistol50'] = "50 kaliiperinen pistooli", + ['weapon_microsmg'] = "Mikro konepistooli", + ['weapon_smg'] = "Konepistooli", + ['weapon_assaultsmg'] = "Rynnäkkö konepistooli", + ['weapon_assaultrifle'] = "Rynnäkkökivääri", + ['weapon_carbinerifle'] = "Karbiini kivääri", + ['weapon_advancedrifle'] = "Edistynyt kivääri", + ['weapon_mg'] = "Konekivääri", + ['weapon_combatmg'] = "Rynnäkkö konekivääri", + ['weapon_pumpshotgun'] = "Pumppu haulikko", + ['weapon_sawnoffshotgun'] = "Katkaistuhaulikko", + ['weapon_assaultshotgun'] = "Hyökkäyshaulikko", + ['weapon_bullpupshotgun'] = "Bullpup haulikko", + ['weapon_stungun'] = "Tainutusase", + ['weapon_sniperrifle'] = "Tarkkuuskivääri", + ['weapon_heavysniper'] = "Raskas tarkkuuskivääri", + ['weapon_grenadelauncher'] = "Kranaatinheitin", + ['weapon_rpg'] = "Raketinheitin", + ['weapon_minigun'] = "Minigun", + ['weapon_grenade'] = "Kranaatti", + ['weapon_stickybomb'] = "Tahma pommi", + ['weapon_smokegrenade'] = "Savukranaatti", + ['weapon_bzgas'] = "Bz-kaasu", + ['weapon_molotov'] = "Polttopullo", + ['weapon_fireextinguisher'] = "Palosammutin", + ['weapon_petrolcan'] = "Jerrykannu", + ['weapon_ball'] = "Pallo", + ['weapon_snspistol'] = "Pienpistooli", + ['weapon_bottle'] = "Pullo", + ['weapon_gusenberg'] = "Thompson-konepistooli", + ['weapon_specialcarbine'] = "G86C", + ['weapon_heavypistol'] = "Raskas pistooli", + ['weapon_bullpuprifle'] = "Bullpup kivääri", + ['weapon_dagger'] = "Tikari", + ['weapon_vintagepistol'] = "Vanha pistooli", + ['weapon_firework'] = "Ilotulite", + ['weapon_musket'] = "Musketti", + ['weapon_heavyshotgun'] = "Raskas haulikko", + ['weapon_marksmanrifle'] = "Marksman kivääri", + ['weapon_hominglauncher'] = "Ohjautuva raketinheitin", + ['weapon_proxmine'] = "Lähellä räjähtävä miina", + ['weapon_snowball'] = "Lumipallo", + ['weapon_flaregun'] = "Valopistooli", + ['weapon_combatpdw'] = "Rynnäkkö pdw", + ['weapon_marksmanpistol'] = "Marksman pistooli", + ['weapon_knuckle'] = "Nyrkkirauta", + ['weapon_hatchet'] = "Kirves", + ['weapon_railgun'] = "Raidetykki", + ['weapon_machete'] = "Viidakkoveitsi", + ['weapon_machinepistol'] = "Konepistooli", + ['weapon_switchblade'] = "Stiletti", + ['weapon_revolver'] = "Raskas revolveri", + ['weapon_dbshotgun'] = "Kaksipiippunen haulikko", + ['weapon_compactrifle'] = "Pikku AK", + ['weapon_autoshotgun'] = "Automaattinen haulikko", + ['weapon_battleaxe'] = "Taistelukirves", + ['weapon_compactlauncher'] = "Pien kranaatinheitin", + ['weapon_minismg'] = "Mini konepistooli", + ['weapon_pipebomb'] = "Putkipommi", + ['weapon_poolcue'] = "Biljardimaila", + ['weapon_wrench'] = "Putkipihdit", + ['weapon_flashlight'] = "Taskulamppu", + ['gadget_parachute'] = "Laskuvarjo", + ['weapon_flare'] = "Hätäraketti", + ['weapon_doubleaction'] = "Double action revolveri", -- Weapon Components - ['component_clip_default'] = 'Oletus lipas', - ['component_clip_extended'] = 'Paranneltu lipas', - ['component_clip_drum'] = 'Rumpulipas', - ['component_clip_box'] = 'Laatikkolipas', - ['component_flashlight'] = 'Taskulamppu', - ['component_scope'] = 'Tähtäin', - ['component_scope_advanced'] = 'Paranneltu tähtäin', - ['component_suppressor'] = 'Äänenvaimennin', - ['component_grip'] = 'Kahva', - ['component_luxary_finish'] = 'Luksus ulkokuori', + ['component_clip_default'] = "Oletus lipas", + ['component_clip_extended'] = "Paranneltu lipas", + ['component_clip_drum'] = "Rumpulipas", + ['component_clip_box'] = "Laatikkolipas", + ['component_flashlight'] = "Taskulamppu", + ['component_scope'] = "Tähtäin", + ['component_scope_advanced'] = "Paranneltu tähtäin", + ['component_suppressor'] = "Äänenvaimennin", + ['component_grip'] = "Kahva", + ['component_luxary_finish'] = "Luksus ulkokuori", -- Weapon Ammo - ['ammo_rounds'] = 'Ammukset(s)', - ['ammo_shells'] = 'Hylsy(s)', - ['ammo_charge'] = 'Lataa', - ['ammo_petrol'] = 'Gallonaa polttoainetta', - ['ammo_firework'] = 'Ilotulite(s)', - ['ammo_rockets'] = 'Raketti(s)', - ['ammo_grenadelauncher'] = 'Kranaatti(s)', - ['ammo_grenade'] = 'Kranaatti(s)', - ['ammo_stickybomb'] = 'Pommi(s)', - ['ammo_pipebomb'] = 'Pommi(s)', - ['ammo_smokebomb'] = 'Pommi(s)', - ['ammo_molotov'] = 'Polttopullo(s)', - ['ammo_proxmine'] = 'Miina(s)', - ['ammo_bzgas'] = 'Tölkki(s)', - ['ammo_ball'] = 'Pallo(s)', - ['ammo_snowball'] = 'Lumipallo(s)', - ['ammo_flare'] = 'Valoraketti(s)', - ['ammo_flaregun'] = 'Valoraketti(s)', + ['ammo_rounds'] = "Ammukset(s)", + ['ammo_shells'] = "Hylsy(s)", + ['ammo_charge'] = "Lataa", + ['ammo_petrol'] = "Gallonaa polttoainetta", + ['ammo_firework'] = "Ilotulite(s)", + ['ammo_rockets'] = "Raketti(s)", + ['ammo_grenadelauncher'] = "Kranaatti(s)", + ['ammo_grenade'] = "Kranaatti(s)", + ['ammo_stickybomb'] = "Pommi(s)", + ['ammo_pipebomb'] = "Pommi(s)", + ['ammo_smokebomb'] = "Pommi(s)", + ['ammo_molotov'] = "Polttopullo(s)", + ['ammo_proxmine'] = "Miina(s)", + ['ammo_bzgas'] = "Tölkki(s)", + ['ammo_ball'] = "Pallo(s)", + ['ammo_snowball'] = "Lumipallo(s)", + ['ammo_flare'] = "Valoraketti(s)", + ['ammo_flaregun'] = "Valoraketti(s)", -- Weapon Tints - ['tint_default'] = 'Oletus ulkokuori', - ['tint_green'] = 'Vihreä ulkokuori', - ['tint_gold'] = 'Kultainen ulkokuori', - ['tint_pink'] = 'Vaaleanpunainen ulkokuori', - ['tint_army'] = 'Armeija ulkokuori', - ['tint_lspd'] = 'Sininen ulkokuori', - ['tint_orange'] = 'Oranssi ulkokuori', - ['tint_platinum'] = 'Platina ulkokuori', + ['tint_default'] = "Oletus ulkokuori", + ['tint_green'] = "Vihreä ulkokuori", + ['tint_gold'] = "Kultainen ulkokuori", + ['tint_pink'] = "Vaaleanpunainen ulkokuori", + ['tint_army'] = "Armeija ulkokuori", + ['tint_lspd'] = "Sininen ulkokuori", + ['tint_orange'] = "Oranssi ulkokuori", + ['tint_platinum'] = "Platina ulkokuori", } diff --git a/[core]/es_extended/locales/fr.lua b/[core]/es_extended/locales/fr.lua index f21a4ed5..83ad0842 100644 --- a/[core]/es_extended/locales/fr.lua +++ b/[core]/es_extended/locales/fr.lua @@ -1,232 +1,232 @@ Locales['fr'] = { -- Inventory - ['inventory'] = 'inventaire %s / %s', - ['use'] = 'utiliser', - ['give'] = 'donner', - ['remove'] = 'jeter', - ['return'] = 'retour', - ['give_to'] = 'donner à', - ['amount'] = 'quantité', - ['giveammo'] = 'donner munitions', - ['amountammo'] = 'nombre de munitions', - ['noammo'] = 'tu n\'as pas toutes ces munitions!', - ['gave_item'] = 'vous avez donné %sx %s à %s', - ['received_item'] = 'vous avez reçu %sx %s par %s', - ['gave_weapon'] = 'vous avez donné 1x %s à %s', - ['gave_weapon_ammo'] = 'vous avez donné ~o~%sx %s pour %s à %s', - ['gave_weapon_withammo'] = 'vous avez donné 1x %s avec ~o~%sx %s à %s', - ['gave_weapon_hasalready'] = '%s a déjà %s', - ['gave_weapon_noweapon'] = '%s n\'a pas cette arme', - ['received_weapon'] = 'vous recevez 1x %s de %s', - ['received_weapon_ammo'] = 'vous avez reçu ~o~%sx %s pour votre %s de %s', - ['received_weapon_withammo'] = 'vous avez reçu 1x %s avec ~o~%sx %s de %s', - ['received_weapon_hasalready'] = '%s a tenté de vous donner %s, mais vous en aviez déjà un exemplaire', - ['received_weapon_noweapon'] = '%s tente de vous donner des munitions pour %s, mais vous n\'en avez pas', - ['gave_account_money'] = 'vous avez donné $%s (%s) à %s', - ['received_account_money'] = 'vous avez reçu $%s (%s) par %s', - ['amount_invalid'] = 'montant invalide', - ['players_nearby'] = 'aucun joueur à proximité', - ['ex_inv_lim'] = 'action impossible, depassement de la limite d\'inventaire pour %s', - ['imp_invalid_quantity'] = 'action impossible, ~r~quantité invalide', - ['imp_invalid_amount'] = 'action impossible, ~r~montant invalide', - ['threw_standard'] = 'vous avez jeté %sx %s', - ['threw_account'] = 'vous avez jeté $%s %s', - ['threw_weapon'] = 'vous avez jeté 1x %s', - ['threw_weapon_ammo'] = 'vous avez jeté 1x %s avec ~o~%sx %s', - ['threw_weapon_already'] = 'vous portez déjà cette arme', - ['threw_cannot_pickup'] = 'vous ne pouvez pas ramasser ça votre inventaire est plein !', - ['threw_pickup_prompt'] = 'appuyez sur E pour ramasser', + ['inventory'] = "inventaire %s / %s", + ['use'] = "utiliser", + ['give'] = "donner", + ['remove'] = "jeter", + ['return'] = "retour", + ['give_to'] = "donner à", + ['amount'] = "quantité", + ['giveammo'] = "donner munitions", + ['amountammo'] = "nombre de munitions", + ['noammo'] = "tu n'as pas toutes ces munitions!", + ['gave_item'] = "vous avez donné %sx %s à %s", + ['received_item'] = "vous avez reçu %sx %s par %s", + ['gave_weapon'] = "vous avez donné 1x %s à %s", + ['gave_weapon_ammo'] = "vous avez donné ~o~%sx %s pour %s à %s", + ['gave_weapon_withammo'] = "vous avez donné 1x %s avec ~o~%sx %s à %s", + ['gave_weapon_hasalready'] = "%s a déjà %s", + ['gave_weapon_noweapon'] = "%s n'a pas cette arme", + ['received_weapon'] = "vous recevez 1x %s de %s", + ['received_weapon_ammo'] = "vous avez reçu ~o~%sx %s pour votre %s de %s", + ['received_weapon_withammo'] = "vous avez reçu 1x %s avec ~o~%sx %s de %s", + ['received_weapon_hasalready'] = "%s a tenté de vous donner %s, mais vous en aviez déjà un exemplaire", + ['received_weapon_noweapon'] = "%s tente de vous donner des munitions pour %s, mais vous n'en avez pas", + ['gave_account_money'] = "vous avez donné $%s (%s) à %s", + ['received_account_money'] = "vous avez reçu $%s (%s) par %s", + ['amount_invalid'] = "montant invalide", + ['players_nearby'] = "aucun joueur à proximité", + ['ex_inv_lim'] = "action impossible, depassement de la limite d'inventaire pour %s", + ['imp_invalid_quantity'] = "action impossible, ~r~quantité invalide", + ['imp_invalid_amount'] = "action impossible, ~r~montant invalide", + ['threw_standard'] = "vous avez jeté %sx %s", + ['threw_account'] = "vous avez jeté $%s %s", + ['threw_weapon'] = "vous avez jeté 1x %s", + ['threw_weapon_ammo'] = "vous avez jeté 1x %s avec ~o~%sx %s", + ['threw_weapon_already'] = "vous portez déjà cette arme", + ['threw_cannot_pickup'] = "vous ne pouvez pas ramasser ça votre inventaire est plein !", + ['threw_pickup_prompt'] = "appuyez sur E pour ramasser", -- Key mapping - ['keymap_showinventory'] = 'montrer l\'inventaire', + ['keymap_showinventory'] = "montrer l'inventaire", -- Salary related - ['received_salary'] = 'vous avez reçu votre salaire: $%s', - ['received_help'] = 'vous avez reçu une aide de l\'état: $%s', - ['company_nomoney'] = 'votre entreprise n\'a plus d\'argent pour vous payer!', - ['received_paycheck'] = 'paiement reçu', - ['bank'] = 'banque', - ['account_bank'] = 'banque', - ['account_black_money'] = 'argent sale', - ['account_money'] = 'espèces', + ['received_salary'] = "vous avez reçu votre salaire: $%s", + ['received_help'] = "vous avez reçu une aide de l'état: $%s", + ['company_nomoney'] = "votre entreprise n'a plus d'argent pour vous payer!", + ['received_paycheck'] = "paiement reçu", + ['bank'] = "banque", + ['account_bank'] = "banque", + ['account_black_money'] = "argent sale", + ['account_money'] = "espèces", - ['act_imp'] = 'action impossible', - ['in_vehicle'] = 'Vous ne pouvez rien donner à quelqu\'un dans un véhicule', + ['act_imp'] = "action impossible", + ['in_vehicle'] = "Vous ne pouvez rien donner à quelqu'un dans un véhicule", -- Commands - ['command_car'] = 'faire appaitre un véhicule', - ['command_car_car'] = 'nom ou hash du véhicule', - ['command_cardel'] = 'supprimer le véhicule à proximité', - ['command_cardel_radius'] = 'optionnel, supprime les véhicules dans un rayon spécifié', - ['command_clear'] = 'vider le chat', - ['command_clearall'] = 'vider le chat pour tous', - ['command_clearinventory'] = 'vider l\'inventaire d\'un joueur', - ['command_clearloadout'] = 'vider le loadout d\'un joueur', - ['command_giveaccountmoney'] = 'donner de l\'argent sur un compte', - ['command_giveaccountmoney_account'] = 'nom de compte valide', - ['command_giveaccountmoney_amount'] = 'quantité à ajouter', - ['command_giveaccountmoney_invalid'] = 'nom de compte invalide', - ['command_giveitem'] = 'donner un objet à un joueur', - ['command_giveitem_item'] = 'nom de l\'objet', - ['command_giveitem_count'] = 'quantité de l\'objet', - ['command_giveweapon'] = 'donner une arme à un joueur', - ['command_giveweapon_weapon'] = 'nom de l\'arme', - ['command_giveweapon_ammo'] = 'quantité de munitions', - ['command_giveweapon_hasalready'] = 'le joueur a déjà cette arme', - ['command_giveweaponcomponent'] = 'donner un accessoire d\'arme', - ['command_giveweaponcomponent_component'] = 'nom de l\'accessoire', - ['command_giveweaponcomponent_invalid'] = 'accessoire invalide', - ['command_giveweaponcomponent_hasalready'] = 'le joueur a déjà cet accessoire', - ['command_giveweaponcomponent_missingweapon'] = 'le joueur n\'a pas cette arme', - ['command_save'] = 'sauvegarder un joueur dans la base de données', - ['command_saveall'] = 'sauvegarder tous les joueurs dans la base de données', - ['command_setaccountmoney'] = 'définir la somme d\'argent pour un joueur', - ['command_setaccountmoney_amount'] = 'quantité d\'argent à définir', - ['command_setcoords'] = 'se téléporter aux coordonnées', - ['command_setcoords_x'] = 'axe X', - ['command_setcoords_y'] = 'axe Y', - ['command_setcoords_z'] = 'axe Z', - ['command_setjob'] = 'assigner job à un joueur', - ['command_setjob_job'] = 'nom du job', - ['command_setjob_grade'] = 'grade du job', - ['command_setjob_invalid'] = 'le job, le grade ou les deux sont invalides', - ['command_setgroup'] = 'assigner un groupe à un joueur', - ['command_setgroup_group'] = 'nom du groupe', - ['commanderror_argumentmismatch'] = 'argument count mismatch (passed %s, wanted %s)', - ['commanderror_argumentmismatch_number'] = 'argument #%s type mismatch (passed string, wanted number)', - ['commanderror_invaliditem'] = 'nom de l\'objet invalide', - ['commanderror_invalidweapon'] = 'arme invalide', - ['commanderror_console'] = 'cette commande ne peut pas être utilisée dans la console', - ['commanderror_invalidcommand'] = '/%s n\'est pas une commande valide!', - ['commanderror_invalidplayerid'] = 'il n\'ya aucun joueur avec cet ID en jeu', - ['commandgeneric_playerid'] = 'id joueur', - ['command_giveammo_noweapon_found'] = '%s n\'a pas cette arme', - ['command_giveammo_weapon'] = 'Nom de l\'arme', - ['command_giveammo_ammo'] = 'Quantité de munitions', + ['command_car'] = "faire appaitre un véhicule", + ['command_car_car'] = "nom ou hash du véhicule", + ['command_cardel'] = "supprimer le véhicule à proximité", + ['command_cardel_radius'] = "optionnel, supprime les véhicules dans un rayon spécifié", + ['command_clear'] = "vider le chat", + ['command_clearall'] = "vider le chat pour tous", + ['command_clearinventory'] = "vider l'inventaire d'un joueur", + ['command_clearloadout'] = "vider le loadout d'un joueur", + ['command_giveaccountmoney'] = "donner de l'argent sur un compte", + ['command_giveaccountmoney_account'] = "nom de compte valide", + ['command_giveaccountmoney_amount'] = "quantité à ajouter", + ['command_giveaccountmoney_invalid'] = "nom de compte invalide", + ['command_giveitem'] = "donner un objet à un joueur", + ['command_giveitem_item'] = "nom de l'objet", + ['command_giveitem_count'] = "quantité de l'objet", + ['command_giveweapon'] = "donner une arme à un joueur", + ['command_giveweapon_weapon'] = "nom de l'arme", + ['command_giveweapon_ammo'] = "quantité de munitions", + ['command_giveweapon_hasalready'] = "le joueur a déjà cette arme", + ['command_giveweaponcomponent'] = "donner un accessoire d'arme", + ['command_giveweaponcomponent_component'] = "nom de l'accessoire", + ['command_giveweaponcomponent_invalid'] = "accessoire invalide", + ['command_giveweaponcomponent_hasalready'] = "le joueur a déjà cet accessoire", + ['command_giveweaponcomponent_missingweapon'] = "le joueur n'a pas cette arme", + ['command_save'] = "sauvegarder un joueur dans la base de données", + ['command_saveall'] = "sauvegarder tous les joueurs dans la base de données", + ['command_setaccountmoney'] = "définir la somme d'argent pour un joueur", + ['command_setaccountmoney_amount'] = "quantité d'argent à définir", + ['command_setcoords'] = "se téléporter aux coordonnées", + ['command_setcoords_x'] = "axe X", + ['command_setcoords_y'] = "axe Y", + ['command_setcoords_z'] = "axe Z", + ['command_setjob'] = "assigner job à un joueur", + ['command_setjob_job'] = "nom du job", + ['command_setjob_grade'] = "grade du job", + ['command_setjob_invalid'] = "le job, le grade ou les deux sont invalides", + ['command_setgroup'] = "assigner un groupe à un joueur", + ['command_setgroup_group'] = "nom du groupe", + ['commanderror_argumentmismatch'] = "argument count mismatch (passed %s, wanted %s)", + ['commanderror_argumentmismatch_number'] = "argument #%s type mismatch (passed string, wanted number)", + ['commanderror_invaliditem'] = "nom de l'objet invalide", + ['commanderror_invalidweapon'] = "arme invalide", + ['commanderror_console'] = "cette commande ne peut pas être utilisée dans la console", + ['commanderror_invalidcommand'] = "/%s n'est pas une commande valide!", + ['commanderror_invalidplayerid'] = "il n'ya aucun joueur avec cet ID en jeu", + ['commandgeneric_playerid'] = "id joueur", + ['command_giveammo_noweapon_found'] = "%s n'a pas cette arme", + ['command_giveammo_weapon'] = "Nom de l'arme", + ['command_giveammo_ammo'] = "Quantité de munitions", -- Locale settings - ['locale_digit_grouping_symbol'] = ' ', - ['locale_currency'] = '$%s', + ['locale_digit_grouping_symbol'] = " ", + ['locale_currency'] = "$%s", -- Weapons - ['weapon_knife'] = 'couteau', - ['weapon_nightstick'] = 'matraque', - ['weapon_hammer'] = 'marteau', - ['weapon_bat'] = 'batte', - ['weapon_golfclub'] = 'club de golf', - ['weapon_crowbar'] = 'pied de biche', - ['weapon_pistol'] = 'pistolet', - ['weapon_combatpistol'] = 'pistolet de combat', - ['weapon_appistol'] = 'pistolet automatique', - ['weapon_pistol50'] = 'pistolet calibre 50', - ['weapon_microsmg'] = 'micro smg', - ['weapon_smg'] = 'smg', - ['weapon_assaultsmg'] = 'smg d\'assaut', - ['weapon_assaultrifle'] = 'fusil d\'assaut', - ['weapon_carbinerifle'] = 'carabine d\'assaut', - ['weapon_advancedrifle'] = 'fusil avancé', - ['weapon_mg'] = 'mitrailleuse', - ['weapon_combatmg'] = 'mitrailleuse de combat', - ['weapon_pumpshotgun'] = 'fusil à pompe', - ['weapon_sawnoffshotgun'] = 'carabine à canon scié', - ['weapon_assaultshotgun'] = 'carabine d\'assaut', - ['weapon_bullpupshotgun'] = 'carabine bullpup', - ['weapon_stungun'] = 'tazer', - ['weapon_sniperrifle'] = 'fusil de sniper', - ['weapon_heavysniper'] = 'fusil de sniper lourd', - ['weapon_grenadelauncher'] = 'lance-grenade', - ['weapon_rpg'] = 'lance-rocket', - ['weapon_minigun'] = 'minigun', - ['weapon_grenade'] = 'grenade', - ['weapon_stickybomb'] = 'bombe collante', - ['weapon_smokegrenade'] = 'grenade fumigène', - ['weapon_bzgas'] = 'grenade à gaz bz', - ['weapon_molotov'] = 'cocktail molotov', - ['weapon_fireextinguisher'] = 'extincteur', - ['weapon_petrolcan'] = 'jerrican d\'essence', - ['weapon_ball'] = 'balle', - ['weapon_snspistol'] = 'pistolet sns', - ['weapon_bottle'] = 'bouteille', - ['weapon_gusenberg'] = 'balayeuse gusenberg', - ['weapon_specialcarbine'] = 'carabine spéciale', - ['weapon_heavypistol'] = 'pistolet lourd', - ['weapon_bullpuprifle'] = 'fusil bullpup', - ['weapon_dagger'] = 'poignard', - ['weapon_vintagepistol'] = 'pistolet vintage', - ['weapon_firework'] = 'feu d\'artifice', - ['weapon_musket'] = 'mousquet', - ['weapon_heavyshotgun'] = 'fusil à pompe lourd', - ['weapon_marksmanrifle'] = 'fusil marksman', - ['weapon_hominglauncher'] = 'lance tête-chercheuse', - ['weapon_proxmine'] = 'mine de proximité', - ['weapon_snowball'] = 'boule de neige', - ['weapon_flaregun'] = 'lance fusée de détresse', - ['weapon_combatpdw'] = 'arme de défense personnelle', - ['weapon_marksmanpistol'] = 'pistolet marksman', - ['weapon_knuckle'] = 'poing américain', - ['weapon_hatchet'] = 'hachette', - ['weapon_railgun'] = 'canon éléctrique', - ['weapon_machete'] = 'machette', - ['weapon_machinepistol'] = 'pistolet mitrailleur', - ['weapon_switchblade'] = 'couteau à cran d\'arrêt', - ['weapon_revolver'] = 'revolver', - ['weapon_dbshotgun'] = 'fusil à pompe double canon', - ['weapon_compactrifle'] = 'fusil compact', - ['weapon_autoshotgun'] = 'fusil à pompe automatique', - ['weapon_battleaxe'] = 'hache de combat', - ['weapon_compactlauncher'] = 'lanceur compact', - ['weapon_minismg'] = 'mini smg', - ['weapon_pipebomb'] = 'bombe tuyau', - ['weapon_poolcue'] = 'queue de billard', - ['weapon_wrench'] = 'clé', - ['weapon_flashlight'] = 'lampe torche', - ['gadget_parachute'] = 'parachute', - ['weapon_flare'] = 'fusée de détresse', - ['weapon_doubleaction'] = 'revolver double action', + ['weapon_knife'] = "couteau", + ['weapon_nightstick'] = "matraque", + ['weapon_hammer'] = "marteau", + ['weapon_bat'] = "batte", + ['weapon_golfclub'] = "club de golf", + ['weapon_crowbar'] = "pied de biche", + ['weapon_pistol'] = "pistolet", + ['weapon_combatpistol'] = "pistolet de combat", + ['weapon_appistol'] = "pistolet automatique", + ['weapon_pistol50'] = "pistolet calibre 50", + ['weapon_microsmg'] = "micro smg", + ['weapon_smg'] = "smg", + ['weapon_assaultsmg'] = "smg d'assaut", + ['weapon_assaultrifle'] = "fusil d'assaut", + ['weapon_carbinerifle'] = "carabine d'assaut", + ['weapon_advancedrifle'] = "fusil avancé", + ['weapon_mg'] = "mitrailleuse", + ['weapon_combatmg'] = "mitrailleuse de combat", + ['weapon_pumpshotgun'] = "fusil à pompe", + ['weapon_sawnoffshotgun'] = "carabine à canon scié", + ['weapon_assaultshotgun'] = "carabine d'assaut", + ['weapon_bullpupshotgun'] = "carabine bullpup", + ['weapon_stungun'] = "tazer", + ['weapon_sniperrifle'] = "fusil de sniper", + ['weapon_heavysniper'] = "fusil de sniper lourd", + ['weapon_grenadelauncher'] = "lance-grenade", + ['weapon_rpg'] = "lance-rocket", + ['weapon_minigun'] = "minigun", + ['weapon_grenade'] = "grenade", + ['weapon_stickybomb'] = "bombe collante", + ['weapon_smokegrenade'] = "grenade fumigène", + ['weapon_bzgas'] = "grenade à gaz bz", + ['weapon_molotov'] = "cocktail molotov", + ['weapon_fireextinguisher'] = "extincteur", + ['weapon_petrolcan'] = "jerrican d'essence", + ['weapon_ball'] = "balle", + ['weapon_snspistol'] = "pistolet sns", + ['weapon_bottle'] = "bouteille", + ['weapon_gusenberg'] = "balayeuse gusenberg", + ['weapon_specialcarbine'] = "carabine spéciale", + ['weapon_heavypistol'] = "pistolet lourd", + ['weapon_bullpuprifle'] = "fusil bullpup", + ['weapon_dagger'] = "poignard", + ['weapon_vintagepistol'] = "pistolet vintage", + ['weapon_firework'] = "feu d'artifice", + ['weapon_musket'] = "mousquet", + ['weapon_heavyshotgun'] = "fusil à pompe lourd", + ['weapon_marksmanrifle'] = "fusil marksman", + ['weapon_hominglauncher'] = "lance tête-chercheuse", + ['weapon_proxmine'] = "mine de proximité", + ['weapon_snowball'] = "boule de neige", + ['weapon_flaregun'] = "lance fusée de détresse", + ['weapon_combatpdw'] = "arme de défense personnelle", + ['weapon_marksmanpistol'] = "pistolet marksman", + ['weapon_knuckle'] = "poing américain", + ['weapon_hatchet'] = "hachette", + ['weapon_railgun'] = "canon éléctrique", + ['weapon_machete'] = "machette", + ['weapon_machinepistol'] = "pistolet mitrailleur", + ['weapon_switchblade'] = "couteau à cran d'arrêt", + ['weapon_revolver'] = "revolver", + ['weapon_dbshotgun'] = "fusil à pompe double canon", + ['weapon_compactrifle'] = "fusil compact", + ['weapon_autoshotgun'] = "fusil à pompe automatique", + ['weapon_battleaxe'] = "hache de combat", + ['weapon_compactlauncher'] = "lanceur compact", + ['weapon_minismg'] = "mini smg", + ['weapon_pipebomb'] = "bombe tuyau", + ['weapon_poolcue'] = "queue de billard", + ['weapon_wrench'] = "clé", + ['weapon_flashlight'] = "lampe torche", + ['gadget_parachute'] = "parachute", + ['weapon_flare'] = "fusée de détresse", + ['weapon_doubleaction'] = "revolver double action", -- Weapon Components - ['component_clip_default'] = 'chargeur par défaut', - ['component_clip_extended'] = 'chargeur grande capacité', - ['component_clip_drum'] = 'chargeur tambour', - ['component_clip_box'] = 'chargeur très grande capacité', - ['component_flashlight'] = 'torche', - ['component_scope'] = 'viseur', - ['component_scope_advanced'] = 'lunette', - ['component_suppressor'] = 'réducteur de son', - ['component_grip'] = 'poignée', - ['component_luxary_finish'] = 'finition de luxe', + ['component_clip_default'] = "chargeur par défaut", + ['component_clip_extended'] = "chargeur grande capacité", + ['component_clip_drum'] = "chargeur tambour", + ['component_clip_box'] = "chargeur très grande capacité", + ['component_flashlight'] = "torche", + ['component_scope'] = "viseur", + ['component_scope_advanced'] = "lunette", + ['component_suppressor'] = "réducteur de son", + ['component_grip'] = "poignée", + ['component_luxary_finish'] = "finition de luxe", -- Weapon Ammo - ['ammo_rounds'] = 'cartouche(s)', - ['ammo_shells'] = 'obus', - ['ammo_charge'] = 'charge(s)', - ['ammo_petrol'] = 'jerrican d\'essence', - ['ammo_firework'] = 'feu(x) d\'artifice', - ['ammo_rockets'] = 'roquette(s)', - ['ammo_grenadelauncher'] = 'grenade(s)', - ['ammo_grenade'] = 'grenade(s)', - ['ammo_stickybomb'] = 'bombe(s)', - ['ammo_pipebomb'] = 'bombe(s)', - ['ammo_smokebomb'] = 'bombe(s)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mine(s)', - ['ammo_bzgas'] = 'grenade(s)', - ['ammo_ball'] = 'balle(s)', - ['ammo_snowball'] = 'boule(s) de neige', - ['ammo_flare'] = 'fusée(s) éclairante(s)', - ['ammo_flaregun'] = 'fusée(s)', + ['ammo_rounds'] = "cartouche(s)", + ['ammo_shells'] = "obus", + ['ammo_charge'] = "charge(s)", + ['ammo_petrol'] = "jerrican d'essence", + ['ammo_firework'] = "feu(x) d'artifice", + ['ammo_rockets'] = "roquette(s)", + ['ammo_grenadelauncher'] = "grenade(s)", + ['ammo_grenade'] = "grenade(s)", + ['ammo_stickybomb'] = "bombe(s)", + ['ammo_pipebomb'] = "bombe(s)", + ['ammo_smokebomb'] = "bombe(s)", + ['ammo_molotov'] = "cocktail(s)", + ['ammo_proxmine'] = "mine(s)", + ['ammo_bzgas'] = "grenade(s)", + ['ammo_ball'] = "balle(s)", + ['ammo_snowball'] = "boule(s) de neige", + ['ammo_flare'] = "fusée(s) éclairante(s)", + ['ammo_flaregun'] = "fusée(s)", -- Weapon Tints - ['tint_default'] = 'skin par défaut', - ['tint_green'] = 'skin vert', - ['tint_gold'] = 'skin doré', - ['tint_pink'] = 'skin rose', - ['tint_army'] = 'skin militaire', - ['tint_lspd'] = 'skin bleu', - ['tint_orange'] = 'skin orange', - ['tint_platinum'] = 'skin platine', + ['tint_default'] = "skin par défaut", + ['tint_green'] = "skin vert", + ['tint_gold'] = "skin doré", + ['tint_pink'] = "skin rose", + ['tint_army'] = "skin militaire", + ['tint_lspd'] = "skin bleu", + ['tint_orange'] = "skin orange", + ['tint_platinum'] = "skin platine", -- Duty related - ['stopped_duty'] = 'Vous êtes maintenant hors-service.', - ['started_duty'] = 'Vous êtes maintenant en-service.', + ['stopped_duty'] = "Vous êtes maintenant hors-service.", + ['started_duty'] = "Vous êtes maintenant en-service.", } diff --git a/[core]/es_extended/locales/hu.lua b/[core]/es_extended/locales/hu.lua index f909601a..13642c7f 100644 --- a/[core]/es_extended/locales/hu.lua +++ b/[core]/es_extended/locales/hu.lua @@ -105,15 +105,15 @@ Locales["hu"] = { ["commanderror_invalidcommand"] = "Érvénytelen parancs - /%s", ["commanderror_invalidplayerid"] = "Megadott játékos nem online.", ["commandgeneric_playerid"] = "Játékos Szerver Id", - ['command_giveammo_noweapon_found'] = 'Nincs ilyen fegyvered: %s', - ['command_giveammo_weapon'] = 'Fegyver név', - ['command_giveammo_ammo'] = 'Lőszer mennyiség', - ['tpm_nowaypoint'] = 'Nincs kijelölve pozíció!', - ['tpm_success'] = 'Sikeres teleportálás', + ['command_giveammo_noweapon_found'] = "Nincs ilyen fegyvered: %s", + ['command_giveammo_weapon'] = "Fegyver név", + ['command_giveammo_ammo'] = "Lőszer mennyiség", + ['tpm_nowaypoint'] = "Nincs kijelölve pozíció!", + ['tpm_success'] = "Sikeres teleportálás", - ['noclip_message'] = 'Noclip %s', - ['enabled'] = '~g~engedélyezve~s~', - ['disabled'] = '~r~letiltva~s~', + ['noclip_message'] = "Noclip %s", + ['enabled'] = "~g~engedélyezve~s~", + ['disabled'] = "~r~letiltva~s~", -- Locale settings ["locale_digit_grouping_symbol"] = ",", diff --git a/[core]/es_extended/locales/it.lua b/[core]/es_extended/locales/it.lua index 621b350f..4c96523f 100644 --- a/[core]/es_extended/locales/it.lua +++ b/[core]/es_extended/locales/it.lua @@ -1,365 +1,365 @@ Locales['it'] = { -- Inventory - ['inventory'] = 'Inventario ( Peso %s / %s )', - ['use'] = 'Usa', - ['give'] = 'Dai', - ['remove'] = 'Butta', - ['return'] = 'Ritorna', - ['give_to'] = 'Dai a', - ['amount'] = 'Quantità', - ['giveammo'] = 'Dai munizioni', - ['amountammo'] = 'Quantità munizioni', - ['noammo'] = 'Non abbastanza!', - ['gave_item'] = 'Dando %sx %s a %s', - ['received_item'] = 'Ricevuto %sx %s da %s', - ['gave_weapon'] = 'Dando %s a %s', - ['gave_weapon_ammo'] = 'Dando ~o~%sx %s for %s to %s', - ['gave_weapon_withammo'] = 'Dando %s con ~o~%sx %s a %s', - ['gave_weapon_hasalready'] = '%s possiede già %s', - ['gave_weapon_noweapon'] = '%s non ha quell\' arma', - ['received_weapon'] = 'Ricevuto %s da %s', - ['received_weapon_ammo'] = 'Ricevuto ~o~%sx %s per il tuo %s da %s', - ['received_weapon_withammo'] = 'Ricevuto %s con ~o~%sx %s per %s', - ['received_weapon_hasalready'] = '%s ha tentato di darti %s, ma hai già l\'arma', - ['received_weapon_noweapon'] = '%s ha tentato di darti munizioni per %s, ma non hai l\'arma', - ['gave_account_money'] = 'Dando $%s (%s) a %s', - ['received_account_money'] = 'Ricevuto $%s (%s) da %s', - ['amount_invalid'] = 'Quantità non valida', - ['players_nearby'] = 'Nessun giocatore vicino', - ['ex_inv_lim'] = 'Non puoi farlo, eccedi il peso di %s', - ['imp_invalid_quantity'] = 'Non puoi farlo, quantità non valida', - ['imp_invalid_amount'] = 'Non puoi farlo, importo non valido', - ['threw_standard'] = 'Gettando %sx %s', - ['threw_account'] = 'Gettando $%s %s', - ['threw_weapon'] = 'Gettando %s', - ['threw_weapon_ammo'] = 'Gettando %s con ~o~%sx %s', - ['threw_weapon_already'] = 'Hai gia quest\' arma', - ['threw_cannot_pickup'] = 'Inventario pieno, non puoi raccogliere!', - ['threw_pickup_prompt'] = 'Premi E per raccogliere', + ['inventory'] = "Inventario ( Peso %s / %s )", + ['use'] = "Usa", + ['give'] = "Dai", + ['remove'] = "Butta", + ['return'] = "Ritorna", + ['give_to'] = "Dai a", + ['amount'] = "Quantità", + ['giveammo'] = "Dai munizioni", + ['amountammo'] = "Quantità munizioni", + ['noammo'] = "Non abbastanza!", + ['gave_item'] = "Dando %sx %s a %s", + ['received_item'] = "Ricevuto %sx %s da %s", + ['gave_weapon'] = "Dando %s a %s", + ['gave_weapon_ammo'] = "Dando ~o~%sx %s for %s to %s", + ['gave_weapon_withammo'] = "Dando %s con ~o~%sx %s a %s", + ['gave_weapon_hasalready'] = "%s possiede già %s", + ['gave_weapon_noweapon'] = "%s non ha quell' arma", + ['received_weapon'] = "Ricevuto %s da %s", + ['received_weapon_ammo'] = "Ricevuto ~o~%sx %s per il tuo %s da %s", + ['received_weapon_withammo'] = "Ricevuto %s con ~o~%sx %s per %s", + ['received_weapon_hasalready'] = "%s ha tentato di darti %s, ma hai già l'arma", + ['received_weapon_noweapon'] = "%s ha tentato di darti munizioni per %s, ma non hai l'arma", + ['gave_account_money'] = "Dando $%s (%s) a %s", + ['received_account_money'] = "Ricevuto $%s (%s) da %s", + ['amount_invalid'] = "Quantità non valida", + ['players_nearby'] = "Nessun giocatore vicino", + ['ex_inv_lim'] = "Non puoi farlo, eccedi il peso di %s", + ['imp_invalid_quantity'] = "Non puoi farlo, quantità non valida", + ['imp_invalid_amount'] = "Non puoi farlo, importo non valido", + ['threw_standard'] = "Gettando %sx %s", + ['threw_account'] = "Gettando $%s %s", + ['threw_weapon'] = "Gettando %s", + ['threw_weapon_ammo'] = "Gettando %s con ~o~%sx %s", + ['threw_weapon_already'] = "Hai gia quest' arma", + ['threw_cannot_pickup'] = "Inventario pieno, non puoi raccogliere!", + ['threw_pickup_prompt'] = "Premi E per raccogliere", -- Key mapping - ['keymap_showinventory'] = 'Apri inventario', + ['keymap_showinventory'] = "Apri inventario", -- Salary related - ['received_salary'] = 'Sei stato pagato: $%s', - ['received_help'] = 'Hai ricevuto il reddito di cittadinanza: $%s', - ['company_nomoney'] = 'La tua compagnia è troppo povera per pagarti', - ['received_paycheck'] = 'Ricveuto stipendio', - ['bank'] = 'Banca', - ['account_bank'] = 'Conto', - ['account_black_money'] = 'Soldi sporchi', - ['account_money'] = 'Contanti', + ['received_salary'] = "Sei stato pagato: $%s", + ['received_help'] = "Hai ricevuto il reddito di cittadinanza: $%s", + ['company_nomoney'] = "La tua compagnia è troppo povera per pagarti", + ['received_paycheck'] = "Ricveuto stipendio", + ['bank'] = "Banca", + ['account_bank'] = "Conto", + ['account_black_money'] = "Soldi sporchi", + ['account_money'] = "Contanti", - ['act_imp'] = 'Non puoi farlo', - ['in_vehicle'] = 'Non puoi farlo, il giocatore è in un veicolo', + ['act_imp'] = "Non puoi farlo", + ['in_vehicle'] = "Non puoi farlo, il giocatore è in un veicolo", -- Commands - ['command_bring'] = 'Porta il giocatore da te', - ['command_car'] = 'Spawna un veicolo', - ['command_car_car'] = 'Modello o hash veicolo', - ['command_cardel'] = 'Rimuovi i veicoli nelle prossimità', - ['command_cardel_radius'] = 'Rimuovi i veicoli nel raggio specificato', - ['command_clear'] = 'Pulisci la chat testuale', - ['command_clearall'] = 'Pulisci la chat testuale per tutti i giocatori', - ['command_clearinventory'] = 'Rimuovi tutti gli oggetti dall\' inventario del giocatore', - ['command_clearloadout'] = 'Rimuovi tutte le armi dal loadout del giocatore', - ['command_freeze'] = 'Blocca un giocatore', - ['command_unfreeze'] = 'Sblocca un giocatore', - ['command_giveaccountmoney'] = 'Dai soldi a un\' account specifico', - ['command_giveaccountmoney_account'] = 'Account a cui aggiungere', - ['command_giveaccountmoney_amount'] = 'Quantità da aggiungere', - ['command_giveaccountmoney_invalid'] = 'Nome account non valido', - ['command_giveitem'] = 'Dai un oggetto ad un giocatore', - ['command_giveitem_item'] = 'Nome oggetto', - ['command_giveitem_count'] = 'Quantità', - ['command_giveweapon'] = 'Dai un\' arma ad un giocatore', - ['command_giveweapon_weapon'] = 'Nome arma', - ['command_giveweapon_ammo'] = 'Quantità munizioni', - ['command_giveweapon_hasalready'] = 'Il giocatore ha già l\'arma', - ['command_giveweaponcomponent'] = 'Dai un componente arma ad un giocatore', - ['command_giveweaponcomponent_component'] = 'Nome componente', - ['command_giveweaponcomponent_invalid'] = 'Componente arma non valido', - ['command_giveweaponcomponent_hasalready'] = 'Il giocatore ha già questo componente arma', - ['command_giveweaponcomponent_missingweapon'] = 'Il giocatore non ha l\'arma', - ['command_goto'] = 'Teletrasportati da un giocatore', - ['command_kill'] = 'Uccidi un giocatore', - ['command_save'] = 'Salva forzatamente i dati di un giocatore', - ['command_saveall'] = 'Salva forzatamente i dati di tutti igiocatoria', - ['command_setaccountmoney'] = 'Aggiorna i soldi dentro un account specifico', - ['command_setaccountmoney_amount'] = 'Quantità', - ['command_setcoords'] = 'Teletrasportati a delle coordinate specifiche', - ['command_setcoords_x'] = 'Valore X', - ['command_setcoords_y'] = 'Valore Y', - ['command_setcoords_z'] = 'Valore Z', - ['command_setjob'] = 'Setta lavoro ad un giocatore', - ['command_setjob_job'] = 'Nome', - ['command_setjob_grade'] = 'Grado lavoro', - ['command_setjob_invalid'] = 'Il lavoro, grado o entrambi sono errati', - ['command_setgroup'] = 'Setta un gruppo di permessi ad un giocatore', - ['command_setgroup_group'] = 'Nome del gruppo', - ['commanderror_argumentmismatch'] = 'Conta argomenti non valida (passati %s, richiesti %s)', - ['commanderror_argumentmismatch_number'] = 'Argomento #%s di tipologia errata (passato testo, richiesto numero)', - ['commanderror_invaliditem'] = 'Oggetto non valido', - ['commanderror_invalidweapon'] = 'Arma non valida', - ['commanderror_console'] = 'Comando non eseguibile dalla console', - ['commanderror_invalidcommand'] = 'Comando non valido - /%s', - ['commanderror_invalidplayerid'] = 'Il giocatore specificato non è online', - ['commandgeneric_playerid'] = 'Id server del giocatore', - ['command_giveammo_noweapon_found'] = '%s non ha quell\' arma', - ['command_giveammo_weapon'] = 'Nome arma', - ['command_giveammo_ammo'] = 'Quantità munizioni', - ['tpm_nowaypoint'] = 'Nessuna meta impostata', - ['tpm_success'] = 'Teletrasportato con successo', + ['command_bring'] = "Porta il giocatore da te", + ['command_car'] = "Spawna un veicolo", + ['command_car_car'] = "Modello o hash veicolo", + ['command_cardel'] = "Rimuovi i veicoli nelle prossimità", + ['command_cardel_radius'] = "Rimuovi i veicoli nel raggio specificato", + ['command_clear'] = "Pulisci la chat testuale", + ['command_clearall'] = "Pulisci la chat testuale per tutti i giocatori", + ['command_clearinventory'] = "Rimuovi tutti gli oggetti dall' inventario del giocatore", + ['command_clearloadout'] = "Rimuovi tutte le armi dal loadout del giocatore", + ['command_freeze'] = "Blocca un giocatore", + ['command_unfreeze'] = "Sblocca un giocatore", + ['command_giveaccountmoney'] = "Dai soldi a un' account specifico", + ['command_giveaccountmoney_account'] = "Account a cui aggiungere", + ['command_giveaccountmoney_amount'] = "Quantità da aggiungere", + ['command_giveaccountmoney_invalid'] = "Nome account non valido", + ['command_giveitem'] = "Dai un oggetto ad un giocatore", + ['command_giveitem_item'] = "Nome oggetto", + ['command_giveitem_count'] = "Quantità", + ['command_giveweapon'] = "Dai un' arma ad un giocatore", + ['command_giveweapon_weapon'] = "Nome arma", + ['command_giveweapon_ammo'] = "Quantità munizioni", + ['command_giveweapon_hasalready'] = "Il giocatore ha già l'arma", + ['command_giveweaponcomponent'] = "Dai un componente arma ad un giocatore", + ['command_giveweaponcomponent_component'] = "Nome componente", + ['command_giveweaponcomponent_invalid'] = "Componente arma non valido", + ['command_giveweaponcomponent_hasalready'] = "Il giocatore ha già questo componente arma", + ['command_giveweaponcomponent_missingweapon'] = "Il giocatore non ha l'arma", + ['command_goto'] = "Teletrasportati da un giocatore", + ['command_kill'] = "Uccidi un giocatore", + ['command_save'] = "Salva forzatamente i dati di un giocatore", + ['command_saveall'] = "Salva forzatamente i dati di tutti igiocatoria", + ['command_setaccountmoney'] = "Aggiorna i soldi dentro un account specifico", + ['command_setaccountmoney_amount'] = "Quantità", + ['command_setcoords'] = "Teletrasportati a delle coordinate specifiche", + ['command_setcoords_x'] = "Valore X", + ['command_setcoords_y'] = "Valore Y", + ['command_setcoords_z'] = "Valore Z", + ['command_setjob'] = "Setta lavoro ad un giocatore", + ['command_setjob_job'] = "Nome", + ['command_setjob_grade'] = "Grado lavoro", + ['command_setjob_invalid'] = "Il lavoro, grado o entrambi sono errati", + ['command_setgroup'] = "Setta un gruppo di permessi ad un giocatore", + ['command_setgroup_group'] = "Nome del gruppo", + ['commanderror_argumentmismatch'] = "Conta argomenti non valida (passati %s, richiesti %s)", + ['commanderror_argumentmismatch_number'] = "Argomento #%s di tipologia errata (passato testo, richiesto numero)", + ['commanderror_invaliditem'] = "Oggetto non valido", + ['commanderror_invalidweapon'] = "Arma non valida", + ['commanderror_console'] = "Comando non eseguibile dalla console", + ['commanderror_invalidcommand'] = "Comando non valido - /%s", + ['commanderror_invalidplayerid'] = "Il giocatore specificato non è online", + ['commandgeneric_playerid'] = "Id server del giocatore", + ['command_giveammo_noweapon_found'] = "%s non ha quell' arma", + ['command_giveammo_weapon'] = "Nome arma", + ['command_giveammo_ammo'] = "Quantità munizioni", + ['tpm_nowaypoint'] = "Nessuna meta impostata", + ['tpm_success'] = "Teletrasportato con successo", - ['noclip_message'] = 'Noclip %s', - ['enabled'] = '~g~abilitato~s~', - ['disabled'] = '~r~disabilitato~s~', + ['noclip_message'] = "Noclip %s", + ['enabled'] = "~g~abilitato~s~", + ['disabled'] = "~r~disabilitato~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '$%s', + ['locale_digit_grouping_symbol'] = ",", + ['locale_currency'] = "$%s", -- Weapons -- Melee - ['weapon_dagger'] = 'Pugnale Antico', - ['weapon_bat'] = 'Mazza', - ['weapon_battleaxe'] = 'Ascia', - ['weapon_bottle'] = 'Bottiglia', - ['weapon_crowbar'] = 'Piede di porco', - ['weapon_flashlight'] = 'Torcia', - ['weapon_golfclub'] = 'Mazza da golf', - ['weapon_hammer'] = 'Martello', - ['weapon_hatchet'] = 'Accetta', - ['weapon_knife'] = 'Coltello', - ['weapon_knuckle'] = 'Tirapugni', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Manganello', - ['weapon_wrench'] = 'Tubo', - ['weapon_poolcue'] = 'Stecca', - ['weapon_stone_hatchet'] = 'Accetta di pietra', - ['weapon_switchblade'] = 'Coltello a serramanico', + ['weapon_dagger'] = "Pugnale Antico", + ['weapon_bat'] = "Mazza", + ['weapon_battleaxe'] = "Ascia", + ['weapon_bottle'] = "Bottiglia", + ['weapon_crowbar'] = "Piede di porco", + ['weapon_flashlight'] = "Torcia", + ['weapon_golfclub'] = "Mazza da golf", + ['weapon_hammer'] = "Martello", + ['weapon_hatchet'] = "Accetta", + ['weapon_knife'] = "Coltello", + ['weapon_knuckle'] = "Tirapugni", + ['weapon_machete'] = "Machete", + ['weapon_nightstick'] = "Manganello", + ['weapon_wrench'] = "Tubo", + ['weapon_poolcue'] = "Stecca", + ['weapon_stone_hatchet'] = "Accetta di pietra", + ['weapon_switchblade'] = "Coltello a serramanico", -- Handguns - ['weapon_appistol'] = 'Pistola AP', - ['weapon_ceramicpistol'] = 'Pistola di ceramica', - ['weapon_combatpistol'] = 'Pistola da combattimento', - ['weapon_doubleaction'] = 'Revolver doppia azione', - ['weapon_navyrevolver'] = 'Revolver Marina', - ['weapon_flaregun'] = 'Pistola lanciarazzi', - ['weapon_gadgetpistol'] = 'Pistola Gadget', - ['weapon_heavypistol'] = 'Pistola pesante', - ['weapon_revolver'] = 'Revolver pesante', - ['weapon_revolver_mk2'] = 'Revolver pesante MK2', - ['weapon_marksmanpistol'] = 'Pistola da tiratore', - ['weapon_pistol'] = 'Pistola', - ['weapon_pistol_mk2'] = 'Pistola MK2', - ['weapon_pistol50'] = 'Pistola .50', - ['weapon_snspistol'] = 'Pistola SNS', - ['weapon_snspistol_mk2'] = 'Pistola SNS MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizzatore', - ['weapon_vintagepistol'] = 'Pistola Vintage', + ['weapon_appistol'] = "Pistola AP", + ['weapon_ceramicpistol'] = "Pistola di ceramica", + ['weapon_combatpistol'] = "Pistola da combattimento", + ['weapon_doubleaction'] = "Revolver doppia azione", + ['weapon_navyrevolver'] = "Revolver Marina", + ['weapon_flaregun'] = "Pistola lanciarazzi", + ['weapon_gadgetpistol'] = "Pistola Gadget", + ['weapon_heavypistol'] = "Pistola pesante", + ['weapon_revolver'] = "Revolver pesante", + ['weapon_revolver_mk2'] = "Revolver pesante MK2", + ['weapon_marksmanpistol'] = "Pistola da tiratore", + ['weapon_pistol'] = "Pistola", + ['weapon_pistol_mk2'] = "Pistola MK2", + ['weapon_pistol50'] = "Pistola .50", + ['weapon_snspistol'] = "Pistola SNS", + ['weapon_snspistol_mk2'] = "Pistola SNS MK2", + ['weapon_stungun'] = "Taser", + ['weapon_raypistol'] = "Up-N-Atomizzatore", + ['weapon_vintagepistol'] = "Pistola Vintage", -- Shotguns - ['weapon_assaultshotgun'] = 'Fucile a pompa d\'assalto', - ['weapon_autoshotgun'] = 'Fucile a pompa automatico', - ['weapon_bullpupshotgun'] = 'Fucile a pompa Bullup', - ['weapon_combatshotgun'] = 'Fucile a pompa da combattimento', - ['weapon_dbshotgun'] = 'Fucile a pompa doppia canna', - ['weapon_heavyshotgun'] = 'Fucile a pompa pesante', - ['weapon_musket'] = 'Moschetto', - ['weapon_pumpshotgun'] = 'Fucile a pompa', - ['weapon_pumpshotgun_mk2'] = 'Fucile a pompa MK2', - ['weapon_sawnoffshotgun'] = 'Fucile a canne mozza', + ['weapon_assaultshotgun'] = "Fucile a pompa d'assalto", + ['weapon_autoshotgun'] = "Fucile a pompa automatico", + ['weapon_bullpupshotgun'] = "Fucile a pompa Bullup", + ['weapon_combatshotgun'] = "Fucile a pompa da combattimento", + ['weapon_dbshotgun'] = "Fucile a pompa doppia canna", + ['weapon_heavyshotgun'] = "Fucile a pompa pesante", + ['weapon_musket'] = "Moschetto", + ['weapon_pumpshotgun'] = "Fucile a pompa", + ['weapon_pumpshotgun_mk2'] = "Fucile a pompa MK2", + ['weapon_sawnoffshotgun'] = "Fucile a canne mozza", -- SMG & LMG - ['weapon_assaultsmg'] = 'SMG d\'assalto', - ['weapon_combatmg'] = 'MG da combattimento', - ['weapon_combatmg_mk2'] = 'MG da combattimento MK2', - ['weapon_combatpdw'] = 'PDW da combattimento', - ['weapon_gusenberg'] = 'Mitragliatrice Gusenberg', - ['weapon_machinepistol'] = 'Pistola mitragliatrice', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Micro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Hellbringer infernale', + ['weapon_assaultsmg'] = "SMG d'assalto", + ['weapon_combatmg'] = "MG da combattimento", + ['weapon_combatmg_mk2'] = "MG da combattimento MK2", + ['weapon_combatpdw'] = "PDW da combattimento", + ['weapon_gusenberg'] = "Mitragliatrice Gusenberg", + ['weapon_machinepistol'] = "Pistola mitragliatrice", + ['weapon_mg'] = "MG", + ['weapon_microsmg'] = "Micro SMG", + ['weapon_minismg'] = "Mini SMG", + ['weapon_smg'] = "SMG", + ['weapon_smg_mk2'] = "SMG MK2", + ['weapon_raycarbine'] = "Hellbringer infernale", -- Rifles - ['weapon_advancedrifle'] = 'Fucile avanzato', - ['weapon_assaultrifle'] = 'Fucile d\'assalto', - ['weapon_assaultrifle_mk2'] = 'Fucile d\' assalto MK2', - ['weapon_bullpuprifle'] = 'Fucile Bullpup', - ['weapon_bullpuprifle_mk2'] = 'Fucile Bullpup MK2', - ['weapon_carbinerifle'] = 'Carabina', - ['weapon_carbinerifle_mk2'] = 'Carbine MK2', - ['weapon_compactrifle'] = 'Fucile compatto', - ['weapon_militaryrifle'] = 'Fucile militare', - ['weapon_specialcarbine'] = 'Carabina speciale', - ['weapon_specialcarbine_mk2'] = 'Carabina speciale MK2', + ['weapon_advancedrifle'] = "Fucile avanzato", + ['weapon_assaultrifle'] = "Fucile d'assalto", + ['weapon_assaultrifle_mk2'] = "Fucile d' assalto MK2", + ['weapon_bullpuprifle'] = "Fucile Bullpup", + ['weapon_bullpuprifle_mk2'] = "Fucile Bullpup MK2", + ['weapon_carbinerifle'] = "Carabina", + ['weapon_carbinerifle_mk2'] = "Carbine MK2", + ['weapon_compactrifle'] = "Fucile compatto", + ['weapon_militaryrifle'] = "Fucile militare", + ['weapon_specialcarbine'] = "Carabina speciale", + ['weapon_specialcarbine_mk2'] = "Carabina speciale MK2", -- Sniper - ['weapon_heavysniper'] = 'Cecchino pesante', - ['weapon_heavysniper_mk2'] = 'Cecchino pesante MK2', - ['weapon_marksmanrifle'] = 'Fucile da tiratore', - ['weapon_marksmanrifle_mk2'] = 'Fucile da tiratore MK2', - ['weapon_sniperrifle'] = 'Cecchino', + ['weapon_heavysniper'] = "Cecchino pesante", + ['weapon_heavysniper_mk2'] = "Cecchino pesante MK2", + ['weapon_marksmanrifle'] = "Fucile da tiratore", + ['weapon_marksmanrifle_mk2'] = "Fucile da tiratore MK2", + ['weapon_sniperrifle'] = "Cecchino", -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Lanciagranate compatto', - ['weapon_firework'] = 'Cannone pirotecnico', - ['weapon_grenadelauncher'] = 'Lanciagranate', - ['weapon_hominglauncher'] = 'Lanciarazzi a tracciamento', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Lanciarazzi', - ['weapon_rayminigun'] = 'Widowmaker', + ['weapon_compactlauncher'] = "Lanciagranate compatto", + ['weapon_firework'] = "Cannone pirotecnico", + ['weapon_grenadelauncher'] = "Lanciagranate", + ['weapon_hominglauncher'] = "Lanciarazzi a tracciamento", + ['weapon_minigun'] = "Minigun", + ['weapon_railgun'] = "Railgun", + ['weapon_rpg'] = "Lanciarazzi", + ['weapon_rayminigun'] = "Widowmaker", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Metal Detector', - ['weapon_precisionrifle'] = 'Fucile di precisione', - ['weapon_tactilerifle'] = 'Carabina di servizio', + ['weapon_metaldetector'] = "Metal Detector", + ['weapon_precisionrifle'] = "Fucile di precisione", + ['weapon_tactilerifle'] = "Carabina di servizio", -- Thrown - ['weapon_ball'] = 'Palla', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_flare'] = 'Flare', - ['weapon_grenade'] = 'Granata', - ['weapon_petrolcan'] = 'Tanica', - ['weapon_hazardcan'] = 'Tanica pericolosa', - ['weapon_molotov'] = 'Molotov', - ['weapon_proxmine'] = 'Mina di prossimità', - ['weapon_pipebomb'] = 'Esplosivo plastico', - ['weapon_snowball'] = 'Palla di neve', - ['weapon_stickybomb'] = 'Bomba adesiva', - ['weapon_smokegrenade'] = 'Gas lacrimogeno', + ['weapon_ball'] = "Palla", + ['weapon_bzgas'] = "BZ Gas", + ['weapon_flare'] = "Flare", + ['weapon_grenade'] = "Granata", + ['weapon_petrolcan'] = "Tanica", + ['weapon_hazardcan'] = "Tanica pericolosa", + ['weapon_molotov'] = "Molotov", + ['weapon_proxmine'] = "Mina di prossimità", + ['weapon_pipebomb'] = "Esplosivo plastico", + ['weapon_snowball'] = "Palla di neve", + ['weapon_stickybomb'] = "Bomba adesiva", + ['weapon_smokegrenade'] = "Gas lacrimogeno", -- Special - ['weapon_fireextinguisher'] = 'Estintore', - ['weapon_digiscanner'] = 'Scanner digitale', - ['weapon_garbagebag'] = 'Sacco della spazzatura', - ['weapon_handcuffs'] = 'Manette', - ['gadget_nightvision'] = 'Visore termico', - ['gadget_parachute'] = 'Paracadute', + ['weapon_fireextinguisher'] = "Estintore", + ['weapon_digiscanner'] = "Scanner digitale", + ['weapon_garbagebag'] = "Sacco della spazzatura", + ['weapon_handcuffs'] = "Manette", + ['gadget_nightvision'] = "Visore termico", + ['gadget_parachute'] = "Paracadute", -- Weapon Components - ['component_knuckle_base'] = 'Modello basa', - ['component_knuckle_pimp'] = 'il Pappone', - ['component_knuckle_ballas'] = 'i Ballas', - ['component_knuckle_dollar'] = 'il Riccone', - ['component_knuckle_diamond'] = 'la Roccia', - ['component_knuckle_hate'] = 'l\' Hater', - ['component_knuckle_love'] = 'l\' Amante', - ['component_knuckle_player'] = 'il Giocatore', - ['component_knuckle_king'] = 'il Re', - ['component_knuckle_vagos'] = 'i Vagos', + ['component_knuckle_base'] = "Modello basa", + ['component_knuckle_pimp'] = "il Pappone", + ['component_knuckle_ballas'] = "i Ballas", + ['component_knuckle_dollar'] = "il Riccone", + ['component_knuckle_diamond'] = "la Roccia", + ['component_knuckle_hate'] = "l' Hater", + ['component_knuckle_love'] = "l' Amante", + ['component_knuckle_player'] = "il Giocatore", + ['component_knuckle_king'] = "il Re", + ['component_knuckle_vagos'] = "i Vagos", - ['component_luxary_finish'] = 'rifinitura di lusso', + ['component_luxary_finish'] = "rifinitura di lusso", - ['component_handle_default'] = 'impugnatura base', - ['component_handle_vip'] = 'impugnatura VIP', - ['component_handle_bodyguard'] = 'impugnatura guardia del corpo', + ['component_handle_default'] = "impugnatura base", + ['component_handle_vip'] = "impugnatura VIP", + ['component_handle_bodyguard'] = "impugnatura guardia del corpo", - ['component_vip_finish'] = 'rifinitura VIP', - ['component_bodyguard_finish'] = 'rifinitura Guardia del corpo', + ['component_vip_finish'] = "rifinitura VIP", + ['component_bodyguard_finish'] = "rifinitura Guardia del corpo", - ['component_camo_finish'] = 'mimetica Digitale', - ['component_camo_finish2'] = 'mimetica Cespuglio', - ['component_camo_finish3'] = 'mimetica Legnosa', - ['component_camo_finish4'] = 'mimetica Teschio', - ['component_camo_finish5'] = 'mimetica Sessanta Nove', - ['component_camo_finish6'] = 'mimetica Perseo', - ['component_camo_finish7'] = 'mimetica Leopardata', - ['component_camo_finish8'] = 'mimetica Zebra', - ['component_camo_finish9'] = 'mimetica Geometrica', - ['component_camo_finish10'] = 'mimetica Boom', - ['component_camo_finish11'] = 'mimetica Patriottica', + ['component_camo_finish'] = "mimetica Digitale", + ['component_camo_finish2'] = "mimetica Cespuglio", + ['component_camo_finish3'] = "mimetica Legnosa", + ['component_camo_finish4'] = "mimetica Teschio", + ['component_camo_finish5'] = "mimetica Sessanta Nove", + ['component_camo_finish6'] = "mimetica Perseo", + ['component_camo_finish7'] = "mimetica Leopardata", + ['component_camo_finish8'] = "mimetica Zebra", + ['component_camo_finish9'] = "mimetica Geometrica", + ['component_camo_finish10'] = "mimetica Boom", + ['component_camo_finish11'] = "mimetica Patriottica", - ['component_camo_slide_finish'] = 'mimetica Digitale Slide', - ['component_camo_slide_finish2'] = 'mimetica Cespuglio Slide', - ['component_camo_slide_finish3'] = 'mimetica Legnosa Slide', - ['component_camo_slide_finish4'] = 'mimetica Teschio Slide', - ['component_camo_slide_finish5'] = 'mimetica Sessanta Nove Slide', - ['component_camo_slide_finish6'] = 'mimetica Perseo Slide', - ['component_camo_slide_finish7'] = 'mimetica Leopardata Slide', - ['component_camo_slide_finish8'] = 'mimetica Zebra Slide', - ['component_camo_slide_finish9'] = 'mimetica Geometrica Slide', - ['component_camo_slide_finish10'] = 'mimetica Boom Slide', - ['component_camo_slide_finish11'] = 'mimetica Patriottica Slide', + ['component_camo_slide_finish'] = "mimetica Digitale Slide", + ['component_camo_slide_finish2'] = "mimetica Cespuglio Slide", + ['component_camo_slide_finish3'] = "mimetica Legnosa Slide", + ['component_camo_slide_finish4'] = "mimetica Teschio Slide", + ['component_camo_slide_finish5'] = "mimetica Sessanta Nove Slide", + ['component_camo_slide_finish6'] = "mimetica Perseo Slide", + ['component_camo_slide_finish7'] = "mimetica Leopardata Slide", + ['component_camo_slide_finish8'] = "mimetica Zebra Slide", + ['component_camo_slide_finish9'] = "mimetica Geometrica Slide", + ['component_camo_slide_finish10'] = "mimetica Boom Slide", + ['component_camo_slide_finish11'] = "mimetica Patriottica Slide", - ['component_clip_default'] = 'caricatore Standard', - ['component_clip_extended'] = 'caricatore Esteso', - ['component_clip_drum'] = 'caricatore A Batteria', - ['component_clip_box'] = 'caricatore A Scatola', + ['component_clip_default'] = "caricatore Standard", + ['component_clip_extended'] = "caricatore Esteso", + ['component_clip_drum'] = "caricatore A Batteria", + ['component_clip_box'] = "caricatore A Scatola", - ['component_scope_holo'] = 'mirino Olografico', - ['component_scope_small'] = 'mirino Piccolo', - ['component_scope_medium'] = 'mirino Medio', - ['component_scope_large'] = 'mirino Largo', - ['component_scope'] = 'mirino Montato', - ['component_scope_advanced'] = 'mirino Avanzato', - ['component_ironsights'] = 'integrato', + ['component_scope_holo'] = "mirino Olografico", + ['component_scope_small'] = "mirino Piccolo", + ['component_scope_medium'] = "mirino Medio", + ['component_scope_large'] = "mirino Largo", + ['component_scope'] = "mirino Montato", + ['component_scope_advanced'] = "mirino Avanzato", + ['component_ironsights'] = "integrato", - ['component_suppressor'] = 'silenziatore', - ['component_compensator'] = 'compensatore', + ['component_suppressor'] = "silenziatore", + ['component_compensator'] = "compensatore", - ['component_muzzle_flat'] = 'freno Di Bocca Piatto', - ['component_muzzle_tactical'] = 'freno Di Bocca Tattico', - ['component_muzzle_fat'] = 'freno Di Bocca Grosso', - ['component_muzzle_precision'] = 'freno Di Bocca Di Precisione', - ['component_muzzle_heavy'] = 'freno Di Bocca Pesante', - ['component_muzzle_slanted'] = 'freno Di Bocca Inclinato', - ['component_muzzle_split'] = 'freno Di Bocca Diviso', - ['component_muzzle_squared'] = 'freno Di Bocca Quadrato', + ['component_muzzle_flat'] = "freno Di Bocca Piatto", + ['component_muzzle_tactical'] = "freno Di Bocca Tattico", + ['component_muzzle_fat'] = "freno Di Bocca Grosso", + ['component_muzzle_precision'] = "freno Di Bocca Di Precisione", + ['component_muzzle_heavy'] = "freno Di Bocca Pesante", + ['component_muzzle_slanted'] = "freno Di Bocca Inclinato", + ['component_muzzle_split'] = "freno Di Bocca Diviso", + ['component_muzzle_squared'] = "freno Di Bocca Quadrato", - ['component_flashlight'] = 'torcia', - ['component_grip'] = 'impugnatura', + ['component_flashlight'] = "torcia", + ['component_grip'] = "impugnatura", - ['component_barrel_default'] = 'canna Standard', - ['component_barrel_heavy'] = 'canna Pesante', + ['component_barrel_default'] = "canna Standard", + ['component_barrel_heavy'] = "canna Pesante", - ['component_ammo_tracer'] = 'munizioni Traccianti', - ['component_ammo_incendiary'] = 'munizioni Incendiarie', - ['component_ammo_hollowpoint'] = 'munizioni a Punta Cava', - ['component_ammo_fmj'] = 'munizioni fMj', - ['component_ammo_armor'] = 'munizioni penetranti', - ['component_ammo_explosive'] = 'munizioni penetranti incendiarie', + ['component_ammo_tracer'] = "munizioni Traccianti", + ['component_ammo_incendiary'] = "munizioni Incendiarie", + ['component_ammo_hollowpoint'] = "munizioni a Punta Cava", + ['component_ammo_fmj'] = "munizioni fMj", + ['component_ammo_armor'] = "munizioni penetranti", + ['component_ammo_explosive'] = "munizioni penetranti incendiarie", - ['component_shells_default'] = 'cartucce Standard', - ['component_shells_incendiary'] = 'cartucce alito di Drago', - ['component_shells_armor'] = 'cartucce a pallettoni', - ['component_shells_hollowpoint'] = 'cartucce a freccette', - ['component_shells_explosive'] = 'cartucce esplosive', + ['component_shells_default'] = "cartucce Standard", + ['component_shells_incendiary'] = "cartucce alito di Drago", + ['component_shells_armor'] = "cartucce a pallettoni", + ['component_shells_hollowpoint'] = "cartucce a freccette", + ['component_shells_explosive'] = "cartucce esplosive", -- Weapon Ammo - ['ammo_rounds'] = 'colpo(i)', - ['ammo_shells'] = 'cartuccia(e)', - ['ammo_charge'] = 'carica', - ['ammo_petrol'] = 'Litri di carburante', - ['ammo_firework'] = 'fuochi d\'artificio', - ['ammo_rockets'] = 'razzo(i)', - ['ammo_grenadelauncher'] = 'granata(e)', - ['ammo_grenade'] = 'granata(e)', - ['ammo_stickybomb'] = 'bomba(e)', - ['ammo_pipebomb'] = 'bomba(e)', - ['ammo_smokebomb'] = 'bomba(e)', - ['ammo_molotov'] = 'bottiglia(e)', - ['ammo_proxmine'] = 'mina(e)', - ['ammo_bzgas'] = 'latta(e)', - ['ammo_ball'] = 'palla(e)', - ['ammo_snowball'] = 'palle di neve', - ['ammo_flare'] = 'razzo(i)', - ['ammo_flaregun'] = 'razzo(i)', + ['ammo_rounds'] = "colpo(i)", + ['ammo_shells'] = "cartuccia(e)", + ['ammo_charge'] = "carica", + ['ammo_petrol'] = "Litri di carburante", + ['ammo_firework'] = "fuochi d'artificio", + ['ammo_rockets'] = "razzo(i)", + ['ammo_grenadelauncher'] = "granata(e)", + ['ammo_grenade'] = "granata(e)", + ['ammo_stickybomb'] = "bomba(e)", + ['ammo_pipebomb'] = "bomba(e)", + ['ammo_smokebomb'] = "bomba(e)", + ['ammo_molotov'] = "bottiglia(e)", + ['ammo_proxmine'] = "mina(e)", + ['ammo_bzgas'] = "latta(e)", + ['ammo_ball'] = "palla(e)", + ['ammo_snowball'] = "palle di neve", + ['ammo_flare'] = "razzo(i)", + ['ammo_flaregun'] = "razzo(i)", -- Weapon Tints - ['tint_default'] = 'Colore standard', - ['tint_green'] = 'color verde', - ['tint_gold'] = 'color oro', - ['tint_pink'] = 'color rosa', - ['tint_army'] = 'color army', - ['tint_lspd'] = 'color blu', - ['tint_orange'] = 'color arancio', - ['tint_platinum'] = 'color platino', + ['tint_default'] = "Colore standard", + ['tint_green'] = "color verde", + ['tint_gold'] = "color oro", + ['tint_pink'] = "color rosa", + ['tint_army'] = "color army", + ['tint_lspd'] = "color blu", + ['tint_orange'] = "color arancio", + ['tint_platinum'] = "color platino", } diff --git a/[core]/es_extended/locales/nl.lua b/[core]/es_extended/locales/nl.lua index 86e8ed34..54a2e793 100644 --- a/[core]/es_extended/locales/nl.lua +++ b/[core]/es_extended/locales/nl.lua @@ -1,365 +1,365 @@ Locales['nl'] = { -- Inventory - ['inventory'] = 'Inventaris ( Gewicht %s / %s )', - ['use'] = 'Gebruik', - ['give'] = 'Geef', - ['remove'] = 'Gooi', - ['return'] = 'Terug', - ['give_to'] = 'Geef aan', - ['amount'] = 'Aantal', - ['giveammo'] = 'Geef munitie', - ['amountammo'] = 'Hoeveelheid munitie', - ['noammo'] = 'Niet genoeg!', - ['gave_item'] = '%sx %s gegeven aan %s', - ['received_item'] = '%sx %s ontvangen van %s', - ['gave_weapon'] = '%s gegeven aan %s', - ['gave_weapon_ammo'] = '~o~%sx %s gegeven voor een %s aan %s', - ['gave_weapon_withammo'] = '%s gegeven met ~o~%sx %s aan %s', - ['gave_weapon_hasalready'] = '%s heeft al een %s', - ['gave_weapon_noweapon'] = '%s heeft dat wapen niet', - ['received_weapon'] = '%s ontvangen van %s', - ['received_weapon_ammo'] = '~o~%sx %s ontvangen voor je %s van %s', - ['received_weapon_withammo'] = '%s ontvangen met ~o~%sx %s van %s', - ['received_weapon_hasalready'] = '%s heeft geprobeerd je een %s te geven, maar je hebt dat wapen al.', - ['received_weapon_noweapon'] = '%s heeft geprobeerd je ammo te geven voor een %s, maar je hebt dit wapen niet', - ['gave_account_money'] = '€%s (%s) gegeven aan %s', - ['received_account_money'] = '€%s (%s) ontvangen van %s', - ['amount_invalid'] = 'Ongeldige hoeveelheid', - ['players_nearby'] = 'Geen spelers in de buurt', - ['ex_inv_lim'] = 'Kan actie niet uitvoeren, overschrijdt max. gewicht van %s', - ['imp_invalid_quantity'] = 'Kan actie niet uitvoeren, de hoeveelheid is ongeldig', - ['imp_invalid_amount'] = 'Kan actie niet uitvoeren, het aantal is ongeldig', - ['threw_standard'] = '%sx %s weggegooid', - ['threw_account'] = '€%s %s weggegooid', - ['threw_weapon'] = '%s weggegooid', - ['threw_weapon_ammo'] = '%s met ~o~%sx %s weggegooid', - ['threw_weapon_already'] = 'Je hebt dit wapen al !', - ['threw_cannot_pickup'] = 'Inventoraris is vol, Kan niet oppakken!', - ['threw_pickup_prompt'] = 'Druk op E om op te pakken', + ['inventory'] = "Inventaris ( Gewicht %s / %s )", + ['use'] = "Gebruik", + ['give'] = "Geef", + ['remove'] = "Gooi", + ['return'] = "Terug", + ['give_to'] = "Geef aan", + ['amount'] = "Aantal", + ['giveammo'] = "Geef munitie", + ['amountammo'] = "Hoeveelheid munitie", + ['noammo'] = "Niet genoeg!", + ['gave_item'] = "%sx %s gegeven aan %s", + ['received_item'] = "%sx %s ontvangen van %s", + ['gave_weapon'] = "%s gegeven aan %s", + ['gave_weapon_ammo'] = "~o~%sx %s gegeven voor een %s aan %s", + ['gave_weapon_withammo'] = "%s gegeven met ~o~%sx %s aan %s", + ['gave_weapon_hasalready'] = "%s heeft al een %s", + ['gave_weapon_noweapon'] = "%s heeft dat wapen niet", + ['received_weapon'] = "%s ontvangen van %s", + ['received_weapon_ammo'] = "~o~%sx %s ontvangen voor je %s van %s", + ['received_weapon_withammo'] = "%s ontvangen met ~o~%sx %s van %s", + ['received_weapon_hasalready'] = "%s heeft geprobeerd je een %s te geven, maar je hebt dat wapen al.", + ['received_weapon_noweapon'] = "%s heeft geprobeerd je ammo te geven voor een %s, maar je hebt dit wapen niet", + ['gave_account_money'] = "€%s (%s) gegeven aan %s", + ['received_account_money'] = "€%s (%s) ontvangen van %s", + ['amount_invalid'] = "Ongeldige hoeveelheid", + ['players_nearby'] = "Geen spelers in de buurt", + ['ex_inv_lim'] = "Kan actie niet uitvoeren, overschrijdt max. gewicht van %s", + ['imp_invalid_quantity'] = "Kan actie niet uitvoeren, de hoeveelheid is ongeldig", + ['imp_invalid_amount'] = "Kan actie niet uitvoeren, het aantal is ongeldig", + ['threw_standard'] = "%sx %s weggegooid", + ['threw_account'] = "€%s %s weggegooid", + ['threw_weapon'] = "%s weggegooid", + ['threw_weapon_ammo'] = "%s met ~o~%sx %s weggegooid", + ['threw_weapon_already'] = "Je hebt dit wapen al !", + ['threw_cannot_pickup'] = "Inventoraris is vol, Kan niet oppakken!", + ['threw_pickup_prompt'] = "Druk op E om op te pakken", -- Key mapping - ['keymap_showinventory'] = 'Laat inventaris zien', + ['keymap_showinventory'] = "Laat inventaris zien", -- Salary related - ['received_salary'] = 'Je bent betaald: €%s', - ['received_help'] = 'Je hebt je uitkering gekregen: €%s', - ['company_nomoney'] = 'Het bedrijf waar je bij werkt heeft te weinig geld om je uit te betalen.', - ['received_paycheck'] = 'salaris ontvangen', - ['bank'] = 'Maze Bank', - ['account_bank'] = 'Bank', - ['account_black_money'] = 'Zwart geld', - ['account_money'] = 'Cash', + ['received_salary'] = "Je bent betaald: €%s", + ['received_help'] = "Je hebt je uitkering gekregen: €%s", + ['company_nomoney'] = "Het bedrijf waar je bij werkt heeft te weinig geld om je uit te betalen.", + ['received_paycheck'] = "salaris ontvangen", + ['bank'] = "Maze Bank", + ['account_bank'] = "Bank", + ['account_black_money'] = "Zwart geld", + ['account_money'] = "Cash", - ['act_imp'] = 'Kan actie niet uitvoeren', - ['in_vehicle'] = 'Kan actie niet uitvoeren, de speler zit in een voertuig.', + ['act_imp'] = "Kan actie niet uitvoeren", + ['in_vehicle'] = "Kan actie niet uitvoeren, de speler zit in een voertuig.", -- Commands - ['command_bring'] = 'Breng speler naar jou', - ['command_car'] = 'Spawn een voertuig', - ['command_car_car'] = 'Voertuig model of hash', - ['command_cardel'] = 'Verwijder voertuigen in straal', - ['command_cardel_radius'] = 'Verwijderd alle voertuigen in gewenste straal', - ['command_clear'] = 'Verwijder chat berichten', - ['command_clearall'] = 'Verwijder chat berichten voor alle spelers', - ['command_clearinventory'] = 'Verwijder alle items van een speler zijn inventory', - ['command_clearloadout'] = 'Verwijder alle wapens die een speler heeft', - ['command_freeze'] = 'Freeze een speler', - ['command_unfreeze'] = 'Unfreeze een speler', - ['command_giveaccountmoney'] = 'Geef geld aan een rekening', - ['command_giveaccountmoney_account'] = 'Account om aan toe te voegen', - ['command_giveaccountmoney_amount'] = 'Bedrag om toe te voegen', - ['command_giveaccountmoney_invalid'] = 'Account Naam ongeldig', - ['command_giveitem'] = 'Geef speler een item', - ['command_giveitem_item'] = 'Item naam', - ['command_giveitem_count'] = 'Hoeveelheid', - ['command_giveweapon'] = 'Geef de speler een wapen', - ['command_giveweapon_weapon'] = 'Wapen naam', - ['command_giveweapon_ammo'] = 'Ammo Hoeveelheid', - ['command_giveweapon_hasalready'] = 'Speler heeft dit wapen al', - ['command_giveweaponcomponent'] = 'Geef wapen component aan speler', - ['command_giveweaponcomponent_component'] = 'Component naam', - ['command_giveweaponcomponent_invalid'] = 'Ongeldig wapen component', - ['command_giveweaponcomponent_hasalready'] = 'De speler heeft dit wapen component al', - ['command_giveweaponcomponent_missingweapon'] = 'De speler heeft dit wapen niet', - ['command_goto'] = 'Teleporteer jezelf naar een speler', - ['command_kill'] = 'Vermoord een speler', - ['command_save'] = 'Slaag een speler zijn spelerdata geforceerd op', - ['command_saveall'] = 'Slaag iedereen zijn spelerdata geforceerd op', - ['command_setaccountmoney'] = 'Stel geld in op een account', - ['command_setaccountmoney_amount'] = 'Amount', - ['command_setcoords'] = 'Telepeer naar coordinaten', - ['command_setcoords_x'] = 'X waarde', - ['command_setcoords_y'] = 'Y waarde', - ['command_setcoords_z'] = 'Z waarde', - ['command_setjob'] = 'Zet een speler zijn / haar job', - ['command_setjob_job'] = 'Naam', - ['command_setjob_grade'] = 'Job grade', - ['command_setjob_invalid'] = 'De job, grade of beide zijn ongeldig', - ['command_setgroup'] = 'Stel een toestemmingsgroep voor spelers in', - ['command_setgroup_group'] = 'Naam van groep', - ['commanderror_argumentmismatch'] = 'Ongeldig aantal argumenten (geslaagd %s, gezocht %s)', - ['commanderror_argumentmismatch_number'] = 'Ongeldig argument #%s gegevenstype (doorgegeven string, gewenst nummer)', - ['commanderror_invaliditem'] = 'Ongeldig item', - ['commanderror_invalidweapon'] = 'Ongeldig wapen', - ['commanderror_console'] = 'Command kan niet worden uitgevoerd vanaf console.', - ['commanderror_invalidcommand'] = 'Ongeldig commando - /%s', - ['commanderror_invalidplayerid'] = 'Opgegeven speler is niet online', - ['commandgeneric_playerid'] = 'Speler server id', - ['command_giveammo_noweapon_found'] = '%s heeft dat wapen niet', - ['command_giveammo_weapon'] = 'Wapen naam', - ['command_giveammo_ammo'] = 'Ammo Hoeveelheid', - ['tpm_nowaypoint'] = 'Geen waypoint gezet.', - ['tpm_success'] = 'Successvol geteleporteerd', + ['command_bring'] = "Breng speler naar jou", + ['command_car'] = "Spawn een voertuig", + ['command_car_car'] = "Voertuig model of hash", + ['command_cardel'] = "Verwijder voertuigen in straal", + ['command_cardel_radius'] = "Verwijderd alle voertuigen in gewenste straal", + ['command_clear'] = "Verwijder chat berichten", + ['command_clearall'] = "Verwijder chat berichten voor alle spelers", + ['command_clearinventory'] = "Verwijder alle items van een speler zijn inventory", + ['command_clearloadout'] = "Verwijder alle wapens die een speler heeft", + ['command_freeze'] = "Freeze een speler", + ['command_unfreeze'] = "Unfreeze een speler", + ['command_giveaccountmoney'] = "Geef geld aan een rekening", + ['command_giveaccountmoney_account'] = "Account om aan toe te voegen", + ['command_giveaccountmoney_amount'] = "Bedrag om toe te voegen", + ['command_giveaccountmoney_invalid'] = "Account Naam ongeldig", + ['command_giveitem'] = "Geef speler een item", + ['command_giveitem_item'] = "Item naam", + ['command_giveitem_count'] = "Hoeveelheid", + ['command_giveweapon'] = "Geef de speler een wapen", + ['command_giveweapon_weapon'] = "Wapen naam", + ['command_giveweapon_ammo'] = "Ammo Hoeveelheid", + ['command_giveweapon_hasalready'] = "Speler heeft dit wapen al", + ['command_giveweaponcomponent'] = "Geef wapen component aan speler", + ['command_giveweaponcomponent_component'] = "Component naam", + ['command_giveweaponcomponent_invalid'] = "Ongeldig wapen component", + ['command_giveweaponcomponent_hasalready'] = "De speler heeft dit wapen component al", + ['command_giveweaponcomponent_missingweapon'] = "De speler heeft dit wapen niet", + ['command_goto'] = "Teleporteer jezelf naar een speler", + ['command_kill'] = "Vermoord een speler", + ['command_save'] = "Slaag een speler zijn spelerdata geforceerd op", + ['command_saveall'] = "Slaag iedereen zijn spelerdata geforceerd op", + ['command_setaccountmoney'] = "Stel geld in op een account", + ['command_setaccountmoney_amount'] = "Amount", + ['command_setcoords'] = "Telepeer naar coordinaten", + ['command_setcoords_x'] = "X waarde", + ['command_setcoords_y'] = "Y waarde", + ['command_setcoords_z'] = "Z waarde", + ['command_setjob'] = "Zet een speler zijn / haar job", + ['command_setjob_job'] = "Naam", + ['command_setjob_grade'] = "Job grade", + ['command_setjob_invalid'] = "De job, grade of beide zijn ongeldig", + ['command_setgroup'] = "Stel een toestemmingsgroep voor spelers in", + ['command_setgroup_group'] = "Naam van groep", + ['commanderror_argumentmismatch'] = "Ongeldig aantal argumenten (geslaagd %s, gezocht %s)", + ['commanderror_argumentmismatch_number'] = "Ongeldig argument #%s gegevenstype (doorgegeven string, gewenst nummer)", + ['commanderror_invaliditem'] = "Ongeldig item", + ['commanderror_invalidweapon'] = "Ongeldig wapen", + ['commanderror_console'] = "Command kan niet worden uitgevoerd vanaf console.", + ['commanderror_invalidcommand'] = "Ongeldig commando - /%s", + ['commanderror_invalidplayerid'] = "Opgegeven speler is niet online", + ['commandgeneric_playerid'] = "Speler server id", + ['command_giveammo_noweapon_found'] = "%s heeft dat wapen niet", + ['command_giveammo_weapon'] = "Wapen naam", + ['command_giveammo_ammo'] = "Ammo Hoeveelheid", + ['tpm_nowaypoint'] = "Geen waypoint gezet.", + ['tpm_success'] = "Successvol geteleporteerd", - ['noclip_message'] = 'Noclip is %s', - ['enabled'] = '~g~aangezet~s~', - ['disabled'] = '~r~uitgezet~s~', + ['noclip_message'] = "Noclip is %s", + ['enabled'] = "~g~aangezet~s~", + ['disabled'] = "~r~uitgezet~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '€%s', + ['locale_digit_grouping_symbol'] = ",", + ['locale_currency'] = "€%s", -- Weapons -- Melee - ['weapon_dagger'] = 'Dolk', - ['weapon_bat'] = 'Knuppel', - ['weapon_battleaxe'] = 'Gevechtsbijl', - ['weapon_bottle'] = 'Fles', - ['weapon_crowbar'] = 'Koevoet', - ['weapon_flashlight'] = 'Zaklamp', - ['weapon_golfclub'] = 'Golfclub', - ['weapon_hammer'] = 'Hamer', - ['weapon_hatchet'] = 'Bijl', - ['weapon_knife'] = 'Mes', - ['weapon_knuckle'] = 'Knuckledusters', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Nightstick', - ['weapon_wrench'] = 'Pijpsleutel', - ['weapon_poolcue'] = 'Pool Cue', - ['weapon_stone_hatchet'] = 'Steenbijl', - ['weapon_switchblade'] = 'Switchblade', + ['weapon_dagger'] = "Dolk", + ['weapon_bat'] = "Knuppel", + ['weapon_battleaxe'] = "Gevechtsbijl", + ['weapon_bottle'] = "Fles", + ['weapon_crowbar'] = "Koevoet", + ['weapon_flashlight'] = "Zaklamp", + ['weapon_golfclub'] = "Golfclub", + ['weapon_hammer'] = "Hamer", + ['weapon_hatchet'] = "Bijl", + ['weapon_knife'] = "Mes", + ['weapon_knuckle'] = "Knuckledusters", + ['weapon_machete'] = "Machete", + ['weapon_nightstick'] = "Nightstick", + ['weapon_wrench'] = "Pijpsleutel", + ['weapon_poolcue'] = "Pool Cue", + ['weapon_stone_hatchet'] = "Steenbijl", + ['weapon_switchblade'] = "Switchblade", -- Handguns - ['weapon_appistol'] = 'AP-pistool', - ['weapon_ceramicpistol'] = 'Keramische pistool', - ['weapon_combatpistol'] = 'Gevechtspistool', - ['weapon_doubleaction'] = 'Revolver met dubbele actie', - ['weapon_navyrevolver'] = 'Marine Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadgetpistool', - ['weapon_heavypistol'] = 'Zwaar pistool', - ['weapon_revolver'] = 'Zware revolver', - ['weapon_revolver_mk2'] = 'Zware revolver MK2', - ['weapon_marksmanpistol'] = 'Marksman-pistool', - ['weapon_pistol'] = 'Pistool', - ['weapon_pistol_mk2'] = 'Pistool MK2', - ['weapon_pistol50'] = 'Pistool .50', - ['weapon_snspistol'] = 'SNS-pistool', - ['weapon_snspistol_mk2'] = 'SNS-pistool MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintage Pistool', + ['weapon_appistol'] = "AP-pistool", + ['weapon_ceramicpistol'] = "Keramische pistool", + ['weapon_combatpistol'] = "Gevechtspistool", + ['weapon_doubleaction'] = "Revolver met dubbele actie", + ['weapon_navyrevolver'] = "Marine Revolver", + ['weapon_flaregun'] = "Flaregun", + ['weapon_gadgetpistol'] = "Gadgetpistool", + ['weapon_heavypistol'] = "Zwaar pistool", + ['weapon_revolver'] = "Zware revolver", + ['weapon_revolver_mk2'] = "Zware revolver MK2", + ['weapon_marksmanpistol'] = "Marksman-pistool", + ['weapon_pistol'] = "Pistool", + ['weapon_pistol_mk2'] = "Pistool MK2", + ['weapon_pistol50'] = "Pistool .50", + ['weapon_snspistol'] = "SNS-pistool", + ['weapon_snspistol_mk2'] = "SNS-pistool MK2", + ['weapon_stungun'] = "Taser", + ['weapon_raypistol'] = "Up-N-Atomizer", + ['weapon_vintagepistol'] = "Vintage Pistool", -- Shotguns - ['weapon_assaultshotgun'] = 'Aanvalsgeweer', - ['weapon_autoshotgun'] = 'Automatisch jachtgeweer', - ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', - ['weapon_combatshotgun'] = 'Gevechtsgeweer', - ['weapon_dbshotgun'] = 'Dubbelloops jachtgeweer', - ['weapon_heavyshotgun'] = 'Zwaar jachtgeweer', - ['weapon_musket'] = 'Musket', - ['weapon_pumpshotgun'] = 'Pompgeweer', - ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', - ['weapon_sawnoffshotgun'] = 'Afgezaagd jachtgeweer', + ['weapon_assaultshotgun'] = "Aanvalsgeweer", + ['weapon_autoshotgun'] = "Automatisch jachtgeweer", + ['weapon_bullpupshotgun'] = "Bullpup Shotgun", + ['weapon_combatshotgun'] = "Gevechtsgeweer", + ['weapon_dbshotgun'] = "Dubbelloops jachtgeweer", + ['weapon_heavyshotgun'] = "Zwaar jachtgeweer", + ['weapon_musket'] = "Musket", + ['weapon_pumpshotgun'] = "Pompgeweer", + ['weapon_pumpshotgun_mk2'] = "Pump Shotgun MK2", + ['weapon_sawnoffshotgun'] = "Afgezaagd jachtgeweer", -- SMG & LMG - ['weapon_assaultsmg'] = 'Aanval SMG', - ['weapon_combatmg'] = 'Gevecht MG', - ['weapon_combatmg_mk2'] = 'Combat MG MK2', - ['weapon_combatpdw'] = 'Combat PDW', - ['weapon_gusenberg'] = 'Gusenberg-veger', - ['weapon_machinepistol'] = 'Machinepistool', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Micro-SMG', - ['weapon_minismg'] = 'Mini-SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Onheilige Hellbringer', + ['weapon_assaultsmg'] = "Aanval SMG", + ['weapon_combatmg'] = "Gevecht MG", + ['weapon_combatmg_mk2'] = "Combat MG MK2", + ['weapon_combatpdw'] = "Combat PDW", + ['weapon_gusenberg'] = "Gusenberg-veger", + ['weapon_machinepistol'] = "Machinepistool", + ['weapon_mg'] = "MG", + ['weapon_microsmg'] = "Micro-SMG", + ['weapon_minismg'] = "Mini-SMG", + ['weapon_smg'] = "SMG", + ['weapon_smg_mk2'] = "SMG MK2", + ['weapon_raycarbine'] = "Onheilige Hellbringer", -- Rifles - ['weapon_advancedrifle'] = 'Geavanceerd geweer', - ['weapon_assaultrifle'] = 'Aanvalsgeweer', - ['weapon_assaultrifle_mk2'] = 'Aanvalsgeweer MK2', - ['weapon_bullpuprifle'] = 'Bullpup-geweer', - ['weapon_bullpuprifle_mk2'] = 'Bullpup-geweer MK2', - ['weapon_carbinerifle'] = 'Kabinet geweer', - ['weapon_carbinerifle_mk2'] = 'Kabinet geweer MK2', - ['weapon_compactrifle'] = 'Compact geweer', - ['weapon_militaryrifle'] = 'Militair geweer', - ['weapon_specialcarbine'] = 'Speciale karabijn', - ['weapon_specialcarbine_mk2'] = 'Speciale karabijn MK2', + ['weapon_advancedrifle'] = "Geavanceerd geweer", + ['weapon_assaultrifle'] = "Aanvalsgeweer", + ['weapon_assaultrifle_mk2'] = "Aanvalsgeweer MK2", + ['weapon_bullpuprifle'] = "Bullpup-geweer", + ['weapon_bullpuprifle_mk2'] = "Bullpup-geweer MK2", + ['weapon_carbinerifle'] = "Kabinet geweer", + ['weapon_carbinerifle_mk2'] = "Kabinet geweer MK2", + ['weapon_compactrifle'] = "Compact geweer", + ['weapon_militaryrifle'] = "Militair geweer", + ['weapon_specialcarbine'] = "Speciale karabijn", + ['weapon_specialcarbine_mk2'] = "Speciale karabijn MK2", -- Sniper - ['weapon_heavysniper'] = 'Zware sluipschutter', - ['weapon_heavysniper_mk2'] = 'Zware Sniper MK2', - ['weapon_marksmanrifle'] = 'Schuttersgeweer', - ['weapon_marksmanrifle_mk2'] = 'Schuttersgeweer MK2', - ['weapon_sniperrifle'] = 'Sniper Rifle', + ['weapon_heavysniper'] = "Zware sluipschutter", + ['weapon_heavysniper_mk2'] = "Zware Sniper MK2", + ['weapon_marksmanrifle'] = "Schuttersgeweer", + ['weapon_marksmanrifle_mk2'] = "Schuttersgeweer MK2", + ['weapon_sniperrifle'] = "Sniper Rifle", -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Compacte Launcher', - ['weapon_firework'] = 'Vuurwerkstarter', - ['weapon_grenadelauncher'] = 'Granaatwerper', - ['weapon_hominglauncher'] = 'Homing Launcher', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Spoorgeweer', - ['weapon_rpg'] = 'Raketwerper', - ['weapon_rayminigun'] = 'Weduwemaker', + ['weapon_compactlauncher'] = "Compacte Launcher", + ['weapon_firework'] = "Vuurwerkstarter", + ['weapon_grenadelauncher'] = "Granaatwerper", + ['weapon_hominglauncher'] = "Homing Launcher", + ['weapon_minigun'] = "Minigun", + ['weapon_railgun'] = "Spoorgeweer", + ['weapon_rpg'] = "Raketwerper", + ['weapon_rayminigun'] = "Weduwemaker", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Metaal Detector', - ['weapon_precisionrifle'] = 'Precisiegeweer', - ['weapon_tactilerifle'] = 'Service Carbine', + ['weapon_metaldetector'] = "Metaal Detector", + ['weapon_precisionrifle'] = "Precisiegeweer", + ['weapon_tactilerifle'] = "Service Carbine", -- Thrown - ['weapon_ball'] = 'Honkbal', - ['weapon_bzgas'] = 'BZ-gas', - ['weapon_flare'] = 'Flare', - ['weapon_grenade'] = 'Granaat', - ['weapon_petrolcan'] = 'Jerrycan', - ['weapon_hazardcan'] = 'Gevaarlijke jerrycan', - ['weapon_molotov'] = 'Molotovcocktail', - ['weapon_proxmine'] = 'Nabijheidsmijn', - ['weapon_pipebomb'] = 'Pijpbom', - ['weapon_snowball'] = 'Sneeuwbal', - ['weapon_stickybomb'] = 'Kleefbom', - ['weapon_smokegrenade'] = 'Traangas', + ['weapon_ball'] = "Honkbal", + ['weapon_bzgas'] = "BZ-gas", + ['weapon_flare'] = "Flare", + ['weapon_grenade'] = "Granaat", + ['weapon_petrolcan'] = "Jerrycan", + ['weapon_hazardcan'] = "Gevaarlijke jerrycan", + ['weapon_molotov'] = "Molotovcocktail", + ['weapon_proxmine'] = "Nabijheidsmijn", + ['weapon_pipebomb'] = "Pijpbom", + ['weapon_snowball'] = "Sneeuwbal", + ['weapon_stickybomb'] = "Kleefbom", + ['weapon_smokegrenade'] = "Traangas", -- Special - ['weapon_firebluser'] = 'Brandblusser', - ['weapon_digiscanner'] = 'Digitale scanner', - ['weapon_garbagebag'] = 'Vuilniszak', - ['weapon_handcuffs'] = 'Handboeien', - ['gadget_nightvision'] = 'Nachtzicht', - ['gadget_parachute'] = 'parachute', + ['weapon_firebluser'] = "Brandblusser", + ['weapon_digiscanner'] = "Digitale scanner", + ['weapon_garbagebag'] = "Vuilniszak", + ['weapon_handcuffs'] = "Handboeien", + ['gadget_nightvision'] = "Nachtzicht", + ['gadget_parachute'] = "parachute", -- Weapon Components - ['component_knuckle_base'] = 'basismodel', - ['component_knuckle_pimp'] = 'de pooier', - ['component_knuckle_ballas'] = 'de ballen', - ['component_knuckle_dollar'] = 'de Hustler', - ['component_knuckle_diamond'] = 'de rots', - ['component_knuckle_hate'] = 'de Hater', - ['component_knuckle_love'] = 'de minnaar', - ['component_knuckle_player'] = 'de speler', - ['component_knuckle_king'] = 'de koning', - ['component_knuckle_vagos'] = 'de Vagos', + ['component_knuckle_base'] = "basismodel", + ['component_knuckle_pimp'] = "de pooier", + ['component_knuckle_ballas'] = "de ballen", + ['component_knuckle_dollar'] = "de Hustler", + ['component_knuckle_diamond'] = "de rots", + ['component_knuckle_hate'] = "de Hater", + ['component_knuckle_love'] = "de minnaar", + ['component_knuckle_player'] = "de speler", + ['component_knuckle_king'] = "de koning", + ['component_knuckle_vagos'] = "de Vagos", - ['component_luxary_finish'] = 'luxe wapenafwerking', + ['component_luxary_finish'] = "luxe wapenafwerking", - ['component_handle_default'] = 'standaard handvat', - ['component_handle_vip'] = 'VIP-handvat', - ['component_handle_bodyguard'] = 'bodyguard-handvat', + ['component_handle_default'] = "standaard handvat", + ['component_handle_vip'] = "VIP-handvat", + ['component_handle_bodyguard'] = "bodyguard-handvat", - ['component_vip_finish'] = 'VIP Finish', - ['component_bodyguard_finish'] = 'bodyguard Finish', + ['component_vip_finish'] = "VIP Finish", + ['component_bodyguard_finish'] = "bodyguard Finish", - ['component_camo_finish'] = 'digitale camouflage', - ['component_camo_finish2'] = 'penseelstreek camouflage', - ['component_camo_finish3'] = 'bos camouflage', - ['component_camo_finish4'] = 'schedel camouflage', - ['component_camo_finish5'] = 'sessanta Nove camouflage', - ['component_camo_finish6'] = 'perseus camouflage', - ['component_camo_finish7'] = 'luipaard camouflage', - ['component_camo_finish8'] = 'zebracamouflage', - ['component_camo_finish9'] = 'geometrische camouflage', - ['component_camo_finish10'] = 'boom camouflage', - ['component_camo_finish11'] = 'patriottische camouflage', + ['component_camo_finish'] = "digitale camouflage", + ['component_camo_finish2'] = "penseelstreek camouflage", + ['component_camo_finish3'] = "bos camouflage", + ['component_camo_finish4'] = "schedel camouflage", + ['component_camo_finish5'] = "sessanta Nove camouflage", + ['component_camo_finish6'] = "perseus camouflage", + ['component_camo_finish7'] = "luipaard camouflage", + ['component_camo_finish8'] = "zebracamouflage", + ['component_camo_finish9'] = "geometrische camouflage", + ['component_camo_finish10'] = "boom camouflage", + ['component_camo_finish11'] = "patriottische camouflage", - ['component_camo_slide_finish'] = 'digitale diacamouflage', - ['component_camo_slide_finish2'] = 'penseelstreek Dia Camo', - ['component_camo_slide_finish3'] = 'bos Slide camouflage', - ['component_camo_slide_finish4'] = 'schedelschuifcamouflage', - ['component_camo_slide_finish5'] = 'sessanta Nove Dia camouflage', - ['component_camo_slide_finish6'] = 'perseus diacamouflage', - ['component_camo_slide_finish7'] = 'luipaard Slide camouflage', - ['component_camo_slide_finish8'] = 'zebra Slide camouflage', - ['component_camo_slide_finish9'] = 'geometrische diacamouflage', - ['component_camo_slide_finish10'] = 'boom Slide camouflage', - ['component_camo_slide_finish11'] = 'patriottische diacamouflage', + ['component_camo_slide_finish'] = "digitale diacamouflage", + ['component_camo_slide_finish2'] = "penseelstreek Dia Camo", + ['component_camo_slide_finish3'] = "bos Slide camouflage", + ['component_camo_slide_finish4'] = "schedelschuifcamouflage", + ['component_camo_slide_finish5'] = "sessanta Nove Dia camouflage", + ['component_camo_slide_finish6'] = "perseus diacamouflage", + ['component_camo_slide_finish7'] = "luipaard Slide camouflage", + ['component_camo_slide_finish8'] = "zebra Slide camouflage", + ['component_camo_slide_finish9'] = "geometrische diacamouflage", + ['component_camo_slide_finish10'] = "boom Slide camouflage", + ['component_camo_slide_finish11'] = "patriottische diacamouflage", - ['component_clip_default'] = 'standaard magazijn', - ['component_clip_extended'] = 'uitgebreid magazijn', - ['component_clip_drum'] = 'drum magazijn', - ['component_clip_box'] = 'box magazijn', + ['component_clip_default'] = "standaard magazijn", + ['component_clip_extended'] = "uitgebreid magazijn", + ['component_clip_drum'] = "drum magazijn", + ['component_clip_box'] = "box magazijn", - ['component_scope_holo'] = 'holografisch bereik', - ['component_scope_small'] = 'klein bereik', - ['component_scope_medium'] = 'gemiddeld bereik', - ['component_scope_large'] = 'groot bereik', - ['component_scope'] = 'gemonteerde scope', - ['component_scope_advanced'] = 'geavanceerd bereik', - ['component_ironsights'] = 'ironsights', + ['component_scope_holo'] = "holografisch bereik", + ['component_scope_small'] = "klein bereik", + ['component_scope_medium'] = "gemiddeld bereik", + ['component_scope_large'] = "groot bereik", + ['component_scope'] = "gemonteerde scope", + ['component_scope_advanced'] = "geavanceerd bereik", + ['component_ironsights'] = "ironsights", - ['component_suppressor'] = 'suppressor', - ['component_compensator'] = 'compensator', + ['component_suppressor'] = "suppressor", + ['component_compensator'] = "compensator", - ['component_muzzle_flat'] = 'platte mondingsrem', - ['component_muzzle_tactical'] = 'tactische mondingsrem', - ['component_muzzle_fat'] = 'fat-end mondingsrem', - ['component_muzzle_precision'] = 'precisie mondingsrem', - ['component_muzzle_heavy'] = 'zware mondingsrem', - ['component_muzzle_slanted'] = 'schuine mondingsrem', - ['component_muzzle_split'] = 'gespleten mondingsrem', - ['component_muzzle_squared'] = 'kwadraat mondingsrem', + ['component_muzzle_flat'] = "platte mondingsrem", + ['component_muzzle_tactical'] = "tactische mondingsrem", + ['component_muzzle_fat'] = "fat-end mondingsrem", + ['component_muzzle_precision'] = "precisie mondingsrem", + ['component_muzzle_heavy'] = "zware mondingsrem", + ['component_muzzle_slanted'] = "schuine mondingsrem", + ['component_muzzle_split'] = "gespleten mondingsrem", + ['component_muzzle_squared'] = "kwadraat mondingsrem", - ['component_flashlight'] = 'zaklamp', - ['component_grip'] = 'grip', + ['component_flashlight'] = "zaklamp", + ['component_grip'] = "grip", - ['component_barrel_default'] = 'standaard handvat', - ['component_barrel_heavy'] = 'zware handvat', + ['component_barrel_default'] = "standaard handvat", + ['component_barrel_heavy'] = "zware handvat", - ['component_ammo_tracer'] = 'tracermunitie', - ['component_ammo_incendiary'] = 'brandgevaarlijke munitie', - ['component_ammo_hollowpoint'] = 'hollowpoint munitie', - ['component_ammo_fmj'] = 'fMJ-munitie', - ['component_ammo_armor'] = 'pantser piercing munitie', - ['component_ammo_explosive'] = 'pantserpiercing brandgevaarlijke munitie', + ['component_ammo_tracer'] = "tracermunitie", + ['component_ammo_incendiary'] = "brandgevaarlijke munitie", + ['component_ammo_hollowpoint'] = "hollowpoint munitie", + ['component_ammo_fmj'] = "fMJ-munitie", + ['component_ammo_armor'] = "pantser piercing munitie", + ['component_ammo_explosive'] = "pantserpiercing brandgevaarlijke munitie", - ['component_shells_default'] = 'standaard shells', - ['component_shells_incendiary'] = 'draken ademschelpen', - ['component_shells_armor'] = 'stalen Buckshot Shells', - ['component_shells_hollowpoint'] = 'flechette schelpen', - ['component_shells_explosive'] = 'explosieve slakkenhuizen', + ['component_shells_default'] = "standaard shells", + ['component_shells_incendiary'] = "draken ademschelpen", + ['component_shells_armor'] = "stalen Buckshot Shells", + ['component_shells_hollowpoint'] = "flechette schelpen", + ['component_shells_explosive'] = "explosieve slakkenhuizen", -- Weapon Ammo - ['ammo_rounds'] = 'ronde(n)', - ['ammo_shells'] = 'huls/(zen)', - ['ammo_charge'] = 'charge', - ['ammo_petrol'] = 'liters brandstof', - ['ammo_firework'] = 'vuurwerkpijl(en)', - ['ammo_rockets'] = 'raket(ten)', - ['ammo_grenadelauncher'] = 'granaat(en)', - ['ammo_grenade'] = 'granaat(en)', - ['ammo_stickybomb'] = 'bom(men)', - ['ammo_pipebomb'] = 'bom(men)', - ['ammo_smokebomb'] = 'bom(men)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mijn(en)', - ['ammo_bzgas'] = 'blik(ken)', - ['ammo_ball'] = 'bal(len)', - ['ammo_snowball'] = 'sneeuwbal(len)', - ['ammo_flare'] = 'flare(s)', - ['ammo_flaregun'] = 'flare(s)', + ['ammo_rounds'] = "ronde(n)", + ['ammo_shells'] = "huls/(zen)", + ['ammo_charge'] = "charge", + ['ammo_petrol'] = "liters brandstof", + ['ammo_firework'] = "vuurwerkpijl(en)", + ['ammo_rockets'] = "raket(ten)", + ['ammo_grenadelauncher'] = "granaat(en)", + ['ammo_grenade'] = "granaat(en)", + ['ammo_stickybomb'] = "bom(men)", + ['ammo_pipebomb'] = "bom(men)", + ['ammo_smokebomb'] = "bom(men)", + ['ammo_molotov'] = "cocktail(s)", + ['ammo_proxmine'] = "mijn(en)", + ['ammo_bzgas'] = "blik(ken)", + ['ammo_ball'] = "bal(len)", + ['ammo_snowball'] = "sneeuwbal(len)", + ['ammo_flare'] = "flare(s)", + ['ammo_flaregun'] = "flare(s)", -- Weapon Tints - ['tint_default'] = 'standaard skin', - ['tint_green'] = 'groene skin', - ['tint_gold'] = 'goude skin', - ['tint_pink'] = 'roze skin', - ['tint_army'] = 'legerprint', - ['tint_lspd'] = 'blauwe skin', - ['tint_orange'] = 'oranje skin', - ['tint_platinum'] = 'platina skin', + ['tint_default'] = "standaard skin", + ['tint_green'] = "groene skin", + ['tint_gold'] = "goude skin", + ['tint_pink'] = "roze skin", + ['tint_army'] = "legerprint", + ['tint_lspd'] = "blauwe skin", + ['tint_orange'] = "oranje skin", + ['tint_platinum'] = "platina skin", } diff --git a/[core]/es_extended/locales/pl.lua b/[core]/es_extended/locales/pl.lua index c3acb5bd..e1dd4903 100644 --- a/[core]/es_extended/locales/pl.lua +++ b/[core]/es_extended/locales/pl.lua @@ -1,227 +1,227 @@ Locales['pl'] = { -- Inventory - ['inventory'] = 'ekwipunek %s / %s', - ['use'] = 'użyj', - ['give'] = 'daj', - ['remove'] = 'usuń', - ['return'] = 'wróć', - ['give_to'] = 'daj dla', - ['amount'] = 'ilość', - ['giveammo'] = 'daj amunicje', - ['amountammo'] = 'ilość amunicji', - ['noammo'] = 'nie posiadasz wystarczającej ilości amunicji!', - ['gave_item'] = 'dałeś/aś %sx %s dla %s', - ['received_item'] = 'otrzymałeś/aś %sx %s od %s', - ['gave_weapon'] = 'dałeś/aś %s dla %s', - ['gave_weapon_ammo'] = 'dałeś/aś ~o~%sx %s do %s dla %s', - ['gave_weapon_withammo'] = 'dałeś/aś %s z ~o~%sx %s dla %s', - ['gave_weapon_hasalready'] = '%s już posiada %s', - ['gave_weapon_noweapon'] = '%s nie posiada tej broni', - ['received_weapon'] = 'otrzymałeś/aś %s od %s', - ['received_weapon_ammo'] = 'otrzymałeś/aś ~o~%sx %s do twojego %s od %s', - ['received_weapon_withammo'] = 'otrzymałeś/aś %s z ~o~%sx %s od %s', - ['received_weapon_hasalready'] = '%s próbował/a przekazać ci %s, lecz już posiadasz jedno', - ['received_weapon_noweapon'] = '%s próbował/a przekazać ci amunicje do %s, lecz nie posiadasz tej broni', - ['gave_account_money'] = 'dałeś/aś %s$ (%s) dla %s', - ['received_account_money'] = 'otrzymałeś/aś %s$ (%s) od %s', - ['amount_invalid'] = 'nieprawidłowa ilość', - ['players_nearby'] = 'brak graczy w pobliżu', - ['ex_inv_lim'] = 'akcja nie jest możliwa, nie możesz mieć więcej %s', - ['imp_invalid_quantity'] = 'akcja jest niemożliwa, nieprawidłowa ilość', - ['imp_invalid_amount'] = 'akcja jest niemożliwa, nieprawidłowa kwota', - ['threw_standard'] = 'wyrzuciłeś/aś %sx %s', - ['threw_account'] = 'wyrzuciłeś/aś $%s %s', - ['threw_weapon'] = 'wyrzuciłeś/aś %s', - ['threw_weapon_ammo'] = 'wyrzuciłeś/aś %s z ~o~%sx %s', - ['threw_weapon_already'] = 'już posiadasz taką samą broń', - ['threw_cannot_pickup'] = 'nie możesz tego podnieść, gdyż masz pełny ekwipunek!', - ['threw_pickup_prompt'] = 'naciśnij E aby podnieść', + ['inventory'] = "ekwipunek %s / %s", + ['use'] = "użyj", + ['give'] = "daj", + ['remove'] = "usuń", + ['return'] = "wróć", + ['give_to'] = "daj dla", + ['amount'] = "ilość", + ['giveammo'] = "daj amunicje", + ['amountammo'] = "ilość amunicji", + ['noammo'] = "nie posiadasz wystarczającej ilości amunicji!", + ['gave_item'] = "dałeś/aś %sx %s dla %s", + ['received_item'] = "otrzymałeś/aś %sx %s od %s", + ['gave_weapon'] = "dałeś/aś %s dla %s", + ['gave_weapon_ammo'] = "dałeś/aś ~o~%sx %s do %s dla %s", + ['gave_weapon_withammo'] = "dałeś/aś %s z ~o~%sx %s dla %s", + ['gave_weapon_hasalready'] = "%s już posiada %s", + ['gave_weapon_noweapon'] = "%s nie posiada tej broni", + ['received_weapon'] = "otrzymałeś/aś %s od %s", + ['received_weapon_ammo'] = "otrzymałeś/aś ~o~%sx %s do twojego %s od %s", + ['received_weapon_withammo'] = "otrzymałeś/aś %s z ~o~%sx %s od %s", + ['received_weapon_hasalready'] = "%s próbował/a przekazać ci %s, lecz już posiadasz jedno", + ['received_weapon_noweapon'] = "%s próbował/a przekazać ci amunicje do %s, lecz nie posiadasz tej broni", + ['gave_account_money'] = "dałeś/aś %s$ (%s) dla %s", + ['received_account_money'] = "otrzymałeś/aś %s$ (%s) od %s", + ['amount_invalid'] = "nieprawidłowa ilość", + ['players_nearby'] = "brak graczy w pobliżu", + ['ex_inv_lim'] = "akcja nie jest możliwa, nie możesz mieć więcej %s", + ['imp_invalid_quantity'] = "akcja jest niemożliwa, nieprawidłowa ilość", + ['imp_invalid_amount'] = "akcja jest niemożliwa, nieprawidłowa kwota", + ['threw_standard'] = "wyrzuciłeś/aś %sx %s", + ['threw_account'] = "wyrzuciłeś/aś $%s %s", + ['threw_weapon'] = "wyrzuciłeś/aś %s", + ['threw_weapon_ammo'] = "wyrzuciłeś/aś %s z ~o~%sx %s", + ['threw_weapon_already'] = "już posiadasz taką samą broń", + ['threw_cannot_pickup'] = "nie możesz tego podnieść, gdyż masz pełny ekwipunek!", + ['threw_pickup_prompt'] = "naciśnij E aby podnieść", -- Key mapping - ['keymap_showinventory'] = 'pokaż ekwipunek', + ['keymap_showinventory'] = "pokaż ekwipunek", -- Salary related - ['received_salary'] = 'otrzymałeś/aś wynagrodzenie: %s$', - ['received_help'] = 'otrzymałeś/aś zapomogę: $%s', - ['company_nomoney'] = 'firma, w której pracujesz, jest zbyt biedna, by wypłacić twoją pensję', - ['received_paycheck'] = 'otrzymano wypłate', - ['bank'] = 'bank', - ['account_bank'] = 'bank', - ['account_black_money'] = 'brudne pieniądze', - ['account_money'] = 'pieniądze', - ['act_imp'] = 'działanie niemożliwe', - ['in_vehicle'] = 'nie możesz przekazywać przedmiotów w pojeździe', + ['received_salary'] = "otrzymałeś/aś wynagrodzenie: %s$", + ['received_help'] = "otrzymałeś/aś zapomogę: $%s", + ['company_nomoney'] = "firma, w której pracujesz, jest zbyt biedna, by wypłacić twoją pensję", + ['received_paycheck'] = "otrzymano wypłate", + ['bank'] = "bank", + ['account_bank'] = "bank", + ['account_black_money'] = "brudne pieniądze", + ['account_money'] = "pieniądze", + ['act_imp'] = "działanie niemożliwe", + ['in_vehicle'] = "nie możesz przekazywać przedmiotów w pojeździe", -- Commands - ['command_car'] = 'przywołaj pojazd', - ['command_car_car'] = 'nazwa lub hash przywołanego pojazdu', - ['command_cardel'] = 'usuń pojazd w pobliżu', - ['command_cardel_radius'] = 'opcjonalnie usuń każdy pojazd w obszarze', - ['command_clear'] = 'wyczyść czat', - ['command_clearall'] = 'wyczyść czat dla wszystkich graczy', - ['command_clearinventory'] = 'wyczyść ekwipunek gracza', - ['command_clearloadout'] = 'wyczyść wyposarzenie gracza', - ['command_giveaccountmoney'] = 'daj pieniądze na podany typ konta', - ['command_giveaccountmoney_account'] = 'prawidłowy typ konta', - ['command_giveaccountmoney_amount'] = 'ilość do dodania', - ['command_giveaccountmoney_invalid'] = 'nieprawidłowy typ konta', - ['command_giveitem'] = 'daj przedmiot graczowi', - ['command_giveitem_item'] = 'nazwa przedmiotu', - ['command_giveitem_count'] = 'ilość przedimotu', - ['command_giveweapon'] = 'daj broń graczowi', - ['command_giveweapon_weapon'] = 'nazwa broni', - ['command_giveweapon_ammo'] = 'ilość amunicji', - ['command_giveweapon_hasalready'] = 'gracz już posiada tą broń', - ['command_giveweaponcomponent'] = 'daj komponent do broni graczowi', - ['command_giveweaponcomponent_component'] = 'nazwa komponentu', - ['command_giveweaponcomponent_invalid'] = 'nieprawidłowy komponent do broni', - ['command_giveweaponcomponent_hasalready'] = 'gracz już posiada ten komponent do tej broni', - ['command_giveweaponcomponent_missingweapon'] = 'gracz nie posiada tej broni', - ['command_save'] = 'zapisz gracza w bazie danych', - ['command_saveall'] = 'zapisz wszystkich graczy w bazie danych', - ['command_setaccountmoney'] = 'ustaw ilość pieniędzy danego konta dla gracza', - ['command_setaccountmoney_amount'] = 'ilość pieniędzy do ustawienia', - ['command_setcoords'] = 'teleportuj na koordynaty', - ['command_setcoords_x'] = 'x axis', - ['command_setcoords_y'] = 'y axis', - ['command_setcoords_z'] = 'z axis', - ['command_setjob'] = 'ustaw prace dla gracza', - ['command_setjob_job'] = 'nazwa pracy', - ['command_setjob_grade'] = 'stanowisko w pracy', - ['command_setjob_invalid'] = 'praca, stanowisko lub obydwa są nieprawidłowe', - ['command_setgroup'] = 'ustaw grupe gracza', - ['command_setgroup_group'] = 'nazwa grupy', - ['commanderror_argumentmismatch'] = 'nieprawiłowa ilość argumentów (przeszło %s, wymagane %s)', - ['commanderror_argumentmismatch_number'] = 'nieprawidłowy typ argumentu #%s (przeszedł tekst, wymagany numer)', - ['commanderror_invaliditem'] = 'nieprawidłowa nazwa przedmiotu', - ['commanderror_invalidweapon'] = 'nieprawidłowa broń', - ['commanderror_console'] = 'podana komenda nie może zostać uruchomiona przez konsole', - ['commanderror_invalidcommand'] = '/%s nie jest poprawną komendą!', - ['commanderror_invalidplayerid'] = 'brak dostepnego gracza pasującego do podanego id serwerowego', - ['commandgeneric_playerid'] = 'id gracza', - ['command_giveammo_noweapon_found'] = '%s does not have that weapon', - ['command_giveammo_weapon'] = 'Weapon name', - ['command_giveammo_ammo'] = 'Ammo Quantity', + ['command_car'] = "przywołaj pojazd", + ['command_car_car'] = "nazwa lub hash przywołanego pojazdu", + ['command_cardel'] = "usuń pojazd w pobliżu", + ['command_cardel_radius'] = "opcjonalnie usuń każdy pojazd w obszarze", + ['command_clear'] = "wyczyść czat", + ['command_clearall'] = "wyczyść czat dla wszystkich graczy", + ['command_clearinventory'] = "wyczyść ekwipunek gracza", + ['command_clearloadout'] = "wyczyść wyposarzenie gracza", + ['command_giveaccountmoney'] = "daj pieniądze na podany typ konta", + ['command_giveaccountmoney_account'] = "prawidłowy typ konta", + ['command_giveaccountmoney_amount'] = "ilość do dodania", + ['command_giveaccountmoney_invalid'] = "nieprawidłowy typ konta", + ['command_giveitem'] = "daj przedmiot graczowi", + ['command_giveitem_item'] = "nazwa przedmiotu", + ['command_giveitem_count'] = "ilość przedimotu", + ['command_giveweapon'] = "daj broń graczowi", + ['command_giveweapon_weapon'] = "nazwa broni", + ['command_giveweapon_ammo'] = "ilość amunicji", + ['command_giveweapon_hasalready'] = "gracz już posiada tą broń", + ['command_giveweaponcomponent'] = "daj komponent do broni graczowi", + ['command_giveweaponcomponent_component'] = "nazwa komponentu", + ['command_giveweaponcomponent_invalid'] = "nieprawidłowy komponent do broni", + ['command_giveweaponcomponent_hasalready'] = "gracz już posiada ten komponent do tej broni", + ['command_giveweaponcomponent_missingweapon'] = "gracz nie posiada tej broni", + ['command_save'] = "zapisz gracza w bazie danych", + ['command_saveall'] = "zapisz wszystkich graczy w bazie danych", + ['command_setaccountmoney'] = "ustaw ilość pieniędzy danego konta dla gracza", + ['command_setaccountmoney_amount'] = "ilość pieniędzy do ustawienia", + ['command_setcoords'] = "teleportuj na koordynaty", + ['command_setcoords_x'] = "x axis", + ['command_setcoords_y'] = "y axis", + ['command_setcoords_z'] = "z axis", + ['command_setjob'] = "ustaw prace dla gracza", + ['command_setjob_job'] = "nazwa pracy", + ['command_setjob_grade'] = "stanowisko w pracy", + ['command_setjob_invalid'] = "praca, stanowisko lub obydwa są nieprawidłowe", + ['command_setgroup'] = "ustaw grupe gracza", + ['command_setgroup_group'] = "nazwa grupy", + ['commanderror_argumentmismatch'] = "nieprawiłowa ilość argumentów (przeszło %s, wymagane %s)", + ['commanderror_argumentmismatch_number'] = "nieprawidłowy typ argumentu #%s (przeszedł tekst, wymagany numer)", + ['commanderror_invaliditem'] = "nieprawidłowa nazwa przedmiotu", + ['commanderror_invalidweapon'] = "nieprawidłowa broń", + ['commanderror_console'] = "podana komenda nie może zostać uruchomiona przez konsole", + ['commanderror_invalidcommand'] = "/%s nie jest poprawną komendą!", + ['commanderror_invalidplayerid'] = "brak dostepnego gracza pasującego do podanego id serwerowego", + ['commandgeneric_playerid'] = "id gracza", + ['command_giveammo_noweapon_found'] = "%s does not have that weapon", + ['command_giveammo_weapon'] = "Weapon name", + ['command_giveammo_ammo'] = "Ammo Quantity", -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '$%s', + ['locale_digit_grouping_symbol'] = ",", + ['locale_currency'] = "$%s", -- Weapons - ['weapon_knife'] = 'nóż', - ['weapon_nightstick'] = 'pałka', - ['weapon_hammer'] = 'młotek', - ['weapon_bat'] = 'kij', - ['weapon_golfclub'] = 'kij golfowy', - ['weapon_crowbar'] = 'łom', - ['weapon_pistol'] = 'pistolet', - ['weapon_combatpistol'] = 'pistolet bojowy', - ['weapon_appistol'] = 'ap pistol', - ['weapon_pistol50'] = 'pistol .50', - ['weapon_microsmg'] = 'micro smg', - ['weapon_smg'] = 'smg', - ['weapon_assaultsmg'] = 'assault smg', - ['weapon_assaultrifle'] = 'assault rifle', - ['weapon_carbinerifle'] = 'carbine rifle', - ['weapon_advancedrifle'] = 'advanced rifle', - ['weapon_mg'] = 'mg', - ['weapon_combatmg'] = 'combat mg', - ['weapon_pumpshotgun'] = 'pump shotgun', - ['weapon_sawnoffshotgun'] = 'sawed off shotgun', - ['weapon_assaultshotgun'] = 'assault shotgun', - ['weapon_bullpupshotgun'] = 'bullpup shotgun', - ['weapon_stungun'] = 'tazer', - ['weapon_sniperrifle'] = 'karabin snajperski', - ['weapon_heavysniper'] = 'ciężki karabin snajperski', - ['weapon_grenadelauncher'] = 'granatnik', - ['weapon_rpg'] = 'wyrzutnia rakiet', - ['weapon_minigun'] = 'minigun', - ['weapon_grenade'] = 'granat', - ['weapon_stickybomb'] = 'ładunek przylepny', - ['weapon_smokegrenade'] = 'granat dymny', - ['weapon_bzgas'] = 'bz gas', - ['weapon_molotov'] = 'koktajl Mołotowa', - ['weapon_fireextinguisher'] = 'gaśnica', - ['weapon_petrolcan'] = 'kanister', - ['weapon_ball'] = 'piłka', - ['weapon_snspistol'] = 'sns pistolet', - ['weapon_bottle'] = 'butelka', - ['weapon_gusenberg'] = 'gusenberg sweeper', - ['weapon_specialcarbine'] = 'special carbine', - ['weapon_heavypistol'] = 'heavy pistol', - ['weapon_bullpuprifle'] = 'karabin wyborowy', - ['weapon_dagger'] = 'sztylet', - ['weapon_vintagepistol'] = 'vintage pistol', - ['weapon_firework'] = 'fajerwerki', - ['weapon_musket'] = 'muszkiet', - ['weapon_heavyshotgun'] = 'ciężki shotgun', - ['weapon_marksmanrifle'] = 'marksman rifle', - ['weapon_hominglauncher'] = 'program uruchamiający', - ['weapon_proxmine'] = 'mina zbliżeniowa', - ['weapon_snowball'] = 'śnieżka', - ['weapon_flaregun'] = 'flara', - ['weapon_combatpdw'] = 'combat pdw', - ['weapon_marksmanpistol'] = 'marksman pistol', - ['weapon_knuckle'] = 'kastety', - ['weapon_hatchet'] = 'toporek', - ['weapon_railgun'] = 'karabin', - ['weapon_machete'] = 'meczeta', - ['weapon_machinepistol'] = 'pistolet maszynowy', - ['weapon_switchblade'] = 'scyzoryk', - ['weapon_revolver'] = 'ciężki rewolwer', - ['weapon_dbshotgun'] = 'dwururka', - ['weapon_compactrifle'] = 'compact rifle', - ['weapon_autoshotgun'] = 'auto shotgun', - ['weapon_battleaxe'] = 'topór bitewny', - ['weapon_compactlauncher'] = 'compact launcher', - ['weapon_minismg'] = 'mini smg', - ['weapon_pipebomb'] = 'bomba rurowa', - ['weapon_poolcue'] = 'kij bilardowy', - ['weapon_wrench'] = 'klucz do rur', - ['weapon_flashlight'] = 'latarka', - ['gadget_parachute'] = 'spadochron', - ['weapon_flare'] = 'pistolet sygnałowy', - ['weapon_doubleaction'] = 'double-Action Revolver', + ['weapon_knife'] = "nóż", + ['weapon_nightstick'] = "pałka", + ['weapon_hammer'] = "młotek", + ['weapon_bat'] = "kij", + ['weapon_golfclub'] = "kij golfowy", + ['weapon_crowbar'] = "łom", + ['weapon_pistol'] = "pistolet", + ['weapon_combatpistol'] = "pistolet bojowy", + ['weapon_appistol'] = "ap pistol", + ['weapon_pistol50'] = "pistol .50", + ['weapon_microsmg'] = "micro smg", + ['weapon_smg'] = "smg", + ['weapon_assaultsmg'] = "assault smg", + ['weapon_assaultrifle'] = "assault rifle", + ['weapon_carbinerifle'] = "carbine rifle", + ['weapon_advancedrifle'] = "advanced rifle", + ['weapon_mg'] = "mg", + ['weapon_combatmg'] = "combat mg", + ['weapon_pumpshotgun'] = "pump shotgun", + ['weapon_sawnoffshotgun'] = "sawed off shotgun", + ['weapon_assaultshotgun'] = "assault shotgun", + ['weapon_bullpupshotgun'] = "bullpup shotgun", + ['weapon_stungun'] = "tazer", + ['weapon_sniperrifle'] = "karabin snajperski", + ['weapon_heavysniper'] = "ciężki karabin snajperski", + ['weapon_grenadelauncher'] = "granatnik", + ['weapon_rpg'] = "wyrzutnia rakiet", + ['weapon_minigun'] = "minigun", + ['weapon_grenade'] = "granat", + ['weapon_stickybomb'] = "ładunek przylepny", + ['weapon_smokegrenade'] = "granat dymny", + ['weapon_bzgas'] = "bz gas", + ['weapon_molotov'] = "koktajl Mołotowa", + ['weapon_fireextinguisher'] = "gaśnica", + ['weapon_petrolcan'] = "kanister", + ['weapon_ball'] = "piłka", + ['weapon_snspistol'] = "sns pistolet", + ['weapon_bottle'] = "butelka", + ['weapon_gusenberg'] = "gusenberg sweeper", + ['weapon_specialcarbine'] = "special carbine", + ['weapon_heavypistol'] = "heavy pistol", + ['weapon_bullpuprifle'] = "karabin wyborowy", + ['weapon_dagger'] = "sztylet", + ['weapon_vintagepistol'] = "vintage pistol", + ['weapon_firework'] = "fajerwerki", + ['weapon_musket'] = "muszkiet", + ['weapon_heavyshotgun'] = "ciężki shotgun", + ['weapon_marksmanrifle'] = "marksman rifle", + ['weapon_hominglauncher'] = "program uruchamiający", + ['weapon_proxmine'] = "mina zbliżeniowa", + ['weapon_snowball'] = "śnieżka", + ['weapon_flaregun'] = "flara", + ['weapon_combatpdw'] = "combat pdw", + ['weapon_marksmanpistol'] = "marksman pistol", + ['weapon_knuckle'] = "kastety", + ['weapon_hatchet'] = "toporek", + ['weapon_railgun'] = "karabin", + ['weapon_machete'] = "meczeta", + ['weapon_machinepistol'] = "pistolet maszynowy", + ['weapon_switchblade'] = "scyzoryk", + ['weapon_revolver'] = "ciężki rewolwer", + ['weapon_dbshotgun'] = "dwururka", + ['weapon_compactrifle'] = "compact rifle", + ['weapon_autoshotgun'] = "auto shotgun", + ['weapon_battleaxe'] = "topór bitewny", + ['weapon_compactlauncher'] = "compact launcher", + ['weapon_minismg'] = "mini smg", + ['weapon_pipebomb'] = "bomba rurowa", + ['weapon_poolcue'] = "kij bilardowy", + ['weapon_wrench'] = "klucz do rur", + ['weapon_flashlight'] = "latarka", + ['gadget_parachute'] = "spadochron", + ['weapon_flare'] = "pistolet sygnałowy", + ['weapon_doubleaction'] = "double-Action Revolver", -- Weapon Components - ['component_clip_default'] = 'domyślny tłumik', - ['component_clip_extended'] = 'rozszerzony tłumik', - ['component_clip_drum'] = 'magazynek bębnowy', - ['component_clip_box'] = 'magazynek', - ['component_flashlight'] = 'latarka', - ['component_scope'] = 'luneta', - ['component_scope_advanced'] = 'zaawansowana luneta', - ['component_suppressor'] = 'tłumik', - ['component_grip'] = 'uchwyt', - ['component_luxary_finish'] = 'luksusowe wykończenie broni', + ['component_clip_default'] = "domyślny tłumik", + ['component_clip_extended'] = "rozszerzony tłumik", + ['component_clip_drum'] = "magazynek bębnowy", + ['component_clip_box'] = "magazynek", + ['component_flashlight'] = "latarka", + ['component_scope'] = "luneta", + ['component_scope_advanced'] = "zaawansowana luneta", + ['component_suppressor'] = "tłumik", + ['component_grip'] = "uchwyt", + ['component_luxary_finish'] = "luksusowe wykończenie broni", -- Weapon Ammo - ['ammo_rounds'] = 'nabój/oi', - ['ammo_shells'] = 'pocisk(ów)', - ['ammo_charge'] = 'naładowania', - ['ammo_petrol'] = 'galon(y) paliwa', - ['ammo_firework'] = 'fajerwerka/i', - ['ammo_rockets'] = 'rakieta/y', - ['ammo_grenadelauncher'] = 'granat(y)', - ['ammo_grenade'] = 'granat(y)', - ['ammo_stickybomb'] = 'bomba/y', - ['ammo_pipebomb'] = 'bomba/y', - ['ammo_smokebomb'] = 'bomba/y', - ['ammo_molotov'] = 'kontail(e)', - ['ammo_proxmine'] = 'mina/y', - ['ammo_bzgas'] = 'puszka/ek', - ['ammo_ball'] = 'kula/e', - ['ammo_snowball'] = 'snieżka/i', - ['ammo_flare'] = 'flara/y', - ['ammo_flaregun'] = 'flara/y', + ['ammo_rounds'] = "nabój/oi", + ['ammo_shells'] = "pocisk(ów)", + ['ammo_charge'] = "naładowania", + ['ammo_petrol'] = "galon(y) paliwa", + ['ammo_firework'] = "fajerwerka/i", + ['ammo_rockets'] = "rakieta/y", + ['ammo_grenadelauncher'] = "granat(y)", + ['ammo_grenade'] = "granat(y)", + ['ammo_stickybomb'] = "bomba/y", + ['ammo_pipebomb'] = "bomba/y", + ['ammo_smokebomb'] = "bomba/y", + ['ammo_molotov'] = "kontail(e)", + ['ammo_proxmine'] = "mina/y", + ['ammo_bzgas'] = "puszka/ek", + ['ammo_ball'] = "kula/e", + ['ammo_snowball'] = "snieżka/i", + ['ammo_flare'] = "flara/y", + ['ammo_flaregun'] = "flara/y", -- Weapon Tints - ['tint_default'] = 'domyślny skin', - ['tint_green'] = 'zielony skin', - ['tint_gold'] = 'złoty skin', - ['tint_pink'] = 'różowy skin', - ['tint_army'] = 'wojskowy skin', - ['tint_lspd'] = 'niebieski skin', - ['tint_orange'] = 'pomarańczowy skin', - ['tint_platinum'] = 'platynowy skin', + ['tint_default'] = "domyślny skin", + ['tint_green'] = "zielony skin", + ['tint_gold'] = "złoty skin", + ['tint_pink'] = "różowy skin", + ['tint_army'] = "wojskowy skin", + ['tint_lspd'] = "niebieski skin", + ['tint_orange'] = "pomarańczowy skin", + ['tint_platinum'] = "platynowy skin", } diff --git a/[core]/es_extended/locales/sl.lua b/[core]/es_extended/locales/sl.lua index 0a0b234c..91fd4a0b 100644 --- a/[core]/es_extended/locales/sl.lua +++ b/[core]/es_extended/locales/sl.lua @@ -1,366 +1,366 @@ Locales['sl'] = { -- Inventory - ['inventory'] = 'Shramba ( Teza %s / %s )', - ['use'] = 'Uporabi', - ['give'] = 'Daj', - ['remove'] = 'Vrzi', - ['return'] = 'Povratek', - ['give_to'] = 'Daj', - ['amount'] = 'Vsota', - ['giveammo'] = 'Daj Strelivo', - ['amountammo'] = 'Količina streliva', - ['noammo'] = 'Ni dovolj!', - ['gave_item'] = 'Dal si %sx %s k %s', - ['received_item'] = 'Dobil si %sx %s od %s', - ['gave_weapon'] = 'Dajanje %s do %s', - ['gave_weapon_ammo'] = 'Dajanje ~o~%sx %s za %s do %s', - ['gave_weapon_withammo'] = 'Dajanje %s z ~o~%sx %s do %s', - ['gave_weapon_hasalready'] = '%s ze ima %s', - ['gave_weapon_noweapon'] = '%s se nima tega orozja', - ['received_weapon'] = 'Dobil si %s od %s', - ['received_weapon_ammo'] = 'Dobil ~o~%sx %s za tvoj/o %s od %s', - ['received_weapon_withammo'] = 'Dobil si %s z ~o~%sx %s od %s', - ['received_weapon_hasalready'] = '%s vam je poskušal dati %s, vendar že imate to orožje', - ['received_weapon_noweapon'] = '%s vam je poskušal dati strelivo za %s, vendar nimate tega orožja', - ['gave_account_money'] = 'Dajanje $%s (%s) do %s', - ['received_account_money'] = 'Dobil $%s (%s) od %s', - ['amount_invalid'] = 'Neveljavna količina', - ['players_nearby'] = 'V blizini ni ljudi', - ['ex_inv_lim'] = 'Dejanja ni mogoče izvesti, saj presega največjo težo %s', - ['imp_invalid_quantity'] = 'Dejanja ni mogoče izvesti, količina je neveljavna', - ['imp_invalid_amount'] = 'Dejanja ni mogoče izvesti, znesek je neveljaven', - ['threw_standard'] = 'Metanje %sx %s', - ['threw_account'] = 'Metanje $%s %s', - ['threw_weapon'] = 'Metanje %s', - ['threw_weapon_ammo'] = 'Metanje %s z ~o~%sx %s', - ['threw_weapon_already'] = 'Ti ze imas to orozje', - ['threw_cannot_pickup'] = 'Shramba je poln, nemorem pobrati!', - ['threw_pickup_prompt'] = 'Pritisni E da poberes', + ['inventory'] = "Shramba ( Teza %s / %s )", + ['use'] = "Uporabi", + ['give'] = "Daj", + ['remove'] = "Vrzi", + ['return'] = "Povratek", + ['give_to'] = "Daj", + ['amount'] = "Vsota", + ['giveammo'] = "Daj Strelivo", + ['amountammo'] = "Količina streliva", + ['noammo'] = "Ni dovolj!", + ['gave_item'] = "Dal si %sx %s k %s", + ['received_item'] = "Dobil si %sx %s od %s", + ['gave_weapon'] = "Dajanje %s do %s", + ['gave_weapon_ammo'] = "Dajanje ~o~%sx %s za %s do %s", + ['gave_weapon_withammo'] = "Dajanje %s z ~o~%sx %s do %s", + ['gave_weapon_hasalready'] = "%s ze ima %s", + ['gave_weapon_noweapon'] = "%s se nima tega orozja", + ['received_weapon'] = "Dobil si %s od %s", + ['received_weapon_ammo'] = "Dobil ~o~%sx %s za tvoj/o %s od %s", + ['received_weapon_withammo'] = "Dobil si %s z ~o~%sx %s od %s", + ['received_weapon_hasalready'] = "%s vam je poskušal dati %s, vendar že imate to orožje", + ['received_weapon_noweapon'] = "%s vam je poskušal dati strelivo za %s, vendar nimate tega orožja", + ['gave_account_money'] = "Dajanje $%s (%s) do %s", + ['received_account_money'] = "Dobil $%s (%s) od %s", + ['amount_invalid'] = "Neveljavna količina", + ['players_nearby'] = "V blizini ni ljudi", + ['ex_inv_lim'] = "Dejanja ni mogoče izvesti, saj presega največjo težo %s", + ['imp_invalid_quantity'] = "Dejanja ni mogoče izvesti, količina je neveljavna", + ['imp_invalid_amount'] = "Dejanja ni mogoče izvesti, znesek je neveljaven", + ['threw_standard'] = "Metanje %sx %s", + ['threw_account'] = "Metanje $%s %s", + ['threw_weapon'] = "Metanje %s", + ['threw_weapon_ammo'] = "Metanje %s z ~o~%sx %s", + ['threw_weapon_already'] = "Ti ze imas to orozje", + ['threw_cannot_pickup'] = "Shramba je poln, nemorem pobrati!", + ['threw_pickup_prompt'] = "Pritisni E da poberes", -- Key mapping - ['keymap_showinventory'] = 'Pokazi Shrambo', + ['keymap_showinventory'] = "Pokazi Shrambo", -- Salary related - ['received_salary'] = 'Vi ste plačali: $%s', - ['received_help'] = 'Vi ste placali svoj CEK v vrednosti: $%s', - ['company_nomoney'] = 'podjetje, v katerem ste zaposleni, je prerevno, da bi vam izplačevalo plačo', - ['received_paycheck'] = 'Prejel si Placilo', - ['bank'] = 'NLB', - ['account_bank'] = 'Banka', - ['account_black_money'] = 'Umazan Denar', - ['account_money'] = 'Denar', + ['received_salary'] = "Vi ste plačali: $%s", + ['received_help'] = "Vi ste placali svoj CEK v vrednosti: $%s", + ['company_nomoney'] = "podjetje, v katerem ste zaposleni, je prerevno, da bi vam izplačevalo plačo", + ['received_paycheck'] = "Prejel si Placilo", + ['bank'] = "NLB", + ['account_bank'] = "Banka", + ['account_black_money'] = "Umazan Denar", + ['account_money'] = "Denar", - ['act_imp'] = 'Dejanja ni mogoče izvesti', - ['in_vehicle'] = 'Dejanja ni mogoče izvesti, Oseba je v vozilu', + ['act_imp'] = "Dejanja ni mogoče izvesti", + ['in_vehicle'] = "Dejanja ni mogoče izvesti, Oseba je v vozilu", -- Commands - ['command_bring'] = 'Teleportiraj osebo do sebe', - ['command_car'] = 'Spawnaj si vozilo', - ['command_car_car'] = 'Koda vozila', - ['command_cardel'] = 'Odstranite vozila v bližini', - ['command_cardel_radius'] = 'Odstrani vsa vozila v določenem radiju', - ['command_clear'] = 'Odstrani vsa sporocila v CHATU', - ['command_clearall'] = 'Počisti besedilo klepeta za vse igralce', - ['command_clearinventory'] = 'Vzemi vse stvari iz osebove shrambe', - ['command_clearloadout'] = 'Odstranite vse orožje iz nalaganja igralcev', - ['command_freeze'] = 'Zmrzni osebno', - ['command_unfreeze'] = 'Odmrzni osebo', - ['command_giveaccountmoney'] = 'Poslji denar na dolocen Bancni racun', - ['command_giveaccountmoney_account'] = 'Račun za dodajanje', - ['command_giveaccountmoney_amount'] = 'Znesek za dodajanje', - ['command_giveaccountmoney_invalid'] = 'Ime računa je neveljavno', - ['command_giveitem'] = 'Daj osebi neko stvar', - ['command_giveitem_item'] = 'Ime Stvari', - ['command_giveitem_count'] = 'Kolicina', - ['command_giveweapon'] = 'Daj osebi orozje', - ['command_giveweapon_weapon'] = 'Ime orozja', - ['command_giveweapon_ammo'] = 'Kolicina', - ['command_giveweapon_hasalready'] = 'Oseba ze ima to orozje!', - ['command_giveweaponcomponent'] = 'Daj komponento orožja igralcu', - ['command_giveweaponcomponent_component'] = 'Ime Komponente', - ['command_giveweaponcomponent_invalid'] = 'Neveljavna komponenta orožja', - ['command_giveweaponcomponent_hasalready'] = 'Oseba ze ima to komponento', - ['command_giveweaponcomponent_missingweapon'] = 'Oseba nima tega orozja!', - ['command_goto'] = 'Teleportirajte se k igralcu', - ['command_kill'] = 'Ubij igralca', - ['command_save'] = 'Prisilno shrani podatke igralca!', - ['command_saveall'] = 'Prisilno shrani vse podatke igralca', - ['command_setaccountmoney'] = 'Nastavite denar znotraj dolocenega racuna', - ['command_setaccountmoney_amount'] = 'Znesek', - ['command_setcoords'] = 'Teleport na dolocene koordinate', - ['command_setcoords_x'] = 'Vrednost X', - ['command_setcoords_y'] = 'Vrednost Y', - ['command_setcoords_z'] = 'Z vrednost', - ['command_setjob'] = 'Nastavi opravilo igralca', - ['command_setjob_job'] = 'Ime', - ['command_setjob_grade'] = 'Delovna ocena', - ['command_setjob_invalid'] = 'delovno mesto, ocena ali oboje ni veljavno', - ['command_setgroup'] = 'Nastavi skupino dovoljenj igralcev', - ['command_setgroup_group'] = 'Ime skupine', - ['commanderror_argumentmismatch'] = 'Neveljavno stetje argumentov (podano %s, zeleno %s)', - ['commanderror_argumentmismatch_number'] = 'Neveljaven podatkovni tip argumenta #%s (posredovan niz, zeleno stevilo)', - ['commanderror_invaliditem'] = 'Neveljaven element', - ['commanderror_invalidweapon'] = 'Neveljavno orozje', - ['commanderror_console'] = 'Ukaza ni mogoce izvesti s konzole', - ['commanderror_invalidcommand'] = 'Neveljaven ukaz - /%s', - ['commanderror_invalidplayerid'] = 'Naveden igralec ni na spletu', - ['commandgeneric_playerid'] = 'Id streznika igralca', - ['command_giveammo_noweapon_found'] = '%s nima tega orozja', - ['command_giveammo_weapon'] = 'Ime orozja', - ['command_giveammo_ammo'] = 'Kolicina streliva', - ['tpm_nowaypoint'] = 'Ni nastavljene poti!.', - ['tpm_success'] = 'Uspesno teleportiran', + ['command_bring'] = "Teleportiraj osebo do sebe", + ['command_car'] = "Spawnaj si vozilo", + ['command_car_car'] = "Koda vozila", + ['command_cardel'] = "Odstranite vozila v bližini", + ['command_cardel_radius'] = "Odstrani vsa vozila v določenem radiju", + ['command_clear'] = "Odstrani vsa sporocila v CHATU", + ['command_clearall'] = "Počisti besedilo klepeta za vse igralce", + ['command_clearinventory'] = "Vzemi vse stvari iz osebove shrambe", + ['command_clearloadout'] = "Odstranite vse orožje iz nalaganja igralcev", + ['command_freeze'] = "Zmrzni osebno", + ['command_unfreeze'] = "Odmrzni osebo", + ['command_giveaccountmoney'] = "Poslji denar na dolocen Bancni racun", + ['command_giveaccountmoney_account'] = "Račun za dodajanje", + ['command_giveaccountmoney_amount'] = "Znesek za dodajanje", + ['command_giveaccountmoney_invalid'] = "Ime računa je neveljavno", + ['command_giveitem'] = "Daj osebi neko stvar", + ['command_giveitem_item'] = "Ime Stvari", + ['command_giveitem_count'] = "Kolicina", + ['command_giveweapon'] = "Daj osebi orozje", + ['command_giveweapon_weapon'] = "Ime orozja", + ['command_giveweapon_ammo'] = "Kolicina", + ['command_giveweapon_hasalready'] = "Oseba ze ima to orozje!", + ['command_giveweaponcomponent'] = "Daj komponento orožja igralcu", + ['command_giveweaponcomponent_component'] = "Ime Komponente", + ['command_giveweaponcomponent_invalid'] = "Neveljavna komponenta orožja", + ['command_giveweaponcomponent_hasalready'] = "Oseba ze ima to komponento", + ['command_giveweaponcomponent_missingweapon'] = "Oseba nima tega orozja!", + ['command_goto'] = "Teleportirajte se k igralcu", + ['command_kill'] = "Ubij igralca", + ['command_save'] = "Prisilno shrani podatke igralca!", + ['command_saveall'] = "Prisilno shrani vse podatke igralca", + ['command_setaccountmoney'] = "Nastavite denar znotraj dolocenega racuna", + ['command_setaccountmoney_amount'] = "Znesek", + ['command_setcoords'] = "Teleport na dolocene koordinate", + ['command_setcoords_x'] = "Vrednost X", + ['command_setcoords_y'] = "Vrednost Y", + ['command_setcoords_z'] = "Z vrednost", + ['command_setjob'] = "Nastavi opravilo igralca", + ['command_setjob_job'] = "Ime", + ['command_setjob_grade'] = "Delovna ocena", + ['command_setjob_invalid'] = "delovno mesto, ocena ali oboje ni veljavno", + ['command_setgroup'] = "Nastavi skupino dovoljenj igralcev", + ['command_setgroup_group'] = "Ime skupine", + ['commanderror_argumentmismatch'] = "Neveljavno stetje argumentov (podano %s, zeleno %s)", + ['commanderror_argumentmismatch_number'] = "Neveljaven podatkovni tip argumenta #%s (posredovan niz, zeleno stevilo)", + ['commanderror_invaliditem'] = "Neveljaven element", + ['commanderror_invalidweapon'] = "Neveljavno orozje", + ['commanderror_console'] = "Ukaza ni mogoce izvesti s konzole", + ['commanderror_invalidcommand'] = "Neveljaven ukaz - /%s", + ['commanderror_invalidplayerid'] = "Naveden igralec ni na spletu", + ['commandgeneric_playerid'] = "Id streznika igralca", + ['command_giveammo_noweapon_found'] = "%s nima tega orozja", + ['command_giveammo_weapon'] = "Ime orozja", + ['command_giveammo_ammo'] = "Kolicina streliva", + ['tpm_nowaypoint'] = "Ni nastavljene poti!.", + ['tpm_success'] = "Uspesno teleportiran", - ['noclip_message'] = 'Noclip je bil %s', - ['enabled'] = '~g~Vkljucen~s~', - ['disabled'] = '~r~Izkljucen~s~', + ['noclip_message'] = "Noclip je bil %s", + ['enabled'] = "~g~Vkljucen~s~", + ['disabled'] = "~r~Izkljucen~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '€%s', + ['locale_digit_grouping_symbol'] = ",", + ['locale_currency'] = "€%s", -- Weapons -- Melee - ['weapon_dagger'] = 'Dagger', - ['weapon_bat'] = 'Bat', - ['weapon_battleaxe'] = 'Battle Axe', - ['weapon_bottle'] = 'Bottle', - ['weapon_crowbar'] = 'Crowbar', - ['weapon_flashlight'] = 'Flashlight', - ['weapon_golfclub'] = 'Golf Club', - ['weapon_hammer'] = 'Hammer', - ['weapon_hatchet'] = 'Hatchet', - ['weapon_knife'] = 'Knife', - ['weapon_knuckle'] = 'Knuckledusters', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Nightstick', - ['weapon_wrench'] = 'Pipe Wrench', - ['weapon_poolcue'] = 'Pool Cue', - ['weapon_stone_hatchet'] = 'Stone Hatchet', - ['weapon_switchblade'] = 'Switchblade', + ['weapon_dagger'] = "Dagger", + ['weapon_bat'] = "Bat", + ['weapon_battleaxe'] = "Battle Axe", + ['weapon_bottle'] = "Bottle", + ['weapon_crowbar'] = "Crowbar", + ['weapon_flashlight'] = "Flashlight", + ['weapon_golfclub'] = "Golf Club", + ['weapon_hammer'] = "Hammer", + ['weapon_hatchet'] = "Hatchet", + ['weapon_knife'] = "Knife", + ['weapon_knuckle'] = "Knuckledusters", + ['weapon_machete'] = "Machete", + ['weapon_nightstick'] = "Nightstick", + ['weapon_wrench'] = "Pipe Wrench", + ['weapon_poolcue'] = "Pool Cue", + ['weapon_stone_hatchet'] = "Stone Hatchet", + ['weapon_switchblade'] = "Switchblade", -- Handguns - ['weapon_appistol'] = 'AP Pistol', - ['weapon_ceramicpistol'] = 'Ceramic Pistol', - ['weapon_combatpistol'] = 'Combat Pistol', - ['weapon_doubleaction'] = 'Double-Action Revolver', - ['weapon_navyrevolver'] = 'Navy Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadget Pistol', - ['weapon_heavypistol'] = 'Heavy Pistol', - ['weapon_revolver'] = 'Heavy Revolver', - ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', - ['weapon_marksmanpistol'] = 'Marksman Pistol', - ['weapon_pistol'] = 'Pistol', - ['weapon_pistol_mk2'] = 'Pistol MK2', - ['weapon_pistol50'] = 'Pistol .50', - ['weapon_snspistol'] = 'SNS Pistol', - ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintage Pistol', + ['weapon_appistol'] = "AP Pistol", + ['weapon_ceramicpistol'] = "Ceramic Pistol", + ['weapon_combatpistol'] = "Combat Pistol", + ['weapon_doubleaction'] = "Double-Action Revolver", + ['weapon_navyrevolver'] = "Navy Revolver", + ['weapon_flaregun'] = "Flaregun", + ['weapon_gadgetpistol'] = "Gadget Pistol", + ['weapon_heavypistol'] = "Heavy Pistol", + ['weapon_revolver'] = "Heavy Revolver", + ['weapon_revolver_mk2'] = "Heavy Revolver MK2", + ['weapon_marksmanpistol'] = "Marksman Pistol", + ['weapon_pistol'] = "Pistol", + ['weapon_pistol_mk2'] = "Pistol MK2", + ['weapon_pistol50'] = "Pistol .50", + ['weapon_snspistol'] = "SNS Pistol", + ['weapon_snspistol_mk2'] = "SNS Pistol MK2", + ['weapon_stungun'] = "Taser", + ['weapon_raypistol'] = "Up-N-Atomizer", + ['weapon_vintagepistol'] = "Vintage Pistol", -- Shotguns - ['weapon_assaultshotgun'] = 'Assault Shotgun', - ['weapon_autoshotgun'] = 'Auto Shotgun', - ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', - ['weapon_combatshotgun'] = 'Combat Shotgun', - ['weapon_dbshotgun'] = 'Double Barrel Shotgun', - ['weapon_heavyshotgun'] = 'Heavy Shotgun', - ['weapon_musket'] = 'Musket', - ['weapon_pumpshotgun'] = 'Pump Shotgun', - ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', - ['weapon_sawnoffshotgun'] = 'Sawed Off Shotgun', + ['weapon_assaultshotgun'] = "Assault Shotgun", + ['weapon_autoshotgun'] = "Auto Shotgun", + ['weapon_bullpupshotgun'] = "Bullpup Shotgun", + ['weapon_combatshotgun'] = "Combat Shotgun", + ['weapon_dbshotgun'] = "Double Barrel Shotgun", + ['weapon_heavyshotgun'] = "Heavy Shotgun", + ['weapon_musket'] = "Musket", + ['weapon_pumpshotgun'] = "Pump Shotgun", + ['weapon_pumpshotgun_mk2'] = "Pump Shotgun MK2", + ['weapon_sawnoffshotgun'] = "Sawed Off Shotgun", -- SMG & LMG - ['weapon_assaultsmg'] = 'Assault SMG', - ['weapon_combatmg'] = 'Combat MG', - ['weapon_combatmg_mk2'] = 'Combat MG MK2', - ['weapon_combatpdw'] = 'Combat PDW', - ['weapon_gusenberg'] = 'Gusenberg Sweeper', - ['weapon_machinepistol'] = 'Machine Pistol', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Micro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Unholy Hellbringer', + ['weapon_assaultsmg'] = "Assault SMG", + ['weapon_combatmg'] = "Combat MG", + ['weapon_combatmg_mk2'] = "Combat MG MK2", + ['weapon_combatpdw'] = "Combat PDW", + ['weapon_gusenberg'] = "Gusenberg Sweeper", + ['weapon_machinepistol'] = "Machine Pistol", + ['weapon_mg'] = "MG", + ['weapon_microsmg'] = "Micro SMG", + ['weapon_minismg'] = "Mini SMG", + ['weapon_smg'] = "SMG", + ['weapon_smg_mk2'] = "SMG MK2", + ['weapon_raycarbine'] = "Unholy Hellbringer", -- Rifles - ['weapon_advancedrifle'] = 'Advanced Rifle', - ['weapon_assaultrifle'] = 'Assault Rifle', - ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', - ['weapon_bullpuprifle'] = 'Bullpup Rifle', - ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', - ['weapon_carbinerifle'] = 'Carbine Rifle', - ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', - ['weapon_compactrifle'] = 'Compact Rifle', - ['weapon_militaryrifle'] = 'Military Rifle', - ['weapon_specialcarbine'] = 'Special Carbine', - ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', + ['weapon_advancedrifle'] = "Advanced Rifle", + ['weapon_assaultrifle'] = "Assault Rifle", + ['weapon_assaultrifle_mk2'] = "Assault Rifle MK2", + ['weapon_bullpuprifle'] = "Bullpup Rifle", + ['weapon_bullpuprifle_mk2'] = "Bullpup Rifle MK2", + ['weapon_carbinerifle'] = "Carbine Rifle", + ['weapon_carbinerifle_mk2'] = "Carbine Rifle MK2", + ['weapon_compactrifle'] = "Compact Rifle", + ['weapon_militaryrifle'] = "Military Rifle", + ['weapon_specialcarbine'] = "Special Carbine", + ['weapon_specialcarbine_mk2'] = "Special Carbine MK2", -- Sniper - ['weapon_heavysniper'] = 'Heavy Sniper', - ['weapon_heavysniper_mk2'] = 'Heavy Sniper MK2', - ['weapon_marksmanrifle'] = 'Marksman Rifle', - ['weapon_marksmanrifle_mk2'] = 'Marksman Rifle MK2', - ['weapon_sniperrifle'] = 'Sniper Rifle', + ['weapon_heavysniper'] = "Heavy Sniper", + ['weapon_heavysniper_mk2'] = "Heavy Sniper MK2", + ['weapon_marksmanrifle'] = "Marksman Rifle", + ['weapon_marksmanrifle_mk2'] = "Marksman Rifle MK2", + ['weapon_sniperrifle'] = "Sniper Rifle", -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Compact Launcher', - ['weapon_firework'] = 'Firework Launcher', - ['weapon_grenadelauncher'] = 'Grenade Launcher', - ['weapon_hominglauncher'] = 'Homing Launcher', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Rocket Launcher', - ['weapon_rayminigun'] = 'Widowmaker', + ['weapon_compactlauncher'] = "Compact Launcher", + ['weapon_firework'] = "Firework Launcher", + ['weapon_grenadelauncher'] = "Grenade Launcher", + ['weapon_hominglauncher'] = "Homing Launcher", + ['weapon_minigun'] = "Minigun", + ['weapon_railgun'] = "Railgun", + ['weapon_rpg'] = "Rocket Launcher", + ['weapon_rayminigun'] = "Widowmaker", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Metal Detector', - ['weapon_precisionrifle'] = 'Precision Rifle', - ['weapon_tactilerifle'] = 'Service Carbine', + ['weapon_metaldetector'] = "Metal Detector", + ['weapon_precisionrifle'] = "Precision Rifle", + ['weapon_tactilerifle'] = "Service Carbine", -- Thrown - ['weapon_ball'] = 'Baseball', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_flare'] = 'Flare', - ['weapon_grenade'] = 'Grenade', - ['weapon_petrolcan'] = 'Jerrycan', - ['weapon_hazardcan'] = 'Hazardous Jerrycan', - ['weapon_molotov'] = 'Molotov Cocktail', - ['weapon_proxmine'] = 'Proximity Mine', - ['weapon_pipebomb'] = 'Pipe Bomb', - ['weapon_snowball'] = 'Snowball', - ['weapon_stickybomb'] = 'Sticky Bomb', - ['weapon_smokegrenade'] = 'Tear Gas', + ['weapon_ball'] = "Baseball", + ['weapon_bzgas'] = "BZ Gas", + ['weapon_flare'] = "Flare", + ['weapon_grenade'] = "Grenade", + ['weapon_petrolcan'] = "Jerrycan", + ['weapon_hazardcan'] = "Hazardous Jerrycan", + ['weapon_molotov'] = "Molotov Cocktail", + ['weapon_proxmine'] = "Proximity Mine", + ['weapon_pipebomb'] = "Pipe Bomb", + ['weapon_snowball'] = "Snowball", + ['weapon_stickybomb'] = "Sticky Bomb", + ['weapon_smokegrenade'] = "Tear Gas", -- Special - ['weapon_fireextinguisher'] = 'Fire Extinguisher', - ['weapon_digiscanner'] = 'Digital Scanner', - ['weapon_garbagebag'] = 'Garbage Bag', - ['weapon_handcuffs'] = 'Handcuffs', - ['gadget_nightvision'] = 'Night Vision', - ['gadget_parachute'] = 'parachute', + ['weapon_fireextinguisher'] = "Fire Extinguisher", + ['weapon_digiscanner'] = "Digital Scanner", + ['weapon_garbagebag'] = "Garbage Bag", + ['weapon_handcuffs'] = "Handcuffs", + ['gadget_nightvision'] = "Night Vision", + ['gadget_parachute'] = "parachute", -- Weapon Components - ['component_knuckle_base'] = 'base Model', - ['component_knuckle_pimp'] = 'the Pimp', - ['component_knuckle_ballas'] = 'the Ballas', - ['component_knuckle_dollar'] = 'the Hustler', - ['component_knuckle_diamond'] = 'the Rock', - ['component_knuckle_hate'] = 'the Hater', - ['component_knuckle_love'] = 'the Lover', - ['component_knuckle_player'] = 'the Player', - ['component_knuckle_king'] = 'the King', - ['component_knuckle_vagos'] = 'the Vagos', + ['component_knuckle_base'] = "base Model", + ['component_knuckle_pimp'] = "the Pimp", + ['component_knuckle_ballas'] = "the Ballas", + ['component_knuckle_dollar'] = "the Hustler", + ['component_knuckle_diamond'] = "the Rock", + ['component_knuckle_hate'] = "the Hater", + ['component_knuckle_love'] = "the Lover", + ['component_knuckle_player'] = "the Player", + ['component_knuckle_king'] = "the King", + ['component_knuckle_vagos'] = "the Vagos", - ['component_luxary_finish'] = 'luxary Weapon Finish', + ['component_luxary_finish'] = "luxary Weapon Finish", - ['component_handle_default'] = 'default Handle', - ['component_handle_vip'] = 'vIP Handle', - ['component_handle_bodyguard'] = 'bodyguard Handle', + ['component_handle_default'] = "default Handle", + ['component_handle_vip'] = "vIP Handle", + ['component_handle_bodyguard'] = "bodyguard Handle", - ['component_vip_finish'] = 'vIP Finish', - ['component_bodyguard_finish'] = 'bodyguard Finish', + ['component_vip_finish'] = "vIP Finish", + ['component_bodyguard_finish'] = "bodyguard Finish", - ['component_camo_finish'] = 'digital Camo', - ['component_camo_finish2'] = 'brushstroke Camo', - ['component_camo_finish3'] = 'woodland Camo', - ['component_camo_finish4'] = 'skull Camo', - ['component_camo_finish5'] = 'sessanta Nove Camo', - ['component_camo_finish6'] = 'perseus Camo', - ['component_camo_finish7'] = 'leopard Camo', - ['component_camo_finish8'] = 'zebra Camo', - ['component_camo_finish9'] = 'geometric Camo', - ['component_camo_finish10'] = 'boom Camo', - ['component_camo_finish11'] = 'patriotic Camo', + ['component_camo_finish'] = "digital Camo", + ['component_camo_finish2'] = "brushstroke Camo", + ['component_camo_finish3'] = "woodland Camo", + ['component_camo_finish4'] = "skull Camo", + ['component_camo_finish5'] = "sessanta Nove Camo", + ['component_camo_finish6'] = "perseus Camo", + ['component_camo_finish7'] = "leopard Camo", + ['component_camo_finish8'] = "zebra Camo", + ['component_camo_finish9'] = "geometric Camo", + ['component_camo_finish10'] = "boom Camo", + ['component_camo_finish11'] = "patriotic Camo", - ['component_camo_slide_finish'] = 'digital Slide Camo', - ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', - ['component_camo_slide_finish3'] = 'woodland Slide Camo', - ['component_camo_slide_finish4'] = 'skull Slide Camo', - ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', - ['component_camo_slide_finish6'] = 'perseus Slide Camo', - ['component_camo_slide_finish7'] = 'leopard Slide Camo', - ['component_camo_slide_finish8'] = 'zebra Slide Camo', - ['component_camo_slide_finish9'] = 'geometric Slide Camo', - ['component_camo_slide_finish10'] = 'boom Slide Camo', - ['component_camo_slide_finish11'] = 'patriotic Slide Camo', + ['component_camo_slide_finish'] = "digital Slide Camo", + ['component_camo_slide_finish2'] = "brushstroke Slide Camo", + ['component_camo_slide_finish3'] = "woodland Slide Camo", + ['component_camo_slide_finish4'] = "skull Slide Camo", + ['component_camo_slide_finish5'] = "sessanta Nove Slide Camo", + ['component_camo_slide_finish6'] = "perseus Slide Camo", + ['component_camo_slide_finish7'] = "leopard Slide Camo", + ['component_camo_slide_finish8'] = "zebra Slide Camo", + ['component_camo_slide_finish9'] = "geometric Slide Camo", + ['component_camo_slide_finish10'] = "boom Slide Camo", + ['component_camo_slide_finish11'] = "patriotic Slide Camo", - ['component_clip_default'] = 'default Magazine', - ['component_clip_extended'] = 'extended Magazine', - ['component_clip_drum'] = 'drum Magazine', - ['component_clip_box'] = 'box Magazine', + ['component_clip_default'] = "default Magazine", + ['component_clip_extended'] = "extended Magazine", + ['component_clip_drum'] = "drum Magazine", + ['component_clip_box'] = "box Magazine", - ['component_scope_holo'] = 'holographic Scope', - ['component_scope_small'] = 'small Scope', - ['component_scope_medium'] = 'medium Scope', - ['component_scope_large'] = 'large Scope', - ['component_scope'] = 'mounted Scope', - ['component_scope_advanced'] = 'advanced Scope', - ['component_ironsights'] = 'ironsights', + ['component_scope_holo'] = "holographic Scope", + ['component_scope_small'] = "small Scope", + ['component_scope_medium'] = "medium Scope", + ['component_scope_large'] = "large Scope", + ['component_scope'] = "mounted Scope", + ['component_scope_advanced'] = "advanced Scope", + ['component_ironsights'] = "ironsights", - ['component_suppressor'] = 'suppressor', - ['component_compensator'] = 'compensator', + ['component_suppressor'] = "suppressor", + ['component_compensator'] = "compensator", - ['component_muzzle_flat'] = 'flat Muzzle Brake', - ['component_muzzle_tactical'] = 'tactical Muzzle Brake', - ['component_muzzle_fat'] = 'fat-End Muzzle Brake', - ['component_muzzle_precision'] = 'precision Muzzle Brake', - ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', - ['component_muzzle_slanted'] = 'slanted Muzzle Brake', - ['component_muzzle_split'] = 'split-End Muzzle Brake', - ['component_muzzle_squared'] = 'squared Muzzle Brake', + ['component_muzzle_flat'] = "flat Muzzle Brake", + ['component_muzzle_tactical'] = "tactical Muzzle Brake", + ['component_muzzle_fat'] = "fat-End Muzzle Brake", + ['component_muzzle_precision'] = "precision Muzzle Brake", + ['component_muzzle_heavy'] = "heavy Duty Muzzle Brake", + ['component_muzzle_slanted'] = "slanted Muzzle Brake", + ['component_muzzle_split'] = "split-End Muzzle Brake", + ['component_muzzle_squared'] = "squared Muzzle Brake", - ['component_flashlight'] = 'flashlight', - ['component_grip'] = 'grip', + ['component_flashlight'] = "flashlight", + ['component_grip'] = "grip", - ['component_barrel_default'] = 'default Barrel', - ['component_barrel_heavy'] = 'heavy Barrel', + ['component_barrel_default'] = "default Barrel", + ['component_barrel_heavy'] = "heavy Barrel", - ['component_ammo_tracer'] = 'tracer Ammo', - ['component_ammo_incendiary'] = 'incendiary Ammo', - ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', - ['component_ammo_fmj'] = 'fMJ Ammo', - ['component_ammo_armor'] = 'armor Piercing Ammo', - ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', + ['component_ammo_tracer'] = "tracer Ammo", + ['component_ammo_incendiary'] = "incendiary Ammo", + ['component_ammo_hollowpoint'] = "hollowpoint Ammo", + ['component_ammo_fmj'] = "fMJ Ammo", + ['component_ammo_armor'] = "armor Piercing Ammo", + ['component_ammo_explosive'] = "armor Piercing Incendiary Ammo", - ['component_shells_default'] = 'default Shells', - ['component_shells_incendiary'] = 'dragons Breath Shells', - ['component_shells_armor'] = 'steel Buckshot Shells', - ['component_shells_hollowpoint'] = 'flechette Shells', - ['component_shells_explosive'] = 'explosive Slug Shells', + ['component_shells_default'] = "default Shells", + ['component_shells_incendiary'] = "dragons Breath Shells", + ['component_shells_armor'] = "steel Buckshot Shells", + ['component_shells_hollowpoint'] = "flechette Shells", + ['component_shells_explosive'] = "explosive Slug Shells", -- Weapon Ammo - ['ammo_rounds'] = 'round(s)', - ['ammo_shells'] = 'shell(s)', - ['ammo_charge'] = 'charge', - ['ammo_petrol'] = 'gallons of fuel', - ['ammo_firework'] = 'firework(s)', - ['ammo_rockets'] = 'rocket(s)', - ['ammo_grenadelauncher'] = 'grenade(s)', - ['ammo_grenade'] = 'grenade(s)', - ['ammo_stickybomb'] = 'bomb(s)', - ['ammo_pipebomb'] = 'bomb(s)', - ['ammo_smokebomb'] = 'bomb(s)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mine(s)', - ['ammo_bzgas'] = 'can(s)', - ['ammo_ball'] = 'ball(s)', - ['ammo_snowball'] = 'snowball(s)', - ['ammo_flare'] = 'flare(s)', - ['ammo_flaregun'] = 'flare(s)', + ['ammo_rounds'] = "round(s)", + ['ammo_shells'] = "shell(s)", + ['ammo_charge'] = "charge", + ['ammo_petrol'] = "gallons of fuel", + ['ammo_firework'] = "firework(s)", + ['ammo_rockets'] = "rocket(s)", + ['ammo_grenadelauncher'] = "grenade(s)", + ['ammo_grenade'] = "grenade(s)", + ['ammo_stickybomb'] = "bomb(s)", + ['ammo_pipebomb'] = "bomb(s)", + ['ammo_smokebomb'] = "bomb(s)", + ['ammo_molotov'] = "cocktail(s)", + ['ammo_proxmine'] = "mine(s)", + ['ammo_bzgas'] = "can(s)", + ['ammo_ball'] = "ball(s)", + ['ammo_snowball'] = "snowball(s)", + ['ammo_flare'] = "flare(s)", + ['ammo_flaregun'] = "flare(s)", -- Weapon Tints - ['tint_default'] = 'default skin', - ['tint_green'] = 'green skin', - ['tint_gold'] = 'gold skin', - ['tint_pink'] = 'pink skin', - ['tint_army'] = 'army skin', - ['tint_lspd'] = 'blue skin', - ['tint_orange'] = 'orange skin', - ['tint_platinum'] = 'platinum skin', + ['tint_default'] = "default skin", + ['tint_green'] = "green skin", + ['tint_gold'] = "gold skin", + ['tint_pink'] = "pink skin", + ['tint_army'] = "army skin", + ['tint_lspd'] = "blue skin", + ['tint_orange'] = "orange skin", + ['tint_platinum'] = "platinum skin", } \ No newline at end of file diff --git a/[core]/es_extended/locales/sr.lua b/[core]/es_extended/locales/sr.lua index 69a589b1..29660ede 100644 --- a/[core]/es_extended/locales/sr.lua +++ b/[core]/es_extended/locales/sr.lua @@ -1,365 +1,365 @@ Locales['sr'] = { -- Inventory - ['inventory'] = 'Inventar ( Težina %s / %s )', - ['use'] = 'Koristi', - ['give'] = 'Daj', - ['remove'] = 'Baci', - ['return'] = 'Nazad', - ['give_to'] = 'Daj', - ['amount'] = 'Količina', - ['giveammo'] = 'Daj municiju', - ['amountammo'] = 'Količina municije', - ['noammo'] = 'Nemate dovoljno!', - ['gave_item'] = 'Davanje %sx %s igraču %s', - ['received_item'] = 'Dobijeno %sx %s od %s', - ['gave_weapon'] = 'Davanje %s igraču %s', - ['gave_weapon_ammo'] = 'Davanje ~o~%sx %s za %s igraču %s', - ['gave_weapon_withammo'] = 'Davanje %s sa ~o~%sx %s igraču %s', - ['gave_weapon_hasalready'] = '%s već ima %s', - ['gave_weapon_noweapon'] = '%s nema to oružje', - ['received_weapon'] = 'Dobijeno %s od %s', - ['received_weapon_ammo'] = 'Dobijeno ~o~%sx %s za vaš %s od %s', - ['received_weapon_withammo'] = 'Dobijeno %s sa ~o~%sx %s od %s', - ['received_weapon_hasalready'] = '%s je pokušao da Vam da %s, ali vi već imate to oružje', - ['received_weapon_noweapon'] = '%s je pokušao da Vam da municiju za %s, ali vi nemate to oružje', - ['gave_account_money'] = 'Davanje $%s (%s) igraču %s', - ['received_account_money'] = 'Dobijeno $%s (%s) od %s', - ['amount_invalid'] = 'Nevažeća količina', - ['players_nearby'] = 'Nema igrača u blizini', - ['ex_inv_lim'] = 'Ne možete uraditi to, premašuje max težinu od %s', - ['imp_invalid_quantity'] = 'Nevažeća količina', - ['imp_invalid_amount'] = 'Nevažeći iznos', - ['threw_standard'] = 'Bacanje %sx %s', - ['threw_account'] = 'Bacanje $%s %s', - ['threw_weapon'] = 'Bacanje %s', - ['threw_weapon_ammo'] = 'Bacanje %s sa ~o~%sx %s', - ['threw_weapon_already'] = 'Vi već imate to oružje', - ['threw_cannot_pickup'] = 'Inventar je pun, ne možete pokupiti to!', - ['threw_pickup_prompt'] = 'Pritisni E da pokupiš', + ['inventory'] = "Inventar ( Težina %s / %s )", + ['use'] = "Koristi", + ['give'] = "Daj", + ['remove'] = "Baci", + ['return'] = "Nazad", + ['give_to'] = "Daj", + ['amount'] = "Količina", + ['giveammo'] = "Daj municiju", + ['amountammo'] = "Količina municije", + ['noammo'] = "Nemate dovoljno!", + ['gave_item'] = "Davanje %sx %s igraču %s", + ['received_item'] = "Dobijeno %sx %s od %s", + ['gave_weapon'] = "Davanje %s igraču %s", + ['gave_weapon_ammo'] = "Davanje ~o~%sx %s za %s igraču %s", + ['gave_weapon_withammo'] = "Davanje %s sa ~o~%sx %s igraču %s", + ['gave_weapon_hasalready'] = "%s već ima %s", + ['gave_weapon_noweapon'] = "%s nema to oružje", + ['received_weapon'] = "Dobijeno %s od %s", + ['received_weapon_ammo'] = "Dobijeno ~o~%sx %s za vaš %s od %s", + ['received_weapon_withammo'] = "Dobijeno %s sa ~o~%sx %s od %s", + ['received_weapon_hasalready'] = "%s je pokušao da Vam da %s, ali vi već imate to oružje", + ['received_weapon_noweapon'] = "%s je pokušao da Vam da municiju za %s, ali vi nemate to oružje", + ['gave_account_money'] = "Davanje $%s (%s) igraču %s", + ['received_account_money'] = "Dobijeno $%s (%s) od %s", + ['amount_invalid'] = "Nevažeća količina", + ['players_nearby'] = "Nema igrača u blizini", + ['ex_inv_lim'] = "Ne možete uraditi to, premašuje max težinu od %s", + ['imp_invalid_quantity'] = "Nevažeća količina", + ['imp_invalid_amount'] = "Nevažeći iznos", + ['threw_standard'] = "Bacanje %sx %s", + ['threw_account'] = "Bacanje $%s %s", + ['threw_weapon'] = "Bacanje %s", + ['threw_weapon_ammo'] = "Bacanje %s sa ~o~%sx %s", + ['threw_weapon_already'] = "Vi već imate to oružje", + ['threw_cannot_pickup'] = "Inventar je pun, ne možete pokupiti to!", + ['threw_pickup_prompt'] = "Pritisni E da pokupiš", -- Key mapping - ['keymap_showinventory'] = 'Otvaranje inventara', + ['keymap_showinventory'] = "Otvaranje inventara", -- Salary related - ['received_salary'] = 'Plaćeno Vam je: $%s', - ['received_help'] = 'Isplaćen Vam je ček: $%s', - ['company_nomoney'] = 'Kompanija u kojoj ste zapošljeni nema više novca', - ['received_paycheck'] = 'primili ste platu', - ['bank'] = 'Maze Banka', - ['account_bank'] = 'Banka', - ['account_black_money'] = 'Prljav novac', - ['account_money'] = 'Novac', + ['received_salary'] = "Plaćeno Vam je: $%s", + ['received_help'] = "Isplaćen Vam je ček: $%s", + ['company_nomoney'] = "Kompanija u kojoj ste zapošljeni nema više novca", + ['received_paycheck'] = "primili ste platu", + ['bank'] = "Maze Banka", + ['account_bank'] = "Banka", + ['account_black_money'] = "Prljav novac", + ['account_money'] = "Novac", - ['act_imp'] = 'Ne možete izvršiti radnju', - ['in_vehicle'] = 'Ne možete uraditi to dok je igrač u vozilu', + ['act_imp'] = "Ne možete izvršiti radnju", + ['in_vehicle'] = "Ne možete uraditi to dok je igrač u vozilu", -- Commands - ['command_bring'] = 'TP-ajte igrača do Vas', - ['command_car'] = 'Stvorite vozilo', - ['command_car_car'] = 'Model ili hash vozila', - ['command_cardel'] = 'Obrišite vozilo u blizini', - ['command_cardel_radius'] = 'Obrišite sva vozila unutar navedenog radiusa', - ['command_clear'] = 'Obrišite chat', - ['command_clearall'] = 'Obrišite chat za sve igrače', - ['command_clearinventory'] = 'Obrišite sve stvari iz inventara igrača', - ['command_clearloadout'] = 'Obrišite sva oružja iz inventara igrača', - ['command_freeze'] = 'Zaledite igrača', - ['command_unfreeze'] = 'Odledite igrača', - ['command_giveaccountmoney'] = 'Dajte novac na odredjeni nalog', - ['command_giveaccountmoney_account'] = 'Nalog za slanje', - ['command_giveaccountmoney_amount'] = 'Količina', - ['command_giveaccountmoney_invalid'] = 'Nalog nepostojeći', - ['command_giveitem'] = 'Dajte item igraču', - ['command_giveitem_item'] = 'Ime item-a', - ['command_giveitem_count'] = 'Količina', - ['command_giveweapon'] = 'Dajte oružje igraču', - ['command_giveweapon_weapon'] = 'Ime oružja', - ['command_giveweapon_ammo'] = 'Količina municije', - ['command_giveweapon_hasalready'] = 'Igrač već ima to oružje', - ['command_giveweaponcomponent'] = 'Dajte dodatak za oružje igraču', - ['command_giveweaponcomponent_component'] = 'Ime dodatka', - ['command_giveweaponcomponent_invalid'] = 'Nevažeći dodatak', - ['command_giveweaponcomponent_hasalready'] = 'Igrač već ima taj dodatak', - ['command_giveweaponcomponent_missingweapon'] = 'Igrač nema oružje', - ['command_goto'] = 'Idite do igrača', - ['command_kill'] = 'Ubijte igrača', - ['command_save'] = 'Forsirajte čuvanje date igrača', - ['command_saveall'] = 'Forsirajte čuvanje date svih igrača', - ['command_setaccountmoney'] = 'Postavite novac na određeni račun', - ['command_setaccountmoney_amount'] = 'Količina', - ['command_setcoords'] = 'Teleportujte se na koordinate', - ['command_setcoords_x'] = 'X', - ['command_setcoords_y'] = 'Y', - ['command_setcoords_z'] = 'Z', - ['command_setjob'] = 'Postavite posao igraču', - ['command_setjob_job'] = 'Ime', - ['command_setjob_grade'] = 'Stepen posla', - ['command_setjob_invalid'] = 'posao, stepen ili oba nisu validna', - ['command_setgroup'] = 'Postavite permisiju', - ['command_setgroup_group'] = 'Ime grupe', - ['commanderror_argumentmismatch'] = 'Nevazeci broj argumenata (položio %s, željeno %s)', - ['commanderror_argumentmismatch_number'] = 'Nevažeći argument #%s tip podataka (položeno, željeno)', - ['commanderror_invaliditem'] = 'Nevažeći item', - ['commanderror_invalidweapon'] = 'Nevažeće oružje', - ['commanderror_console'] = 'Komanda se ne može izvršiti iz konzole', - ['commanderror_invalidcommand'] = 'Nevažeća komanda - /%s', - ['commanderror_invalidplayerid'] = 'Igrač nije online', - ['commandgeneric_playerid'] = 'Igračev server ID', - ['command_giveammo_noweapon_found'] = '%s nema to oružje', - ['command_giveammo_weapon'] = 'Ime oružja', - ['command_giveammo_ammo'] = 'Količina municije', - ['tpm_nowaypoint'] = 'Morate označiti lokaciju.', - ['tpm_success'] = 'Teleportovani ste na lokaciju', + ['command_bring'] = "TP-ajte igrača do Vas", + ['command_car'] = "Stvorite vozilo", + ['command_car_car'] = "Model ili hash vozila", + ['command_cardel'] = "Obrišite vozilo u blizini", + ['command_cardel_radius'] = "Obrišite sva vozila unutar navedenog radiusa", + ['command_clear'] = "Obrišite chat", + ['command_clearall'] = "Obrišite chat za sve igrače", + ['command_clearinventory'] = "Obrišite sve stvari iz inventara igrača", + ['command_clearloadout'] = "Obrišite sva oružja iz inventara igrača", + ['command_freeze'] = "Zaledite igrača", + ['command_unfreeze'] = "Odledite igrača", + ['command_giveaccountmoney'] = "Dajte novac na odredjeni nalog", + ['command_giveaccountmoney_account'] = "Nalog za slanje", + ['command_giveaccountmoney_amount'] = "Količina", + ['command_giveaccountmoney_invalid'] = "Nalog nepostojeći", + ['command_giveitem'] = "Dajte item igraču", + ['command_giveitem_item'] = "Ime item-a", + ['command_giveitem_count'] = "Količina", + ['command_giveweapon'] = "Dajte oružje igraču", + ['command_giveweapon_weapon'] = "Ime oružja", + ['command_giveweapon_ammo'] = "Količina municije", + ['command_giveweapon_hasalready'] = "Igrač već ima to oružje", + ['command_giveweaponcomponent'] = "Dajte dodatak za oružje igraču", + ['command_giveweaponcomponent_component'] = "Ime dodatka", + ['command_giveweaponcomponent_invalid'] = "Nevažeći dodatak", + ['command_giveweaponcomponent_hasalready'] = "Igrač već ima taj dodatak", + ['command_giveweaponcomponent_missingweapon'] = "Igrač nema oružje", + ['command_goto'] = "Idite do igrača", + ['command_kill'] = "Ubijte igrača", + ['command_save'] = "Forsirajte čuvanje date igrača", + ['command_saveall'] = "Forsirajte čuvanje date svih igrača", + ['command_setaccountmoney'] = "Postavite novac na određeni račun", + ['command_setaccountmoney_amount'] = "Količina", + ['command_setcoords'] = "Teleportujte se na koordinate", + ['command_setcoords_x'] = "X", + ['command_setcoords_y'] = "Y", + ['command_setcoords_z'] = "Z", + ['command_setjob'] = "Postavite posao igraču", + ['command_setjob_job'] = "Ime", + ['command_setjob_grade'] = "Stepen posla", + ['command_setjob_invalid'] = "posao, stepen ili oba nisu validna", + ['command_setgroup'] = "Postavite permisiju", + ['command_setgroup_group'] = "Ime grupe", + ['commanderror_argumentmismatch'] = "Nevazeci broj argumenata (položio %s, željeno %s)", + ['commanderror_argumentmismatch_number'] = "Nevažeći argument #%s tip podataka (položeno, željeno)", + ['commanderror_invaliditem'] = "Nevažeći item", + ['commanderror_invalidweapon'] = "Nevažeće oružje", + ['commanderror_console'] = "Komanda se ne može izvršiti iz konzole", + ['commanderror_invalidcommand'] = "Nevažeća komanda - /%s", + ['commanderror_invalidplayerid'] = "Igrač nije online", + ['commandgeneric_playerid'] = "Igračev server ID", + ['command_giveammo_noweapon_found'] = "%s nema to oružje", + ['command_giveammo_weapon'] = "Ime oružja", + ['command_giveammo_ammo'] = "Količina municije", + ['tpm_nowaypoint'] = "Morate označiti lokaciju.", + ['tpm_success'] = "Teleportovani ste na lokaciju", - ['noclip_message'] = 'Noclip %s', - ['enabled'] = '~g~upaljen~s~', - ['disabled'] = '~r~ugašen~s~', + ['noclip_message'] = "Noclip %s", + ['enabled'] = "~g~upaljen~s~", + ['disabled'] = "~r~ugašen~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '£%s', + ['locale_digit_grouping_symbol'] = ",", + ['locale_currency'] = "£%s", -- Weapons -- Melee - ['weapon_dagger'] = 'Dagger', - ['weapon_bat'] = 'Bat', - ['weapon_battleaxe'] = 'Battle Axe', - ['weapon_bottle'] = 'Bottle', - ['weapon_crowbar'] = 'Crowbar', - ['weapon_flashlight'] = 'Flashlight', - ['weapon_golfclub'] = 'Golf Club', - ['weapon_hammer'] = 'Hammer', - ['weapon_hatchet'] = 'Hatchet', - ['weapon_knife'] = 'Knife', - ['weapon_knuckle'] = 'Knuckledusters', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Nightstick', - ['weapon_wrench'] = 'Pipe Wrench', - ['weapon_poolcue'] = 'Pool Cue', - ['weapon_stone_hatchet'] = 'Stone Hatchet', - ['weapon_switchblade'] = 'Switchblade', + ['weapon_dagger'] = "Dagger", + ['weapon_bat'] = "Bat", + ['weapon_battleaxe'] = "Battle Axe", + ['weapon_bottle'] = "Bottle", + ['weapon_crowbar'] = "Crowbar", + ['weapon_flashlight'] = "Flashlight", + ['weapon_golfclub'] = "Golf Club", + ['weapon_hammer'] = "Hammer", + ['weapon_hatchet'] = "Hatchet", + ['weapon_knife'] = "Knife", + ['weapon_knuckle'] = "Knuckledusters", + ['weapon_machete'] = "Machete", + ['weapon_nightstick'] = "Nightstick", + ['weapon_wrench'] = "Pipe Wrench", + ['weapon_poolcue'] = "Pool Cue", + ['weapon_stone_hatchet'] = "Stone Hatchet", + ['weapon_switchblade'] = "Switchblade", -- Handguns - ['weapon_appistol'] = 'AP Pistol', - ['weapon_ceramicpistol'] = 'Ceramic Pistol', - ['weapon_combatpistol'] = 'Combat Pistol', - ['weapon_doubleaction'] = 'Double-Action Revolver', - ['weapon_navyrevolver'] = 'Navy Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadget Pistol', - ['weapon_heavypistol'] = 'Heavy Pistol', - ['weapon_revolver'] = 'Heavy Revolver', - ['weapon_revolver_mk2'] = 'Heavy Revolver MK2', - ['weapon_marksmanpistol'] = 'Marksman Pistol', - ['weapon_pistol'] = 'Pistol', - ['weapon_pistol_mk2'] = 'Pistol MK2', - ['weapon_pistol50'] = 'Pistol .50', - ['weapon_snspistol'] = 'SNS Pistol', - ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintage Pistol', + ['weapon_appistol'] = "AP Pistol", + ['weapon_ceramicpistol'] = "Ceramic Pistol", + ['weapon_combatpistol'] = "Combat Pistol", + ['weapon_doubleaction'] = "Double-Action Revolver", + ['weapon_navyrevolver'] = "Navy Revolver", + ['weapon_flaregun'] = "Flaregun", + ['weapon_gadgetpistol'] = "Gadget Pistol", + ['weapon_heavypistol'] = "Heavy Pistol", + ['weapon_revolver'] = "Heavy Revolver", + ['weapon_revolver_mk2'] = "Heavy Revolver MK2", + ['weapon_marksmanpistol'] = "Marksman Pistol", + ['weapon_pistol'] = "Pistol", + ['weapon_pistol_mk2'] = "Pistol MK2", + ['weapon_pistol50'] = "Pistol .50", + ['weapon_snspistol'] = "SNS Pistol", + ['weapon_snspistol_mk2'] = "SNS Pistol MK2", + ['weapon_stungun'] = "Taser", + ['weapon_raypistol'] = "Up-N-Atomizer", + ['weapon_vintagepistol'] = "Vintage Pistol", -- Shotguns - ['weapon_assaultshotgun'] = 'Assault Shotgun', - ['weapon_autoshotgun'] = 'Auto Shotgun', - ['weapon_bullpupshotgun'] = 'Bullpup Shotgun', - ['weapon_combatshotgun'] = 'Combat Shotgun', - ['weapon_dbshotgun'] = 'Double Barrel Shotgun', - ['weapon_heavyshotgun'] = 'Heavy Shotgun', - ['weapon_musket'] = 'Musket', - ['weapon_pumpshotgun'] = 'Pump Shotgun', - ['weapon_pumpshotgun_mk2'] = 'Pump Shotgun MK2', - ['weapon_sawnoffshotgun'] = 'Sawed Off Shotgun', + ['weapon_assaultshotgun'] = "Assault Shotgun", + ['weapon_autoshotgun'] = "Auto Shotgun", + ['weapon_bullpupshotgun'] = "Bullpup Shotgun", + ['weapon_combatshotgun'] = "Combat Shotgun", + ['weapon_dbshotgun'] = "Double Barrel Shotgun", + ['weapon_heavyshotgun'] = "Heavy Shotgun", + ['weapon_musket'] = "Musket", + ['weapon_pumpshotgun'] = "Pump Shotgun", + ['weapon_pumpshotgun_mk2'] = "Pump Shotgun MK2", + ['weapon_sawnoffshotgun'] = "Sawed Off Shotgun", -- SMG & LMG - ['weapon_assaultsmg'] = 'Assault SMG', - ['weapon_combatmg'] = 'Combat MG', - ['weapon_combatmg_mk2'] = 'Combat MG MK2', - ['weapon_combatpdw'] = 'Combat PDW', - ['weapon_gusenberg'] = 'Gusenberg Sweeper', - ['weapon_machinepistol'] = 'Machine Pistol', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Micro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Unholy Hellbringer', + ['weapon_assaultsmg'] = "Assault SMG", + ['weapon_combatmg'] = "Combat MG", + ['weapon_combatmg_mk2'] = "Combat MG MK2", + ['weapon_combatpdw'] = "Combat PDW", + ['weapon_gusenberg'] = "Gusenberg Sweeper", + ['weapon_machinepistol'] = "Machine Pistol", + ['weapon_mg'] = "MG", + ['weapon_microsmg'] = "Micro SMG", + ['weapon_minismg'] = "Mini SMG", + ['weapon_smg'] = "SMG", + ['weapon_smg_mk2'] = "SMG MK2", + ['weapon_raycarbine'] = "Unholy Hellbringer", -- Rifles - ['weapon_advancedrifle'] = 'Advanced Rifle', - ['weapon_assaultrifle'] = 'Assault Rifle', - ['weapon_assaultrifle_mk2'] = 'Assault Rifle MK2', - ['weapon_bullpuprifle'] = 'Bullpup Rifle', - ['weapon_bullpuprifle_mk2'] = 'Bullpup Rifle MK2', - ['weapon_carbinerifle'] = 'Carbine Rifle', - ['weapon_carbinerifle_mk2'] = 'Carbine Rifle MK2', - ['weapon_compactrifle'] = 'Compact Rifle', - ['weapon_militaryrifle'] = 'Military Rifle', - ['weapon_specialcarbine'] = 'Special Carbine', - ['weapon_specialcarbine_mk2'] = 'Special Carbine MK2', + ['weapon_advancedrifle'] = "Advanced Rifle", + ['weapon_assaultrifle'] = "Assault Rifle", + ['weapon_assaultrifle_mk2'] = "Assault Rifle MK2", + ['weapon_bullpuprifle'] = "Bullpup Rifle", + ['weapon_bullpuprifle_mk2'] = "Bullpup Rifle MK2", + ['weapon_carbinerifle'] = "Carbine Rifle", + ['weapon_carbinerifle_mk2'] = "Carbine Rifle MK2", + ['weapon_compactrifle'] = "Compact Rifle", + ['weapon_militaryrifle'] = "Military Rifle", + ['weapon_specialcarbine'] = "Special Carbine", + ['weapon_specialcarbine_mk2'] = "Special Carbine MK2", -- Sniper - ['weapon_heavysniper'] = 'Heavy Sniper', - ['weapon_heavysniper_mk2'] = 'Heavy Sniper MK2', - ['weapon_marksmanrifle'] = 'Marksman Rifle', - ['weapon_marksmanrifle_mk2'] = 'Marksman Rifle MK2', - ['weapon_sniperrifle'] = 'Sniper Rifle', + ['weapon_heavysniper'] = "Heavy Sniper", + ['weapon_heavysniper_mk2'] = "Heavy Sniper MK2", + ['weapon_marksmanrifle'] = "Marksman Rifle", + ['weapon_marksmanrifle_mk2'] = "Marksman Rifle MK2", + ['weapon_sniperrifle'] = "Sniper Rifle", -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Compact Launcher', - ['weapon_firework'] = 'Firework Launcher', - ['weapon_grenadelauncher'] = 'Grenade Launcher', - ['weapon_hominglauncher'] = 'Homing Launcher', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Rocket Launcher', - ['weapon_rayminigun'] = 'Widowmaker', + ['weapon_compactlauncher'] = "Compact Launcher", + ['weapon_firework'] = "Firework Launcher", + ['weapon_grenadelauncher'] = "Grenade Launcher", + ['weapon_hominglauncher'] = "Homing Launcher", + ['weapon_minigun'] = "Minigun", + ['weapon_railgun'] = "Railgun", + ['weapon_rpg'] = "Rocket Launcher", + ['weapon_rayminigun'] = "Widowmaker", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Metal Detector', - ['weapon_precisionrifle'] = 'Precision Rifle', - ['weapon_tactilerifle'] = 'Service Carbine', + ['weapon_metaldetector'] = "Metal Detector", + ['weapon_precisionrifle'] = "Precision Rifle", + ['weapon_tactilerifle'] = "Service Carbine", -- Thrown - ['weapon_ball'] = 'Baseball', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_flare'] = 'Flare', - ['weapon_grenade'] = 'Grenade', - ['weapon_petrolcan'] = 'Jerrycan', - ['weapon_hazardcan'] = 'Hazardous Jerrycan', - ['weapon_molotov'] = 'Molotov Cocktail', - ['weapon_proxmine'] = 'Proximity Mine', - ['weapon_pipebomb'] = 'Pipe Bomb', - ['weapon_snowball'] = 'Snowball', - ['weapon_stickybomb'] = 'Sticky Bomb', - ['weapon_smokegrenade'] = 'Tear Gas', + ['weapon_ball'] = "Baseball", + ['weapon_bzgas'] = "BZ Gas", + ['weapon_flare'] = "Flare", + ['weapon_grenade'] = "Grenade", + ['weapon_petrolcan'] = "Jerrycan", + ['weapon_hazardcan'] = "Hazardous Jerrycan", + ['weapon_molotov'] = "Molotov Cocktail", + ['weapon_proxmine'] = "Proximity Mine", + ['weapon_pipebomb'] = "Pipe Bomb", + ['weapon_snowball'] = "Snowball", + ['weapon_stickybomb'] = "Sticky Bomb", + ['weapon_smokegrenade'] = "Tear Gas", -- Special - ['weapon_fireextinguisher'] = 'Fire Extinguisher', - ['weapon_digiscanner'] = 'Digital Scanner', - ['weapon_garbagebag'] = 'Garbage Bag', - ['weapon_handcuffs'] = 'Handcuffs', - ['gadget_nightvision'] = 'Night Vision', - ['gadget_parachute'] = 'parachute', + ['weapon_fireextinguisher'] = "Fire Extinguisher", + ['weapon_digiscanner'] = "Digital Scanner", + ['weapon_garbagebag'] = "Garbage Bag", + ['weapon_handcuffs'] = "Handcuffs", + ['gadget_nightvision'] = "Night Vision", + ['gadget_parachute'] = "parachute", -- Weapon Components - ['component_knuckle_base'] = 'base Model', - ['component_knuckle_pimp'] = 'the Pimp', - ['component_knuckle_ballas'] = 'the Ballas', - ['component_knuckle_dollar'] = 'the Hustler', - ['component_knuckle_diamond'] = 'the Rock', - ['component_knuckle_hate'] = 'the Hater', - ['component_knuckle_love'] = 'the Lover', - ['component_knuckle_player'] = 'the Player', - ['component_knuckle_king'] = 'the King', - ['component_knuckle_vagos'] = 'the Vagos', + ['component_knuckle_base'] = "base Model", + ['component_knuckle_pimp'] = "the Pimp", + ['component_knuckle_ballas'] = "the Ballas", + ['component_knuckle_dollar'] = "the Hustler", + ['component_knuckle_diamond'] = "the Rock", + ['component_knuckle_hate'] = "the Hater", + ['component_knuckle_love'] = "the Lover", + ['component_knuckle_player'] = "the Player", + ['component_knuckle_king'] = "the King", + ['component_knuckle_vagos'] = "the Vagos", - ['component_luxary_finish'] = 'luxary Weapon Finish', + ['component_luxary_finish'] = "luxary Weapon Finish", - ['component_handle_default'] = 'default Handle', - ['component_handle_vip'] = 'vIP Handle', - ['component_handle_bodyguard'] = 'bodyguard Handle', + ['component_handle_default'] = "default Handle", + ['component_handle_vip'] = "vIP Handle", + ['component_handle_bodyguard'] = "bodyguard Handle", - ['component_vip_finish'] = 'vIP Finish', - ['component_bodyguard_finish'] = 'bodyguard Finish', + ['component_vip_finish'] = "vIP Finish", + ['component_bodyguard_finish'] = "bodyguard Finish", - ['component_camo_finish'] = 'digital Camo', - ['component_camo_finish2'] = 'brushstroke Camo', - ['component_camo_finish3'] = 'woodland Camo', - ['component_camo_finish4'] = 'skull Camo', - ['component_camo_finish5'] = 'sessanta Nove Camo', - ['component_camo_finish6'] = 'perseus Camo', - ['component_camo_finish7'] = 'leopard Camo', - ['component_camo_finish8'] = 'zebra Camo', - ['component_camo_finish9'] = 'geometric Camo', - ['component_camo_finish10'] = 'boom Camo', - ['component_camo_finish11'] = 'patriotic Camo', + ['component_camo_finish'] = "digital Camo", + ['component_camo_finish2'] = "brushstroke Camo", + ['component_camo_finish3'] = "woodland Camo", + ['component_camo_finish4'] = "skull Camo", + ['component_camo_finish5'] = "sessanta Nove Camo", + ['component_camo_finish6'] = "perseus Camo", + ['component_camo_finish7'] = "leopard Camo", + ['component_camo_finish8'] = "zebra Camo", + ['component_camo_finish9'] = "geometric Camo", + ['component_camo_finish10'] = "boom Camo", + ['component_camo_finish11'] = "patriotic Camo", - ['component_camo_slide_finish'] = 'digital Slide Camo', - ['component_camo_slide_finish2'] = 'brushstroke Slide Camo', - ['component_camo_slide_finish3'] = 'woodland Slide Camo', - ['component_camo_slide_finish4'] = 'skull Slide Camo', - ['component_camo_slide_finish5'] = 'sessanta Nove Slide Camo', - ['component_camo_slide_finish6'] = 'perseus Slide Camo', - ['component_camo_slide_finish7'] = 'leopard Slide Camo', - ['component_camo_slide_finish8'] = 'zebra Slide Camo', - ['component_camo_slide_finish9'] = 'geometric Slide Camo', - ['component_camo_slide_finish10'] = 'boom Slide Camo', - ['component_camo_slide_finish11'] = 'patriotic Slide Camo', + ['component_camo_slide_finish'] = "digital Slide Camo", + ['component_camo_slide_finish2'] = "brushstroke Slide Camo", + ['component_camo_slide_finish3'] = "woodland Slide Camo", + ['component_camo_slide_finish4'] = "skull Slide Camo", + ['component_camo_slide_finish5'] = "sessanta Nove Slide Camo", + ['component_camo_slide_finish6'] = "perseus Slide Camo", + ['component_camo_slide_finish7'] = "leopard Slide Camo", + ['component_camo_slide_finish8'] = "zebra Slide Camo", + ['component_camo_slide_finish9'] = "geometric Slide Camo", + ['component_camo_slide_finish10'] = "boom Slide Camo", + ['component_camo_slide_finish11'] = "patriotic Slide Camo", - ['component_clip_default'] = 'default Magazine', - ['component_clip_extended'] = 'extended Magazine', - ['component_clip_drum'] = 'drum Magazine', - ['component_clip_box'] = 'box Magazine', + ['component_clip_default'] = "default Magazine", + ['component_clip_extended'] = "extended Magazine", + ['component_clip_drum'] = "drum Magazine", + ['component_clip_box'] = "box Magazine", - ['component_scope_holo'] = 'holographic Scope', - ['component_scope_small'] = 'small Scope', - ['component_scope_medium'] = 'medium Scope', - ['component_scope_large'] = 'large Scope', - ['component_scope'] = 'mounted Scope', - ['component_scope_advanced'] = 'advanced Scope', - ['component_ironsights'] = 'ironsights', + ['component_scope_holo'] = "holographic Scope", + ['component_scope_small'] = "small Scope", + ['component_scope_medium'] = "medium Scope", + ['component_scope_large'] = "large Scope", + ['component_scope'] = "mounted Scope", + ['component_scope_advanced'] = "advanced Scope", + ['component_ironsights'] = "ironsights", - ['component_suppressor'] = 'suppressor', - ['component_compensator'] = 'compensator', + ['component_suppressor'] = "suppressor", + ['component_compensator'] = "compensator", - ['component_muzzle_flat'] = 'flat Muzzle Brake', - ['component_muzzle_tactical'] = 'tactical Muzzle Brake', - ['component_muzzle_fat'] = 'fat-End Muzzle Brake', - ['component_muzzle_precision'] = 'precision Muzzle Brake', - ['component_muzzle_heavy'] = 'heavy Duty Muzzle Brake', - ['component_muzzle_slanted'] = 'slanted Muzzle Brake', - ['component_muzzle_split'] = 'split-End Muzzle Brake', - ['component_muzzle_squared'] = 'squared Muzzle Brake', + ['component_muzzle_flat'] = "flat Muzzle Brake", + ['component_muzzle_tactical'] = "tactical Muzzle Brake", + ['component_muzzle_fat'] = "fat-End Muzzle Brake", + ['component_muzzle_precision'] = "precision Muzzle Brake", + ['component_muzzle_heavy'] = "heavy Duty Muzzle Brake", + ['component_muzzle_slanted'] = "slanted Muzzle Brake", + ['component_muzzle_split'] = "split-End Muzzle Brake", + ['component_muzzle_squared'] = "squared Muzzle Brake", - ['component_flashlight'] = 'flashlight', - ['component_grip'] = 'grip', + ['component_flashlight'] = "flashlight", + ['component_grip'] = "grip", - ['component_barrel_default'] = 'default Barrel', - ['component_barrel_heavy'] = 'heavy Barrel', + ['component_barrel_default'] = "default Barrel", + ['component_barrel_heavy'] = "heavy Barrel", - ['component_ammo_tracer'] = 'tracer Ammo', - ['component_ammo_incendiary'] = 'incendiary Ammo', - ['component_ammo_hollowpoint'] = 'hollowpoint Ammo', - ['component_ammo_fmj'] = 'fMJ Ammo', - ['component_ammo_armor'] = 'armor Piercing Ammo', - ['component_ammo_explosive'] = 'armor Piercing Incendiary Ammo', + ['component_ammo_tracer'] = "tracer Ammo", + ['component_ammo_incendiary'] = "incendiary Ammo", + ['component_ammo_hollowpoint'] = "hollowpoint Ammo", + ['component_ammo_fmj'] = "fMJ Ammo", + ['component_ammo_armor'] = "armor Piercing Ammo", + ['component_ammo_explosive'] = "armor Piercing Incendiary Ammo", - ['component_shells_default'] = 'default Shells', - ['component_shells_incendiary'] = 'dragons Breath Shells', - ['component_shells_armor'] = 'steel Buckshot Shells', - ['component_shells_hollowpoint'] = 'flechette Shells', - ['component_shells_explosive'] = 'explosive Slug Shells', + ['component_shells_default'] = "default Shells", + ['component_shells_incendiary'] = "dragons Breath Shells", + ['component_shells_armor'] = "steel Buckshot Shells", + ['component_shells_hollowpoint'] = "flechette Shells", + ['component_shells_explosive'] = "explosive Slug Shells", -- Weapon Ammo - ['ammo_rounds'] = 'round(s)', - ['ammo_shells'] = 'shell(s)', - ['ammo_charge'] = 'charge', - ['ammo_petrol'] = 'gallons of fuel', - ['ammo_firework'] = 'firework(s)', - ['ammo_rockets'] = 'rocket(s)', - ['ammo_grenadelauncher'] = 'grenade(s)', - ['ammo_grenade'] = 'grenade(s)', - ['ammo_stickybomb'] = 'bomb(s)', - ['ammo_pipebomb'] = 'bomb(s)', - ['ammo_smokebomb'] = 'bomb(s)', - ['ammo_molotov'] = 'cocktail(s)', - ['ammo_proxmine'] = 'mine(s)', - ['ammo_bzgas'] = 'can(s)', - ['ammo_ball'] = 'ball(s)', - ['ammo_snowball'] = 'snowball(s)', - ['ammo_flare'] = 'flare(s)', - ['ammo_flaregun'] = 'flare(s)', + ['ammo_rounds'] = "round(s)", + ['ammo_shells'] = "shell(s)", + ['ammo_charge'] = "charge", + ['ammo_petrol'] = "gallons of fuel", + ['ammo_firework'] = "firework(s)", + ['ammo_rockets'] = "rocket(s)", + ['ammo_grenadelauncher'] = "grenade(s)", + ['ammo_grenade'] = "grenade(s)", + ['ammo_stickybomb'] = "bomb(s)", + ['ammo_pipebomb'] = "bomb(s)", + ['ammo_smokebomb'] = "bomb(s)", + ['ammo_molotov'] = "cocktail(s)", + ['ammo_proxmine'] = "mine(s)", + ['ammo_bzgas'] = "can(s)", + ['ammo_ball'] = "ball(s)", + ['ammo_snowball'] = "snowball(s)", + ['ammo_flare'] = "flare(s)", + ['ammo_flaregun'] = "flare(s)", -- Weapon Tints - ['tint_default'] = 'default skin', - ['tint_green'] = 'green skin', - ['tint_gold'] = 'gold skin', - ['tint_pink'] = 'pink skin', - ['tint_army'] = 'army skin', - ['tint_lspd'] = 'blue skin', - ['tint_orange'] = 'orange skin', - ['tint_platinum'] = 'platinum skin', + ['tint_default'] = "default skin", + ['tint_green'] = "green skin", + ['tint_gold'] = "gold skin", + ['tint_pink'] = "pink skin", + ['tint_army'] = "army skin", + ['tint_lspd'] = "blue skin", + ['tint_orange'] = "orange skin", + ['tint_platinum'] = "platinum skin", } diff --git a/[core]/es_extended/locales/zh-cn.lua b/[core]/es_extended/locales/zh-cn.lua index 7671a230..a8e0fb9c 100644 --- a/[core]/es_extended/locales/zh-cn.lua +++ b/[core]/es_extended/locales/zh-cn.lua @@ -1,365 +1,365 @@ Locales['zh-cn'] = { -- Inventory - ['inventory'] = '背包 %s / %s', - ['use'] = '使用', - ['give'] = '给予', - ['remove'] = '赠送', - ['return'] = '返回', - ['give_to'] = '赠给', - ['amount'] = '数量', - ['giveammo'] = '赠送弹药', - ['amountammo'] = '弹药量', - ['noammo'] = '您没有足够的弹药!', - ['gave_item'] = '您将 %sx %s 赠送给 %s', - ['received_item'] = '您收到 %sx %s, 来自于 %s 的赠送', - ['gave_weapon'] = '您把 %s 赠送给 %s', - ['gave_weapon_ammo'] = '您把 ~o~%sx %s %s 赠送给 %s', - ['gave_weapon_withammo'] = '您把 %s 和 ~o~%sx %s 赠送给 %s', - ['gave_weapon_hasalready'] = '%s 已持有 %s', - ['gave_weapon_noweapon'] = '%s 暂无该类型武器', - ['received_weapon'] = '您收到了 %s, 来自于 %s 的赠送', - ['received_weapon_ammo'] = '您收到了 ~o~%sx %s (%s),来自于%s的赠送', - ['received_weapon_withammo'] = '您收到了 %s 和~o~%sx %s,来自于%s的赠送', - ['received_weapon_hasalready'] = '%s 试图给您 %s,但您已持有', - ['received_weapon_noweapon'] = '%s 试图给您 %s 发子弹,但是您沒有该类型武器', - ['gave_account_money'] = '您将 $%s (%s) 赠送给 %s', - ['received_account_money'] = '您收到了 $%s (%s) 来自 %s 的赠送', - ['amount_invalid'] = '无效数量', - ['players_nearby'] = '附近没有玩家', - ['ex_inv_lim'] = '操作失败, 超过 %s 背包物品的上限', - ['imp_invalid_quantity'] = '操作失败,无效数量输入', - ['imp_invalid_amount'] = '操作失败,无效金额输入', - ['threw_standard'] = '您丢弃了 %sx %s', - ['threw_account'] = '您丢弃了 $%s %s', - ['threw_weapon'] = '您丢弃了 %s', - ['threw_weapon_ammo'] = '您丢弃了 %s 和 ~o~%sx %s', - ['threw_weapon_already'] = '您已持有相同武器!', - ['threw_cannot_pickup'] = '背包容量已满, 无法持有更多该物品!', - ['threw_pickup_prompt'] = '键下 [E] 捡起', + ['inventory'] = "背包 %s / %s", + ['use'] = "使用", + ['give'] = "给予", + ['remove'] = "赠送", + ['return'] = "返回", + ['give_to'] = "赠给", + ['amount'] = "数量", + ['giveammo'] = "赠送弹药", + ['amountammo'] = "弹药量", + ['noammo'] = "您没有足够的弹药!", + ['gave_item'] = "您将 %sx %s 赠送给 %s", + ['received_item'] = "您收到 %sx %s, 来自于 %s 的赠送", + ['gave_weapon'] = "您把 %s 赠送给 %s", + ['gave_weapon_ammo'] = "您把 ~o~%sx %s %s 赠送给 %s", + ['gave_weapon_withammo'] = "您把 %s 和 ~o~%sx %s 赠送给 %s", + ['gave_weapon_hasalready'] = "%s 已持有 %s", + ['gave_weapon_noweapon'] = "%s 暂无该类型武器", + ['received_weapon'] = "您收到了 %s, 来自于 %s 的赠送", + ['received_weapon_ammo'] = "您收到了 ~o~%sx %s (%s),来自于%s的赠送", + ['received_weapon_withammo'] = "您收到了 %s 和~o~%sx %s,来自于%s的赠送", + ['received_weapon_hasalready'] = "%s 试图给您 %s,但您已持有", + ['received_weapon_noweapon'] = "%s 试图给您 %s 发子弹,但是您沒有该类型武器", + ['gave_account_money'] = "您将 $%s (%s) 赠送给 %s", + ['received_account_money'] = "您收到了 $%s (%s) 来自 %s 的赠送", + ['amount_invalid'] = "无效数量", + ['players_nearby'] = "附近没有玩家", + ['ex_inv_lim'] = "操作失败, 超过 %s 背包物品的上限", + ['imp_invalid_quantity'] = "操作失败,无效数量输入", + ['imp_invalid_amount'] = "操作失败,无效金额输入", + ['threw_standard'] = "您丢弃了 %sx %s", + ['threw_account'] = "您丢弃了 $%s %s", + ['threw_weapon'] = "您丢弃了 %s", + ['threw_weapon_ammo'] = "您丢弃了 %s 和 ~o~%sx %s", + ['threw_weapon_already'] = "您已持有相同武器!", + ['threw_cannot_pickup'] = "背包容量已满, 无法持有更多该物品!", + ['threw_pickup_prompt'] = "键下 [E] 捡起", -- Key mapping - ['keymap_showinventory'] = '显示背包', + ['keymap_showinventory'] = "显示背包", -- Salary related - ['received_salary'] = '您收到了您的工资: $%s', - ['received_help'] = '您领取到了您的无业性低保: $%s', - ['company_nomoney'] = '您受雇的公司太穷了,无法清算您的工资.', - ['received_paycheck'] = '收到转账', - ['bank'] = '花园银行', - ['account_bank'] = '银行', - ['account_black_money'] = '赃款', - ['account_money'] = '现金', + ['received_salary'] = "您收到了您的工资: $%s", + ['received_help'] = "您领取到了您的无业性低保: $%s", + ['company_nomoney'] = "您受雇的公司太穷了,无法清算您的工资.", + ['received_paycheck'] = "收到转账", + ['bank'] = "花园银行", + ['account_bank'] = "银行", + ['account_black_money'] = "赃款", + ['account_money'] = "现金", - ['act_imp'] = '操作失败', - ['in_vehicle'] = '请离开当前载具', + ['act_imp'] = "操作失败", + ['in_vehicle'] = "请离开当前载具", -- Commands - ['command_bring'] = '传送玩家到您身边', - ['command_car'] = '生成载具', - ['command_car_car'] = '生成载具的模型名称或哈希值', - ['command_cardel'] = '删除附近载具', - ['command_cardel_radius'] = '可选,删除指定半径内的所有载具', - ['command_clear'] = '清除聊天记录', - ['command_clearall'] = '清除所有玩家的聊天记录', - ['command_clearinventory'] = '清除玩家库存', - ['command_clearloadout'] = '清除玩家武器栏', - ['command_freeze'] = '冻结玩家', - ['command_unfreeze'] = '解冻玩家', - ['command_giveaccountmoney'] = '给予任意账户资金', - ['command_giveaccountmoney_account'] = '有效的帐户类型', - ['command_giveaccountmoney_amount'] = '添加的金额数量', - ['command_giveaccountmoney_invalid'] = '无效的帐户类型', - ['command_giveitem'] = '给予玩家一件物品', - ['command_giveitem_item'] = '物品代码', - ['command_giveitem_count'] = '物品数目', - ['command_giveweapon'] = '给予玩家一把武器', - ['command_giveweapon_weapon'] = '武器代码', - ['command_giveweapon_ammo'] = '弹药数目', - ['command_giveweapon_hasalready'] = '该玩家已拥有该武器', - ['command_giveweaponcomponent'] = '给予武器改装件', - ['command_giveweaponcomponent_component'] = '改装件代码', - ['command_giveweaponcomponent_invalid'] = '无效的武器改装件', - ['command_giveweaponcomponent_hasalready'] = '玩家已拥有该武器改装件', - ['command_giveweaponcomponent_missingweapon'] = '该玩家暂无该类型改装件的武器', - ['command_goto'] = '传送至一名玩家身旁', - ['command_kill'] = '击杀一名玩家', - ['command_save'] = '保存玩家数据至数据库', - ['command_saveall'] = '保存所有玩家数据至数据库', - ['command_setaccountmoney'] = '设置玩家帐户内资金', - ['command_setaccountmoney_amount'] = '账户资金金额', - ['command_setcoords'] = '传送至XYZ坐标', - ['command_setcoords_x'] = 'X 轴', - ['command_setcoords_y'] = 'Y 轴', - ['command_setcoords_z'] = 'Z 轴', - ['command_setjob'] = '配置该玩家职业', - ['command_setjob_job'] = '职业代码', - ['command_setjob_grade'] = '职业等级', - ['command_setjob_invalid'] = '职业代码、等级或输入数据无效!', - ['command_setgroup'] = '设置玩家用户组', - ['command_setgroup_group'] = '用户组代码', - ['commanderror_argumentmismatch'] = '参数计数不匹配 (该类型为 %s, 需要传输 %s)', - ['commanderror_argumentmismatch_number'] = '参数 #%s 类型不匹配 (该类型为字符串,需要传递数字类型)', - ['commanderror_invaliditem'] = '无效的物品代码', - ['commanderror_invalidweapon'] = '无效的武器代码', - ['commanderror_console'] = '控制台无法执行此命令!', - ['commanderror_invalidcommand'] = '/%s 不是有效的命令!', - ['commanderror_invalidplayerid'] = '无效的玩家服务器ID', - ['commandgeneric_playerid'] = '玩家服务器ID', - ['command_giveammo_noweapon_found'] = '%s 为无效的武器代码!', - ['command_giveammo_weapon'] = '武器代码', - ['command_giveammo_ammo'] = '弹药数量', - ['tpm_nowaypoint'] = '尚未配置导航点!', - ['tpm_success'] = '已传送至该导航点', + ['command_bring'] = "传送玩家到您身边", + ['command_car'] = "生成载具", + ['command_car_car'] = "生成载具的模型名称或哈希值", + ['command_cardel'] = "删除附近载具", + ['command_cardel_radius'] = "可选,删除指定半径内的所有载具", + ['command_clear'] = "清除聊天记录", + ['command_clearall'] = "清除所有玩家的聊天记录", + ['command_clearinventory'] = "清除玩家库存", + ['command_clearloadout'] = "清除玩家武器栏", + ['command_freeze'] = "冻结玩家", + ['command_unfreeze'] = "解冻玩家", + ['command_giveaccountmoney'] = "给予任意账户资金", + ['command_giveaccountmoney_account'] = "有效的帐户类型", + ['command_giveaccountmoney_amount'] = "添加的金额数量", + ['command_giveaccountmoney_invalid'] = "无效的帐户类型", + ['command_giveitem'] = "给予玩家一件物品", + ['command_giveitem_item'] = "物品代码", + ['command_giveitem_count'] = "物品数目", + ['command_giveweapon'] = "给予玩家一把武器", + ['command_giveweapon_weapon'] = "武器代码", + ['command_giveweapon_ammo'] = "弹药数目", + ['command_giveweapon_hasalready'] = "该玩家已拥有该武器", + ['command_giveweaponcomponent'] = "给予武器改装件", + ['command_giveweaponcomponent_component'] = "改装件代码", + ['command_giveweaponcomponent_invalid'] = "无效的武器改装件", + ['command_giveweaponcomponent_hasalready'] = "玩家已拥有该武器改装件", + ['command_giveweaponcomponent_missingweapon'] = "该玩家暂无该类型改装件的武器", + ['command_goto'] = "传送至一名玩家身旁", + ['command_kill'] = "击杀一名玩家", + ['command_save'] = "保存玩家数据至数据库", + ['command_saveall'] = "保存所有玩家数据至数据库", + ['command_setaccountmoney'] = "设置玩家帐户内资金", + ['command_setaccountmoney_amount'] = "账户资金金额", + ['command_setcoords'] = "传送至XYZ坐标", + ['command_setcoords_x'] = "X 轴", + ['command_setcoords_y'] = "Y 轴", + ['command_setcoords_z'] = "Z 轴", + ['command_setjob'] = "配置该玩家职业", + ['command_setjob_job'] = "职业代码", + ['command_setjob_grade'] = "职业等级", + ['command_setjob_invalid'] = "职业代码、等级或输入数据无效!", + ['command_setgroup'] = "设置玩家用户组", + ['command_setgroup_group'] = "用户组代码", + ['commanderror_argumentmismatch'] = "参数计数不匹配 (该类型为 %s, 需要传输 %s)", + ['commanderror_argumentmismatch_number'] = "参数 #%s 类型不匹配 (该类型为字符串,需要传递数字类型)", + ['commanderror_invaliditem'] = "无效的物品代码", + ['commanderror_invalidweapon'] = "无效的武器代码", + ['commanderror_console'] = "控制台无法执行此命令!", + ['commanderror_invalidcommand'] = "/%s 不是有效的命令!", + ['commanderror_invalidplayerid'] = "无效的玩家服务器ID", + ['commandgeneric_playerid'] = "玩家服务器ID", + ['command_giveammo_noweapon_found'] = "%s 为无效的武器代码!", + ['command_giveammo_weapon'] = "武器代码", + ['command_giveammo_ammo'] = "弹药数量", + ['tpm_nowaypoint'] = "尚未配置导航点!", + ['tpm_success'] = "已传送至该导航点", - ['noclip_message'] = '飞行模式已被激活 %s', - ['enabled'] = '~g~已开启~s~', - ['disabled'] = '~r~已关闭~s~', + ['noclip_message'] = "飞行模式已被激活 %s", + ['enabled'] = "~g~已开启~s~", + ['disabled'] = "~r~已关闭~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '$%s', + ['locale_digit_grouping_symbol'] = ",", + ['locale_currency'] = "$%s", -- Weapons -- Melee - ['weapon_dagger'] = '古骑兵匕首', - ['weapon_bat'] = '棒球棍', - ['weapon_battleaxe'] = '战斧', - ['weapon_bottle'] = '碎酒瓶', - ['weapon_crowbar'] = '撬棍', - ['weapon_flashlight'] = '手电筒', - ['weapon_golfclub'] = '高尔夫球杆', - ['weapon_hammer'] = '铁锤', - ['weapon_hatchet'] = '手斧', - ['weapon_knife'] = '小刀', - ['weapon_knuckle'] = '手指虎', - ['weapon_machete'] = '开山刀', - ['weapon_nightstick'] = '警棍', - ['weapon_wrench'] = '管钳扳手', - ['weapon_poolcue'] = '台球杆', - ['weapon_stone_hatchet'] = '石斧', - ['weapon_switchblade'] = '弹簧刀', + ['weapon_dagger'] = "古骑兵匕首", + ['weapon_bat'] = "棒球棍", + ['weapon_battleaxe'] = "战斧", + ['weapon_bottle'] = "碎酒瓶", + ['weapon_crowbar'] = "撬棍", + ['weapon_flashlight'] = "手电筒", + ['weapon_golfclub'] = "高尔夫球杆", + ['weapon_hammer'] = "铁锤", + ['weapon_hatchet'] = "手斧", + ['weapon_knife'] = "小刀", + ['weapon_knuckle'] = "手指虎", + ['weapon_machete'] = "开山刀", + ['weapon_nightstick'] = "警棍", + ['weapon_wrench'] = "管钳扳手", + ['weapon_poolcue'] = "台球杆", + ['weapon_stone_hatchet'] = "石斧", + ['weapon_switchblade'] = "弹簧刀", -- Handguns - ['weapon_appistol'] = '穿甲手枪', - ['weapon_ceramicpistol'] = '陶瓷手枪', - ['weapon_combatpistol'] = '战斗手枪', - ['weapon_doubleaction'] = '双动式左轮手枪', - ['weapon_navyrevolver'] = '海军左轮手枪', - ['weapon_flaregun'] = '信号枪', - ['weapon_gadgetpistol'] = '佩里克手枪', - ['weapon_heavypistol'] = '重型手枪', - ['weapon_revolver'] = '重型左轮手枪', - ['weapon_revolver_mk2'] = '重型左轮手枪-MK2', - ['weapon_marksmanpistol'] = '射手手枪', - ['weapon_pistol'] = '手枪', - ['weapon_pistol_mk2'] = '手枪-MK2', - ['weapon_pistol50'] = '0.5-口径手枪', - ['weapon_snspistol'] = '劣质手枪', - ['weapon_snspistol_mk2'] = '劣质手枪-MK2', - ['weapon_stungun'] = '电击枪', - ['weapon_raypistol'] = '原子堡手枪', - ['weapon_vintagepistol'] = '老式手枪', + ['weapon_appistol'] = "穿甲手枪", + ['weapon_ceramicpistol'] = "陶瓷手枪", + ['weapon_combatpistol'] = "战斗手枪", + ['weapon_doubleaction'] = "双动式左轮手枪", + ['weapon_navyrevolver'] = "海军左轮手枪", + ['weapon_flaregun'] = "信号枪", + ['weapon_gadgetpistol'] = "佩里克手枪", + ['weapon_heavypistol'] = "重型手枪", + ['weapon_revolver'] = "重型左轮手枪", + ['weapon_revolver_mk2'] = "重型左轮手枪-MK2", + ['weapon_marksmanpistol'] = "射手手枪", + ['weapon_pistol'] = "手枪", + ['weapon_pistol_mk2'] = "手枪-MK2", + ['weapon_pistol50'] = "0.5-口径手枪", + ['weapon_snspistol'] = "劣质手枪", + ['weapon_snspistol_mk2'] = "劣质手枪-MK2", + ['weapon_stungun'] = "电击枪", + ['weapon_raypistol'] = "原子堡手枪", + ['weapon_vintagepistol'] = "老式手枪", -- Shotguns - ['weapon_assaultshotgun'] = '突击霰弹枪', - ['weapon_autoshotgun'] = '半自动霰弹枪', - ['weapon_bullpupshotgun'] = '无托式霰弹枪', - ['weapon_combatshotgun'] = '战斗霰弹枪', - ['weapon_dbshotgun'] = '双管霰弹枪', - ['weapon_heavyshotgun'] = '重型霰弹枪', - ['weapon_musket'] = '老式火枪', - ['weapon_pumpshotgun'] = '泵动式霰弹枪', - ['weapon_pumpshotgun_mk2'] = '泵动式霰弹枪-MK2', - ['weapon_sawnoffshotgun'] = '短管霰弹枪', + ['weapon_assaultshotgun'] = "突击霰弹枪", + ['weapon_autoshotgun'] = "半自动霰弹枪", + ['weapon_bullpupshotgun'] = "无托式霰弹枪", + ['weapon_combatshotgun'] = "战斗霰弹枪", + ['weapon_dbshotgun'] = "双管霰弹枪", + ['weapon_heavyshotgun'] = "重型霰弹枪", + ['weapon_musket'] = "老式火枪", + ['weapon_pumpshotgun'] = "泵动式霰弹枪", + ['weapon_pumpshotgun_mk2'] = "泵动式霰弹枪-MK2", + ['weapon_sawnoffshotgun'] = "短管霰弹枪", -- SMG & LMG - ['weapon_assaultsmg'] = '突击冲锋枪', - ['weapon_combatmg'] = '战斗机枪', - ['weapon_combatmg_mk2'] = '战斗机枪-MK2', - ['weapon_combatpdw'] = '作战自卫冲锋枪', - ['weapon_gusenberg'] = '古森柏冲锋枪', - ['weapon_machinepistol'] = '冲锋手枪', - ['weapon_mg'] = '机枪', - ['weapon_microsmg'] = '微型冲锋枪', - ['weapon_minismg'] = '迷你冲锋枪', - ['weapon_smg'] = '冲锋枪', - ['weapon_smg_mk2'] = '冲锋枪-MK2', - ['weapon_raycarbine'] = '不洁使者', + ['weapon_assaultsmg'] = "突击冲锋枪", + ['weapon_combatmg'] = "战斗机枪", + ['weapon_combatmg_mk2'] = "战斗机枪-MK2", + ['weapon_combatpdw'] = "作战自卫冲锋枪", + ['weapon_gusenberg'] = "古森柏冲锋枪", + ['weapon_machinepistol'] = "冲锋手枪", + ['weapon_mg'] = "机枪", + ['weapon_microsmg'] = "微型冲锋枪", + ['weapon_minismg'] = "迷你冲锋枪", + ['weapon_smg'] = "冲锋枪", + ['weapon_smg_mk2'] = "冲锋枪-MK2", + ['weapon_raycarbine'] = "不洁使者", -- Rifles - ['weapon_advancedrifle'] = '高级步枪', - ['weapon_assaultrifle'] = '突击步枪', - ['weapon_assaultrifle_mk2'] = '突击步枪-MK2', - ['weapon_bullpuprifle'] = '无托式步枪', - ['weapon_bullpuprifle_mk2'] = '无托式步枪-MK2', - ['weapon_carbinerifle'] = '卡宾步枪', - ['weapon_carbinerifle_mk2'] = '卡宾步枪-MK2', - ['weapon_compactrifle'] = '紧凑型步枪', - ['weapon_militaryrifle'] = '军用步枪', - ['weapon_specialcarbine'] = '特制卡宾步枪', - ['weapon_specialcarbine_mk2'] = '特制卡宾步枪-MK2', + ['weapon_advancedrifle'] = "高级步枪", + ['weapon_assaultrifle'] = "突击步枪", + ['weapon_assaultrifle_mk2'] = "突击步枪-MK2", + ['weapon_bullpuprifle'] = "无托式步枪", + ['weapon_bullpuprifle_mk2'] = "无托式步枪-MK2", + ['weapon_carbinerifle'] = "卡宾步枪", + ['weapon_carbinerifle_mk2'] = "卡宾步枪-MK2", + ['weapon_compactrifle'] = "紧凑型步枪", + ['weapon_militaryrifle'] = "军用步枪", + ['weapon_specialcarbine'] = "特制卡宾步枪", + ['weapon_specialcarbine_mk2'] = "特制卡宾步枪-MK2", -- Sniper - ['weapon_heavysniper'] = '重型狙击步枪', - ['weapon_heavysniper_mk2'] = '重型狙击步枪-MK2', - ['weapon_marksmanrifle'] = '射手步枪', - ['weapon_marksmanrifle_mk2'] = '射手步枪-MK2', - ['weapon_sniperrifle'] = '狙击步枪', + ['weapon_heavysniper'] = "重型狙击步枪", + ['weapon_heavysniper_mk2'] = "重型狙击步枪-MK2", + ['weapon_marksmanrifle'] = "射手步枪", + ['weapon_marksmanrifle_mk2'] = "射手步枪-MK2", + ['weapon_sniperrifle'] = "狙击步枪", -- Heavy / Launchers - ['weapon_compactlauncher'] = '紧凑型榴弹发射器', - ['weapon_firework'] = '烟花发射器', - ['weapon_grenadelauncher'] = '榴弹发射器', - ['weapon_hominglauncher'] = '制导火箭发射器', - ['weapon_minigun'] = '火神机枪', - ['weapon_railgun'] = '电磁轨道炮', - ['weapon_rpg'] = '火箭炮', - ['weapon_rayminigun'] = '寡妇制造者', + ['weapon_compactlauncher'] = "紧凑型榴弹发射器", + ['weapon_firework'] = "烟花发射器", + ['weapon_grenadelauncher'] = "榴弹发射器", + ['weapon_hominglauncher'] = "制导火箭发射器", + ['weapon_minigun'] = "火神机枪", + ['weapon_railgun'] = "电磁轨道炮", + ['weapon_rpg'] = "火箭炮", + ['weapon_rayminigun'] = "寡妇制造者", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = '金属探测器', - ['weapon_precisionrifle'] = '精确步枪', - ['weapon_tactilerifle'] = '制式卡宾步枪', + ['weapon_metaldetector'] = "金属探测器", + ['weapon_precisionrifle'] = "精确步枪", + ['weapon_tactilerifle'] = "制式卡宾步枪", -- Thrown - ['weapon_ball'] = '棒球', - ['weapon_bzgas'] = '毒气弹', - ['weapon_flare'] = '信号棒', - ['weapon_grenade'] = '手榴弹', - ['weapon_petrolcan'] = '汽油桶', - ['weapon_hazardcan'] = '有害汽油桶', - ['weapon_molotov'] = '汽油弹', - ['weapon_proxmine'] = '感应式地雷', - ['weapon_pipebomb'] = '土製炸彈', - ['weapon_snowball'] = '雪球', - ['weapon_stickybomb'] = '黏弹', - ['weapon_smokegrenade'] = '烟雾弹', + ['weapon_ball'] = "棒球", + ['weapon_bzgas'] = "毒气弹", + ['weapon_flare'] = "信号棒", + ['weapon_grenade'] = "手榴弹", + ['weapon_petrolcan'] = "汽油桶", + ['weapon_hazardcan'] = "有害汽油桶", + ['weapon_molotov'] = "汽油弹", + ['weapon_proxmine'] = "感应式地雷", + ['weapon_pipebomb'] = "土製炸彈", + ['weapon_snowball'] = "雪球", + ['weapon_stickybomb'] = "黏弹", + ['weapon_smokegrenade'] = "烟雾弹", -- Special - ['weapon_fireextinguisher'] = '灭火器', - ['weapon_digiscanner'] = '数位扫描仪', - ['weapon_garbagebag'] = '垃圾袋', - ['weapon_handcuffs'] = '手铐', - ['gadget_nightvision'] = '夜视仪', - ['gadget_parachute'] = '降落伞', + ['weapon_fireextinguisher'] = "灭火器", + ['weapon_digiscanner'] = "数位扫描仪", + ['weapon_garbagebag'] = "垃圾袋", + ['weapon_handcuffs'] = "手铐", + ['gadget_nightvision'] = "夜视仪", + ['gadget_parachute'] = "降落伞", -- Weapon Components - ['component_knuckle_base'] = '基本样式', - ['component_knuckle_pimp'] = '皮条客', - ['component_knuckle_ballas'] = '巴拉斯帮', - ['component_knuckle_dollar'] = '江湖骗子', - ['component_knuckle_diamond'] = '摇滚朋克', - ['component_knuckle_hate'] = '怨气冤家', - ['component_knuckle_love'] = '甜蜜情人', - ['component_knuckle_player'] = '花花公子', - ['component_knuckle_king'] = '霸者之风', - ['component_knuckle_vagos'] = '维戈斯帮', + ['component_knuckle_base'] = "基本样式", + ['component_knuckle_pimp'] = "皮条客", + ['component_knuckle_ballas'] = "巴拉斯帮", + ['component_knuckle_dollar'] = "江湖骗子", + ['component_knuckle_diamond'] = "摇滚朋克", + ['component_knuckle_hate'] = "怨气冤家", + ['component_knuckle_love'] = "甜蜜情人", + ['component_knuckle_player'] = "花花公子", + ['component_knuckle_king'] = "霸者之风", + ['component_knuckle_vagos'] = "维戈斯帮", - ['component_luxary_finish'] = '奢华涂饰', + ['component_luxary_finish'] = "奢华涂饰", - ['component_handle_default'] = '默认刀柄', - ['component_handle_vip'] = '贵宾样式', - ['component_handle_bodyguard'] = '保镖款式', + ['component_handle_default'] = "默认刀柄", + ['component_handle_vip'] = "贵宾样式", + ['component_handle_bodyguard'] = "保镖款式", - ['component_vip_finish'] = '贵宾样式', - ['component_bodyguard_finish'] = '保镖款式', + ['component_vip_finish'] = "贵宾样式", + ['component_bodyguard_finish'] = "保镖款式", - ['component_camo_finish'] = '数码迷彩', - ['component_camo_finish2'] = '笔刷迷彩', - ['component_camo_finish3'] = '林地迷彩', - ['component_camo_finish4'] = '骷髅头', - ['component_camo_finish5'] = '希斯提·耐', - ['component_camo_finish6'] = '神之子', - ['component_camo_finish7'] = '猎豹纹理', - ['component_camo_finish8'] = '斑马纹理', - ['component_camo_finish9'] = '几何图形', - ['component_camo_finish10'] = 'BOOM!', - ['component_camo_finish11'] = '爱国者', + ['component_camo_finish'] = "数码迷彩", + ['component_camo_finish2'] = "笔刷迷彩", + ['component_camo_finish3'] = "林地迷彩", + ['component_camo_finish4'] = "骷髅头", + ['component_camo_finish5'] = "希斯提·耐", + ['component_camo_finish6'] = "神之子", + ['component_camo_finish7'] = "猎豹纹理", + ['component_camo_finish8'] = "斑马纹理", + ['component_camo_finish9'] = "几何图形", + ['component_camo_finish10'] = "BOOM!", + ['component_camo_finish11'] = "爱国者", - ['component_camo_slide_finish'] = '数码迷涂装', - ['component_camo_slide_finish2'] = '笔刷迷彩涂装', - ['component_camo_slide_finish3'] = '林地迷彩涂装', - ['component_camo_slide_finish4'] = '骷髅头涂装', - ['component_camo_slide_finish5'] = '希斯提·耐涂装', - ['component_camo_slide_finish6'] = '神之子涂装', - ['component_camo_slide_finish7'] = '猎豹纹理涂装', - ['component_camo_slide_finish8'] = '斑马纹理涂装', - ['component_camo_slide_finish9'] = '几何图形涂装', - ['component_camo_slide_finish10'] = 'BOOM涂装', - ['component_camo_slide_finish11'] = '爱国者涂装', + ['component_camo_slide_finish'] = "数码迷涂装", + ['component_camo_slide_finish2'] = "笔刷迷彩涂装", + ['component_camo_slide_finish3'] = "林地迷彩涂装", + ['component_camo_slide_finish4'] = "骷髅头涂装", + ['component_camo_slide_finish5'] = "希斯提·耐涂装", + ['component_camo_slide_finish6'] = "神之子涂装", + ['component_camo_slide_finish7'] = "猎豹纹理涂装", + ['component_camo_slide_finish8'] = "斑马纹理涂装", + ['component_camo_slide_finish9'] = "几何图形涂装", + ['component_camo_slide_finish10'] = "BOOM涂装", + ['component_camo_slide_finish11'] = "爱国者涂装", - ['component_clip_default'] = '默认弹夹', - ['component_clip_extended'] = '扩容弹夹', - ['component_clip_drum'] = '鼓式弹夹', - ['component_clip_box'] = '盒型弹匣', + ['component_clip_default'] = "默认弹夹", + ['component_clip_extended'] = "扩容弹夹", + ['component_clip_drum'] = "鼓式弹夹", + ['component_clip_box'] = "盒型弹匣", - ['component_scope_holo'] = '全息式瞄准镜', - ['component_scope_small'] = '小型瞄准镜', - ['component_scope_medium'] = '中型瞄准镜', - ['component_scope_large'] = '大型瞄准镜', - ['component_scope'] = '瞄准镜', - ['component_scope_advanced'] = '高级瞄准镜', - ['component_ironsights'] = '铁式瞄具', + ['component_scope_holo'] = "全息式瞄准镜", + ['component_scope_small'] = "小型瞄准镜", + ['component_scope_medium'] = "中型瞄准镜", + ['component_scope_large'] = "大型瞄准镜", + ['component_scope'] = "瞄准镜", + ['component_scope_advanced'] = "高级瞄准镜", + ['component_ironsights'] = "铁式瞄具", - ['component_suppressor'] = '消音器', - ['component_compensator'] = '补偿器', + ['component_suppressor'] = "消音器", + ['component_compensator'] = "补偿器", - ['component_muzzle_flat'] = '扁型枪口制动器', - ['component_muzzle_tactical'] = '战术枪口制动器', - ['component_muzzle_fat'] = '宽尾型枪口制动器', - ['component_muzzle_precision'] = '精準枪口制动器', - ['component_muzzle_heavy'] = '耐用型枪口制动器', - ['component_muzzle_slanted'] = '倾斜型枪口制动器', - ['component_muzzle_split'] = '分岔型枪口制动器', - ['component_muzzle_squared'] = '方形枪口制动器', + ['component_muzzle_flat'] = "扁型枪口制动器", + ['component_muzzle_tactical'] = "战术枪口制动器", + ['component_muzzle_fat'] = "宽尾型枪口制动器", + ['component_muzzle_precision'] = "精準枪口制动器", + ['component_muzzle_heavy'] = "耐用型枪口制动器", + ['component_muzzle_slanted'] = "倾斜型枪口制动器", + ['component_muzzle_split'] = "分岔型枪口制动器", + ['component_muzzle_squared'] = "方形枪口制动器", - ['component_flashlight'] = '手电筒', - ['component_grip'] = '握把', + ['component_flashlight'] = "手电筒", + ['component_grip'] = "握把", - ['component_barrel_default'] = '默认枪管', - ['component_barrel_heavy'] = '重型枪管', + ['component_barrel_default'] = "默认枪管", + ['component_barrel_heavy'] = "重型枪管", - ['component_ammo_tracer'] = '曳光弹', - ['component_ammo_incendiary'] = '燃烧弹', - ['component_ammo_hollowpoint'] = '被甲空尖弹', - ['component_ammo_fmj'] = '全金属包裹弹', - ['component_ammo_armor'] = '穿甲弹', - ['component_ammo_explosive'] = '爆炸蛋弹', + ['component_ammo_tracer'] = "曳光弹", + ['component_ammo_incendiary'] = "燃烧弹", + ['component_ammo_hollowpoint'] = "被甲空尖弹", + ['component_ammo_fmj'] = "全金属包裹弹", + ['component_ammo_armor'] = "穿甲弹", + ['component_ammo_explosive'] = "爆炸蛋弹", - ['component_shells_default'] = '默认弹药', - ['component_shells_incendiary'] = '燃烧弹', - ['component_shells_armor'] = '钢式猎鹿蛋', - ['component_shells_hollowpoint'] = '被甲空尖弹', - ['component_shells_explosive'] = '爆裂弹', + ['component_shells_default'] = "默认弹药", + ['component_shells_incendiary'] = "燃烧弹", + ['component_shells_armor'] = "钢式猎鹿蛋", + ['component_shells_hollowpoint'] = "被甲空尖弹", + ['component_shells_explosive'] = "爆裂弹", -- Weapon Ammo - ['ammo_rounds'] = '发(子弹)', - ['ammo_shells'] = '发(子弹)', - ['ammo_charge'] = '喷', - ['ammo_petrol'] = '加仑(燃料)', - ['ammo_firework'] = '发(烟花弹)', - ['ammo_rockets'] = '枚(火箭弹)', - ['ammo_grenadelauncher'] = '发(榴弹)', - ['ammo_grenade'] = '枚(手榴弹)', - ['ammo_stickybomb'] = '枚(炸弹)', - ['ammo_pipebomb'] = '枚(炸弹)', - ['ammo_smokebomb'] = '枚(炸彈)', - ['ammo_molotov'] = '瓶(燃烧瓶)', - ['ammo_proxmine'] = '个(地雷)', - ['ammo_bzgas'] = '罐', - ['ammo_ball'] = '个(棒球)', - ['ammo_snowball'] = '个(雪球)', - ['ammo_flare'] = '根(信号棒)', - ['ammo_flaregun'] = '发(信号弹)', + ['ammo_rounds'] = "发(子弹)", + ['ammo_shells'] = "发(子弹)", + ['ammo_charge'] = "喷", + ['ammo_petrol'] = "加仑(燃料)", + ['ammo_firework'] = "发(烟花弹)", + ['ammo_rockets'] = "枚(火箭弹)", + ['ammo_grenadelauncher'] = "发(榴弹)", + ['ammo_grenade'] = "枚(手榴弹)", + ['ammo_stickybomb'] = "枚(炸弹)", + ['ammo_pipebomb'] = "枚(炸弹)", + ['ammo_smokebomb'] = "枚(炸彈)", + ['ammo_molotov'] = "瓶(燃烧瓶)", + ['ammo_proxmine'] = "个(地雷)", + ['ammo_bzgas'] = "罐", + ['ammo_ball'] = "个(棒球)", + ['ammo_snowball'] = "个(雪球)", + ['ammo_flare'] = "根(信号棒)", + ['ammo_flaregun'] = "发(信号弹)", -- Weapon Tints - ['tint_default'] = '默认色调', - ['tint_green'] = '绿色调', - ['tint_gold'] = '金色调', - ['tint_pink'] = '粉色调', - ['tint_army'] = '军用色调', - ['tint_lspd'] = '洛圣都警局色调', - ['tint_orange'] = '橙色调', - ['tint_platinum'] = '铂金色调', + ['tint_default'] = "默认色调", + ['tint_green'] = "绿色调", + ['tint_gold'] = "金色调", + ['tint_pink'] = "粉色调", + ['tint_army'] = "军用色调", + ['tint_lspd'] = "洛圣都警局色调", + ['tint_orange'] = "橙色调", + ['tint_platinum'] = "铂金色调", } diff --git a/[core]/esx_identity/locales/cs.lua b/[core]/esx_identity/locales/cs.lua index ac691129..fe62e78a 100644 --- a/[core]/esx_identity/locales/cs.lua +++ b/[core]/esx_identity/locales/cs.lua @@ -1,11 +1,11 @@ Locales['cs'] = { - ['show_registration'] = 'zobrazit registracni menu', - ['show_active_character'] = 'zobrazit aktivni postavy', - ['delete_character'] = 'smazat svou stavajici postavu a vytvorit novou', - ['deleted_character'] = 'vase postava byla smazana.', - ['not_registered'] = 'nemas zaregistrovanou postavu.', - ['active_character'] = 'aktivni postava: %s %s', - ['already_registered'] = 'jiz mas zaregistrovanou postavu.', - ['failed_identity'] = 'nastaveni vasi postavy selhalo, zkus to prosim znovu pozdeji nebo kontaktuj majitele serveru!', - ['create_a_character'] = 'aby jsi mohl/a hrat, tak se musis registrovat.' + ['show_registration'] = "zobrazit registracni menu", + ['show_active_character'] = "zobrazit aktivni postavy", + ['delete_character'] = "smazat svou stavajici postavu a vytvorit novou", + ['deleted_character'] = "vase postava byla smazana.", + ['not_registered'] = "nemas zaregistrovanou postavu.", + ['active_character'] = "aktivni postava: %s %s", + ['already_registered'] = "jiz mas zaregistrovanou postavu.", + ['failed_identity'] = "nastaveni vasi postavy selhalo, zkus to prosim znovu pozdeji nebo kontaktuj majitele serveru!", + ['create_a_character'] = "aby jsi mohl/a hrat, tak se musis registrovat.", } diff --git a/[core]/esx_identity/locales/da.lua b/[core]/esx_identity/locales/da.lua index ab126312..48680926 100644 --- a/[core]/esx_identity/locales/da.lua +++ b/[core]/esx_identity/locales/da.lua @@ -1,39 +1,39 @@ Locales['da'] = { - ['show_active_character'] = 'Vis aktiv karakter', - ['active_character'] = 'Aktiv karakter: %s', - ['error_active_character'] = 'Der opstod en fejl under indhentning af dine data.', - ['delete_character'] = 'Slet din nuværende karakter.', - ['deleted_character'] = 'Karakter slettet', - ['error_delete_character'] = 'Der opstod et problem med at slette din karakter.', - ['thank_you_for_registering'] = 'Registreringen lykkedes. God fornøjelse!', - ['debug_xPlayer_get_first_name'] = 'Returnerer dit fornavn', - ['debug_xPlayer_get_last_name'] = 'Returnerer dit efternavn', - ['debug_xPlayer_get_full_name'] = 'Returnerer dit fulde navn', - ['debug_xPlayer_get_sex'] = 'Returnerer dit køn', - ['debug_xPlayer_get_dob'] = 'Returnerer din fødselsdato', - ['debug_xPlayer_get_height'] = 'Giver din højde tilbage', - ['error_debug_xPlayer_get_first_name'] = 'Der opstod et problem med at få dit fornavn.', - ['error_debug_xPlayer_get_last_name'] = 'Der opstod et problem med at få dit efternavn.', - ['error_debug_xPlayer_get_full_name'] = 'Der opstod et problem under indhentning af dit fulde navn.', - ['error_debug_xPlayer_get_sex'] = 'Der var et problem med at få dit sex.', - ['error_debug_xPlayer_get_dob'] = 'Der var et problem med at få din fødselsdato.', - ['error_debug_xPlayer_get_height'] = 'Der var et problem med at få din højde.', - ['return_debug_xPlayer_get_first_name'] = 'Fornavn: %s', - ['return_debug_xPlayer_get_last_name'] = 'Efternavn: %s', - ['return_debug_xPlayer_get_full_name'] = 'Fulde Navn: %s', - ['return_debug_xPlayer_get_sex'] = 'Køn: %s', - ['return_debug_xPlayer_get_dob'] = 'Fødselsdato: %s', - ['return_debug_xPlayer_get_height'] = 'Højde: %s Tommer', - ['data_incorrect'] = 'Ugyldige data. Prøv venligst igen.', - ['invalid_format'] = 'Ugyldigt dataformat. Prøv venligst igen.', - ['no_identifier'] = '[ESX Identitet]\nDer var et problem under indlæsning af din karakter!\nFejlkode: identifikator mangler\n\nDette skyldes, at din identifikator mangler. Venligst vend tilbage senere eller rapporter dette problem til serverejeren.', - ['missing_identity'] = '[ESX Identitet]\nDer var et problem med at indlæse din karakter!\nFejlkode: identitet mangler\n\nDet ser ud til, at din identitet mangler, prøv at oprette forbindelse igen.', - ['deleted_identity'] = 'Tegn slettet. Tilmeld dig igen for at oprette en ny karakter.', - ['already_registered'] = 'Du har allerede tilmeldt dig.', - ['invalid_firstname_format'] = 'Ugyldigt format (fornavn): Prøv venligst igen.', - ['invalid_lastname_format'] = 'Ugyldigt format (efternavn): Prøv igen.', - ['invalid_dob_format'] = 'Ugyldigt format (DOB): Prøv venligst igen.', - ['invalid_sex_format'] = 'Ugyldigt format (køn): Prøv venligst igen.', - ['invalid_height_format'] = 'Ugyldigt format (højde): Prøv venligst igen.' + ['show_active_character'] = "Vis aktiv karakter", + ['active_character'] = "Aktiv karakter: %s", + ['error_active_character'] = "Der opstod en fejl under indhentning af dine data.", + ['delete_character'] = "Slet din nuværende karakter.", + ['deleted_character'] = "Karakter slettet", + ['error_delete_character'] = "Der opstod et problem med at slette din karakter.", + ['thank_you_for_registering'] = "Registreringen lykkedes. God fornøjelse!", + ['debug_xPlayer_get_first_name'] = "Returnerer dit fornavn", + ['debug_xPlayer_get_last_name'] = "Returnerer dit efternavn", + ['debug_xPlayer_get_full_name'] = "Returnerer dit fulde navn", + ['debug_xPlayer_get_sex'] = "Returnerer dit køn", + ['debug_xPlayer_get_dob'] = "Returnerer din fødselsdato", + ['debug_xPlayer_get_height'] = "Giver din højde tilbage", + ['error_debug_xPlayer_get_first_name'] = "Der opstod et problem med at få dit fornavn.", + ['error_debug_xPlayer_get_last_name'] = "Der opstod et problem med at få dit efternavn.", + ['error_debug_xPlayer_get_full_name'] = "Der opstod et problem under indhentning af dit fulde navn.", + ['error_debug_xPlayer_get_sex'] = "Der var et problem med at få dit sex.", + ['error_debug_xPlayer_get_dob'] = "Der var et problem med at få din fødselsdato.", + ['error_debug_xPlayer_get_height'] = "Der var et problem med at få din højde.", + ['return_debug_xPlayer_get_first_name'] = "Fornavn: %s", + ['return_debug_xPlayer_get_last_name'] = "Efternavn: %s", + ['return_debug_xPlayer_get_full_name'] = "Fulde Navn: %s", + ['return_debug_xPlayer_get_sex'] = "Køn: %s", + ['return_debug_xPlayer_get_dob'] = "Fødselsdato: %s", + ['return_debug_xPlayer_get_height'] = "Højde: %s Tommer", + ['data_incorrect'] = "Ugyldige data. Prøv venligst igen.", + ['invalid_format'] = "Ugyldigt dataformat. Prøv venligst igen.", + ['no_identifier'] = "[ESX Identitet]\nDer var et problem under indlæsning af din karakter!\nFejlkode: identifikator mangler\n\nDette skyldes, at din identifikator mangler. Venligst vend tilbage senere eller rapporter dette problem til serverejeren.", + ['missing_identity'] = "[ESX Identitet]\nDer var et problem med at indlæse din karakter!\nFejlkode: identitet mangler\n\nDet ser ud til, at din identitet mangler, prøv at oprette forbindelse igen.", + ['deleted_identity'] = "Tegn slettet. Tilmeld dig igen for at oprette en ny karakter.", + ['already_registered'] = "Du har allerede tilmeldt dig.", + ['invalid_firstname_format'] = "Ugyldigt format (fornavn): Prøv venligst igen.", + ['invalid_lastname_format'] = "Ugyldigt format (efternavn): Prøv igen.", + ['invalid_dob_format'] = "Ugyldigt format (DOB): Prøv venligst igen.", + ['invalid_sex_format'] = "Ugyldigt format (køn): Prøv venligst igen.", + ['invalid_height_format'] = "Ugyldigt format (højde): Prøv venligst igen.", } diff --git a/[core]/esx_identity/locales/en.lua b/[core]/esx_identity/locales/en.lua index a2bab9ce..c3d17b69 100644 --- a/[core]/esx_identity/locales/en.lua +++ b/[core]/esx_identity/locales/en.lua @@ -1,38 +1,38 @@ Locales['en'] = { - ['show_active_character'] = 'Show Active Character', - ['active_character'] = 'Active Character: %s', - ['error_active_character'] = 'There was an error obtaining your data.', - ['delete_character'] = 'Delete Your Current Character.', - ['deleted_character'] = 'Character Deleted', - ['error_delete_character'] = 'There was a problem deleting your character.', - ['thank_you_for_registering'] = 'Registration Successful. Enjoy!', - ['debug_xPlayer_get_first_name'] = 'Returns Your First Name', - ['debug_xPlayer_get_last_name'] = 'Returns Your Last Name', - ['debug_xPlayer_get_full_name'] = 'Returns Your Full Name', - ['debug_xPlayer_get_sex'] = 'Returns Your Sex', - ['debug_xPlayer_get_dob'] = 'Returns Your DOB', - ['debug_xPlayer_get_height'] = 'Returns Your Height', - ['error_debug_xPlayer_get_first_name'] = 'There was an issue while obtaining your first name.', - ['error_debug_xPlayer_get_last_name'] = 'There was an issue while obtaining your last name.', - ['error_debug_xPlayer_get_full_name'] = 'There was an issue while obtaining your full name.', - ['error_debug_xPlayer_get_sex'] = 'There was an issue while obtaining your sex.', - ['error_debug_xPlayer_get_dob'] = 'There was an issue while obtaining your date of birth.', - ['error_debug_xPlayer_get_height'] = 'There was an issue while obtaining your height.', - ['return_debug_xPlayer_get_first_name'] = 'First Name: %s', - ['return_debug_xPlayer_get_last_name'] = 'Last Name: %s', - ['return_debug_xPlayer_get_full_name'] = 'Name: %s', - ['return_debug_xPlayer_get_sex'] = 'Sex: %s', - ['return_debug_xPlayer_get_dob'] = 'DOB: %s', - ['return_debug_xPlayer_get_height'] = 'Height: %s Inches', - ['data_incorrect'] = 'Invalid Data, Please try again.', - ['invalid_format'] = 'Invalid Data Format, Please try again.', - ['no_identifier'] = '[ESX Identity]\nThere was an issue while loading your character!\nError Code: identifier-missing\n\nThis is caused by your identifier being missing. Please come back later or report this problem to the Server Owner.', - ['missing_identity'] = '[ESX Identity]\nThere was an issue loading your character!\nError Code: identity-missing\n\nIt seems like your identity is missing, try connecting again.', - ['deleted_identity'] = 'Character deleted. Please rejoin to create a new character.', - ['already_registered'] = 'You have already registered.', - ['invalid_firstname_format'] = 'Invalid Format (First Name): Please try again.', - ['invalid_lastname_format'] = 'Invalid Format (Last Name): Please try again.', - ['invalid_dob_format'] = 'Invalid Format (DOB): Please try again.', - ['invalid_sex_format'] = 'Invalid Format (Sex): Please try again.', - ['invalid_height_format'] = 'Invalid Format (Height): Please try again.' + ['show_active_character'] = "Show Active Character", + ['active_character'] = "Active Character: %s", + ['error_active_character'] = "There was an error obtaining your data.", + ['delete_character'] = "Delete Your Current Character.", + ['deleted_character'] = "Character Deleted", + ['error_delete_character'] = "There was a problem deleting your character.", + ['thank_you_for_registering'] = "Registration Successful. Enjoy!", + ['debug_xPlayer_get_first_name'] = "Returns Your First Name", + ['debug_xPlayer_get_last_name'] = "Returns Your Last Name", + ['debug_xPlayer_get_full_name'] = "Returns Your Full Name", + ['debug_xPlayer_get_sex'] = "Returns Your Sex", + ['debug_xPlayer_get_dob'] = "Returns Your DOB", + ['debug_xPlayer_get_height'] = "Returns Your Height", + ['error_debug_xPlayer_get_first_name'] = "There was an issue while obtaining your first name.", + ['error_debug_xPlayer_get_last_name'] = "There was an issue while obtaining your last name.", + ['error_debug_xPlayer_get_full_name'] = "There was an issue while obtaining your full name.", + ['error_debug_xPlayer_get_sex'] = "There was an issue while obtaining your sex.", + ['error_debug_xPlayer_get_dob'] = "There was an issue while obtaining your date of birth.", + ['error_debug_xPlayer_get_height'] = "There was an issue while obtaining your height.", + ['return_debug_xPlayer_get_first_name'] = "First Name: %s", + ['return_debug_xPlayer_get_last_name'] = "Last Name: %s", + ['return_debug_xPlayer_get_full_name'] = "Name: %s", + ['return_debug_xPlayer_get_sex'] = "Sex: %s", + ['return_debug_xPlayer_get_dob'] = "DOB: %s", + ['return_debug_xPlayer_get_height'] = "Height: %s Inches", + ['data_incorrect'] = "Invalid Data, Please try again.", + ['invalid_format'] = "Invalid Data Format, Please try again.", + ['no_identifier'] = "[ESX Identity]\nThere was an issue while loading your character!\nError Code: identifier-missing\n\nThis is caused by your identifier being missing. Please come back later or report this problem to the Server Owner.", + ['missing_identity'] = "[ESX Identity]\nThere was an issue loading your character!\nError Code: identity-missing\n\nIt seems like your identity is missing, try connecting again.", + ['deleted_identity'] = "Character deleted. Please rejoin to create a new character.", + ['already_registered'] = "You have already registered.", + ['invalid_firstname_format'] = "Invalid Format (First Name): Please try again.", + ['invalid_lastname_format'] = "Invalid Format (Last Name): Please try again.", + ['invalid_dob_format'] = "Invalid Format (DOB): Please try again.", + ['invalid_sex_format'] = "Invalid Format (Sex): Please try again.", + ['invalid_height_format'] = "Invalid Format (Height): Please try again.", } diff --git a/[core]/esx_identity/locales/es.lua b/[core]/esx_identity/locales/es.lua index 8533e5fc..6e3dd9ee 100644 --- a/[core]/esx_identity/locales/es.lua +++ b/[core]/esx_identity/locales/es.lua @@ -1,9 +1,9 @@ Locales['es'] = { -['show_active_character'] = 'Mostrar personaje actual', -['active_character'] = 'Personaje actual: %s', +['show_active_character'] = "Mostrar personaje actual", +['active_character'] = "Personaje actual: %s", ['error_active_character'] = "Se produjo un error al recuperar tu nombre. Por favor contacta con un administrador", -['delete_character'] = 'Elimina tu personaje y crea uno nuevo', -['deleted_character'] = 'Tu personaje ha sido eliminado', +['delete_character'] = "Elimina tu personaje y crea uno nuevo", +['deleted_character'] = "Tu personaje ha sido eliminado", ['error_delete_character'] = "Se produjo un error al eliminar tu personaje. Por favor contacta con un administrador", ['thank_you_for_registering'] = "Gracias por registrarte. Bienvenido a la ciudad", ['debug_xPlayer_get_first_name'] = "Devuelve tu nombre", @@ -24,15 +24,15 @@ Locales['es'] = { ['return_debug_xPlayer_get_sex'] = "Sexo: %s", ['return_debug_xPlayer_get_dob'] = "Fecha de nacimiento: %s", ['return_debug_xPlayer_get_height'] = "Altura: %s centímetros", -['data_incorrect'] = 'Datos introducidos de forma incorrecta. Inténtalo de nuevo', -['invalid_format'] = 'Datos con formato incorrecto. Inténtalo de nuevo', -['no_identifier'] = '¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identifier-missing\n\nSe desconoce la causa de este error, no se pudo encontrar su identificador. Intentalo más tarde o informa de este problema al equipo administrativo del servidor', -['missing_identity'] = '¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identity-missing\n\nParece que falta su identidad, intenta conectarte nuevamente', -['deleted_identity'] = 'Tu personaje ha sido borrado. Vuelva a iniciar sesión para crear un nuevo personaje', -['already_registered'] = 'Ya estás registrado.', -['invalid_firstname_format'] = 'Formato Inválido (Nombre): Inténtalo de nuevo.', -['invalid_lastname_format'] = 'Formato Inválido (Apellido): Inténtalo de nuevo.', -['invalid_dob_format'] = 'Formato Inválido (Fec. Nac.): Inténtalo de nuevo.', -['invalid_sex_format'] = 'Formato Inválido (Sexo): Inténtalo de nuevo.', -['invalid_height_format'] = 'Formato Inválido (Altura): Inténtalo de nuevo.' +['data_incorrect'] = "Datos introducidos de forma incorrecta. Inténtalo de nuevo", +['invalid_format'] = "Datos con formato incorrecto. Inténtalo de nuevo", +['no_identifier'] = "¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identifier-missing\n\nSe desconoce la causa de este error, no se pudo encontrar su identificador. Intentalo más tarde o informa de este problema al equipo administrativo del servidor", +['missing_identity'] = "¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identity-missing\n\nParece que falta su identidad, intenta conectarte nuevamente", +['deleted_identity'] = "Tu personaje ha sido borrado. Vuelva a iniciar sesión para crear un nuevo personaje", +['already_registered'] = "Ya estás registrado.", +['invalid_firstname_format'] = "Formato Inválido (Nombre): Inténtalo de nuevo.", +['invalid_lastname_format'] = "Formato Inválido (Apellido): Inténtalo de nuevo.", +['invalid_dob_format'] = "Formato Inválido (Fec. Nac.): Inténtalo de nuevo.", +['invalid_sex_format'] = "Formato Inválido (Sexo): Inténtalo de nuevo.", +['invalid_height_format'] = "Formato Inválido (Altura): Inténtalo de nuevo.", } diff --git a/[core]/esx_identity/locales/fi.lua b/[core]/esx_identity/locales/fi.lua index 98454f4e..3738da51 100644 --- a/[core]/esx_identity/locales/fi.lua +++ b/[core]/esx_identity/locales/fi.lua @@ -1,9 +1,9 @@ Locales['fi'] = { - ['show_active_character'] = 'Näytä nykyinen hahmosi', - ['active_character'] = 'Nykyinen hahmosi: %s', + ['show_active_character'] = "Näytä nykyinen hahmosi", + ['active_character'] = "Nykyinen hahmosi: %s", ['error_active_character'] = "Hahmosi hakemisessa ilmeni ongelma. Ota yhteyttä ylläpitoon.", - ['delete_character'] = 'Poista hahmosi ja luo uusi.', - ['deleted_character'] = 'Hahmosi on poistetu.', + ['delete_character'] = "Poista hahmosi ja luo uusi.", + ['deleted_character'] = "Hahmosi on poistetu.", ['error_delete_character'] = "Hahmosi poistossa ilmeni ongelma. Ota yhteyttä ylläpitoon.", ['thank_you_for_registering'] = "Kiitos registeröitymisestä. Pidä hauskaa!", ['registration_error'] = "Registeröinnissä ilmeni ongelma. Ota yhteyttä ylläpitoon.", @@ -25,9 +25,9 @@ Locales['fi'] = { ['return_debug_xPlayer_get_sex'] = "Sukupuoli: %s", ['return_debug_xPlayer_get_dob'] = "Syntymäpäivä: %s", ['return_debug_xPlayer_get_height'] = "Pituus: %s CM", - ['data_incorrect'] = 'Data syötetty väärin. Yritä uudelleen.', - ['invalid_format'] = 'Data syötetty väärässä muodossa. Yritä uudelleen.', - ['no_identifier'] = 'Hahmosi lataamisessa ilmeni ongelma!\nVirhekoodi: identifier-missing\n\nVirhekoodin syytä ei tiedetä, joten ota yhteyttä ylläpitoon.', - ['missing_identity'] = 'Hahmosi lataamisessa ilmeni ongelma!\nVirhekoodi: identity-missing\n\nNäyttää siltä että hahmoasi ei ole olemassa. Kokeile yhdistää uudelleen tai ota yhteyttä ylläpitoon', - ['deleted_identity'] = 'Hahmosi on poistetu. Yhdistä palvelimelle uudestaan luodaksesi uusi hahmo.' + ['data_incorrect'] = "Data syötetty väärin. Yritä uudelleen.", + ['invalid_format'] = "Data syötetty väärässä muodossa. Yritä uudelleen.", + ['no_identifier'] = "Hahmosi lataamisessa ilmeni ongelma!\nVirhekoodi: identifier-missing\n\nVirhekoodin syytä ei tiedetä, joten ota yhteyttä ylläpitoon.", + ['missing_identity'] = "Hahmosi lataamisessa ilmeni ongelma!\nVirhekoodi: identity-missing\n\nNäyttää siltä että hahmoasi ei ole olemassa. Kokeile yhdistää uudelleen tai ota yhteyttä ylläpitoon", + ['deleted_identity'] = "Hahmosi on poistetu. Yhdistä palvelimelle uudestaan luodaksesi uusi hahmo.", } diff --git a/[core]/esx_identity/locales/fr.lua b/[core]/esx_identity/locales/fr.lua index 2286ba4f..1c5e8ef2 100644 --- a/[core]/esx_identity/locales/fr.lua +++ b/[core]/esx_identity/locales/fr.lua @@ -1,38 +1,38 @@ Locales['fr'] = { - ['show_active_character'] = 'Afficher le personnage actif', - ['active_character'] = 'Personnage actif: %s', - ['error_active_character'] = 'Une erreur s\'est produite lors de l\'obtention de vos données.', - ['delete_character'] = 'Supprimez votre personnage actuel.', - ['deleted_character'] = 'Caractère supprimé', - ['error_delete_character'] = 'Un problème est survenu lors de la suppression de votre personnage.', - ['thank_you_for_registering'] = 'Inscription réussi. Profitez!', - ['debug_xPlayer_get_first_name'] = 'Renvoie votre prénom', - ['debug_xPlayer_get_last_name'] = 'Renvoie votre nom de famille', - ['debug_xPlayer_get_full_name'] = 'Renvoie votre nom complet', - ['debug_xPlayer_get_sex'] = 'Renvoie votre sexe', - ['debug_xPlayer_get_dob'] = 'Renvoie votre date de naissance', - ['debug_xPlayer_get_height'] = 'Renvoie votre taille', - ['error_debug_xPlayer_get_first_name'] = 'Un problème est survenu lors de l\'obtention de votre prénom.', - ['error_debug_xPlayer_get_last_name'] = 'Un problème est survenu lors de l\'obtention de votre nom de famille.', - ['error_debug_xPlayer_get_full_name'] = 'Un problème est survenu lors de l\'obtention de votre nom complet.', - ['error_debug_xPlayer_get_sex'] = 'Il y a eu un problème lors de l\'obtention de votre sexe.', - ['error_debug_xPlayer_get_dob'] = 'Un problème est survenu lors de l\'obtention de votre date de naissance.', - ['error_debug_xPlayer_get_height'] = 'Un problème est survenu lors de l\'obtention de votre taille.', - ['return_debug_xPlayer_get_first_name'] = 'Prénom: %s', - ['return_debug_xPlayer_get_last_name'] = 'Nom de famille: %s', - ['return_debug_xPlayer_get_full_name'] = 'Nom: %s', - ['return_debug_xPlayer_get_sex'] = 'Sexe: %s', - ['return_debug_xPlayer_get_dob'] = 'Date de naissance: %s', - ['return_debug_xPlayer_get_height'] = 'Hauteur: %s pouces', - ['data_incorrect'] = 'Données non valides, veuillez réessayer.', - ['invalid_format'] = 'Format de données non valide, veuillez réessayer.', - ['no_identifier'] = '[ESX Identity]\nIl y a eu un problème lors du chargement de votre personnage !\nCode d\'erreur : identifiant manquant\n\nCela est dû au fait que votre identifiant est manquant. Veuillez revenir plus tard ou signaler ce problème au propriétaire du serveur.', - ['missing_identity'] = '[ESX Identity]Un problème est survenu lors du chargement de votre personnage !Code d\'erreur : identité manquante\n\nIl semble que votre identité soit manquante, essayez de vous reconnecter.', - ['deleted_identity'] = 'Personnage supprimé. Veuillez vous réinscrire pour créer un nouveau personnage.', - ['already_registered'] = 'Vous êtes déjà inscrit.', - ['invalid_firstname_format'] = 'Format non valide (prénom) : veuillez réessayer.', - ['invalid_lastname_format'] = 'Format non valide (nom de famille) : veuillez réessayer.', - ['invalid_dob_format'] = 'Format non valide (DDN) : veuillez réessayer.', - ['invalid_sex_format'] = 'Format non valide (sexe) : veuillez réessayer.', - ['invalid_height_format'] = 'Format non valide (hauteur) : veuillez réessayer.' + ['show_active_character'] = "Afficher le personnage actif", + ['active_character'] = "Personnage actif: %s", + ['error_active_character'] = "Une erreur s'est produite lors de l'obtention de vos données.", + ['delete_character'] = "Supprimez votre personnage actuel.", + ['deleted_character'] = "Caractère supprimé", + ['error_delete_character'] = "Un problème est survenu lors de la suppression de votre personnage.", + ['thank_you_for_registering'] = "Inscription réussi. Profitez!", + ['debug_xPlayer_get_first_name'] = "Renvoie votre prénom", + ['debug_xPlayer_get_last_name'] = "Renvoie votre nom de famille", + ['debug_xPlayer_get_full_name'] = "Renvoie votre nom complet", + ['debug_xPlayer_get_sex'] = "Renvoie votre sexe", + ['debug_xPlayer_get_dob'] = "Renvoie votre date de naissance", + ['debug_xPlayer_get_height'] = "Renvoie votre taille", + ['error_debug_xPlayer_get_first_name'] = "Un problème est survenu lors de l'obtention de votre prénom.", + ['error_debug_xPlayer_get_last_name'] = "Un problème est survenu lors de l'obtention de votre nom de famille.", + ['error_debug_xPlayer_get_full_name'] = "Un problème est survenu lors de l'obtention de votre nom complet.", + ['error_debug_xPlayer_get_sex'] = "Il y a eu un problème lors de l'obtention de votre sexe.", + ['error_debug_xPlayer_get_dob'] = "Un problème est survenu lors de l'obtention de votre date de naissance.", + ['error_debug_xPlayer_get_height'] = "Un problème est survenu lors de l'obtention de votre taille.", + ['return_debug_xPlayer_get_first_name'] = "Prénom: %s", + ['return_debug_xPlayer_get_last_name'] = "Nom de famille: %s", + ['return_debug_xPlayer_get_full_name'] = "Nom: %s", + ['return_debug_xPlayer_get_sex'] = "Sexe: %s", + ['return_debug_xPlayer_get_dob'] = "Date de naissance: %s", + ['return_debug_xPlayer_get_height'] = "Hauteur: %s pouces", + ['data_incorrect'] = "Données non valides, veuillez réessayer.", + ['invalid_format'] = "Format de données non valide, veuillez réessayer.", + ['no_identifier'] = "[ESX Identity]\nIl y a eu un problème lors du chargement de votre personnage !\nCode d'erreur : identifiant manquant\n\nCela est dû au fait que votre identifiant est manquant. Veuillez revenir plus tard ou signaler ce problème au propriétaire du serveur.", + ['missing_identity'] = "[ESX Identity]Un problème est survenu lors du chargement de votre personnage !Code d'erreur : identité manquante\n\nIl semble que votre identité soit manquante, essayez de vous reconnecter.", + ['deleted_identity'] = "Personnage supprimé. Veuillez vous réinscrire pour créer un nouveau personnage.", + ['already_registered'] = "Vous êtes déjà inscrit.", + ['invalid_firstname_format'] = "Format non valide (prénom) : veuillez réessayer.", + ['invalid_lastname_format'] = "Format non valide (nom de famille) : veuillez réessayer.", + ['invalid_dob_format'] = "Format non valide (DDN) : veuillez réessayer.", + ['invalid_sex_format'] = "Format non valide (sexe) : veuillez réessayer.", + ['invalid_height_format'] = "Format non valide (hauteur) : veuillez réessayer.", } diff --git a/[core]/esx_identity/locales/it.lua b/[core]/esx_identity/locales/it.lua index 70323cca..7b6aaf07 100644 --- a/[core]/esx_identity/locales/it.lua +++ b/[core]/esx_identity/locales/it.lua @@ -1,38 +1,38 @@ Locales['it'] = { - ['show_active_character'] = 'Mostra Personaggio Attivo', - ['active_character'] = 'Personaggio Attivo: %s', - ['error_active_character'] = 'Errore nel recuperare i tuoi dati.', - ['delete_character'] = 'Elimina Personaggio Attuale.', - ['deleted_character'] = 'Personaggio Eliminato', - ['error_delete_character'] = 'Errore nell\' eliminazione del personaggio.', - ['thank_you_for_registering'] = 'Registrazione effettuata. Divertiti!', - ['debug_xPlayer_get_first_name'] = 'Ritorna il tuo nome', - ['debug_xPlayer_get_last_name'] = 'Ritorna il tuo cognome', - ['debug_xPlayer_get_full_name'] = 'Ritorna il tuo nome completo', - ['debug_xPlayer_get_sex'] = 'Ritorna il tuo sesso', - ['debug_xPlayer_get_dob'] = 'Ritorna la tua data di nascita', - ['debug_xPlayer_get_height'] = 'Ritorna la tua altezza', - ['error_debug_xPlayer_get_first_name'] = 'Errore nell\' ottenere il tuo nome.', - ['error_debug_xPlayer_get_last_name'] = 'Errore nell\' ottenere il tuo cognome.', - ['error_debug_xPlayer_get_full_name'] = 'Errore nell\' ottenere il tuo nome completo.', - ['error_debug_xPlayer_get_sex'] = 'Errore nell\' ottenere il tuo sesso.', - ['error_debug_xPlayer_get_dob'] = 'Errore nell\' ottenere la tua data di nascita.', - ['error_debug_xPlayer_get_height'] = 'Errore nell\' ottenere la tua altezza.', - ['return_debug_xPlayer_get_first_name'] = 'Nome: %s', - ['return_debug_xPlayer_get_last_name'] = 'Cognome: %s', - ['return_debug_xPlayer_get_full_name'] = 'Nome Completo: %s', - ['return_debug_xPlayer_get_sex'] = 'Sesso: %s', - ['return_debug_xPlayer_get_dob'] = 'Data di nascita: %s', - ['return_debug_xPlayer_get_height'] = 'Altezza: %s Pollici', - ['data_incorrect'] = 'Dati errati, riprova.', - ['invalid_format'] = 'Formato dati errato, riprova.', - ['no_identifier'] = '[ESX Identity]\nErrore nel caricare il tuo personaggio!\nCodice Errore: identificativo-mancante\n\nQuesto è causato dalla mancanza del tuo identificativo. Riprova più tardi o segnalalo al proprietario del server.', - ['missing_identity'] = '[ESX Identity]\nErrore nel caricare il tuo personaggio!!\nCodice Errore: identità-mancante\n\nSembra che la tua identità sia mancante, prova a riconnetterti.', - ['deleted_identity'] = 'Personaggio eliminato, Rientra per crearne uno nuovo.', - ['already_registered'] = 'Sei già registrato.', - ['invalid_firstname_format'] = 'Formato non valido (Nome): Riprova.', - ['invalid_lastname_format'] = 'Formato non valido (Cognome): Riprova.', - ['invalid_dob_format'] = 'Formato non valido (Data di nascita): Riprova.', - ['invalid_sex_format'] = 'Formato non valido (Sesso): Riprova.', - ['invalid_height_format'] = 'Formato non valido (Altezza): Riprova.' + ['show_active_character'] = "Mostra Personaggio Attivo", + ['active_character'] = "Personaggio Attivo: %s", + ['error_active_character'] = "Errore nel recuperare i tuoi dati.", + ['delete_character'] = "Elimina Personaggio Attuale.", + ['deleted_character'] = "Personaggio Eliminato", + ['error_delete_character'] = "Errore nell' eliminazione del personaggio.", + ['thank_you_for_registering'] = "Registrazione effettuata. Divertiti!", + ['debug_xPlayer_get_first_name'] = "Ritorna il tuo nome", + ['debug_xPlayer_get_last_name'] = "Ritorna il tuo cognome", + ['debug_xPlayer_get_full_name'] = "Ritorna il tuo nome completo", + ['debug_xPlayer_get_sex'] = "Ritorna il tuo sesso", + ['debug_xPlayer_get_dob'] = "Ritorna la tua data di nascita", + ['debug_xPlayer_get_height'] = "Ritorna la tua altezza", + ['error_debug_xPlayer_get_first_name'] = "Errore nell' ottenere il tuo nome.", + ['error_debug_xPlayer_get_last_name'] = "Errore nell' ottenere il tuo cognome.", + ['error_debug_xPlayer_get_full_name'] = "Errore nell' ottenere il tuo nome completo.", + ['error_debug_xPlayer_get_sex'] = "Errore nell' ottenere il tuo sesso.", + ['error_debug_xPlayer_get_dob'] = "Errore nell' ottenere la tua data di nascita.", + ['error_debug_xPlayer_get_height'] = "Errore nell' ottenere la tua altezza.", + ['return_debug_xPlayer_get_first_name'] = "Nome: %s", + ['return_debug_xPlayer_get_last_name'] = "Cognome: %s", + ['return_debug_xPlayer_get_full_name'] = "Nome Completo: %s", + ['return_debug_xPlayer_get_sex'] = "Sesso: %s", + ['return_debug_xPlayer_get_dob'] = "Data di nascita: %s", + ['return_debug_xPlayer_get_height'] = "Altezza: %s Pollici", + ['data_incorrect'] = "Dati errati, riprova.", + ['invalid_format'] = "Formato dati errato, riprova.", + ['no_identifier'] = "[ESX Identity]\nErrore nel caricare il tuo personaggio!\nCodice Errore: identificativo-mancante\n\nQuesto è causato dalla mancanza del tuo identificativo. Riprova più tardi o segnalalo al proprietario del server.", + ['missing_identity'] = "[ESX Identity]\nErrore nel caricare il tuo personaggio!!\nCodice Errore: identità-mancante\n\nSembra che la tua identità sia mancante, prova a riconnetterti.", + ['deleted_identity'] = "Personaggio eliminato, Rientra per crearne uno nuovo.", + ['already_registered'] = "Sei già registrato.", + ['invalid_firstname_format'] = "Formato non valido (Nome): Riprova.", + ['invalid_lastname_format'] = "Formato non valido (Cognome): Riprova.", + ['invalid_dob_format'] = "Formato non valido (Data di nascita): Riprova.", + ['invalid_sex_format'] = "Formato non valido (Sesso): Riprova.", + ['invalid_height_format'] = "Formato non valido (Altezza): Riprova.", } diff --git a/[core]/esx_identity/locales/nl.lua b/[core]/esx_identity/locales/nl.lua index 97a482fb..3cd08865 100644 --- a/[core]/esx_identity/locales/nl.lua +++ b/[core]/esx_identity/locales/nl.lua @@ -1,38 +1,38 @@ Locales['nl'] = { - ['show_active_character'] = 'Actieve karakter laten zien', - ['active_character'] = 'Actief karakter: %s', - ['error_active_character'] = 'Er is een probleem opgetreden tijdens het verzamelen van uw data.', - ['delete_character'] = 'Dit karakter verwijderen.', - ['deleted_character'] = 'Karakter verwijderd', - ['error_delete_character'] = 'Er is een probleem opgetreden tijdens het verwijderen van uw karakter.', - ['thank_you_for_registering'] = 'Succesvol geregistreerd!', - ['debug_xPlayer_get_first_name'] = 'Stuurt je Voornaam', - ['debug_xPlayer_get_last_name'] = 'Stuurt je Achternaam', - ['debug_xPlayer_get_full_name'] = 'Stuurt je volledige naam', - ['debug_xPlayer_get_sex'] = 'Stuurt je Geslacht', - ['debug_xPlayer_get_dob'] = 'Stuurt je Geboortedatum ', - ['debug_xPlayer_get_height'] = 'Stuurt je lengte', - ['error_debug_xPlayer_get_first_name'] = 'Er was een probleem tijdens het ophalen van je Voornaam.', - ['error_debug_xPlayer_get_last_name'] = 'Er was een probleem tijdens het ophalen van je achternaam.', - ['error_debug_xPlayer_get_full_name'] = 'Er was een probleem tijdens het ophalen van je volle naam.', - ['error_debug_xPlayer_get_sex'] = 'Er was een probleem tijdens het ophalen van je Geslacht.', - ['error_debug_xPlayer_get_dob'] = 'Er was een probleem tijdens het ophalen van je Geboortedatum.', - ['error_debug_xPlayer_get_height'] = 'Er was een probleem tijdens het ophalen van je lengte.', - ['return_debug_xPlayer_get_first_name'] = 'Voornaam: %s', - ['return_debug_xPlayer_get_last_name'] = 'Achternaam: %s', - ['return_debug_xPlayer_get_full_name'] = 'Naam: %s', - ['return_debug_xPlayer_get_sex'] = 'Geslacht: %s', - ['return_debug_xPlayer_get_dob'] = 'Geboortedatum: %s', - ['return_debug_xPlayer_get_height'] = 'Lengte: %s Inches', - ['data_incorrect'] = 'Verkeerde data, probeer opnieuw.', - ['invalid_format'] = 'Verkeerde volgorde, probeer opnieuw.', - ['no_identifier'] = '[ESX Identity]\nEr was een probleem tijdens het laden van je karakter!\nError Code: identifier-missing\n\nDit komt omdat je identifier mist, contacteer het server beheer.', - ['missing_identity'] = '[ESX Identity]\nEr was een probleem tijdens het laden van je karakter!\nError Code: identity-missing\n\nHet lijkt erop dat je identiteit mist, reconnect met de server.', - ['deleted_identity'] = 'Karakter verwijderd, reconnect om een nieuwe te registreren.', - ['already_registered'] = 'Je bent al geregistreerd.', - ['invalid_firstname_format'] = 'Ongeldige Volgorde (Voornaam): Probeer het nog een keer.', - ['invalid_lastname_format'] = 'Ongeldige Volgorde (Achternaam): Probeer het nog een keer.', - ['invalid_dob_format'] = 'Ongeldige Volgorde (Geboortedatum): Probeer het nog een keer.', - ['invalid_sex_format'] = 'Ongeldige Volgorde (Geslacht): Probeer het nog een keer.', - ['invalid_height_format'] = 'Ongeldige Volgorde (Lengte): Probeer het nog een keer.' + ['show_active_character'] = "Actieve karakter laten zien", + ['active_character'] = "Actief karakter: %s", + ['error_active_character'] = "Er is een probleem opgetreden tijdens het verzamelen van uw data.", + ['delete_character'] = "Dit karakter verwijderen.", + ['deleted_character'] = "Karakter verwijderd", + ['error_delete_character'] = "Er is een probleem opgetreden tijdens het verwijderen van uw karakter.", + ['thank_you_for_registering'] = "Succesvol geregistreerd!", + ['debug_xPlayer_get_first_name'] = "Stuurt je Voornaam", + ['debug_xPlayer_get_last_name'] = "Stuurt je Achternaam", + ['debug_xPlayer_get_full_name'] = "Stuurt je volledige naam", + ['debug_xPlayer_get_sex'] = "Stuurt je Geslacht", + ['debug_xPlayer_get_dob'] = "Stuurt je Geboortedatum ", + ['debug_xPlayer_get_height'] = "Stuurt je lengte", + ['error_debug_xPlayer_get_first_name'] = "Er was een probleem tijdens het ophalen van je Voornaam.", + ['error_debug_xPlayer_get_last_name'] = "Er was een probleem tijdens het ophalen van je achternaam.", + ['error_debug_xPlayer_get_full_name'] = "Er was een probleem tijdens het ophalen van je volle naam.", + ['error_debug_xPlayer_get_sex'] = "Er was een probleem tijdens het ophalen van je Geslacht.", + ['error_debug_xPlayer_get_dob'] = "Er was een probleem tijdens het ophalen van je Geboortedatum.", + ['error_debug_xPlayer_get_height'] = "Er was een probleem tijdens het ophalen van je lengte.", + ['return_debug_xPlayer_get_first_name'] = "Voornaam: %s", + ['return_debug_xPlayer_get_last_name'] = "Achternaam: %s", + ['return_debug_xPlayer_get_full_name'] = "Naam: %s", + ['return_debug_xPlayer_get_sex'] = "Geslacht: %s", + ['return_debug_xPlayer_get_dob'] = "Geboortedatum: %s", + ['return_debug_xPlayer_get_height'] = "Lengte: %s Inches", + ['data_incorrect'] = "Verkeerde data, probeer opnieuw.", + ['invalid_format'] = "Verkeerde volgorde, probeer opnieuw.", + ['no_identifier'] = "[ESX Identity]\nEr was een probleem tijdens het laden van je karakter!\nError Code: identifier-missing\n\nDit komt omdat je identifier mist, contacteer het server beheer.", + ['missing_identity'] = "[ESX Identity]\nEr was een probleem tijdens het laden van je karakter!\nError Code: identity-missing\n\nHet lijkt erop dat je identiteit mist, reconnect met de server.", + ['deleted_identity'] = "Karakter verwijderd, reconnect om een nieuwe te registreren.", + ['already_registered'] = "Je bent al geregistreerd.", + ['invalid_firstname_format'] = "Ongeldige Volgorde (Voornaam): Probeer het nog een keer.", + ['invalid_lastname_format'] = "Ongeldige Volgorde (Achternaam): Probeer het nog een keer.", + ['invalid_dob_format'] = "Ongeldige Volgorde (Geboortedatum): Probeer het nog een keer.", + ['invalid_sex_format'] = "Ongeldige Volgorde (Geslacht): Probeer het nog een keer.", + ['invalid_height_format'] = "Ongeldige Volgorde (Lengte): Probeer het nog een keer.", } diff --git a/[core]/esx_identity/locales/pl.lua b/[core]/esx_identity/locales/pl.lua index e88be1b7..efdb4d5b 100644 --- a/[core]/esx_identity/locales/pl.lua +++ b/[core]/esx_identity/locales/pl.lua @@ -1,9 +1,9 @@ Locales['pl'] = { - ['show_active_character'] = 'Pokaż aktywną postać', - ['active_character'] = 'Aktywna postać: %s', + ['show_active_character'] = "Pokaż aktywną postać", + ['active_character'] = "Aktywna postać: %s", ['error_active_character'] = "Podczas pobierania Twojego imienia wystąpił błąd. Proszę skontaktować się z administratorem.", - ['delete_character'] = 'Usuń swoją postać i stwórz nową', - ['deleted_character'] = 'Twoja postać została usunięta.', + ['delete_character'] = "Usuń swoją postać i stwórz nową", + ['deleted_character'] = "Twoja postać została usunięta.", ['error_delete_character'] = "Wystąpił błąd podczas usuwania twojej postaci. Proszę skontaktować się z administratorem.", ['thank_you_for_registering'] = "Dziękujemy za rejestrację. Baw się dobrze.", ['registration_error'] = "Wystąpił błąd podczas rejestracji. Proszę skontaktować się z administratorem.", @@ -25,9 +25,9 @@ Locales['pl'] = { ['return_debug_xPlayer_get_sex'] = "Płeć: %s", ['return_debug_xPlayer_get_dob'] = "Data urodzenia: %s", ['return_debug_xPlayer_get_height'] = "Wzrost: %s centymetrów", - ['data_incorrect'] = 'Data została wprowadzona niepoprawnie. Proszę spróbuj ponownie.', - ['invalid_format'] = 'Data została wprowadzona niepoprawnie. Proszę spróbuj ponownie.', - ['no_identifier'] = 'Wystąpił błąd podczas ładowania twojej postaci!\nKod błędu: identifier-missing\n\nPrzyczyna tego błędu nie jest znana, nie można znaleźć Twojego identyfikatora. Wróć później lub zgłoś ten problem zespołowi administracyjnemu serwera.', - ['missing_identity'] = 'Wystąpił błąd podczas ładowania twojej postaci!\nKod błędu: identity-missing\n\nWygląda na to, że brakuje Twojej tożsamości, spróbuj połączyć się ponownie.', - ['deleted_identity'] = 'Twoja postać została usunięta. Dołącz ponownie, aby utworzyć nową postać.' + ['data_incorrect'] = "Data została wprowadzona niepoprawnie. Proszę spróbuj ponownie.", + ['invalid_format'] = "Data została wprowadzona niepoprawnie. Proszę spróbuj ponownie.", + ['no_identifier'] = "Wystąpił błąd podczas ładowania twojej postaci!\nKod błędu: identifier-missing\n\nPrzyczyna tego błędu nie jest znana, nie można znaleźć Twojego identyfikatora. Wróć później lub zgłoś ten problem zespołowi administracyjnemu serwera.", + ['missing_identity'] = "Wystąpił błąd podczas ładowania twojej postaci!\nKod błędu: identity-missing\n\nWygląda na to, że brakuje Twojej tożsamości, spróbuj połączyć się ponownie.", + ['deleted_identity'] = "Twoja postać została usunięta. Dołącz ponownie, aby utworzyć nową postać.", } diff --git a/[core]/esx_identity/locales/pt.lua b/[core]/esx_identity/locales/pt.lua index f4f7fdc5..ff1b05dd 100644 --- a/[core]/esx_identity/locales/pt.lua +++ b/[core]/esx_identity/locales/pt.lua @@ -1,38 +1,38 @@ Locales['pt'] = { - ['show_active_character'] = 'Mostrar personagem ativa', - ['active_character'] = 'Personagem ativa: %s', - ['error_active_character'] = 'Houve um erro a obter os teus dados.', - ['delete_character'] = 'Apagar a tua personagem atual.', - ['deleted_character'] = 'Personagem apagada!', - ['error_delete_character'] = 'Houve um problema ao apagar a tua personagem.', - ['thank_you_for_registering'] = 'Registo concluído. Diverte-te!', - ['debug_xPlayer_get_first_name'] = 'Retorna o teu primeiro nome', - ['debug_xPlayer_get_last_name'] = 'Retorna o teu último nome', - ['debug_xPlayer_get_full_name'] = 'Retorna o teu nome completo', - ['debug_xPlayer_get_sex'] = 'Retorna o teu sexo', - ['debug_xPlayer_get_dob'] = 'Retorna a tua data de nascimento', - ['debug_xPlayer_get_height'] = 'Retorna a tua altura', - ['error_debug_xPlayer_get_first_name'] = 'Houve um problema ao obter o teu primeiro nome.', - ['error_debug_xPlayer_get_last_name'] = 'Houve um problema ao obter o teu último nome.', - ['error_debug_xPlayer_get_full_name'] = 'Houve um problema ao obter o teu nome completo.', - ['error_debug_xPlayer_get_sex'] = 'Houve um problema ao obter o teu sexo.', - ['error_debug_xPlayer_get_dob'] = 'Houve um problema ao obter a tua data de nascimento.', - ['error_debug_xPlayer_get_height'] = 'Houve um problema ao obter a tua altura.', - ['return_debug_xPlayer_get_first_name'] = 'Primeiro nome: %s', - ['return_debug_xPlayer_get_last_name'] = 'Último nome: %s', - ['return_debug_xPlayer_get_full_name'] = 'Nome: %s', - ['return_debug_xPlayer_get_sex'] = 'Sexo: %s', - ['return_debug_xPlayer_get_dob'] = 'Data de nascimento: %s', - ['return_debug_xPlayer_get_height'] = 'Altura: %s cm', - ['data_incorrect'] = 'Dados inválidos, tenta novamente.', - ['invalid_format'] = 'Formato dos dados inválido, tenta novamente.', - ['no_identifier'] = '[ESX Identity]\nHouve um erro ao carregar a tua personagem!\nCódigo do erro: identifier-missing\n\nEste erro é devido à falta do teu identificador. Porfavor volta mais tarde ou reporta este problema a um Administrador.', - ['missing_identity'] = '[ESX Identity]\nHouve um erro ao carregar a tua personagem!\nCódigo do erro: identity-missing\n\nParece que a tua identidade está em falta, experimenta reentrar no servidor!', - ['deleted_identity'] = 'Personagem apagada. Porfavor reentra para criar uma nova personagem.', - ['already_registered'] = 'Tu já estás registado.', - ['invalid_firstname_format'] = 'Formato inválido (Primeiro nome): Porfavor tenta novamente!', - ['invalid_lastname_format'] = 'Formato inválido (Último nome): Porfavor tenta novamente!', - ['invalid_dob_format'] = 'Formato inválido (Data de nascimento): Porfavor tenta novamente!', - ['invalid_sex_format'] = 'Formato inválido (Sexo): Porfavor tenta novamente!', - ['invalid_height_format'] = 'Formato inválido (Altura): Porfavor tenta novamente!' + ['show_active_character'] = "Mostrar personagem ativa", + ['active_character'] = "Personagem ativa: %s", + ['error_active_character'] = "Houve um erro a obter os teus dados.", + ['delete_character'] = "Apagar a tua personagem atual.", + ['deleted_character'] = "Personagem apagada!", + ['error_delete_character'] = "Houve um problema ao apagar a tua personagem.", + ['thank_you_for_registering'] = "Registo concluído. Diverte-te!", + ['debug_xPlayer_get_first_name'] = "Retorna o teu primeiro nome", + ['debug_xPlayer_get_last_name'] = "Retorna o teu último nome", + ['debug_xPlayer_get_full_name'] = "Retorna o teu nome completo", + ['debug_xPlayer_get_sex'] = "Retorna o teu sexo", + ['debug_xPlayer_get_dob'] = "Retorna a tua data de nascimento", + ['debug_xPlayer_get_height'] = "Retorna a tua altura", + ['error_debug_xPlayer_get_first_name'] = "Houve um problema ao obter o teu primeiro nome.", + ['error_debug_xPlayer_get_last_name'] = "Houve um problema ao obter o teu último nome.", + ['error_debug_xPlayer_get_full_name'] = "Houve um problema ao obter o teu nome completo.", + ['error_debug_xPlayer_get_sex'] = "Houve um problema ao obter o teu sexo.", + ['error_debug_xPlayer_get_dob'] = "Houve um problema ao obter a tua data de nascimento.", + ['error_debug_xPlayer_get_height'] = "Houve um problema ao obter a tua altura.", + ['return_debug_xPlayer_get_first_name'] = "Primeiro nome: %s", + ['return_debug_xPlayer_get_last_name'] = "Último nome: %s", + ['return_debug_xPlayer_get_full_name'] = "Nome: %s", + ['return_debug_xPlayer_get_sex'] = "Sexo: %s", + ['return_debug_xPlayer_get_dob'] = "Data de nascimento: %s", + ['return_debug_xPlayer_get_height'] = "Altura: %s cm", + ['data_incorrect'] = "Dados inválidos, tenta novamente.", + ['invalid_format'] = "Formato dos dados inválido, tenta novamente.", + ['no_identifier'] = "[ESX Identity]\nHouve um erro ao carregar a tua personagem!\nCódigo do erro: identifier-missing\n\nEste erro é devido à falta do teu identificador. Porfavor volta mais tarde ou reporta este problema a um Administrador.", + ['missing_identity'] = "[ESX Identity]\nHouve um erro ao carregar a tua personagem!\nCódigo do erro: identity-missing\n\nParece que a tua identidade está em falta, experimenta reentrar no servidor!", + ['deleted_identity'] = "Personagem apagada. Porfavor reentra para criar uma nova personagem.", + ['already_registered'] = "Tu já estás registado.", + ['invalid_firstname_format'] = "Formato inválido (Primeiro nome): Porfavor tenta novamente!", + ['invalid_lastname_format'] = "Formato inválido (Último nome): Porfavor tenta novamente!", + ['invalid_dob_format'] = "Formato inválido (Data de nascimento): Porfavor tenta novamente!", + ['invalid_sex_format'] = "Formato inválido (Sexo): Porfavor tenta novamente!", + ['invalid_height_format'] = "Formato inválido (Altura): Porfavor tenta novamente!", } diff --git a/[core]/esx_identity/locales/sl.lua b/[core]/esx_identity/locales/sl.lua index d66dc981..3621a30b 100644 --- a/[core]/esx_identity/locales/sl.lua +++ b/[core]/esx_identity/locales/sl.lua @@ -1,38 +1,38 @@ Locales['sl'] = { - ['show_active_character'] = 'Prikazi aktivni Karakter', - ['active_character'] = 'Aktivni Karakter: %s', - ['error_active_character'] = 'Pri pridobivanju vasih podatkov je prislo do napake.', - ['delete_character'] = 'Izbrisi vas trenutni Karakter.', - ['deleted_character'] = 'Karakter izbrisan', - ['error_delete_character'] = 'Pri brisanju vasega lika je prislo do tezave.', - ['thank_you_for_registering'] = 'Registracija uspesna. Uzivajte!', - ['debug_xPlayer_get_first_name'] = 'Vrne vase ime', - ['debug_xPlayer_get_last_name'] = 'Vrne vas priimek', - ['debug_xPlayer_get_full_name'] = 'Vrne vase polno ime', - ['debug_xPlayer_get_sex'] = 'Vrne vas spol', - ['debug_xPlayer_get_dob'] = 'Vrne vas DOB', - ['debug_xPlayer_get_height'] = 'Vrne vaso visino', - ['error_debug_xPlayer_get_first_name'] = 'Pri pridobivanju vasega imena je prislo do tezave.', - ['error_debug_xPlayer_get_last_name'] = 'Pri pridobivanju vasega priimka je prislo do tezave.', - ['error_debug_xPlayer_get_full_name'] = 'Pri pridobivanju vasega polnega imena je prislo do tezave.', - ['error_debug_xPlayer_get_sex'] = 'Pri pridobivanju vasega spola je prislo do tezave.', - ['error_debug_xPlayer_get_dob'] = 'Pri pridobivanju vasega datuma rojstva je prislo do tezave.', - ['error_debug_xPlayer_get_height'] = 'Pri pridobivanju vase visine je prislo do tezave.', - ['return_debug_xPlayer_get_first_name'] = 'Ime: %s', - ['return_debug_xPlayer_get_last_name'] = 'Priimek: %s', - ['return_debug_xPlayer_get_full_name'] = 'Ime: %s', - ['return_debug_xPlayer_get_sex'] = 'Spol: %s', - ['return_debug_xPlayer_get_dob'] = 'DOB: %s', - ['return_debug_xPlayer_get_height'] = 'Visina: %s palcev', - ['data_incorrect'] = 'Neveljavni podatki, poskusite znova.', - ['invalid_format'] = 'Neveljavna oblika podatkov, poskusite znova.', - ['no_identifier'] = '[ESX Identiteta]\nPri nalaganju vasega lika je prislo do tezave!\nKoda napake: identifikator-manjka\n\nTo je posledica tega, da manjka vas identifikator. Vrnite se pozneje ali prijavite to tezavo lastniku streznika.', - ['missing_identity'] = '[ESX Identity]\nPri nalaganju vasega lika je prislo do tezave!\nKoda napake: identity-missing\n\nVideti je, da vasa identiteta manjka, poskusite znova vzpostaviti povezavo.', - ['deleted_identity'] = 'Karakter izbrisan. Ponovno se pridruzite, da ustvarite nov lik.', - ['already_registered'] = 'Registrirali ste se ze.', - ['invalid_firstname_format'] = 'Neveljavna oblika (ime): Prosimo, poskusite znova.', - ['invalid_lastname_format'] = 'Neveljavna oblika (priimek): Poskusite ponovno.', - ['invalid_dob_format'] = 'Neveljavna oblika (DOB): Prosimo, poskusite znova.', - ['invalid_sex_format'] = 'Neveljavna oblika (spol): Poskusite ponovno.', - ['invalid_height_format'] = 'Neveljavna oblika (visina): Prosimo, poskusite znova.' + ['show_active_character'] = "Prikazi aktivni Karakter", + ['active_character'] = "Aktivni Karakter: %s", + ['error_active_character'] = "Pri pridobivanju vasih podatkov je prislo do napake.", + ['delete_character'] = "Izbrisi vas trenutni Karakter.", + ['deleted_character'] = "Karakter izbrisan", + ['error_delete_character'] = "Pri brisanju vasega lika je prislo do tezave.", + ['thank_you_for_registering'] = "Registracija uspesna. Uzivajte!", + ['debug_xPlayer_get_first_name'] = "Vrne vase ime", + ['debug_xPlayer_get_last_name'] = "Vrne vas priimek", + ['debug_xPlayer_get_full_name'] = "Vrne vase polno ime", + ['debug_xPlayer_get_sex'] = "Vrne vas spol", + ['debug_xPlayer_get_dob'] = "Vrne vas DOB", + ['debug_xPlayer_get_height'] = "Vrne vaso visino", + ['error_debug_xPlayer_get_first_name'] = "Pri pridobivanju vasega imena je prislo do tezave.", + ['error_debug_xPlayer_get_last_name'] = "Pri pridobivanju vasega priimka je prislo do tezave.", + ['error_debug_xPlayer_get_full_name'] = "Pri pridobivanju vasega polnega imena je prislo do tezave.", + ['error_debug_xPlayer_get_sex'] = "Pri pridobivanju vasega spola je prislo do tezave.", + ['error_debug_xPlayer_get_dob'] = "Pri pridobivanju vasega datuma rojstva je prislo do tezave.", + ['error_debug_xPlayer_get_height'] = "Pri pridobivanju vase visine je prislo do tezave.", + ['return_debug_xPlayer_get_first_name'] = "Ime: %s", + ['return_debug_xPlayer_get_last_name'] = "Priimek: %s", + ['return_debug_xPlayer_get_full_name'] = "Ime: %s", + ['return_debug_xPlayer_get_sex'] = "Spol: %s", + ['return_debug_xPlayer_get_dob'] = "DOB: %s", + ['return_debug_xPlayer_get_height'] = "Visina: %s palcev", + ['data_incorrect'] = "Neveljavni podatki, poskusite znova.", + ['invalid_format'] = "Neveljavna oblika podatkov, poskusite znova.", + ['no_identifier'] = "[ESX Identiteta]\nPri nalaganju vasega lika je prislo do tezave!\nKoda napake: identifikator-manjka\n\nTo je posledica tega, da manjka vas identifikator. Vrnite se pozneje ali prijavite to tezavo lastniku streznika.", + ['missing_identity'] = "[ESX Identity]\nPri nalaganju vasega lika je prislo do tezave!\nKoda napake: identity-missing\n\nVideti je, da vasa identiteta manjka, poskusite znova vzpostaviti povezavo.", + ['deleted_identity'] = "Karakter izbrisan. Ponovno se pridruzite, da ustvarite nov lik.", + ['already_registered'] = "Registrirali ste se ze.", + ['invalid_firstname_format'] = "Neveljavna oblika (ime): Prosimo, poskusite znova.", + ['invalid_lastname_format'] = "Neveljavna oblika (priimek): Poskusite ponovno.", + ['invalid_dob_format'] = "Neveljavna oblika (DOB): Prosimo, poskusite znova.", + ['invalid_sex_format'] = "Neveljavna oblika (spol): Poskusite ponovno.", + ['invalid_height_format'] = "Neveljavna oblika (visina): Prosimo, poskusite znova.", } \ No newline at end of file diff --git a/[core]/esx_identity/locales/sr.lua b/[core]/esx_identity/locales/sr.lua index 746b6efb..99478e24 100644 --- a/[core]/esx_identity/locales/sr.lua +++ b/[core]/esx_identity/locales/sr.lua @@ -1,38 +1,38 @@ Locales['sr'] = { - ['show_active_character'] = 'Prikazi karaktere', - ['active_character'] = 'Karakteri: %s', - ['error_active_character'] = 'Imamo problem sa ucitavanjem karaktera.', - ['delete_character'] = 'Obrisite karaktera.', - ['deleted_character'] = 'Karakter obrisan', - ['error_delete_character'] = 'Doslo je do greske pri brisanju karaktera.', - ['thank_you_for_registering'] = 'Registracija uspesna. Uzivajte!', - ['debug_xPlayer_get_first_name'] = 'Vraca vase ime', - ['debug_xPlayer_get_last_name'] = 'Vraca vase prezime', - ['debug_xPlayer_get_full_name'] = 'Vraca vase puno ime', - ['debug_xPlayer_get_sex'] = 'Vraca vas pol', - ['debug_xPlayer_get_dob'] = 'Vraca vas datum rodjenja', - ['debug_xPlayer_get_height'] = 'Vraca vasu visinu', - ['error_debug_xPlayer_get_first_name'] = 'Doslo je do greske pri pronalazenju vaseg imena.', - ['error_debug_xPlayer_get_last_name'] = 'Doslo je do greske pri pronalazenju vaseg prezimena.', - ['error_debug_xPlayer_get_full_name'] = 'Doslo je do greske pri pronalazenju vaseg punog imena.', - ['error_debug_xPlayer_get_sex'] = 'Doslo je do greske pri pronalazenju vaseg pola.', - ['error_debug_xPlayer_get_dob'] = 'Doslo je do greske pri pronalazenju vaseg datuma rodjenja.', - ['error_debug_xPlayer_get_height'] = 'Doslo je do greske pri pronalazenju vase visine.', - ['return_debug_xPlayer_get_first_name'] = 'Ime: %s', - ['return_debug_xPlayer_get_last_name'] = 'Prezime: %s', - ['return_debug_xPlayer_get_full_name'] = 'Ime: %s', - ['return_debug_xPlayer_get_sex'] = 'Pol: %s', - ['return_debug_xPlayer_get_dob'] = 'Datum rodjenja: %s', - ['return_debug_xPlayer_get_height'] = 'Visina: %s', - ['data_incorrect'] = 'Nevazeci podatci, pokusajte ponovo.', - ['invalid_format'] = 'Nevazeci format podataka, pokusajte ponovo.', - ['no_identifier'] = '[ESX Identity]\nDoslo je do greske pri ucitavanju vaseg karaktera!\nError Code: identifier-missing\n\nUpalite steam pa pokusajte ponovo.', - ['missing_identity'] = '[ESX Identity]\nDoslo je do greske pri ucitavanju vaseg karaktera!\nError Code: identity-missing\n\nIzgleda da je vas steam nepostojeci. Pokusajte ponovo.', - ['deleted_identity'] = 'Karakter obrisan. Uradite relog kako bi napravili novog karaktera.', - ['already_registered'] = 'Vi ste vec registrovani.', - ['invalid_firstname_format'] = 'Nevazeci Format (Ime): Pokusajte ponovo.', - ['invalid_lastname_format'] = 'Nevazeci Format (Prezime): Pokusajte ponovo.', - ['invalid_dob_format'] = 'Nevazeci Format (Datum Rodjenja): Pokusajte ponovo.', - ['invalid_sex_format'] = 'Nevazeci Format (Pol): Pokusajte ponovo.', - ['invalid_height_format'] = 'Nevazeci Format (Visina): Pokusajte ponovo.' + ['show_active_character'] = "Prikazi karaktere", + ['active_character'] = "Karakteri: %s", + ['error_active_character'] = "Imamo problem sa ucitavanjem karaktera.", + ['delete_character'] = "Obrisite karaktera.", + ['deleted_character'] = "Karakter obrisan", + ['error_delete_character'] = "Doslo je do greske pri brisanju karaktera.", + ['thank_you_for_registering'] = "Registracija uspesna. Uzivajte!", + ['debug_xPlayer_get_first_name'] = "Vraca vase ime", + ['debug_xPlayer_get_last_name'] = "Vraca vase prezime", + ['debug_xPlayer_get_full_name'] = "Vraca vase puno ime", + ['debug_xPlayer_get_sex'] = "Vraca vas pol", + ['debug_xPlayer_get_dob'] = "Vraca vas datum rodjenja", + ['debug_xPlayer_get_height'] = "Vraca vasu visinu", + ['error_debug_xPlayer_get_first_name'] = "Doslo je do greske pri pronalazenju vaseg imena.", + ['error_debug_xPlayer_get_last_name'] = "Doslo je do greske pri pronalazenju vaseg prezimena.", + ['error_debug_xPlayer_get_full_name'] = "Doslo je do greske pri pronalazenju vaseg punog imena.", + ['error_debug_xPlayer_get_sex'] = "Doslo je do greske pri pronalazenju vaseg pola.", + ['error_debug_xPlayer_get_dob'] = "Doslo je do greske pri pronalazenju vaseg datuma rodjenja.", + ['error_debug_xPlayer_get_height'] = "Doslo je do greske pri pronalazenju vase visine.", + ['return_debug_xPlayer_get_first_name'] = "Ime: %s", + ['return_debug_xPlayer_get_last_name'] = "Prezime: %s", + ['return_debug_xPlayer_get_full_name'] = "Ime: %s", + ['return_debug_xPlayer_get_sex'] = "Pol: %s", + ['return_debug_xPlayer_get_dob'] = "Datum rodjenja: %s", + ['return_debug_xPlayer_get_height'] = "Visina: %s", + ['data_incorrect'] = "Nevazeci podatci, pokusajte ponovo.", + ['invalid_format'] = "Nevazeci format podataka, pokusajte ponovo.", + ['no_identifier'] = "[ESX Identity]\nDoslo je do greske pri ucitavanju vaseg karaktera!\nError Code: identifier-missing\n\nUpalite steam pa pokusajte ponovo.", + ['missing_identity'] = "[ESX Identity]\nDoslo je do greske pri ucitavanju vaseg karaktera!\nError Code: identity-missing\n\nIzgleda da je vas steam nepostojeci. Pokusajte ponovo.", + ['deleted_identity'] = "Karakter obrisan. Uradite relog kako bi napravili novog karaktera.", + ['already_registered'] = "Vi ste vec registrovani.", + ['invalid_firstname_format'] = "Nevazeci Format (Ime): Pokusajte ponovo.", + ['invalid_lastname_format'] = "Nevazeci Format (Prezime): Pokusajte ponovo.", + ['invalid_dob_format'] = "Nevazeci Format (Datum Rodjenja): Pokusajte ponovo.", + ['invalid_sex_format'] = "Nevazeci Format (Pol): Pokusajte ponovo.", + ['invalid_height_format'] = "Nevazeci Format (Visina): Pokusajte ponovo.", } diff --git a/[core]/esx_multicharacter/html/locales/hu.js b/[core]/esx_multicharacter/html/locales/hu.js index c23e7af1..3e2b346e 100644 --- a/[core]/esx_multicharacter/html/locales/hu.js +++ b/[core]/esx_multicharacter/html/locales/hu.js @@ -1,8 +1,8 @@ const translate = new Object(); -translate.name = 'Név'; -translate.job = 'Munka'; -translate.bank = 'Bank'; -translate.money = 'Készpénz'; -translate.gender = 'Nem'; -translate.dob = 'Születési idő'; +translate.name = "Név'; +translate.job = "Munka'; +translate.bank = "Bank'; +translate.money = "Készpénz'; +translate.gender = "Nem'; +translate.dob = "Születési idő'; diff --git a/[core]/esx_multicharacter/locales/es.lua b/[core]/esx_multicharacter/locales/es.lua index 4fad9761..2ba8c928 100644 --- a/[core]/esx_multicharacter/locales/es.lua +++ b/[core]/esx_multicharacter/locales/es.lua @@ -1,28 +1,28 @@ Locales['es'] = { - ['male'] = 'Masculino', - ['female'] = 'Femenino', - ['select_char'] = 'Seleccionar personaje', - ['select_char_description'] = 'Selecciona un personaje para jugar.', - ['create_char'] = 'Crear nuevo personaje', - ['char_play'] = 'Seleccionar personaje', - ['char_play_description'] = 'Ingresar a la ciudad.', - ['char_disabled'] = 'Este personaje está deshabilitado', - ['char_disabled_description'] = 'Este personaje no se encuentra disponible.', - ['char_delete'] = 'Borrar el personaje seleccionado', - ['char_delete_description'] = 'Eliminar este personaje.', - ['character'] = 'Personaje: %s', - ['return'] = 'Volver', - ['return_description'] = 'Volver a la selección de personajes.', - ['command_setslots'] = 'Establecer el numero de slots de un jugador', - ['command_remslots'] = 'Elimina slots de un jugador.', - ['command_enablechar'] = 'Activar el personaje de un jugador', - ['command_disablechar'] = 'Deshabilitar personaje al jugador.', - ['command_charslot'] = 'Número de slot del personaje', - ['command_identifier'] = 'Identificador del jugador', - ['command_slots'] = 'Nº de slots', - ['slotsadd'] = 'Has establecido los slots de %s a %s', - ['slotsrem'] = 'Has eliminado un slot a %s', - ['charenabled'] = 'Has habilitado el personaje Nº%s de %s', - ['chardisabled'] = 'Has deshabilitado el personaje Nº%s de %s', - ['charnotfound'] = 'Personaje Nº%s de %s no existe', + ['male'] = "Masculino", + ['female'] = "Femenino", + ['select_char'] = "Seleccionar personaje", + ['select_char_description'] = "Selecciona un personaje para jugar.", + ['create_char'] = "Crear nuevo personaje", + ['char_play'] = "Seleccionar personaje", + ['char_play_description'] = "Ingresar a la ciudad.", + ['char_disabled'] = "Este personaje está deshabilitado", + ['char_disabled_description'] = "Este personaje no se encuentra disponible.", + ['char_delete'] = "Borrar el personaje seleccionado", + ['char_delete_description'] = "Eliminar este personaje.", + ['character'] = "Personaje: %s", + ['return'] = "Volver", + ['return_description'] = "Volver a la selección de personajes.", + ['command_setslots'] = "Establecer el numero de slots de un jugador", + ['command_remslots'] = "Elimina slots de un jugador.", + ['command_enablechar'] = "Activar el personaje de un jugador", + ['command_disablechar'] = "Deshabilitar personaje al jugador.", + ['command_charslot'] = "Número de slot del personaje", + ['command_identifier'] = "Identificador del jugador", + ['command_slots'] = "Nº de slots", + ['slotsadd'] = "Has establecido los slots de %s a %s", + ['slotsrem'] = "Has eliminado un slot a %s", + ['charenabled'] = "Has habilitado el personaje Nº%s de %s", + ['chardisabled'] = "Has deshabilitado el personaje Nº%s de %s", + ['charnotfound'] = "Personaje Nº%s de %s no existe", } diff --git a/[core]/esx_multicharacter/locales/fr.lua b/[core]/esx_multicharacter/locales/fr.lua index 5309ef76..1ed05aeb 100644 --- a/[core]/esx_multicharacter/locales/fr.lua +++ b/[core]/esx_multicharacter/locales/fr.lua @@ -10,16 +10,16 @@ Locales["fr"] = { ["char_delete"] = "Supprimer ce personnage", ["cancel"] = "Annuler", ["confirm"] = "Confirmer", - ["command_setslots"] = "Définir le numéro de créneau multi-caractères d\'un joueur", - ["command_remslots"] = "Suppression du numéro de créneau multi-caractères d\'un joueur", - ["command_enablechar"] = "Activer un personnage donné d\'un joueur", - ["command_disablechar"] = "Désactiver un personnage donné d\'un joueur", - ["command_charslot"] = "Numéro d\'emplacement du caractère", + ["command_setslots"] = "Définir le numéro de créneau multi-caractères d'un joueur", + ["command_remslots"] = "Suppression du numéro de créneau multi-caractères d'un joueur", + ["command_enablechar"] = "Activer un personnage donné d'un joueur", + ["command_disablechar"] = "Désactiver un personnage donné d'un joueur", + ["command_charslot"] = "Numéro d'emplacement du caractère", ["command_identifier"] = "Identifiant du joueur", ["command_slots"] = "# de slots", ["slotsadd"] = "Vous avez défini %s slots à %s", ["slotsrem"] = "Vous avez suprimé les slots à %s", ["charenabled"] = "Vous avez activé le personnage #%s de %s", ["chardisabled"] = "Vous avez désactivé le personnage #%s de %s", - ["charnotfound"] = "Le personnage #%s de %s n\'éxiste", + ["charnotfound"] = "Le personnage #%s de %s n'éxiste", } diff --git a/[core]/esx_skin/locales/da.lua b/[core]/esx_skin/locales/da.lua index 4c52dd35..eb438595 100644 --- a/[core]/esx_skin/locales/da.lua +++ b/[core]/esx_skin/locales/da.lua @@ -1,6 +1,6 @@ Locales['da'] = { - ['skin_menu'] = 'Udseende Menu', - ['use_rotate_view'] = 'brug ~INPUT_FRONTEND_LS~ og ~INPUT_CHARACTER_WHEEL~ for at dreje kameraet.', - ['skin'] = 'skift udseende', - ['saveskin'] = 'gem udseende til en fil', + ['skin_menu'] = "Udseende Menu", + ['use_rotate_view'] = "brug ~INPUT_FRONTEND_LS~ og ~INPUT_CHARACTER_WHEEL~ for at dreje kameraet.", + ['skin'] = "skift udseende", + ['saveskin'] = "gem udseende til en fil", } \ No newline at end of file diff --git a/[core]/esx_skin/locales/en.lua b/[core]/esx_skin/locales/en.lua index 79fa6974..afa7a6d7 100644 --- a/[core]/esx_skin/locales/en.lua +++ b/[core]/esx_skin/locales/en.lua @@ -1,6 +1,6 @@ Locales['en'] = { - ['skin_menu'] = 'Skin Menu', - ['use_rotate_view'] = 'use ~INPUT_FRONTEND_LS~ and ~INPUT_CHARACTER_WHEEL~ to rotate the view.', - ['skin'] = 'change skin', - ['saveskin'] = 'save skin to a file', + ['skin_menu'] = "Skin Menu", + ['use_rotate_view'] = "use ~INPUT_FRONTEND_LS~ and ~INPUT_CHARACTER_WHEEL~ to rotate the view.", + ['skin'] = "change skin", + ['saveskin'] = "save skin to a file", } diff --git a/[core]/esx_skin/locales/es.lua b/[core]/esx_skin/locales/es.lua index 11cfab4d..f706107f 100644 --- a/[core]/esx_skin/locales/es.lua +++ b/[core]/esx_skin/locales/es.lua @@ -1,6 +1,6 @@ Locales['es'] = { - ['skin_menu'] = 'Menú de apariencia', - ['use_rotate_view'] = 'Utiliza ~INPUT_FRONTEND_LS~ y ~INPUT_CHARACTER_WHEEL~ para rotar la vista.', - ['skin'] = 'Cambiar aspecto', - ['saveskin'] = 'Guarda tu aspecto actual', + ['skin_menu'] = "Menú de apariencia", + ['use_rotate_view'] = "Utiliza ~INPUT_FRONTEND_LS~ y ~INPUT_CHARACTER_WHEEL~ para rotar la vista.", + ['skin'] = "Cambiar aspecto", + ['saveskin'] = "Guarda tu aspecto actual", } diff --git a/[core]/esx_skin/locales/fi.lua b/[core]/esx_skin/locales/fi.lua index 30865ba0..0920de12 100644 --- a/[core]/esx_skin/locales/fi.lua +++ b/[core]/esx_skin/locales/fi.lua @@ -1,6 +1,6 @@ Locales['fi'] = { - ['skin_menu'] = 'Ulkonäkö', - ['use_rotate_view'] = 'Paina ~INPUT_FRONTEND_LS~ tai ~INPUT_CHARACTER_WHEEL~ liikutaaksesi kameraa.', - ['skin'] = 'Muokkaa ulkonäköä', - ['saveskin'] = 'Tallenna', + ['skin_menu'] = "Ulkonäkö", + ['use_rotate_view'] = "Paina ~INPUT_FRONTEND_LS~ tai ~INPUT_CHARACTER_WHEEL~ liikutaaksesi kameraa.", + ['skin'] = "Muokkaa ulkonäköä", + ['saveskin'] = "Tallenna", } diff --git a/[core]/esx_skin/locales/fr.lua b/[core]/esx_skin/locales/fr.lua index 599a0302..a6ff3c39 100644 --- a/[core]/esx_skin/locales/fr.lua +++ b/[core]/esx_skin/locales/fr.lua @@ -1,6 +1,6 @@ Locales['fr'] = { - ['skin_menu'] = 'menu de Skin', - ['use_rotate_view'] = 'utilisez ~INPUT_FRONTEND_LS~ et ~INPUT_CHARACTER_WHEEL~ pour tourner la vue.', - ['skin'] = 'changer de skin', - ['saveskin'] = 'sauvegarder skin dans un fichier', + ['skin_menu'] = "menu de Skin", + ['use_rotate_view'] = "utilisez ~INPUT_FRONTEND_LS~ et ~INPUT_CHARACTER_WHEEL~ pour tourner la vue.", + ['skin'] = "changer de skin", + ['saveskin'] = "sauvegarder skin dans un fichier", } diff --git a/[core]/esx_skin/locales/it.lua b/[core]/esx_skin/locales/it.lua index dbf84c6d..2c070462 100644 --- a/[core]/esx_skin/locales/it.lua +++ b/[core]/esx_skin/locales/it.lua @@ -1,6 +1,6 @@ Locales['it'] = { - ['skin_menu'] = 'Menu Skin', - ['use_rotate_view'] = 'usa ~INPUT_FRONTEND_LS~ e ~INPUT_CHARACTER_WHEEL~ per ruotare la visuale.', - ['skin'] = 'cambia skin', - ['saveskin'] = 'salvare la skin', + ['skin_menu'] = "Menu Skin", + ['use_rotate_view'] = "usa ~INPUT_FRONTEND_LS~ e ~INPUT_CHARACTER_WHEEL~ per ruotare la visuale.", + ['skin'] = "cambia skin", + ['saveskin'] = "salvare la skin", } diff --git a/[core]/esx_skin/locales/nl.lua b/[core]/esx_skin/locales/nl.lua index 1e032ecf..29077de9 100644 --- a/[core]/esx_skin/locales/nl.lua +++ b/[core]/esx_skin/locales/nl.lua @@ -1,6 +1,6 @@ Locales['nl'] = { - ['skin_menu'] = 'Kleding Menu', - ['use_rotate_view'] = 'gebruik ~INPUT_FRONTEND_LS~ en ~INPUT_CHARACTER_WHEEL~ om de camera te draaien.', - ['skin'] = 'verander outfit', - ['saveskin'] = 'sla outfit op in je kledingkast.', + ['skin_menu'] = "Kleding Menu", + ['use_rotate_view'] = "gebruik ~INPUT_FRONTEND_LS~ en ~INPUT_CHARACTER_WHEEL~ om de camera te draaien.", + ['skin'] = "verander outfit", + ['saveskin'] = "sla outfit op in je kledingkast.", } diff --git a/[core]/esx_skin/locales/pl.lua b/[core]/esx_skin/locales/pl.lua index b0a45ad3..43ec2bd3 100644 --- a/[core]/esx_skin/locales/pl.lua +++ b/[core]/esx_skin/locales/pl.lua @@ -1,6 +1,6 @@ Locales['pl'] = { - ['skin_menu'] = 'menu wyglądu', - ['use_rotate_view'] = 'użyj ~INPUT_FRONTEND_LS~ i ~INPUT_CHARACTER_WHEEL~ aby obrócić ekran.', - ['skin'] = 'zmień wygląd', - ['saveskin'] = 'zapisz wygląd do pliku', + ['skin_menu'] = "menu wyglądu", + ['use_rotate_view'] = "użyj ~INPUT_FRONTEND_LS~ i ~INPUT_CHARACTER_WHEEL~ aby obrócić ekran.", + ['skin'] = "zmień wygląd", + ['saveskin'] = "zapisz wygląd do pliku", } diff --git a/[core]/esx_skin/locales/pt.lua b/[core]/esx_skin/locales/pt.lua index 0c693768..a5276489 100644 --- a/[core]/esx_skin/locales/pt.lua +++ b/[core]/esx_skin/locales/pt.lua @@ -1,6 +1,6 @@ Locales['pt'] = { - ['skin_menu'] = 'Menu de Skin', - ['use_rotate_view'] = 'Usa ~INPUT_FRONTEND_LS~ e ~INPUT_CHARACTER_WHEEL~ para rodar a câmara.', - ['skin'] = 'alterar skin', - ['saveskin'] = 'salvar a skin num ficheiro', + ['skin_menu'] = "Menu de Skin", + ['use_rotate_view'] = "Usa ~INPUT_FRONTEND_LS~ e ~INPUT_CHARACTER_WHEEL~ para rodar a câmara.", + ['skin'] = "alterar skin", + ['saveskin'] = "salvar a skin num ficheiro", } diff --git a/[core]/esx_skin/locales/sl.lua b/[core]/esx_skin/locales/sl.lua index 2a326fd2..9cf62360 100644 --- a/[core]/esx_skin/locales/sl.lua +++ b/[core]/esx_skin/locales/sl.lua @@ -1,6 +1,6 @@ Locales['sl'] = { - ['skin_menu'] = 'Oblacilni menu.', - ['use_rotate_view'] = 'Pritisni ~INPUT_FRONTEND_LS~ in ~INPUT_CHARACTER_WHEEL~ da se obracas s pogledom.', - ['skin'] = 'Zamenjaj Skin.', - ['saveskin'] = 'Shrani skin.', + ['skin_menu'] = "Oblacilni menu.", + ['use_rotate_view'] = "Pritisni ~INPUT_FRONTEND_LS~ in ~INPUT_CHARACTER_WHEEL~ da se obracas s pogledom.", + ['skin'] = "Zamenjaj Skin.", + ['saveskin'] = "Shrani skin.", } diff --git a/[core]/esx_skin/locales/sr.lua b/[core]/esx_skin/locales/sr.lua index 5022e1aa..68dca624 100644 --- a/[core]/esx_skin/locales/sr.lua +++ b/[core]/esx_skin/locales/sr.lua @@ -1,6 +1,6 @@ Locales['sr'] = { - ['skin_menu'] = 'Skin Meni', - ['use_rotate_view'] = 'koristi ~INPUT_FRONTEND_LS~ i ~INPUT_CHARACTER_WHEEL~ da rotiras kameru.', - ['skin'] = 'promeni skin', - ['saveskin'] = 'sacuvaj skin u file', + ['skin_menu'] = "Skin Meni", + ['use_rotate_view'] = "koristi ~INPUT_FRONTEND_LS~ i ~INPUT_CHARACTER_WHEEL~ da rotiras kameru.", + ['skin'] = "promeni skin", + ['saveskin'] = "sacuvaj skin u file", } diff --git a/[core]/esx_skin/locales/zh-cn.lua b/[core]/esx_skin/locales/zh-cn.lua index f1d715a3..4e3d92ab 100644 --- a/[core]/esx_skin/locales/zh-cn.lua +++ b/[core]/esx_skin/locales/zh-cn.lua @@ -1,6 +1,6 @@ Locales['zh-cn'] = { - ['skin_menu'] = '皮肤选单', - ['use_rotate_view'] = '使用 ~INPUT_FRONTEND_LS~ 和 ~INPUT_CHARACTER_WHEEL~ 旋转镜头视角.', - ['skin'] = '更换皮肤数据', - ['saveskin'] = '保存皮肤数据', + ['skin_menu'] = "皮肤选单", + ['use_rotate_view'] = "使用 ~INPUT_FRONTEND_LS~ 和 ~INPUT_CHARACTER_WHEEL~ 旋转镜头视角.", + ['skin'] = "更换皮肤数据", + ['saveskin'] = "保存皮肤数据", } diff --git a/[core]/skinchanger/locales/da.lua b/[core]/skinchanger/locales/da.lua index d20323f5..d966ec2a 100644 --- a/[core]/skinchanger/locales/da.lua +++ b/[core]/skinchanger/locales/da.lua @@ -1,100 +1,100 @@ Locales['da'] = { - ['sex'] = 'køn', - ['mom'] = 'mors ansigt', - ['dad'] = 'fars ansigt', - ['resemblance'] = 'lighed', - ['skin_tone'] = 'hudfarve', - ['nose_1'] = 'næse bredde', - ['nose_2'] = 'næsespidshøjde', - ['nose_3'] = 'næsespidslængde', - ['nose_4'] = 'næseknoglehøjde', - ['nose_5'] = 'næsespidssænkning', - ['nose_6'] = 'nose bone twist', - ['cheeks_1'] = 'kindbens højde', - ['cheeks_2'] = 'kindbens bredde', - ['cheeks_3'] = 'kind bredde', - ['lip_fullness'] = 'læbe fylde', - ['jaw_bone_width'] = 'kæbeknoglebredde', - ['jaw_bone_length'] = 'kæbebens længde', - ['chin_height'] = 'hagehøjde', - ['chin_length'] = 'hagelængde', - ['chin_width'] = 'hagebredde', - ['chin_hole'] = 'chin hole size', - ['neck_thickness'] = 'nakke tykkelse', - ['wrinkles'] = 'rynker', - ['wrinkle_thickness'] = 'rynke tykkelse', - ['beard_type'] = 'skæg type', - ['beard_size'] = 'skæg størrelse', - ['beard_color_1'] = 'skæg farve 1', - ['beard_color_2'] = 'skæg farve 2', - ['hair_1'] = 'hår 1', - ['hair_2'] = 'hår 2', - ['hair_color_1'] = 'hårfarve 1', - ['hair_color_2'] = 'hårfarve 2', - ['eye_color'] = 'øjenfarve', - ['eye_squint'] = 'øjet skele', - ['eyebrow_type'] = 'øjenbryns type', - ['eyebrow_size'] = 'øjenbryns størrelse', - ['eyebrow_color_1'] = 'øjenbryn farve 1', - ['eyebrow_color_2'] = 'øjenbryn farve 2', - ['eyebrow_depth'] = 'øjenbryns dybde', - ['eyebrow_height'] = 'øjenbryns højde', - ['makeup_type'] = 'makeup type', - ['makeup_thickness'] = 'makeup tykkelse', - ['makeup_color_1'] = 'makeup farve 1', - ['makeup_color_2'] = 'makeup farve 2', - ['lipstick_type'] = 'læbestifts type', - ['lipstick_thickness'] = 'læbestifts tykkelse', - ['lipstick_color_1'] = 'læbestifts farve 1', - ['lipstick_color_2'] = 'læbestifts farve 2', - ['ear_accessories'] = 'øretilbehør', - ['ear_accessories_color'] = 'øretilbehør farve', - ['tshirt_1'] = 't-shirt 1', - ['tshirt_2'] = 't-shirt 2', - ['torso_1'] = 'overkrop 1', - ['torso_2'] = 'overkrop 2', - ['decals_1'] = 'mærkater 1', - ['decals_2'] = 'mærkater 2', - ['arms'] = 'arme', - ['arms_2'] = 'arme 2', - ['pants_1'] = 'bukser 1', - ['pants_2'] = 'bukser 2', - ['shoes_1'] = 'sko 1', - ['shoes_2'] = 'sko 2', - ['mask_1'] = 'maske 1', - ['mask_2'] = 'maske 2', - ['bproof_1'] = 'skudsikker vest 1', - ['bproof_2'] = 'skudsikker vest 2', - ['chain_1'] = 'kæde 1', - ['chain_2'] = 'kæde 2', - ['helmet_1'] = 'hjelm 1', - ['helmet_2'] = 'hjelm 2', - ['watches_1'] = 'ure 1', - ['watches_2'] = 'ure 2', - ['bracelets_1'] = 'armbånd 1', - ['bracelets_2'] = 'armbånd 2', - ['glasses_1'] = 'briller 1', - ['glasses_2'] = 'briller 2', - ['bag'] = 'taske', - ['bag_color'] = 'taske farve', - ['blemishes'] = 'bumser', - ['blemishes_size'] = 'bumser tykkelse', - ['ageing'] = 'aldring', - ['ageing_1'] = 'aldring tykkelse', - ['blush'] = 'rødme', - ['blush_1'] = 'rødme tykkelse', - ['blush_color'] = 'rødme farve', - ['complexion'] = 'teint', - ['complexion_1'] = 'teint tykkelse', - ['sun'] = 'sol', - ['sun_1'] = 'soltykkelse', - ['freckles'] = 'fregner', - ['freckles_1'] = 'fregnernes tykkelse', - ['chest_hair'] = 'brysthår', - ['chest_hair_1'] = 'brysthårtykkelse', - ['chest_color'] = 'brysthårfarve', - ['bodyb'] = 'krops pletter', - ['bodyb_size'] = 'krops pletter tykkelse', - ['bodyb_extra'] = 'pletter kropseffekt', - ['bodyb_extra_thickness'] = 'pletter kropseffekt tykkelse', + ['sex'] = "køn", + ['mom'] = "mors ansigt", + ['dad'] = "fars ansigt", + ['resemblance'] = "lighed", + ['skin_tone'] = "hudfarve", + ['nose_1'] = "næse bredde", + ['nose_2'] = "næsespidshøjde", + ['nose_3'] = "næsespidslængde", + ['nose_4'] = "næseknoglehøjde", + ['nose_5'] = "næsespidssænkning", + ['nose_6'] = "nose bone twist", + ['cheeks_1'] = "kindbens højde", + ['cheeks_2'] = "kindbens bredde", + ['cheeks_3'] = "kind bredde", + ['lip_fullness'] = "læbe fylde", + ['jaw_bone_width'] = "kæbeknoglebredde", + ['jaw_bone_length'] = "kæbebens længde", + ['chin_height'] = "hagehøjde", + ['chin_length'] = "hagelængde", + ['chin_width'] = "hagebredde", + ['chin_hole'] = "chin hole size", + ['neck_thickness'] = "nakke tykkelse", + ['wrinkles'] = "rynker", + ['wrinkle_thickness'] = "rynke tykkelse", + ['beard_type'] = "skæg type", + ['beard_size'] = "skæg størrelse", + ['beard_color_1'] = "skæg farve 1", + ['beard_color_2'] = "skæg farve 2", + ['hair_1'] = "hår 1", + ['hair_2'] = "hår 2", + ['hair_color_1'] = "hårfarve 1", + ['hair_color_2'] = "hårfarve 2", + ['eye_color'] = "øjenfarve", + ['eye_squint'] = "øjet skele", + ['eyebrow_type'] = "øjenbryns type", + ['eyebrow_size'] = "øjenbryns størrelse", + ['eyebrow_color_1'] = "øjenbryn farve 1", + ['eyebrow_color_2'] = "øjenbryn farve 2", + ['eyebrow_depth'] = "øjenbryns dybde", + ['eyebrow_height'] = "øjenbryns højde", + ['makeup_type'] = "makeup type", + ['makeup_thickness'] = "makeup tykkelse", + ['makeup_color_1'] = "makeup farve 1", + ['makeup_color_2'] = "makeup farve 2", + ['lipstick_type'] = "læbestifts type", + ['lipstick_thickness'] = "læbestifts tykkelse", + ['lipstick_color_1'] = "læbestifts farve 1", + ['lipstick_color_2'] = "læbestifts farve 2", + ['ear_accessories'] = "øretilbehør", + ['ear_accessories_color'] = "øretilbehør farve", + ['tshirt_1'] = "t-shirt 1", + ['tshirt_2'] = "t-shirt 2", + ['torso_1'] = "overkrop 1", + ['torso_2'] = "overkrop 2", + ['decals_1'] = "mærkater 1", + ['decals_2'] = "mærkater 2", + ['arms'] = "arme", + ['arms_2'] = "arme 2", + ['pants_1'] = "bukser 1", + ['pants_2'] = "bukser 2", + ['shoes_1'] = "sko 1", + ['shoes_2'] = "sko 2", + ['mask_1'] = "maske 1", + ['mask_2'] = "maske 2", + ['bproof_1'] = "skudsikker vest 1", + ['bproof_2'] = "skudsikker vest 2", + ['chain_1'] = "kæde 1", + ['chain_2'] = "kæde 2", + ['helmet_1'] = "hjelm 1", + ['helmet_2'] = "hjelm 2", + ['watches_1'] = "ure 1", + ['watches_2'] = "ure 2", + ['bracelets_1'] = "armbånd 1", + ['bracelets_2'] = "armbånd 2", + ['glasses_1'] = "briller 1", + ['glasses_2'] = "briller 2", + ['bag'] = "taske", + ['bag_color'] = "taske farve", + ['blemishes'] = "bumser", + ['blemishes_size'] = "bumser tykkelse", + ['ageing'] = "aldring", + ['ageing_1'] = "aldring tykkelse", + ['blush'] = "rødme", + ['blush_1'] = "rødme tykkelse", + ['blush_color'] = "rødme farve", + ['complexion'] = "teint", + ['complexion_1'] = "teint tykkelse", + ['sun'] = "sol", + ['sun_1'] = "soltykkelse", + ['freckles'] = "fregner", + ['freckles_1'] = "fregnernes tykkelse", + ['chest_hair'] = "brysthår", + ['chest_hair_1'] = "brysthårtykkelse", + ['chest_color'] = "brysthårfarve", + ['bodyb'] = "krops pletter", + ['bodyb_size'] = "krops pletter tykkelse", + ['bodyb_extra'] = "pletter kropseffekt", + ['bodyb_extra_thickness'] = "pletter kropseffekt tykkelse", } \ No newline at end of file diff --git a/[core]/skinchanger/locales/en.lua b/[core]/skinchanger/locales/en.lua index be297c96..82f8ec63 100644 --- a/[core]/skinchanger/locales/en.lua +++ b/[core]/skinchanger/locales/en.lua @@ -1,100 +1,100 @@ Locales['en'] = { - ['sex'] = 'sex', - ['mom'] = 'mom\'s face', - ['dad'] = 'dad\'s face', - ['resemblance'] = 'resemblance', - ['skin_tone'] = 'skin tone', - ['nose_1'] = 'nose width', - ['nose_2'] = 'nose peak height', - ['nose_3'] = 'nose peak length', - ['nose_4'] = 'nose bone height', - ['nose_5'] = 'nose peak lowering', - ['nose_6'] = 'nose bone twist', - ['cheeks_1'] = 'cheekbones height', - ['cheeks_2'] = 'cheekbones width', - ['cheeks_3'] = 'cheeks width', - ['lip_fullness'] = 'lip fullness', - ['jaw_bone_width'] = 'jaw bone width', - ['jaw_bone_length'] = 'jaw bone length', - ['chin_height'] = 'chin height', - ['chin_length'] = 'chin length', - ['chin_width'] = 'chin width', - ['chin_hole'] = 'chin hole size', - ['neck_thickness'] = 'neck thickness', - ['wrinkles'] = 'wrinkles', - ['wrinkle_thickness'] = 'wrinkle thickness', - ['beard_type'] = 'beard type', - ['beard_size'] = 'beard size', - ['beard_color_1'] = 'beard color 1', - ['beard_color_2'] = 'beard color 2', - ['hair_1'] = 'hair 1', - ['hair_2'] = 'hair 2', - ['hair_color_1'] = 'hair color 1', - ['hair_color_2'] = 'hair color 2', - ['eye_color'] = 'eye color', - ['eye_squint'] = 'eye squint', - ['eyebrow_type'] = 'eyebrow type', - ['eyebrow_size'] = 'eyebrow size', - ['eyebrow_color_1'] = 'eyebrow color 1', - ['eyebrow_color_2'] = 'eyebrow color 2', - ['eyebrow_depth'] = 'eyebrow depth', - ['eyebrow_height'] = 'eyebrow height', - ['makeup_type'] = 'makeup type', - ['makeup_thickness'] = 'makeup thickness', - ['makeup_color_1'] = 'makeup color 1', - ['makeup_color_2'] = 'makeup color 2', - ['lipstick_type'] = 'lipstick type', - ['lipstick_thickness'] = 'lipstick thickness', - ['lipstick_color_1'] = 'lipstick color 1', - ['lipstick_color_2'] = 'lipstick color 2', - ['ear_accessories'] = 'ear accessories', - ['ear_accessories_color'] = 'ear accessories color', - ['tshirt_1'] = 't-Shirt 1', - ['tshirt_2'] = 't-Shirt 2', - ['torso_1'] = 'torso 1', - ['torso_2'] = 'torso 2', - ['decals_1'] = 'decals 1', - ['decals_2'] = 'decals 2', - ['arms'] = 'arms', - ['arms_2'] = 'arms 2', - ['pants_1'] = 'pants 1', - ['pants_2'] = 'pants 2', - ['shoes_1'] = 'shoes 1', - ['shoes_2'] = 'shoes 2', - ['mask_1'] = 'mask 1', - ['mask_2'] = 'mask 2', - ['bproof_1'] = 'bulletproof vest 1', - ['bproof_2'] = 'bulletproof vest 2', - ['chain_1'] = 'chain 1', - ['chain_2'] = 'chain 2', - ['helmet_1'] = 'helmet 1', - ['helmet_2'] = 'helmet 2', - ['watches_1'] = 'watches 1', - ['watches_2'] = 'watches 2', - ['bracelets_1'] = 'bracelets 1', - ['bracelets_2'] = 'bracelets 2', - ['glasses_1'] = 'glasses 1', - ['glasses_2'] = 'glasses 2', - ['bag'] = 'bag', - ['bag_color'] = 'bag color', - ['blemishes'] = 'blemishes', - ['blemishes_size'] = 'blemishes thickness', - ['ageing'] = 'ageing', - ['ageing_1'] = 'ageing thickness', - ['blush'] = 'blush', - ['blush_1'] = 'blush thickness', - ['blush_color'] = 'blush color', - ['complexion'] = 'complexion', - ['complexion_1'] = 'complexion thickness', - ['sun'] = 'sun', - ['sun_1'] = 'sun thickness', - ['freckles'] = 'freckles', - ['freckles_1'] = 'freckles thickness', - ['chest_hair'] = 'chest hair', - ['chest_hair_1'] = 'chest hair thickness', - ['chest_color'] = 'chest hair color', - ['bodyb'] = 'body blemishes', - ['bodyb_size'] = 'body blemishes thickness', - ['bodyb_extra'] = 'blemishes body effect', - ['bodyb_extra_thickness'] = 'blemishes body effect thickness', + ['sex'] = "sex", + ['mom'] = "mom's face", + ['dad'] = "dad's face", + ['resemblance'] = "resemblance", + ['skin_tone'] = "skin tone", + ['nose_1'] = "nose width", + ['nose_2'] = "nose peak height", + ['nose_3'] = "nose peak length", + ['nose_4'] = "nose bone height", + ['nose_5'] = "nose peak lowering", + ['nose_6'] = "nose bone twist", + ['cheeks_1'] = "cheekbones height", + ['cheeks_2'] = "cheekbones width", + ['cheeks_3'] = "cheeks width", + ['lip_fullness'] = "lip fullness", + ['jaw_bone_width'] = "jaw bone width", + ['jaw_bone_length'] = "jaw bone length", + ['chin_height'] = "chin height", + ['chin_length'] = "chin length", + ['chin_width'] = "chin width", + ['chin_hole'] = "chin hole size", + ['neck_thickness'] = "neck thickness", + ['wrinkles'] = "wrinkles", + ['wrinkle_thickness'] = "wrinkle thickness", + ['beard_type'] = "beard type", + ['beard_size'] = "beard size", + ['beard_color_1'] = "beard color 1", + ['beard_color_2'] = "beard color 2", + ['hair_1'] = "hair 1", + ['hair_2'] = "hair 2", + ['hair_color_1'] = "hair color 1", + ['hair_color_2'] = "hair color 2", + ['eye_color'] = "eye color", + ['eye_squint'] = "eye squint", + ['eyebrow_type'] = "eyebrow type", + ['eyebrow_size'] = "eyebrow size", + ['eyebrow_color_1'] = "eyebrow color 1", + ['eyebrow_color_2'] = "eyebrow color 2", + ['eyebrow_depth'] = "eyebrow depth", + ['eyebrow_height'] = "eyebrow height", + ['makeup_type'] = "makeup type", + ['makeup_thickness'] = "makeup thickness", + ['makeup_color_1'] = "makeup color 1", + ['makeup_color_2'] = "makeup color 2", + ['lipstick_type'] = "lipstick type", + ['lipstick_thickness'] = "lipstick thickness", + ['lipstick_color_1'] = "lipstick color 1", + ['lipstick_color_2'] = "lipstick color 2", + ['ear_accessories'] = "ear accessories", + ['ear_accessories_color'] = "ear accessories color", + ['tshirt_1'] = "t-Shirt 1", + ['tshirt_2'] = "t-Shirt 2", + ['torso_1'] = "torso 1", + ['torso_2'] = "torso 2", + ['decals_1'] = "decals 1", + ['decals_2'] = "decals 2", + ['arms'] = "arms", + ['arms_2'] = "arms 2", + ['pants_1'] = "pants 1", + ['pants_2'] = "pants 2", + ['shoes_1'] = "shoes 1", + ['shoes_2'] = "shoes 2", + ['mask_1'] = "mask 1", + ['mask_2'] = "mask 2", + ['bproof_1'] = "bulletproof vest 1", + ['bproof_2'] = "bulletproof vest 2", + ['chain_1'] = "chain 1", + ['chain_2'] = "chain 2", + ['helmet_1'] = "helmet 1", + ['helmet_2'] = "helmet 2", + ['watches_1'] = "watches 1", + ['watches_2'] = "watches 2", + ['bracelets_1'] = "bracelets 1", + ['bracelets_2'] = "bracelets 2", + ['glasses_1'] = "glasses 1", + ['glasses_2'] = "glasses 2", + ['bag'] = "bag", + ['bag_color'] = "bag color", + ['blemishes'] = "blemishes", + ['blemishes_size'] = "blemishes thickness", + ['ageing'] = "ageing", + ['ageing_1'] = "ageing thickness", + ['blush'] = "blush", + ['blush_1'] = "blush thickness", + ['blush_color'] = "blush color", + ['complexion'] = "complexion", + ['complexion_1'] = "complexion thickness", + ['sun'] = "sun", + ['sun_1'] = "sun thickness", + ['freckles'] = "freckles", + ['freckles_1'] = "freckles thickness", + ['chest_hair'] = "chest hair", + ['chest_hair_1'] = "chest hair thickness", + ['chest_color'] = "chest hair color", + ['bodyb'] = "body blemishes", + ['bodyb_size'] = "body blemishes thickness", + ['bodyb_extra'] = "blemishes body effect", + ['bodyb_extra_thickness'] = "blemishes body effect thickness", } diff --git a/[core]/skinchanger/locales/es.lua b/[core]/skinchanger/locales/es.lua index e707b2df..c3eeee46 100644 --- a/[core]/skinchanger/locales/es.lua +++ b/[core]/skinchanger/locales/es.lua @@ -1,100 +1,100 @@ Locales['es'] = { - ['sex'] = 'Sexo', - ['mom'] = 'Herencia de la Madre', - ['dad'] = 'Herencia del Padre', - ['resemblance'] = 'Parecido', - ['skin_tone'] = 'Tono de piel', - ['nose_1'] = 'Ancho de la Nariz', - ['nose_2'] = 'Altura del pico de la Nariz', - ['nose_3'] = 'Longitud del pico de la Nariz', - ['nose_4'] = 'Altura del hueso de la Nariz', - ['nose_5'] = 'Bajada del pico de la Nariz', - ['nose_6'] = 'Torsión del hueso de la Nariz', - ['cheeks_1'] = 'Altura de los pómulos', - ['cheeks_2'] = 'Anchura de los pómulos', - ['cheeks_3'] = 'Ancho de las mejillas', - ['lip_fullness'] = 'Relleno de los labios', - ['jaw_bone_width'] = 'Anchura del hueso de la mandíbula', - ['jaw_bone_length'] = 'Longitud del hueso de la mandíbula', - ['chin_height'] = 'Altura de la barbilla', - ['chin_length'] = 'Longitud de la barbilla', - ['chin_width'] = 'Ancho de la barbilla', - ['chin_hole'] = 'Tamaño del agujero de la barbilla', - ['neck_thickness'] = 'Grosor del cuello', - ['wrinkles'] = 'Arrugas', - ['wrinkle_thickness'] = 'Cantidad de arrugas', - ['beard_type'] = 'Tipo de barba', - ['beard_size'] = 'Tamaño de la barba', - ['beard_color_1'] = 'Color de la barba 1', - ['beard_color_2'] = 'Color de la barba 2', - ['hair_1'] = 'Pelo 1', - ['hair_2'] = 'Pelo 2', - ['hair_color_1'] = 'Color de pelo 1', - ['hair_color_2'] = 'Color de pelo 2', - ['eye_color'] = 'Color de ojos', - ['eye_squint'] = 'Apertura de ojos', - ['eyebrow_type'] = 'Tipo de ceja', - ['eyebrow_size'] = 'Tipo de ceja', - ['eyebrow_color_1'] = 'Color de ceja 1', - ['eyebrow_color_2'] = 'Color de ceja 2', - ['eyebrow_depth'] = 'Profundidad de las cejas', - ['eyebrow_height'] = 'Altura de las cejas', - ['makeup_type'] = 'Tipo de maquillaje', - ['makeup_thickness'] = 'Cantidad de maquillaje', - ['makeup_color_1'] = 'Color de maquillaje 1', - ['makeup_color_2'] = 'Color de maquillaje 2', - ['lipstick_type'] = 'Tipo de pintalabios', - ['lipstick_thickness'] = 'Cantidad de pintalabios', - ['lipstick_color_1'] = 'Color de pintalabios 1', - ['lipstick_color_2'] = 'Color de pintalabios 2', - ['ear_accessories'] = 'Accesorios de oreja', - ['ear_accessories_color'] = 'Color de accesorios', - ['tshirt_1'] = 'Camiseta 1', - ['tshirt_2'] = 'Camiseta 2', - ['torso_1'] = 'Torso 1', - ['torso_2'] = 'Torso 2', - ['decals_1'] = 'Tatuajes 1', - ['decals_2'] = 'Tatuajes 2', - ['arms'] = 'Brazos', - ['arms_2'] = 'Brazos 2', - ['pants_1'] = 'Pantalones 1', - ['pants_2'] = 'Pantalones 2', - ['shoes_1'] = 'Calzado 1', - ['shoes_2'] = 'Calzado 2', - ['mask_1'] = 'Mascara 1', - ['mask_2'] = 'Mascara 2', - ['bproof_1'] = 'Chaleco antibalas 1', - ['bproof_2'] = 'Chaleco antibalas 2', - ['chain_1'] = 'Cadena 1', - ['chain_2'] = 'Cadena 2', - ['helmet_1'] = 'Casco 1', - ['helmet_2'] = 'Casco 2', - ['watches_1'] = 'Reloj 1', - ['watches_2'] = 'Reloj 2', - ['bracelets_1'] = 'Pulseras 1', - ['bracelets_2'] = 'Pulseras 2', - ['glasses_1'] = 'Gafas 1', - ['glasses_2'] = 'Gafas 2', - ['bag'] = 'Mochila', - ['bag_color'] = 'Color mochila', - ['blemishes'] = 'Manchas', - ['blemishes_size'] = 'Cantidad de manchas', - ['ageing'] = 'Envejecimiento', - ['ageing_1'] = 'Cantidad de envejecimiento', - ['blush'] = 'Colorete', - ['blush_1'] = 'Cantidad de colorete', - ['blush_color'] = 'Color de colorete', - ['complexion'] = 'Complexión', - ['complexion_1'] = 'Cantidad de complexión', - ['sun'] = 'Bronceado', - ['sun_1'] = 'Cantidad de bronceado', - ['freckles'] = 'Pecas', - ['freckles_1'] = 'Cantidad de pecas', - ['chest_hair'] = 'Vello corporal', - ['chest_hair_1'] = 'Cantidad de vello corporal', - ['chest_color'] = 'Color de vello corporal', - ['bodyb'] = 'Manchas en el cuerpo', - ['bodyb_size'] = 'Tipo de manchas en el cuerpo', - ['bodyb_extra'] = 'Efecto de manchas en el cuerpo', - ['bodyb_extra_thickness'] = 'Espesor de manchas efecto cuerpo', + ['sex'] = "Sexo", + ['mom'] = "Herencia de la Madre", + ['dad'] = "Herencia del Padre", + ['resemblance'] = "Parecido", + ['skin_tone'] = "Tono de piel", + ['nose_1'] = "Ancho de la Nariz", + ['nose_2'] = "Altura del pico de la Nariz", + ['nose_3'] = "Longitud del pico de la Nariz", + ['nose_4'] = "Altura del hueso de la Nariz", + ['nose_5'] = "Bajada del pico de la Nariz", + ['nose_6'] = "Torsión del hueso de la Nariz", + ['cheeks_1'] = "Altura de los pómulos", + ['cheeks_2'] = "Anchura de los pómulos", + ['cheeks_3'] = "Ancho de las mejillas", + ['lip_fullness'] = "Relleno de los labios", + ['jaw_bone_width'] = "Anchura del hueso de la mandíbula", + ['jaw_bone_length'] = "Longitud del hueso de la mandíbula", + ['chin_height'] = "Altura de la barbilla", + ['chin_length'] = "Longitud de la barbilla", + ['chin_width'] = "Ancho de la barbilla", + ['chin_hole'] = "Tamaño del agujero de la barbilla", + ['neck_thickness'] = "Grosor del cuello", + ['wrinkles'] = "Arrugas", + ['wrinkle_thickness'] = "Cantidad de arrugas", + ['beard_type'] = "Tipo de barba", + ['beard_size'] = "Tamaño de la barba", + ['beard_color_1'] = "Color de la barba 1", + ['beard_color_2'] = "Color de la barba 2", + ['hair_1'] = "Pelo 1", + ['hair_2'] = "Pelo 2", + ['hair_color_1'] = "Color de pelo 1", + ['hair_color_2'] = "Color de pelo 2", + ['eye_color'] = "Color de ojos", + ['eye_squint'] = "Apertura de ojos", + ['eyebrow_type'] = "Tipo de ceja", + ['eyebrow_size'] = "Tipo de ceja", + ['eyebrow_color_1'] = "Color de ceja 1", + ['eyebrow_color_2'] = "Color de ceja 2", + ['eyebrow_depth'] = "Profundidad de las cejas", + ['eyebrow_height'] = "Altura de las cejas", + ['makeup_type'] = "Tipo de maquillaje", + ['makeup_thickness'] = "Cantidad de maquillaje", + ['makeup_color_1'] = "Color de maquillaje 1", + ['makeup_color_2'] = "Color de maquillaje 2", + ['lipstick_type'] = "Tipo de pintalabios", + ['lipstick_thickness'] = "Cantidad de pintalabios", + ['lipstick_color_1'] = "Color de pintalabios 1", + ['lipstick_color_2'] = "Color de pintalabios 2", + ['ear_accessories'] = "Accesorios de oreja", + ['ear_accessories_color'] = "Color de accesorios", + ['tshirt_1'] = "Camiseta 1", + ['tshirt_2'] = "Camiseta 2", + ['torso_1'] = "Torso 1", + ['torso_2'] = "Torso 2", + ['decals_1'] = "Tatuajes 1", + ['decals_2'] = "Tatuajes 2", + ['arms'] = "Brazos", + ['arms_2'] = "Brazos 2", + ['pants_1'] = "Pantalones 1", + ['pants_2'] = "Pantalones 2", + ['shoes_1'] = "Calzado 1", + ['shoes_2'] = "Calzado 2", + ['mask_1'] = "Mascara 1", + ['mask_2'] = "Mascara 2", + ['bproof_1'] = "Chaleco antibalas 1", + ['bproof_2'] = "Chaleco antibalas 2", + ['chain_1'] = "Cadena 1", + ['chain_2'] = "Cadena 2", + ['helmet_1'] = "Casco 1", + ['helmet_2'] = "Casco 2", + ['watches_1'] = "Reloj 1", + ['watches_2'] = "Reloj 2", + ['bracelets_1'] = "Pulseras 1", + ['bracelets_2'] = "Pulseras 2", + ['glasses_1'] = "Gafas 1", + ['glasses_2'] = "Gafas 2", + ['bag'] = "Mochila", + ['bag_color'] = "Color mochila", + ['blemishes'] = "Manchas", + ['blemishes_size'] = "Cantidad de manchas", + ['ageing'] = "Envejecimiento", + ['ageing_1'] = "Cantidad de envejecimiento", + ['blush'] = "Colorete", + ['blush_1'] = "Cantidad de colorete", + ['blush_color'] = "Color de colorete", + ['complexion'] = "Complexión", + ['complexion_1'] = "Cantidad de complexión", + ['sun'] = "Bronceado", + ['sun_1'] = "Cantidad de bronceado", + ['freckles'] = "Pecas", + ['freckles_1'] = "Cantidad de pecas", + ['chest_hair'] = "Vello corporal", + ['chest_hair_1'] = "Cantidad de vello corporal", + ['chest_color'] = "Color de vello corporal", + ['bodyb'] = "Manchas en el cuerpo", + ['bodyb_size'] = "Tipo de manchas en el cuerpo", + ['bodyb_extra'] = "Efecto de manchas en el cuerpo", + ['bodyb_extra_thickness'] = "Espesor de manchas efecto cuerpo", } diff --git a/[core]/skinchanger/locales/fi.lua b/[core]/skinchanger/locales/fi.lua index 4c4a7263..94c2d951 100644 --- a/[core]/skinchanger/locales/fi.lua +++ b/[core]/skinchanger/locales/fi.lua @@ -1,76 +1,76 @@ Locales['fi'] = { - ['sex'] = 'Sukupuoli', - ['face'] = 'Kasvot', - ['skin'] = 'Iho', - ['wrinkles'] = 'Rypyt', - ['wrinkle_thickness'] = 'Ryppyjen vahvuus', - ['beard_type'] = 'Parta tyyli', - ['beard_size'] = 'Parran koko', - ['beard_color_1'] = 'Parran väri 1', - ['beard_color_2'] = 'Parran väri 2', - ['hair_1'] = 'Hiukset 1', - ['hair_2'] = 'Hiukset 2', - ['hair_color_1'] = 'Hiuksien väri 1', - ['hair_color_2'] = 'Hiuksien väri 2', - ['eye_color'] = 'Silmien väri', - ['eyebrow_type'] = 'Kulmakarva tyyli', - ['eyebrow_size'] = 'Kulmakarvojen tiheys', - ['eyebrow_color_1'] = 'Kulmakarvojen väri 1', - ['eyebrow_color_2'] = 'Kulmakarvojen väri 2', - ['makeup_type'] = 'Meikki tyyli', - ['makeup_thickness'] = 'Meikin vahvuus', - ['makeup_color_1'] = 'Meikin väri 1', - ['makeup_color_2'] = 'Meikin väri 2', - ['lipstick_type'] = 'Huulipuna tyyli', - ['lipstick_thickness'] = 'Huulipunan vahvuus', - ['lipstick_color_1'] = 'Huulipunan väri 1', - ['lipstick_color_2'] = 'Huulipunan väri 2', - ['ear_accessories'] = 'Korvakorut', - ['ear_accessories_color'] = 'Korvakorujen väri', - ['tshirt_1'] = 'T-paita 1', - ['tshirt_2'] = 'T-paita 2', - ['torso_1'] = 'Paita 1', - ['torso_2'] = 'Paita 2', - ['decals_1'] = 'Kerros 1', - ['decals_2'] = 'Kerros 2', - ['arms'] = 'Kädet', - ['arms_2'] = 'Kädet 2', - ['pants_1'] = 'Housut 1', - ['pants_2'] = 'Housut 2', - ['shoes_1'] = 'Kengät 1', - ['shoes_2'] = 'Kengät 2', - ['mask_1'] = 'Maski 1', - ['mask_2'] = 'Maski 2', - ['bproof_1'] = 'Luotiliivi 1', - ['bproof_2'] = 'Luotiliivi 2', - ['chain_1'] = 'Korut 1', - ['chain_2'] = 'Korut 2', - ['helmet_1'] = 'Kypärät 1', - ['helmet_2'] = 'Kypärät 2', - ['watches_1'] = 'Kellot 1', - ['watches_2'] = 'Kellot 2', - ['bracelets_1'] = 'Rannekkeet 1', - ['bracelets_2'] = 'Rannekkeet 2', - ['glasses_1'] = 'Lasit 1', - ['glasses_2'] = 'Lasit 2', - ['bag'] = 'Reput', - ['bag_color'] = 'Repun väri', - ['blemishes'] = 'Pisamat', - ['blemishes_size']= 'Pisamien vahvuus', - ['ageing'] = 'Ikääntyminen', - ['ageing_1'] = 'Ikääntyminen vahvuus', - ['blush'] = 'Punastuminen', - ['blush_1'] = 'Punastumisen vahvuus', - ['blush_color'] = 'Punastumisen väri', - ['complexion'] = 'Pigmentti', - ['complexion_1'] = 'Pigmentin vahvuus', - ['sun'] = 'Rusketus', - ['sun_1'] = 'Rusketus vahvuus', - ['freckles'] = 'Pilkut', - ['freckles_1'] = 'Pilkkujen vahvuus', - ['chest_hair'] = 'Rintakarvat', - ['chest_hair_1'] = 'Rintakarvojen tiheys', - ['chest_color'] = 'Rintakarvojen väri', - ['bodyb'] = 'Pisamat kehossa', - ['bodyb_size'] = 'Kehopisamien vahvuus', + ['sex'] = "Sukupuoli", + ['face'] = "Kasvot", + ['skin'] = "Iho", + ['wrinkles'] = "Rypyt", + ['wrinkle_thickness'] = "Ryppyjen vahvuus", + ['beard_type'] = "Parta tyyli", + ['beard_size'] = "Parran koko", + ['beard_color_1'] = "Parran väri 1", + ['beard_color_2'] = "Parran väri 2", + ['hair_1'] = "Hiukset 1", + ['hair_2'] = "Hiukset 2", + ['hair_color_1'] = "Hiuksien väri 1", + ['hair_color_2'] = "Hiuksien väri 2", + ['eye_color'] = "Silmien väri", + ['eyebrow_type'] = "Kulmakarva tyyli", + ['eyebrow_size'] = "Kulmakarvojen tiheys", + ['eyebrow_color_1'] = "Kulmakarvojen väri 1", + ['eyebrow_color_2'] = "Kulmakarvojen väri 2", + ['makeup_type'] = "Meikki tyyli", + ['makeup_thickness'] = "Meikin vahvuus", + ['makeup_color_1'] = "Meikin väri 1", + ['makeup_color_2'] = "Meikin väri 2", + ['lipstick_type'] = "Huulipuna tyyli", + ['lipstick_thickness'] = "Huulipunan vahvuus", + ['lipstick_color_1'] = "Huulipunan väri 1", + ['lipstick_color_2'] = "Huulipunan väri 2", + ['ear_accessories'] = "Korvakorut", + ['ear_accessories_color'] = "Korvakorujen väri", + ['tshirt_1'] = "T-paita 1", + ['tshirt_2'] = "T-paita 2", + ['torso_1'] = "Paita 1", + ['torso_2'] = "Paita 2", + ['decals_1'] = "Kerros 1", + ['decals_2'] = "Kerros 2", + ['arms'] = "Kädet", + ['arms_2'] = "Kädet 2", + ['pants_1'] = "Housut 1", + ['pants_2'] = "Housut 2", + ['shoes_1'] = "Kengät 1", + ['shoes_2'] = "Kengät 2", + ['mask_1'] = "Maski 1", + ['mask_2'] = "Maski 2", + ['bproof_1'] = "Luotiliivi 1", + ['bproof_2'] = "Luotiliivi 2", + ['chain_1'] = "Korut 1", + ['chain_2'] = "Korut 2", + ['helmet_1'] = "Kypärät 1", + ['helmet_2'] = "Kypärät 2", + ['watches_1'] = "Kellot 1", + ['watches_2'] = "Kellot 2", + ['bracelets_1'] = "Rannekkeet 1", + ['bracelets_2'] = "Rannekkeet 2", + ['glasses_1'] = "Lasit 1", + ['glasses_2'] = "Lasit 2", + ['bag'] = "Reput", + ['bag_color'] = "Repun väri", + ['blemishes'] = "Pisamat", + ['blemishes_size']= "Pisamien vahvuus", + ['ageing'] = "Ikääntyminen", + ['ageing_1'] = "Ikääntyminen vahvuus", + ['blush'] = "Punastuminen", + ['blush_1'] = "Punastumisen vahvuus", + ['blush_color'] = "Punastumisen väri", + ['complexion'] = "Pigmentti", + ['complexion_1'] = "Pigmentin vahvuus", + ['sun'] = "Rusketus", + ['sun_1'] = "Rusketus vahvuus", + ['freckles'] = "Pilkut", + ['freckles_1'] = "Pilkkujen vahvuus", + ['chest_hair'] = "Rintakarvat", + ['chest_hair_1'] = "Rintakarvojen tiheys", + ['chest_color'] = "Rintakarvojen väri", + ['bodyb'] = "Pisamat kehossa", + ['bodyb_size'] = "Kehopisamien vahvuus", } diff --git a/[core]/skinchanger/locales/fr.lua b/[core]/skinchanger/locales/fr.lua index cc799047..5565f326 100644 --- a/[core]/skinchanger/locales/fr.lua +++ b/[core]/skinchanger/locales/fr.lua @@ -1,100 +1,100 @@ Locales['fr'] = { - ['sex'] = 'sexe', - ['mom'] = 'mère\'s visage', - ['dad'] = 'père\'s visage', - ['resemblance'] = 'ressemblance', - ['skin_tone'] = 'teint', - ['nose_1'] = 'largeur du nez', - ['nose_2'] = 'hauteur du pic du nez', - ['nose_3'] = 'longueur du pic du nez', + ['sex'] = "sexe", + ['mom'] = "mère's visage", + ['dad'] = "père's visage", + ['resemblance'] = "ressemblance", + ['skin_tone'] = "teint", + ['nose_1'] = "largeur du nez", + ['nose_2'] = "hauteur du pic du nez", + ['nose_3'] = "longueur du pic du nez", ['nose_4'] = "hauteur de l'os du nez", - ['nose_5'] = 'abaissement du pic du nez', + ['nose_5'] = "abaissement du pic du nez", ['nose_6'] = "torsion de l'os du nez", - ['cheeks_1'] = 'hauteur des pommettes', - ['cheeks_2'] = 'largeur des pommettes', - ['cheeks_3'] = 'largeur des joues', - ['lip_fullness'] = 'plénitude des lèvres', + ['cheeks_1'] = "hauteur des pommettes", + ['cheeks_2'] = "largeur des pommettes", + ['cheeks_3'] = "largeur des joues", + ['lip_fullness'] = "plénitude des lèvres", ['jaw_bone_width'] = "largeur de l'os de la mâchoire", ['jaw_bone_length'] = "longueur de l'os de la mâchoire", - ['chin_height'] = 'hauteur du menton', - ['chin_length'] = 'longueur du menton', - ['chin_width'] = 'largeur du menton', - ['chin_hole'] = 'taille du trou du menton', - ['neck_thickness'] = 'épaisseur du cou', - ['wrinkles'] = 'les rides', - ['wrinkle_thickness'] = 'épaisseur des rides', - ['beard_type'] = 'type de barbe', - ['beard_size'] = 'taille de barbe', - ['beard_color_1'] = 'couleur de barbe 1', - ['beard_color_2'] = 'couleur de barbe 2', - ['hair_1'] = 'cheveux 1', - ['hair_2'] = 'cheveux 2', - ['hair_color_1'] = 'couleur de cheveux 1', - ['hair_color_2'] = 'couleur de cheveux 2', - ['eye_color'] = 'couleur des yeux', - ['eye_squint'] = 'eye squint', - ['eyebrow_type'] = 'type de sourcil', - ['eyebrow_size'] = 'taille des sourcils', - ['eyebrow_color_1'] = 'couleur des sourcils 1', - ['eyebrow_color_2'] = 'couleur des sourcils 2', - ['eyebrow_depth'] = 'profondeur des sourcils', - ['eyebrow_height'] = 'hauteur des sourcils', - ['makeup_type'] = 'type de maquillage', - ['makeup_thickness'] = 'épaisseur de maquillage', - ['makeup_color_1'] = 'couleur de maquillage 1', - ['makeup_color_2'] = 'couleur de maquillage 2', - ['lipstick_type'] = 'type de rouge à lèvres', - ['lipstick_thickness'] = 'épaisseur du rouge à lèvres', - ['lipstick_color_1'] = 'couleur de rouge à lèvres 1', - ['lipstick_color_2'] = 'couleur de rouge à lèvres 2', - ['ear_accessories'] = 'ear accessories', + ['chin_height'] = "hauteur du menton", + ['chin_length'] = "longueur du menton", + ['chin_width'] = "largeur du menton", + ['chin_hole'] = "taille du trou du menton", + ['neck_thickness'] = "épaisseur du cou", + ['wrinkles'] = "les rides", + ['wrinkle_thickness'] = "épaisseur des rides", + ['beard_type'] = "type de barbe", + ['beard_size'] = "taille de barbe", + ['beard_color_1'] = "couleur de barbe 1", + ['beard_color_2'] = "couleur de barbe 2", + ['hair_1'] = "cheveux 1", + ['hair_2'] = "cheveux 2", + ['hair_color_1'] = "couleur de cheveux 1", + ['hair_color_2'] = "couleur de cheveux 2", + ['eye_color'] = "couleur des yeux", + ['eye_squint'] = "eye squint", + ['eyebrow_type'] = "type de sourcil", + ['eyebrow_size'] = "taille des sourcils", + ['eyebrow_color_1'] = "couleur des sourcils 1", + ['eyebrow_color_2'] = "couleur des sourcils 2", + ['eyebrow_depth'] = "profondeur des sourcils", + ['eyebrow_height'] = "hauteur des sourcils", + ['makeup_type'] = "type de maquillage", + ['makeup_thickness'] = "épaisseur de maquillage", + ['makeup_color_1'] = "couleur de maquillage 1", + ['makeup_color_2'] = "couleur de maquillage 2", + ['lipstick_type'] = "type de rouge à lèvres", + ['lipstick_thickness'] = "épaisseur du rouge à lèvres", + ['lipstick_color_1'] = "couleur de rouge à lèvres 1", + ['lipstick_color_2'] = "couleur de rouge à lèvres 2", + ['ear_accessories'] = "ear accessories", ['ear_accessories_color'] = "couleur des accessoires d'oreille", - ['tshirt_1'] = 't-Shirt 1', - ['tshirt_2'] = 't-Shirt 2', - ['torso_1'] = 'torse 1', - ['torso_2'] = 'torse 2', - ['decals_1'] = 'décalcomanies 1', - ['decals_2'] = 'décalcomanies 2', - ['arms'] = 'bras', - ['arms_2'] = 'bras 2', - ['pants_1'] = 'pantalon 1', - ['pants_2'] = 'pantalon 2', - ['shoes_1'] = 'chaussures 1', - ['shoes_2'] = 'chaussures 2', - ['mask_1'] = 'masque 1', - ['mask_2'] = 'masque 2', - ['bproof_1'] = 'gilet pare-balles 1', - ['bproof_2'] = 'gilet pare-balles 2', - ['chain_1'] = 'chaîne 1', - ['chain_2'] = 'chaîne 2', - ['helmet_1'] = 'casque 1', - ['helmet_2'] = 'casque 2', - ['watches_1'] = 'montres 1', - ['watches_2'] = 'montres 2', - ['bracelets_1'] = 'bracelets 1', - ['bracelets_2'] = 'bracelets 2', - ['glasses_1'] = 'lunettes 1', - ['glasses_2'] = 'lunettes 2', - ['bag'] = 'sac', - ['bag_color'] = 'couleur du sac', - ['blemishes'] = 'imperfections', - ['blemishes_size'] = 'épaisseur des imperfections', - ['ageing'] = 'vieillissement', - ['ageing_1'] = 'épaisseur de vieillissement', - ['blush'] = 'rougir', - ['blush_1'] = 'épaisseur du fard à joues', - ['blush_color'] = 'couleur fard à joues', - ['complexion'] = 'complexion', - ['complexion_1'] = 'épaisseur du teint', - ['sun'] = 'soleil', - ['sun_1'] = 'épaisseur du soleil', - ['freckles'] = 'taches de rousseur', - ['freckles_1'] = 'épaisseur des taches de rousseur', - ['chest_hair'] = 'les poils du torse', - ['chest_hair_1'] = 'épaisseur des poils de la poitrine', - ['chest_color'] = 'couleur des cheveux de la poitrine', - ['bodyb'] = 'imperfections du corps', - ['bodyb_size'] = 'épaisseur des imperfections corporelles', - ['bodyb_extra'] = 'effet corps', - ['bodyb_extra_thickness'] = 'imperfections effet corps épaisseur', + ['tshirt_1'] = "t-Shirt 1", + ['tshirt_2'] = "t-Shirt 2", + ['torso_1'] = "torse 1", + ['torso_2'] = "torse 2", + ['decals_1'] = "décalcomanies 1", + ['decals_2'] = "décalcomanies 2", + ['arms'] = "bras", + ['arms_2'] = "bras 2", + ['pants_1'] = "pantalon 1", + ['pants_2'] = "pantalon 2", + ['shoes_1'] = "chaussures 1", + ['shoes_2'] = "chaussures 2", + ['mask_1'] = "masque 1", + ['mask_2'] = "masque 2", + ['bproof_1'] = "gilet pare-balles 1", + ['bproof_2'] = "gilet pare-balles 2", + ['chain_1'] = "chaîne 1", + ['chain_2'] = "chaîne 2", + ['helmet_1'] = "casque 1", + ['helmet_2'] = "casque 2", + ['watches_1'] = "montres 1", + ['watches_2'] = "montres 2", + ['bracelets_1'] = "bracelets 1", + ['bracelets_2'] = "bracelets 2", + ['glasses_1'] = "lunettes 1", + ['glasses_2'] = "lunettes 2", + ['bag'] = "sac", + ['bag_color'] = "couleur du sac", + ['blemishes'] = "imperfections", + ['blemishes_size'] = "épaisseur des imperfections", + ['ageing'] = "vieillissement", + ['ageing_1'] = "épaisseur de vieillissement", + ['blush'] = "rougir", + ['blush_1'] = "épaisseur du fard à joues", + ['blush_color'] = "couleur fard à joues", + ['complexion'] = "complexion", + ['complexion_1'] = "épaisseur du teint", + ['sun'] = "soleil", + ['sun_1'] = "épaisseur du soleil", + ['freckles'] = "taches de rousseur", + ['freckles_1'] = "épaisseur des taches de rousseur", + ['chest_hair'] = "les poils du torse", + ['chest_hair_1'] = "épaisseur des poils de la poitrine", + ['chest_color'] = "couleur des cheveux de la poitrine", + ['bodyb'] = "imperfections du corps", + ['bodyb_size'] = "épaisseur des imperfections corporelles", + ['bodyb_extra'] = "effet corps", + ['bodyb_extra_thickness'] = "imperfections effet corps épaisseur", } diff --git a/[core]/skinchanger/locales/it.lua b/[core]/skinchanger/locales/it.lua index dba521eb..7c36b785 100644 --- a/[core]/skinchanger/locales/it.lua +++ b/[core]/skinchanger/locales/it.lua @@ -1,100 +1,100 @@ Locales['it'] = { - ['sex'] = 'sesso', - ['mom'] = 'viso donna', - ['dad'] = 'viso uomo', - ['resemblance'] = 'somiglianze', - ['skin_tone'] = 'tono della pelle', - ['nose_1'] = 'larghezza del naso', - ['nose_2'] = 'altezza della punta del naso', - ['nose_3'] = 'lunghezza della punta del naso', - ['nose_4'] = 'altezza dell\'osso del naso', - ['nose_5'] = 'abbassamento della punta del naso', - ['nose_6'] = 'torsione dell\'osso del naso', - ['cheeks_1'] = 'altezza degli zigomi', - ['cheeks_2'] = 'larghezza degli zigomi', - ['cheeks_3'] = 'larghezza delle guance', - ['lip_fullness'] = 'spessore delle labbra', - ['jaw_bone_width'] = 'larghezza dell\'osso mascellare', - ['jaw_bone_length'] = 'lunghezza dell\'osso mascellare', - ['chin_height'] = 'altezza del mento', - ['chin_length'] = 'lunghezza del mento', - ['chin_width'] = 'larghezza del mento', - ['chin_hole'] = 'dimensione del foro del mento', - ['neck_thickness'] = 'spessore del collo', - ['wrinkles'] = 'rughe', - ['wrinkle_thickness'] = 'spessore delle rughe', - ['beard_type'] = 'tipo di barba', - ['beard_size'] = 'dimensione della barba', - ['beard_color_1'] = 'colore della barba 1', - ['beard_color_2'] = 'colore della barba 2', - ['hair_1'] = 'capelli 1', - ['hair_2'] = 'capelli 2', - ['hair_color_1'] = 'colore capelli 1', - ['hair_color_2'] = 'colore capelli 2', - ['eye_color'] = 'colore degli occhi', - ['eye_squint'] = 'strabismo degli occhi', - ['eyebrow_type'] = 'tipo di sopracciglio', - ['eyebrow_size'] = 'dimensione delle sopracciglia', - ['eyebrow_color_1'] = 'colore delle sopracciglia 1', - ['eyebrow_color_2'] = 'colore delle sopracciglia 2', - ['eyebrow_depth'] = 'profondità delle sopracciglia', - ['eyebrow_height'] = 'altezza del sopracciglio', - ['makeup_type'] = 'tipo di trucco', - ['makeup_thickness'] = 'spessore del trucco', - ['makeup_color_1'] = 'colore del trucco 1', - ['makeup_color_2'] = 'colore del trucco 2', - ['lipstick_type'] = 'tipo di rossetto', - ['lipstick_thickness'] = 'spessore del rossetto', - ['lipstick_color_1'] = 'colore del rossetto 1', - ['lipstick_color_2'] = 'colore del rossetto 2', - ['ear_accessories'] = 'accessori per le orecchie', - ['ear_accessories_color'] = 'colore accessori orecchie', - ['tshirt_1'] = 't-Shirt 1', - ['tshirt_2'] = 't-Shirt 2', - ['torso_1'] = 'torso 1', - ['torso_2'] = 'torso 2', - ['decals_1'] = 'decals 1', - ['decals_2'] = 'decals 2', - ['arms'] = 'braccia', - ['arms_2'] = 'braccia 2', - ['pants_1'] = 'pantaloni', - ['pants_2'] = 'colore pantaloni', - ['shoes_1'] = 'scarpe', - ['shoes_2'] = 'colore scarpe', - ['mask_1'] = 'maschera 1', - ['mask_2'] = 'maschera 2', - ['bproof_1'] = 'giubbotto antiproiettile 1', - ['bproof_2'] = 'giubbotto antiproiettile2', - ['chain_1'] = 'collana 1', - ['chain_2'] = 'collana 2', - ['helmet_1'] = 'casco 1', - ['helmet_2'] = 'casco 2', - ['watches_1'] = 'orologi 1', - ['watches_2'] = 'orologi 2', - ['bracelets_1'] = 'bracciali 1', - ['bracelets_2'] = 'bracciali 2', - ['glasses_1'] = 'occhiali 1', - ['glasses_2'] = 'occhiali 2', - ['bag'] = 'zaino', - ['bag_color'] = 'colore zaino', - ['blemishes'] = 'imperfezioni', - ['blemishes_size'] = 'pessore delle imperfezioni', - ['ageing'] = 'invecchiamento pelle', - ['ageing_1'] = 'spessore invecchiamento', - ['blush'] = 'arrossimento', - ['blush_1'] = 'spessore del rossore', - ['blush_color'] = 'colore rossore', - ['complexion'] = 'carnagione', - ['complexion_1'] = 'spessore della carnagione', - ['sun'] = 'lentiggini', - ['sun_1'] = 'spessore lentiggini', - ['freckles'] = 'lentiggini', - ['freckles_1'] = 'spessore delle lentiggini', - ['chest_hair'] = 'peli del petto', - ['chest_hair_1'] = 'spessore dei peli del torace', - ['chest_color'] = 'colore dei peli del petto', - ['bodyb'] = 'inestetismi del corpo', - ['bodyb_size'] = 'spessore delle imperfezioni', - ['bodyb_extra'] = 'inestetismi del corpo extra', - ['bodyb_extra_thickness'] = 'inestetismi del corpo spessore', + ['sex'] = "sesso", + ['mom'] = "viso donna", + ['dad'] = "viso uomo", + ['resemblance'] = "somiglianze", + ['skin_tone'] = "tono della pelle", + ['nose_1'] = "larghezza del naso", + ['nose_2'] = "altezza della punta del naso", + ['nose_3'] = "lunghezza della punta del naso", + ['nose_4'] = "altezza dell'osso del naso", + ['nose_5'] = "abbassamento della punta del naso", + ['nose_6'] = "torsione dell'osso del naso", + ['cheeks_1'] = "altezza degli zigomi", + ['cheeks_2'] = "larghezza degli zigomi", + ['cheeks_3'] = "larghezza delle guance", + ['lip_fullness'] = "spessore delle labbra", + ['jaw_bone_width'] = "larghezza dell'osso mascellare", + ['jaw_bone_length'] = "lunghezza dell'osso mascellare", + ['chin_height'] = "altezza del mento", + ['chin_length'] = "lunghezza del mento", + ['chin_width'] = "larghezza del mento", + ['chin_hole'] = "dimensione del foro del mento", + ['neck_thickness'] = "spessore del collo", + ['wrinkles'] = "rughe", + ['wrinkle_thickness'] = "spessore delle rughe", + ['beard_type'] = "tipo di barba", + ['beard_size'] = "dimensione della barba", + ['beard_color_1'] = "colore della barba 1", + ['beard_color_2'] = "colore della barba 2", + ['hair_1'] = "capelli 1", + ['hair_2'] = "capelli 2", + ['hair_color_1'] = "colore capelli 1", + ['hair_color_2'] = "colore capelli 2", + ['eye_color'] = "colore degli occhi", + ['eye_squint'] = "strabismo degli occhi", + ['eyebrow_type'] = "tipo di sopracciglio", + ['eyebrow_size'] = "dimensione delle sopracciglia", + ['eyebrow_color_1'] = "colore delle sopracciglia 1", + ['eyebrow_color_2'] = "colore delle sopracciglia 2", + ['eyebrow_depth'] = "profondità delle sopracciglia", + ['eyebrow_height'] = "altezza del sopracciglio", + ['makeup_type'] = "tipo di trucco", + ['makeup_thickness'] = "spessore del trucco", + ['makeup_color_1'] = "colore del trucco 1", + ['makeup_color_2'] = "colore del trucco 2", + ['lipstick_type'] = "tipo di rossetto", + ['lipstick_thickness'] = "spessore del rossetto", + ['lipstick_color_1'] = "colore del rossetto 1", + ['lipstick_color_2'] = "colore del rossetto 2", + ['ear_accessories'] = "accessori per le orecchie", + ['ear_accessories_color'] = "colore accessori orecchie", + ['tshirt_1'] = "t-Shirt 1", + ['tshirt_2'] = "t-Shirt 2", + ['torso_1'] = "torso 1", + ['torso_2'] = "torso 2", + ['decals_1'] = "decals 1", + ['decals_2'] = "decals 2", + ['arms'] = "braccia", + ['arms_2'] = "braccia 2", + ['pants_1'] = "pantaloni", + ['pants_2'] = "colore pantaloni", + ['shoes_1'] = "scarpe", + ['shoes_2'] = "colore scarpe", + ['mask_1'] = "maschera 1", + ['mask_2'] = "maschera 2", + ['bproof_1'] = "giubbotto antiproiettile 1", + ['bproof_2'] = "giubbotto antiproiettile2", + ['chain_1'] = "collana 1", + ['chain_2'] = "collana 2", + ['helmet_1'] = "casco 1", + ['helmet_2'] = "casco 2", + ['watches_1'] = "orologi 1", + ['watches_2'] = "orologi 2", + ['bracelets_1'] = "bracciali 1", + ['bracelets_2'] = "bracciali 2", + ['glasses_1'] = "occhiali 1", + ['glasses_2'] = "occhiali 2", + ['bag'] = "zaino", + ['bag_color'] = "colore zaino", + ['blemishes'] = "imperfezioni", + ['blemishes_size'] = "pessore delle imperfezioni", + ['ageing'] = "invecchiamento pelle", + ['ageing_1'] = "spessore invecchiamento", + ['blush'] = "arrossimento", + ['blush_1'] = "spessore del rossore", + ['blush_color'] = "colore rossore", + ['complexion'] = "carnagione", + ['complexion_1'] = "spessore della carnagione", + ['sun'] = "lentiggini", + ['sun_1'] = "spessore lentiggini", + ['freckles'] = "lentiggini", + ['freckles_1'] = "spessore delle lentiggini", + ['chest_hair'] = "peli del petto", + ['chest_hair_1'] = "spessore dei peli del torace", + ['chest_color'] = "colore dei peli del petto", + ['bodyb'] = "inestetismi del corpo", + ['bodyb_size'] = "spessore delle imperfezioni", + ['bodyb_extra'] = "inestetismi del corpo extra", + ['bodyb_extra_thickness'] = "inestetismi del corpo spessore", } diff --git a/[core]/skinchanger/locales/nl.lua b/[core]/skinchanger/locales/nl.lua index 731b7e79..089006d0 100644 --- a/[core]/skinchanger/locales/nl.lua +++ b/[core]/skinchanger/locales/nl.lua @@ -1,100 +1,100 @@ Locales['nl'] = { - ['sex'] = 'geslacht', - ['mom'] = 'gezicht moeder', - ['dad'] = 'gezicht vader', - ['resemblance'] = 'gelijkenis', - ['skin_tone'] = 'huidskleur', - ['nose_1'] = 'neusbreedte', - ['nose_2'] = 'neuspiek hoogte', - ['nose_3'] = 'neuspiek lengte', - ['nose_4'] = 'neusbeen hoogte', - ['nose_5'] = 'neusbeen verlaging', - ['nose_6'] = 'neusbeen verdraaiing', - ['cheeks_1'] = 'jukbeenderen hoogte', - ['cheeks_2'] = 'jukbeenderen breedte', - ['cheeks_3'] = 'wangen breedte', - ['lip_fullness'] = 'lipvolheid', - ['jaw_bone_width'] = 'kaakbeen breedte', - ['jaw_bone_length'] = 'kaakbeen lengte', - ['chin_height'] = 'kin hoogte', - ['chin_length'] = 'kin lengte', - ['chin_width'] = 'kin breedte', - ['chin_hole'] = 'grootte van het kin-gat', - ['neck_thickness'] = 'nek dikte', - ['wrinkles'] = 'rimpels', - ['wrinkle_thickness'] = 'rimpels dikte', - ['beard_type'] = 'baard type', - ['beard_size'] = 'baard grootte', - ['beard_color_1'] = 'baard kleur 1', - ['beard_color_2'] = 'baard kleur 2', - ['hair_1'] = 'haar 1', - ['hair_2'] = 'haar 2', - ['hair_color_1'] = 'haar kleur 1', - ['hair_color_2'] = 'haar kleur 2', - ['eye_color'] = 'oogkleur', - ['eye_squint'] = 'oog scheelte', - ['eyebrow_type'] = 'wenkbrauw type', - ['eyebrow_size'] = 'wenkbrauw formaat', - ['eyebrow_color_1'] = 'wenkbrauw kleur 1', - ['eyebrow_color_2'] = 'wenkbrauw kleur 2', - ['eyebrow_depth'] = 'wenkbrauw diepte', - ['eyebrow_height'] = 'wenkbrauw hoogte', - ['makeup_type'] = 'makeup type', - ['makeup_thickness'] = 'makeup dikte', - ['makeup_color_1'] = 'makeup kleur 1', - ['makeup_color_2'] = 'makeup kleur 2', - ['lipstick_type'] = 'lippenstift type', - ['lipstick_thickness'] = 'lippenstift dikte', - ['lipstick_color_1'] = 'lippenstift kleur 1', - ['lipstick_color_2'] = 'lippenstift kleur 2', - ['ear_accessories'] = 'ooraccessoires', - ['ear_accessories_color'] = 'ooraccessoires kleur', - ['tshirt_1'] = 't-shirt 1', - ['tshirt_2'] = 't-shirt 2', - ['torso_1'] = 'vest 1', - ['torso_2'] = 'vest 2', - ['decals_1'] = 'stickers 1', - ['decals_2'] = 'stickers 2', - ['arms'] = 'armen', - ['arms_2'] = 'armen 2', - ['pants_1'] = 'broek 1', - ['pants_2'] = 'broek 2', - ['shoes_1'] = 'shoenen 1', - ['shoes_2'] = 'shoenen 2', - ['mask_1'] = 'masker 1', - ['mask_2'] = 'masker 2', - ['bproof_1'] = 'kogelvrij vest 1', - ['bproof_2'] = 'kogelvrij vest 2', - ['chain_1'] = 'ketting 1', - ['chain_2'] = 'ketting 2', - ['helmet_1'] = 'helm 1', - ['helmet_2'] = 'helm 2', - ['watches_1'] = 'horloge 1', - ['watches_2'] = 'horloge 2', - ['bracelets_1'] = 'armband(en) 1', - ['bracelets_2'] = 'armband(en) 2', - ['glasses_1'] = 'bril 1', - ['glasses_2'] = 'bril 2', - ['bag'] = 'rugzak', - ['bag_color'] = 'rugzak kleur', - ['blemishes'] = 'vlekken', - ['blemishes_size'] = 'vlekken dikte', - ['ageing'] = 'veroudering', - ['ageing_1'] = 'veroudering zichtbaarheid', - ['blush'] = 'blozen', - ['blush_1'] = 'blozen zichtbaarheid', - ['blush_color'] = 'blozen kleur', - ['complexion'] = 'gelaatskleur', - ['complexion_1'] = 'gelaatskleur 1', - ['sun'] = 'zon', - ['sun_1'] = 'zon dikte', - ['freckles'] = 'sproeten', - ['freckles_1'] = 'sproeten dikte', - ['chest_hair'] = 'borsthaar', - ['chest_hair_1'] = 'borsthaar dikte', - ['chest_color'] = 'borsthaar kleur', - ['bodyb'] = 'lichaamsvlekken', - ['bodyb_size'] = 'lichaamsvlekken zichtbaarheid', - ['bodyb_extra'] = 'lichaamsvlekken effect', - ['bodyb_extra_thickness'] = 'lichaamsvlekken effect zichtbaarheid', + ['sex'] = "geslacht", + ['mom'] = "gezicht moeder", + ['dad'] = "gezicht vader", + ['resemblance'] = "gelijkenis", + ['skin_tone'] = "huidskleur", + ['nose_1'] = "neusbreedte", + ['nose_2'] = "neuspiek hoogte", + ['nose_3'] = "neuspiek lengte", + ['nose_4'] = "neusbeen hoogte", + ['nose_5'] = "neusbeen verlaging", + ['nose_6'] = "neusbeen verdraaiing", + ['cheeks_1'] = "jukbeenderen hoogte", + ['cheeks_2'] = "jukbeenderen breedte", + ['cheeks_3'] = "wangen breedte", + ['lip_fullness'] = "lipvolheid", + ['jaw_bone_width'] = "kaakbeen breedte", + ['jaw_bone_length'] = "kaakbeen lengte", + ['chin_height'] = "kin hoogte", + ['chin_length'] = "kin lengte", + ['chin_width'] = "kin breedte", + ['chin_hole'] = "grootte van het kin-gat", + ['neck_thickness'] = "nek dikte", + ['wrinkles'] = "rimpels", + ['wrinkle_thickness'] = "rimpels dikte", + ['beard_type'] = "baard type", + ['beard_size'] = "baard grootte", + ['beard_color_1'] = "baard kleur 1", + ['beard_color_2'] = "baard kleur 2", + ['hair_1'] = "haar 1", + ['hair_2'] = "haar 2", + ['hair_color_1'] = "haar kleur 1", + ['hair_color_2'] = "haar kleur 2", + ['eye_color'] = "oogkleur", + ['eye_squint'] = "oog scheelte", + ['eyebrow_type'] = "wenkbrauw type", + ['eyebrow_size'] = "wenkbrauw formaat", + ['eyebrow_color_1'] = "wenkbrauw kleur 1", + ['eyebrow_color_2'] = "wenkbrauw kleur 2", + ['eyebrow_depth'] = "wenkbrauw diepte", + ['eyebrow_height'] = "wenkbrauw hoogte", + ['makeup_type'] = "makeup type", + ['makeup_thickness'] = "makeup dikte", + ['makeup_color_1'] = "makeup kleur 1", + ['makeup_color_2'] = "makeup kleur 2", + ['lipstick_type'] = "lippenstift type", + ['lipstick_thickness'] = "lippenstift dikte", + ['lipstick_color_1'] = "lippenstift kleur 1", + ['lipstick_color_2'] = "lippenstift kleur 2", + ['ear_accessories'] = "ooraccessoires", + ['ear_accessories_color'] = "ooraccessoires kleur", + ['tshirt_1'] = "t-shirt 1", + ['tshirt_2'] = "t-shirt 2", + ['torso_1'] = "vest 1", + ['torso_2'] = "vest 2", + ['decals_1'] = "stickers 1", + ['decals_2'] = "stickers 2", + ['arms'] = "armen", + ['arms_2'] = "armen 2", + ['pants_1'] = "broek 1", + ['pants_2'] = "broek 2", + ['shoes_1'] = "shoenen 1", + ['shoes_2'] = "shoenen 2", + ['mask_1'] = "masker 1", + ['mask_2'] = "masker 2", + ['bproof_1'] = "kogelvrij vest 1", + ['bproof_2'] = "kogelvrij vest 2", + ['chain_1'] = "ketting 1", + ['chain_2'] = "ketting 2", + ['helmet_1'] = "helm 1", + ['helmet_2'] = "helm 2", + ['watches_1'] = "horloge 1", + ['watches_2'] = "horloge 2", + ['bracelets_1'] = "armband(en) 1", + ['bracelets_2'] = "armband(en) 2", + ['glasses_1'] = "bril 1", + ['glasses_2'] = "bril 2", + ['bag'] = "rugzak", + ['bag_color'] = "rugzak kleur", + ['blemishes'] = "vlekken", + ['blemishes_size'] = "vlekken dikte", + ['ageing'] = "veroudering", + ['ageing_1'] = "veroudering zichtbaarheid", + ['blush'] = "blozen", + ['blush_1'] = "blozen zichtbaarheid", + ['blush_color'] = "blozen kleur", + ['complexion'] = "gelaatskleur", + ['complexion_1'] = "gelaatskleur 1", + ['sun'] = "zon", + ['sun_1'] = "zon dikte", + ['freckles'] = "sproeten", + ['freckles_1'] = "sproeten dikte", + ['chest_hair'] = "borsthaar", + ['chest_hair_1'] = "borsthaar dikte", + ['chest_color'] = "borsthaar kleur", + ['bodyb'] = "lichaamsvlekken", + ['bodyb_size'] = "lichaamsvlekken zichtbaarheid", + ['bodyb_extra'] = "lichaamsvlekken effect", + ['bodyb_extra_thickness'] = "lichaamsvlekken effect zichtbaarheid", } diff --git a/[core]/skinchanger/locales/pl.lua b/[core]/skinchanger/locales/pl.lua index 350d0c1d..75677032 100644 --- a/[core]/skinchanger/locales/pl.lua +++ b/[core]/skinchanger/locales/pl.lua @@ -1,102 +1,102 @@ Locales['pl'] = { - ['sex'] = 'płeć', - ['mom'] = 'twarz matki', - ['dad'] = 'twarz ojca', - ['resemblance'] = 'podobieństwo', - ['skin_tone'] = 'kolor skóry', - ['nose_1'] = 'szerokość nosa', - ['nose_2'] = 'nose peak height', - ['nose_3'] = 'wysokość szczytu nosa', - ['nose_4'] = 'wysokość kości nosa', - ['nose_5'] = 'obniżenie szczytu nosa', - ['nose_6'] = 'skręcenie kości nosa', - ['cheeks_1'] = 'wysokość kości policzkowych', - ['cheeks_2'] = 'szerokość kości policzkowych', - ['cheeks_3'] = 'szerokość policzków', - ['lip_fullness'] = 'pełne usta', - ['jaw_bone_width'] = 'szerokość kości szczęki', - ['jaw_bone_length'] = 'długość kości szczęki', - ['chin_height'] = 'wysokość podbródka', - ['chin_length'] = 'długość podbródka', - ['chin_width'] = 'szerokość podbródka', - ['chin_hole'] = 'rozmiar dziury w podbródku', - ['neck_thickness'] = 'grubość szyi', - ['face'] = 'twarz', - ['skin'] = 'skóra', - ['wrinkles'] = 'zmarszczki', - ['wrinkle_thickness'] = 'wielkość zmarszczek', - ['beard_type'] = 'styl brody', - ['beard_size'] = 'wielkość brody', - ['beard_color_1'] = 'kolor brody 1', - ['beard_color_2'] = 'kolor brody 2', - ['hair_1'] = 'włosy 1', - ['hair_2'] = 'włosy 2', - ['hair_color_1'] = 'kolor włosów 1', - ['hair_color_2'] = 'kolor włosów 2', - ['eye_color'] = 'kolor oczu', - ['eye_squint'] = 'zmrużenie oczu', - ['eyebrow_type'] = 'styl brwi', - ['eyebrow_size'] = 'wielkość brwi', - ['eyebrow_color_1'] = 'kolor brwi 1', - ['eyebrow_color_2'] = 'kolor brwi 2', - ['eyebrow_depth'] = 'głębokość brwi', - ['eyebrow_height'] = 'wysokość brwi', - ['makeup_type'] = 'styl makijażu', - ['makeup_thickness'] = 'grubość makijażu', - ['makeup_color_1'] = 'kolor makijażu 1', - ['makeup_color_2'] = 'kolor makijażu 2', - ['lipstick_type'] = 'styl szminki', - ['lipstick_thickness'] = 'grubość szminki', - ['lipstick_color_1'] = 'kolor szminki 1', - ['lipstick_color_2'] = 'kolor szminki 2', - ['ear_accessories'] = 'akcesoria do uszu', - ['ear_accessories_color'] = 'kolor akcesorii do uszu', - ['tshirt_1'] = 'koszulka 1', - ['tshirt_2'] = 'koszulka 2', - ['torso_1'] = 'tułów 1', - ['torso_2'] = 'tułów 2', - ['decals_1'] = 'detale 1', - ['decals_2'] = 'detale 2', - ['arms'] = 'ramiona', - ['arms_2'] = 'ramiona 2', - ['pants_1'] = 'spodnie 1', - ['pants_2'] = 'spodnie 2', - ['shoes_1'] = 'buty 1', - ['shoes_2'] = 'buty 2', - ['mask_1'] = 'maska 1', - ['mask_2'] = 'maska 2', - ['bproof_1'] = 'kamizelka kuloodporna 1', - ['bproof_2'] = 'kamizelka kuloodporna 2', - ['chain_1'] = 'łańcuch 1', - ['chain_2'] = 'łańcuch 2', - ['helmet_1'] = 'hełm 1', - ['helmet_2'] = 'hełm 2', - ['watches_1'] = 'zegarek 1', - ['watches_2'] = 'zegarek 2', - ['bracelets_1'] = 'bransoletka 1', - ['bracelets_2'] = 'bransoletka 2', - ['glasses_1'] = 'okulary 1', - ['glasses_2'] = 'okulary 2', - ['bag'] = 'torba', - ['bag_color'] = 'kolor torby', - ['blemishes'] = 'skazy', - ['blemishes_size']= 'wielkość skaz', - ['ageing'] = 'starzenie', - ['ageing_1'] = 'wielkość starzenia', - ['blush'] = 'rumieńce', - ['blush_1'] = 'grubość rumieni', - ['blush_color'] = 'kolor rumieni', - ['complexion'] = 'cera', - ['complexion_1'] = 'rodzaj cery', - ['sun'] = 'opalenie', - ['sun_1'] = 'wielkość opalenia', - ['freckles'] = 'piegi', - ['freckles_1'] = 'rodzaj piegów', - ['chest_hair'] = 'włosy na klacie', - ['chest_hair_1'] = 'ilość włosów na klacie', - ['chest_color'] = 'kolor włosów na klacie', - ['bodyb'] = 'skazy ciała', - ['bodyb_size'] = 'rodzaj skaz ciała', - ['bodyb_extra'] = 'efekt skaz ciała', - ['bodyb_extra_thickness'] = 'wielkość skaz ciała', + ['sex'] = "płeć", + ['mom'] = "twarz matki", + ['dad'] = "twarz ojca", + ['resemblance'] = "podobieństwo", + ['skin_tone'] = "kolor skóry", + ['nose_1'] = "szerokość nosa", + ['nose_2'] = "nose peak height", + ['nose_3'] = "wysokość szczytu nosa", + ['nose_4'] = "wysokość kości nosa", + ['nose_5'] = "obniżenie szczytu nosa", + ['nose_6'] = "skręcenie kości nosa", + ['cheeks_1'] = "wysokość kości policzkowych", + ['cheeks_2'] = "szerokość kości policzkowych", + ['cheeks_3'] = "szerokość policzków", + ['lip_fullness'] = "pełne usta", + ['jaw_bone_width'] = "szerokość kości szczęki", + ['jaw_bone_length'] = "długość kości szczęki", + ['chin_height'] = "wysokość podbródka", + ['chin_length'] = "długość podbródka", + ['chin_width'] = "szerokość podbródka", + ['chin_hole'] = "rozmiar dziury w podbródku", + ['neck_thickness'] = "grubość szyi", + ['face'] = "twarz", + ['skin'] = "skóra", + ['wrinkles'] = "zmarszczki", + ['wrinkle_thickness'] = "wielkość zmarszczek", + ['beard_type'] = "styl brody", + ['beard_size'] = "wielkość brody", + ['beard_color_1'] = "kolor brody 1", + ['beard_color_2'] = "kolor brody 2", + ['hair_1'] = "włosy 1", + ['hair_2'] = "włosy 2", + ['hair_color_1'] = "kolor włosów 1", + ['hair_color_2'] = "kolor włosów 2", + ['eye_color'] = "kolor oczu", + ['eye_squint'] = "zmrużenie oczu", + ['eyebrow_type'] = "styl brwi", + ['eyebrow_size'] = "wielkość brwi", + ['eyebrow_color_1'] = "kolor brwi 1", + ['eyebrow_color_2'] = "kolor brwi 2", + ['eyebrow_depth'] = "głębokość brwi", + ['eyebrow_height'] = "wysokość brwi", + ['makeup_type'] = "styl makijażu", + ['makeup_thickness'] = "grubość makijażu", + ['makeup_color_1'] = "kolor makijażu 1", + ['makeup_color_2'] = "kolor makijażu 2", + ['lipstick_type'] = "styl szminki", + ['lipstick_thickness'] = "grubość szminki", + ['lipstick_color_1'] = "kolor szminki 1", + ['lipstick_color_2'] = "kolor szminki 2", + ['ear_accessories'] = "akcesoria do uszu", + ['ear_accessories_color'] = "kolor akcesorii do uszu", + ['tshirt_1'] = "koszulka 1", + ['tshirt_2'] = "koszulka 2", + ['torso_1'] = "tułów 1", + ['torso_2'] = "tułów 2", + ['decals_1'] = "detale 1", + ['decals_2'] = "detale 2", + ['arms'] = "ramiona", + ['arms_2'] = "ramiona 2", + ['pants_1'] = "spodnie 1", + ['pants_2'] = "spodnie 2", + ['shoes_1'] = "buty 1", + ['shoes_2'] = "buty 2", + ['mask_1'] = "maska 1", + ['mask_2'] = "maska 2", + ['bproof_1'] = "kamizelka kuloodporna 1", + ['bproof_2'] = "kamizelka kuloodporna 2", + ['chain_1'] = "łańcuch 1", + ['chain_2'] = "łańcuch 2", + ['helmet_1'] = "hełm 1", + ['helmet_2'] = "hełm 2", + ['watches_1'] = "zegarek 1", + ['watches_2'] = "zegarek 2", + ['bracelets_1'] = "bransoletka 1", + ['bracelets_2'] = "bransoletka 2", + ['glasses_1'] = "okulary 1", + ['glasses_2'] = "okulary 2", + ['bag'] = "torba", + ['bag_color'] = "kolor torby", + ['blemishes'] = "skazy", + ['blemishes_size']= "wielkość skaz", + ['ageing'] = "starzenie", + ['ageing_1'] = "wielkość starzenia", + ['blush'] = "rumieńce", + ['blush_1'] = "grubość rumieni", + ['blush_color'] = "kolor rumieni", + ['complexion'] = "cera", + ['complexion_1'] = "rodzaj cery", + ['sun'] = "opalenie", + ['sun_1'] = "wielkość opalenia", + ['freckles'] = "piegi", + ['freckles_1'] = "rodzaj piegów", + ['chest_hair'] = "włosy na klacie", + ['chest_hair_1'] = "ilość włosów na klacie", + ['chest_color'] = "kolor włosów na klacie", + ['bodyb'] = "skazy ciała", + ['bodyb_size'] = "rodzaj skaz ciała", + ['bodyb_extra'] = "efekt skaz ciała", + ['bodyb_extra_thickness'] = "wielkość skaz ciała", } diff --git a/[core]/skinchanger/locales/pt.lua b/[core]/skinchanger/locales/pt.lua index de6e7978..2668be79 100644 --- a/[core]/skinchanger/locales/pt.lua +++ b/[core]/skinchanger/locales/pt.lua @@ -1,100 +1,100 @@ Locales['pt'] = { - ['sex'] = 'sexo', - ['mom'] = 'cara da mãe', - ['dad'] = 'cara do pai', - ['resemblance'] = 'semelhanças', - ['skin_tone'] = 'tom de pele', - ['nose_1'] = 'largura do nariz', - ['nose_2'] = 'altura da ponta do nariz', - ['nose_3'] = 'tamanho da ponta do nariz', - ['nose_4'] = 'altura do nariz', - ['nose_5'] = 'reduzir ponta do nariz', - ['nose_6'] = 'torcer o nariz', - ['cheeks_1'] = 'altura das maçãs do rosto', - ['cheeks_2'] = 'largura das maçãs do rosto', - ['cheeks_3'] = 'largura das bochechas', - ['lip_fullness'] = 'preenchimento labial', - ['jaw_bone_width'] = 'largura do maxilar', - ['jaw_bone_length'] = 'comprimento do maxilar', - ['chin_height'] = 'altura do queixo', - ['chin_length'] = 'comprimento do queixo', - ['chin_width'] = 'largura do queixo', - ['chin_hole'] = 'tamanho do buraco do queixo', - ['neck_thickness'] = 'espessura do pescoço', - ['wrinkles'] = 'rugas', - ['wrinkle_thickness'] = 'espessura das rugas', - ['beard_type'] = 'tipo de barba', - ['beard_size'] = 'tamanho da barba', - ['beard_color_1'] = 'cor da barba 1', - ['beard_color_2'] = 'cor da barba 2', - ['hair_1'] = 'cabelo 1', - ['hair_2'] = 'cabelo 2', - ['hair_color_1'] = 'cor do cabelo 1', - ['hair_color_2'] = 'cor do cabelo 2', - ['eye_color'] = 'cor dos olhos', - ['eye_squint'] = 'estrabismo', - ['eyebrow_type'] = 'tipo de sobrancelha', - ['eyebrow_size'] = 'tamanho da sobrancelha', - ['eyebrow_color_1'] = 'cor da sobrancelha 1', - ['eyebrow_color_2'] = 'cor da sobrancelha 2', - ['eyebrow_depth'] = 'profundidade da sobrancelha', - ['eyebrow_height'] = 'altura da sobrancelha', - ['makeup_type'] = 'tipo de maquiagem', - ['makeup_thickness'] = 'espessura da maquiagem', - ['makeup_color_1'] = 'cor da maquiagem 1', - ['makeup_color_2'] = 'cor da maquiagem 2', - ['lipstick_type'] = 'tipo de batom', - ['lipstick_thickness'] = 'espessura do batom', - ['lipstick_color_1'] = 'cor do batom 1', - ['lipstick_color_2'] = 'cor do batom 2', - ['ear_accessories'] = 'acessórios de ouvido', - ['ear_accessories_color'] = 'cor dos acessórios de ouvido', - ['tshirt_1'] = 't-Shirt 1', - ['tshirt_2'] = 't-Shirt 2', - ['torso_1'] = 'casaco 1', - ['torso_2'] = 'casaco 2', - ['decals_1'] = 'autocolantes 1', - ['decals_2'] = 'autocolantes 2', - ['arms'] = 'braços', - ['arms_2'] = 'braços 2', - ['pants_1'] = 'calças 1', - ['pants_2'] = 'calças 2', - ['shoes_1'] = 'sapatos 1', - ['shoes_2'] = 'sapatos 2', - ['mask_1'] = 'máscara 1', - ['mask_2'] = 'máscara 2', - ['bproof_1'] = 'colete 1', - ['bproof_2'] = 'colete 2', - ['chain_1'] = 'colar 1', - ['chain_2'] = 'colar 2', - ['helmet_1'] = 'capacete 1', - ['helmet_2'] = 'capacete 2', - ['watches_1'] = 'relógio 1', - ['watches_2'] = 'relógio 2', - ['bracelets_1'] = 'pulseiras 1', - ['bracelets_2'] = 'pulseiras 2', - ['glasses_1'] = 'óculos 1', - ['glasses_2'] = 'óculos 2', - ['bag'] = 'mochila', - ['bag_color'] = 'cor da mochila', - ['blemishes'] = 'manchas', - ['blemishes_size'] = 'espessura de manchas', - ['ageing'] = 'envelhecimento', - ['ageing_1'] = 'espessura de envelhecimento', - ['blush'] = 'corar', - ['blush_1'] = 'espessura do blush', - ['blush_color'] = 'cor de blush', - ['complexion'] = 'aparência', - ['complexion_1'] = 'aparência 2', - ['sun'] = 'sol', - ['sun_1'] = 'espessura do sol', - ['freckles'] = 'sardas', - ['freckles_1'] = 'espessura das sardas', - ['chest_hair'] = 'pelos no peito', - ['chest_hair_1'] = 'espessura dos pelos do peito', - ['chest_color'] = 'cor dos pelos dos peitos', - ['bodyb'] = 'manchas no corpo', - ['bodyb_size'] = 'espessura das manchas no corpo', - ['bodyb_extra'] = 'extra das manchas no corpo', - ['bodyb_extra_thickness'] = 'cor do extra das manchas no corpo', + ['sex'] = "sexo", + ['mom'] = "cara da mãe", + ['dad'] = "cara do pai", + ['resemblance'] = "semelhanças", + ['skin_tone'] = "tom de pele", + ['nose_1'] = "largura do nariz", + ['nose_2'] = "altura da ponta do nariz", + ['nose_3'] = "tamanho da ponta do nariz", + ['nose_4'] = "altura do nariz", + ['nose_5'] = "reduzir ponta do nariz", + ['nose_6'] = "torcer o nariz", + ['cheeks_1'] = "altura das maçãs do rosto", + ['cheeks_2'] = "largura das maçãs do rosto", + ['cheeks_3'] = "largura das bochechas", + ['lip_fullness'] = "preenchimento labial", + ['jaw_bone_width'] = "largura do maxilar", + ['jaw_bone_length'] = "comprimento do maxilar", + ['chin_height'] = "altura do queixo", + ['chin_length'] = "comprimento do queixo", + ['chin_width'] = "largura do queixo", + ['chin_hole'] = "tamanho do buraco do queixo", + ['neck_thickness'] = "espessura do pescoço", + ['wrinkles'] = "rugas", + ['wrinkle_thickness'] = "espessura das rugas", + ['beard_type'] = "tipo de barba", + ['beard_size'] = "tamanho da barba", + ['beard_color_1'] = "cor da barba 1", + ['beard_color_2'] = "cor da barba 2", + ['hair_1'] = "cabelo 1", + ['hair_2'] = "cabelo 2", + ['hair_color_1'] = "cor do cabelo 1", + ['hair_color_2'] = "cor do cabelo 2", + ['eye_color'] = "cor dos olhos", + ['eye_squint'] = "estrabismo", + ['eyebrow_type'] = "tipo de sobrancelha", + ['eyebrow_size'] = "tamanho da sobrancelha", + ['eyebrow_color_1'] = "cor da sobrancelha 1", + ['eyebrow_color_2'] = "cor da sobrancelha 2", + ['eyebrow_depth'] = "profundidade da sobrancelha", + ['eyebrow_height'] = "altura da sobrancelha", + ['makeup_type'] = "tipo de maquiagem", + ['makeup_thickness'] = "espessura da maquiagem", + ['makeup_color_1'] = "cor da maquiagem 1", + ['makeup_color_2'] = "cor da maquiagem 2", + ['lipstick_type'] = "tipo de batom", + ['lipstick_thickness'] = "espessura do batom", + ['lipstick_color_1'] = "cor do batom 1", + ['lipstick_color_2'] = "cor do batom 2", + ['ear_accessories'] = "acessórios de ouvido", + ['ear_accessories_color'] = "cor dos acessórios de ouvido", + ['tshirt_1'] = "t-Shirt 1", + ['tshirt_2'] = "t-Shirt 2", + ['torso_1'] = "casaco 1", + ['torso_2'] = "casaco 2", + ['decals_1'] = "autocolantes 1", + ['decals_2'] = "autocolantes 2", + ['arms'] = "braços", + ['arms_2'] = "braços 2", + ['pants_1'] = "calças 1", + ['pants_2'] = "calças 2", + ['shoes_1'] = "sapatos 1", + ['shoes_2'] = "sapatos 2", + ['mask_1'] = "máscara 1", + ['mask_2'] = "máscara 2", + ['bproof_1'] = "colete 1", + ['bproof_2'] = "colete 2", + ['chain_1'] = "colar 1", + ['chain_2'] = "colar 2", + ['helmet_1'] = "capacete 1", + ['helmet_2'] = "capacete 2", + ['watches_1'] = "relógio 1", + ['watches_2'] = "relógio 2", + ['bracelets_1'] = "pulseiras 1", + ['bracelets_2'] = "pulseiras 2", + ['glasses_1'] = "óculos 1", + ['glasses_2'] = "óculos 2", + ['bag'] = "mochila", + ['bag_color'] = "cor da mochila", + ['blemishes'] = "manchas", + ['blemishes_size'] = "espessura de manchas", + ['ageing'] = "envelhecimento", + ['ageing_1'] = "espessura de envelhecimento", + ['blush'] = "corar", + ['blush_1'] = "espessura do blush", + ['blush_color'] = "cor de blush", + ['complexion'] = "aparência", + ['complexion_1'] = "aparência 2", + ['sun'] = "sol", + ['sun_1'] = "espessura do sol", + ['freckles'] = "sardas", + ['freckles_1'] = "espessura das sardas", + ['chest_hair'] = "pelos no peito", + ['chest_hair_1'] = "espessura dos pelos do peito", + ['chest_color'] = "cor dos pelos dos peitos", + ['bodyb'] = "manchas no corpo", + ['bodyb_size'] = "espessura das manchas no corpo", + ['bodyb_extra'] = "extra das manchas no corpo", + ['bodyb_extra_thickness'] = "cor do extra das manchas no corpo", } diff --git a/[core]/skinchanger/locales/sl.lua b/[core]/skinchanger/locales/sl.lua index 301f7765..9d8b76dd 100644 --- a/[core]/skinchanger/locales/sl.lua +++ b/[core]/skinchanger/locales/sl.lua @@ -1,100 +1,100 @@ Locales['sl'] = { - ['sex'] = 'Spol', - ['mom'] = 'mom\'s face', - ['dad'] = 'dad\'s face', - ['resemblance'] = 'resemblance', - ['skin_tone'] = 'skin tone', - ['nose_1'] = 'nose width', - ['nose_2'] = 'nose peak height', - ['nose_3'] = 'nose peak length', - ['nose_4'] = 'nose bone height', - ['nose_5'] = 'nose peak lowering', - ['nose_6'] = 'nose bone twist', - ['cheeks_1'] = 'cheekbones height', - ['cheeks_2'] = 'cheekbones width', - ['cheeks_3'] = 'cheeks width', - ['lip_fullness'] = 'lip fullness', - ['jaw_bone_width'] = 'jaw bone width', - ['jaw_bone_length'] = 'jaw bone length', - ['chin_height'] = 'chin height', - ['chin_length'] = 'chin length', - ['chin_width'] = 'chin width', - ['chin_hole'] = 'chin hole size', - ['neck_thickness'] = 'neck thickness', - ['wrinkles'] = 'wrinkles', - ['wrinkle_thickness'] = 'wrinkle thickness', - ['beard_type'] = 'beard type', - ['beard_size'] = 'beard size', - ['beard_color_1'] = 'beard color 1', - ['beard_color_2'] = 'beard color 2', - ['hair_1'] = 'hair 1', - ['hair_2'] = 'hair 2', - ['hair_color_1'] = 'hair color 1', - ['hair_color_2'] = 'hair color 2', - ['eye_color'] = 'eye color', - ['eye_squint'] = 'eye squint', - ['eyebrow_type'] = 'eyebrow type', - ['eyebrow_size'] = 'eyebrow size', - ['eyebrow_color_1'] = 'eyebrow color 1', - ['eyebrow_color_2'] = 'eyebrow color 2', - ['eyebrow_depth'] = 'eyebrow depth', - ['eyebrow_height'] = 'eyebrow height', - ['makeup_type'] = 'makeup type', - ['makeup_thickness'] = 'makeup thickness', - ['makeup_color_1'] = 'makeup color 1', - ['makeup_color_2'] = 'makeup color 2', - ['lipstick_type'] = 'lipstick type', - ['lipstick_thickness'] = 'lipstick thickness', - ['lipstick_color_1'] = 'lipstick color 1', - ['lipstick_color_2'] = 'lipstick color 2', - ['ear_accessories'] = 'ear accessories', - ['ear_accessories_color'] = 'ear accessories color', - ['tshirt_1'] = 't-Shirt 1', - ['tshirt_2'] = 't-Shirt 2', - ['torso_1'] = 'torso 1', - ['torso_2'] = 'torso 2', - ['decals_1'] = 'decals 1', - ['decals_2'] = 'decals 2', - ['arms'] = 'arms', - ['arms_2'] = 'arms 2', - ['pants_1'] = 'pants 1', - ['pants_2'] = 'pants 2', - ['shoes_1'] = 'shoes 1', - ['shoes_2'] = 'shoes 2', - ['mask_1'] = 'mask 1', - ['mask_2'] = 'mask 2', - ['bproof_1'] = 'bulletproof vest 1', - ['bproof_2'] = 'bulletproof vest 2', - ['chain_1'] = 'chain 1', - ['chain_2'] = 'chain 2', - ['helmet_1'] = 'helmet 1', - ['helmet_2'] = 'helmet 2', - ['watches_1'] = 'watches 1', - ['watches_2'] = 'watches 2', - ['bracelets_1'] = 'bracelets 1', - ['bracelets_2'] = 'bracelets 2', - ['glasses_1'] = 'glasses 1', - ['glasses_2'] = 'glasses 2', - ['bag'] = 'bag', - ['bag_color'] = 'bag color', - ['blemishes'] = 'blemishes', - ['blemishes_size'] = 'blemishes thickness', - ['ageing'] = 'ageing', - ['ageing_1'] = 'ageing thickness', - ['blush'] = 'blush', - ['blush_1'] = 'blush thickness', - ['blush_color'] = 'blush color', - ['complexion'] = 'complexion', - ['complexion_1'] = 'complexion thickness', - ['sun'] = 'sun', - ['sun_1'] = 'sun thickness', - ['freckles'] = 'freckles', - ['freckles_1'] = 'freckles thickness', - ['chest_hair'] = 'chest hair', - ['chest_hair_1'] = 'chest hair thickness', - ['chest_color'] = 'chest hair color', - ['bodyb'] = 'body blemishes', - ['bodyb_size'] = 'body blemishes thickness', - ['bodyb_extra'] = 'blemishes body effect', - ['bodyb_extra_thickness'] = 'blemishes body effect thickness', + ['sex'] = "Spol", + ['mom'] = "mom's face", + ['dad'] = "dad's face", + ['resemblance'] = "resemblance", + ['skin_tone'] = "skin tone", + ['nose_1'] = "nose width", + ['nose_2'] = "nose peak height", + ['nose_3'] = "nose peak length", + ['nose_4'] = "nose bone height", + ['nose_5'] = "nose peak lowering", + ['nose_6'] = "nose bone twist", + ['cheeks_1'] = "cheekbones height", + ['cheeks_2'] = "cheekbones width", + ['cheeks_3'] = "cheeks width", + ['lip_fullness'] = "lip fullness", + ['jaw_bone_width'] = "jaw bone width", + ['jaw_bone_length'] = "jaw bone length", + ['chin_height'] = "chin height", + ['chin_length'] = "chin length", + ['chin_width'] = "chin width", + ['chin_hole'] = "chin hole size", + ['neck_thickness'] = "neck thickness", + ['wrinkles'] = "wrinkles", + ['wrinkle_thickness'] = "wrinkle thickness", + ['beard_type'] = "beard type", + ['beard_size'] = "beard size", + ['beard_color_1'] = "beard color 1", + ['beard_color_2'] = "beard color 2", + ['hair_1'] = "hair 1", + ['hair_2'] = "hair 2", + ['hair_color_1'] = "hair color 1", + ['hair_color_2'] = "hair color 2", + ['eye_color'] = "eye color", + ['eye_squint'] = "eye squint", + ['eyebrow_type'] = "eyebrow type", + ['eyebrow_size'] = "eyebrow size", + ['eyebrow_color_1'] = "eyebrow color 1", + ['eyebrow_color_2'] = "eyebrow color 2", + ['eyebrow_depth'] = "eyebrow depth", + ['eyebrow_height'] = "eyebrow height", + ['makeup_type'] = "makeup type", + ['makeup_thickness'] = "makeup thickness", + ['makeup_color_1'] = "makeup color 1", + ['makeup_color_2'] = "makeup color 2", + ['lipstick_type'] = "lipstick type", + ['lipstick_thickness'] = "lipstick thickness", + ['lipstick_color_1'] = "lipstick color 1", + ['lipstick_color_2'] = "lipstick color 2", + ['ear_accessories'] = "ear accessories", + ['ear_accessories_color'] = "ear accessories color", + ['tshirt_1'] = "t-Shirt 1", + ['tshirt_2'] = "t-Shirt 2", + ['torso_1'] = "torso 1", + ['torso_2'] = "torso 2", + ['decals_1'] = "decals 1", + ['decals_2'] = "decals 2", + ['arms'] = "arms", + ['arms_2'] = "arms 2", + ['pants_1'] = "pants 1", + ['pants_2'] = "pants 2", + ['shoes_1'] = "shoes 1", + ['shoes_2'] = "shoes 2", + ['mask_1'] = "mask 1", + ['mask_2'] = "mask 2", + ['bproof_1'] = "bulletproof vest 1", + ['bproof_2'] = "bulletproof vest 2", + ['chain_1'] = "chain 1", + ['chain_2'] = "chain 2", + ['helmet_1'] = "helmet 1", + ['helmet_2'] = "helmet 2", + ['watches_1'] = "watches 1", + ['watches_2'] = "watches 2", + ['bracelets_1'] = "bracelets 1", + ['bracelets_2'] = "bracelets 2", + ['glasses_1'] = "glasses 1", + ['glasses_2'] = "glasses 2", + ['bag'] = "bag", + ['bag_color'] = "bag color", + ['blemishes'] = "blemishes", + ['blemishes_size'] = "blemishes thickness", + ['ageing'] = "ageing", + ['ageing_1'] = "ageing thickness", + ['blush'] = "blush", + ['blush_1'] = "blush thickness", + ['blush_color'] = "blush color", + ['complexion'] = "complexion", + ['complexion_1'] = "complexion thickness", + ['sun'] = "sun", + ['sun_1'] = "sun thickness", + ['freckles'] = "freckles", + ['freckles_1'] = "freckles thickness", + ['chest_hair'] = "chest hair", + ['chest_hair_1'] = "chest hair thickness", + ['chest_color'] = "chest hair color", + ['bodyb'] = "body blemishes", + ['bodyb_size'] = "body blemishes thickness", + ['bodyb_extra'] = "blemishes body effect", + ['bodyb_extra_thickness'] = "blemishes body effect thickness", } diff --git a/[core]/skinchanger/locales/sr.lua b/[core]/skinchanger/locales/sr.lua index 5e5fa438..9887aeba 100644 --- a/[core]/skinchanger/locales/sr.lua +++ b/[core]/skinchanger/locales/sr.lua @@ -1,100 +1,100 @@ Locales['sr'] = { - ['sex'] = 'pol', - ['mom'] = 'mamina faca', - ['dad'] = 'tatina faca', - ['resemblance'] = 'sličnost', - ['skin_tone'] = 'ten', - ['nose_1'] = 'širina nosa', - ['nose_2'] = 'visina vrha nosa', - ['nose_3'] = 'dužina vrha nosa', - ['nose_4'] = 'visina nosne kosti', - ['nose_5'] = 'spuštanje vrha nosa', - ['nose_6'] = 'uvrtanje nosne kosti', - ['cheeks_1'] = 'visina jagodica', - ['cheeks_2'] = 'širina jagodica', - ['cheeks_3'] = 'širina obraza', - ['lip_fullness'] = 'punoća usana', - ['jaw_bone_width'] = 'širina kostiju vilice', - ['jaw_bone_length'] = 'dužina kostiju vilice', - ['chin_height'] = 'visina brade', - ['chin_length'] = 'dužina brade', - ['chin_width'] = 'širina brade', - ['chin_hole'] = 'veličina rupe za bradu', - ['neck_thickness'] = 'debljina vrata', - ['wrinkles'] = 'bore', - ['wrinkle_thickness'] = 'debljina bora', - ['beard_type'] = 'tip brade', - ['beard_size'] = 'veličina brade', - ['beard_color_1'] = 'boja brade 1', - ['beard_color_2'] = 'boja brade 2', - ['hair_1'] = 'kosa 1', - ['hair_2'] = 'kosa 2', - ['hair_color_1'] = 'boja kose 1', - ['hair_color_2'] = 'boja kose 2', - ['eye_color'] = 'boja očiju', - ['eye_squint'] = 'raširenost oka', - ['eyebrow_type'] = 'tip obrva', - ['eyebrow_size'] = 'veličina obrva', - ['eyebrow_color_1'] = 'boja obrva 1', - ['eyebrow_color_2'] = 'boja obrva 2', - ['eyebrow_depth'] = 'dubina obrva', - ['eyebrow_height'] = 'visina obrva', - ['makeup_type'] = 'šminka', - ['makeup_thickness'] = 'debljina šminke', - ['makeup_color_1'] = 'boja šminke 1', - ['makeup_color_2'] = 'boja šminke 2', - ['lipstick_type'] = 'tip karmina', - ['lipstick_thickness'] = 'debljina karmina', - ['lipstick_color_1'] = 'boja karmina 1', - ['lipstick_color_2'] = 'boja karmina 2', - ['ear_accessories'] = 'naušnice', - ['ear_accessories_color'] = 'boja naušnica', - ['tshirt_1'] = 'majica ', - ['tshirt_2'] = 'boja majice', - ['torso_1'] = 'gornjak', - ['torso_2'] = 'boja gornjaka', - ['decals_1'] = 'detalji', - ['decals_2'] = 'boja detalja', - ['arms'] = 'ruke', - ['arms_2'] = 'boja rukavica', - ['pants_1'] = 'pantalone', - ['pants_2'] = 'boja pantalona', - ['shoes_1'] = 'patike', - ['shoes_2'] = 'boja patika', - ['mask_1'] = 'maska', - ['mask_2'] = 'boja maske', - ['bproof_1'] = 'pancir', - ['bproof_2'] = 'boja pancira', - ['chain_1'] = 'lanac', - ['chain_2'] = 'boja lanca', - ['helmet_1'] = 'kaciga', - ['helmet_2'] = 'boja kacige', - ['watches_1'] = 'sat', - ['watches_2'] = 'boja sata', - ['bracelets_1'] = 'narukvice', - ['bracelets_2'] = 'boja narukvice', - ['glasses_1'] = 'naočare', - ['glasses_2'] = 'boja naočara', - ['bag'] = 'torba', - ['bag_color'] = 'boja torbe', - ['blemishes'] = 'mrlje', - ['blemishes_size'] = 'debljina mrlja', - ['ageing'] = 'starenje', - ['ageing_1'] = 'debljina starenja', - ['blush'] = 'rumenilo', - ['blush_1'] = 'debljina rumenila', - ['blush_color'] = 'boja rumenila', - ['complexion'] = 'ten', - ['complexion_1'] = 'debljina tena', - ['sun'] = 'sunce', - ['sun_1'] = 'debljina sunca', - ['freckles'] = 'pege', - ['freckles_1'] = 'debljina pega', - ['chest_hair'] = 'dlake na grudima', - ['chest_hair_1'] = 'debljina dlaka na grudima', - ['chest_color'] = 'boja dlaka na grudima', - ['bodyb'] = 'mrlje na telu', - ['bodyb_size'] = 'debljina mrlja na telu', - ['bodyb_extra'] = 'efekat mrlja na telu', - ['bodyb_extra_thickness'] = 'mrlje telo efekat debljine', + ['sex'] = "pol", + ['mom'] = "mamina faca", + ['dad'] = "tatina faca", + ['resemblance'] = "sličnost", + ['skin_tone'] = "ten", + ['nose_1'] = "širina nosa", + ['nose_2'] = "visina vrha nosa", + ['nose_3'] = "dužina vrha nosa", + ['nose_4'] = "visina nosne kosti", + ['nose_5'] = "spuštanje vrha nosa", + ['nose_6'] = "uvrtanje nosne kosti", + ['cheeks_1'] = "visina jagodica", + ['cheeks_2'] = "širina jagodica", + ['cheeks_3'] = "širina obraza", + ['lip_fullness'] = "punoća usana", + ['jaw_bone_width'] = "širina kostiju vilice", + ['jaw_bone_length'] = "dužina kostiju vilice", + ['chin_height'] = "visina brade", + ['chin_length'] = "dužina brade", + ['chin_width'] = "širina brade", + ['chin_hole'] = "veličina rupe za bradu", + ['neck_thickness'] = "debljina vrata", + ['wrinkles'] = "bore", + ['wrinkle_thickness'] = "debljina bora", + ['beard_type'] = "tip brade", + ['beard_size'] = "veličina brade", + ['beard_color_1'] = "boja brade 1", + ['beard_color_2'] = "boja brade 2", + ['hair_1'] = "kosa 1", + ['hair_2'] = "kosa 2", + ['hair_color_1'] = "boja kose 1", + ['hair_color_2'] = "boja kose 2", + ['eye_color'] = "boja očiju", + ['eye_squint'] = "raširenost oka", + ['eyebrow_type'] = "tip obrva", + ['eyebrow_size'] = "veličina obrva", + ['eyebrow_color_1'] = "boja obrva 1", + ['eyebrow_color_2'] = "boja obrva 2", + ['eyebrow_depth'] = "dubina obrva", + ['eyebrow_height'] = "visina obrva", + ['makeup_type'] = "šminka", + ['makeup_thickness'] = "debljina šminke", + ['makeup_color_1'] = "boja šminke 1", + ['makeup_color_2'] = "boja šminke 2", + ['lipstick_type'] = "tip karmina", + ['lipstick_thickness'] = "debljina karmina", + ['lipstick_color_1'] = "boja karmina 1", + ['lipstick_color_2'] = "boja karmina 2", + ['ear_accessories'] = "naušnice", + ['ear_accessories_color'] = "boja naušnica", + ['tshirt_1'] = "majica ", + ['tshirt_2'] = "boja majice", + ['torso_1'] = "gornjak", + ['torso_2'] = "boja gornjaka", + ['decals_1'] = "detalji", + ['decals_2'] = "boja detalja", + ['arms'] = "ruke", + ['arms_2'] = "boja rukavica", + ['pants_1'] = "pantalone", + ['pants_2'] = "boja pantalona", + ['shoes_1'] = "patike", + ['shoes_2'] = "boja patika", + ['mask_1'] = "maska", + ['mask_2'] = "boja maske", + ['bproof_1'] = "pancir", + ['bproof_2'] = "boja pancira", + ['chain_1'] = "lanac", + ['chain_2'] = "boja lanca", + ['helmet_1'] = "kaciga", + ['helmet_2'] = "boja kacige", + ['watches_1'] = "sat", + ['watches_2'] = "boja sata", + ['bracelets_1'] = "narukvice", + ['bracelets_2'] = "boja narukvice", + ['glasses_1'] = "naočare", + ['glasses_2'] = "boja naočara", + ['bag'] = "torba", + ['bag_color'] = "boja torbe", + ['blemishes'] = "mrlje", + ['blemishes_size'] = "debljina mrlja", + ['ageing'] = "starenje", + ['ageing_1'] = "debljina starenja", + ['blush'] = "rumenilo", + ['blush_1'] = "debljina rumenila", + ['blush_color'] = "boja rumenila", + ['complexion'] = "ten", + ['complexion_1'] = "debljina tena", + ['sun'] = "sunce", + ['sun_1'] = "debljina sunca", + ['freckles'] = "pege", + ['freckles_1'] = "debljina pega", + ['chest_hair'] = "dlake na grudima", + ['chest_hair_1'] = "debljina dlaka na grudima", + ['chest_color'] = "boja dlaka na grudima", + ['bodyb'] = "mrlje na telu", + ['bodyb_size'] = "debljina mrlja na telu", + ['bodyb_extra'] = "efekat mrlja na telu", + ['bodyb_extra_thickness'] = "mrlje telo efekat debljine", } From ce3d7c2ef251850bcc683f18ee2154a50e7d5bb8 Mon Sep 17 00:00:00 2001 From: 0xDEMXN <15928886+0xDEMXN@users.noreply.github.com> Date: Mon, 15 May 2023 14:29:16 +0200 Subject: [PATCH 122/236] chore: further corrections --- [core]/es_extended/locales/cs.lua | 614 +++++++++--------- [core]/es_extended/locales/da.lua | 624 +++++++++---------- [core]/es_extended/locales/de.lua | 624 +++++++++---------- [core]/es_extended/locales/en.lua | 624 +++++++++---------- [core]/es_extended/locales/es.lua | 612 +++++++++--------- [core]/es_extended/locales/fi.lua | 418 ++++++------- [core]/es_extended/locales/fr.lua | 422 ++++++------- [core]/es_extended/locales/hu.lua | 16 +- [core]/es_extended/locales/it.lua | 624 +++++++++---------- [core]/es_extended/locales/nl.lua | 624 +++++++++---------- [core]/es_extended/locales/pl.lua | 418 ++++++------- [core]/es_extended/locales/sl.lua | 624 +++++++++---------- [core]/es_extended/locales/sr.lua | 624 +++++++++---------- [core]/es_extended/locales/zh-cn.lua | 624 +++++++++---------- [core]/esx_identity/locales/cs.lua | 20 +- [core]/esx_identity/locales/da.lua | 74 +-- [core]/esx_identity/locales/en.lua | 74 +-- [core]/esx_identity/locales/es.lua | 74 +-- [core]/esx_identity/locales/fi.lua | 64 +- [core]/esx_identity/locales/fr.lua | 74 +-- [core]/esx_identity/locales/it.lua | 74 +-- [core]/esx_identity/locales/nl.lua | 74 +-- [core]/esx_identity/locales/pl.lua | 64 +- [core]/esx_identity/locales/pt.lua | 74 +-- [core]/esx_identity/locales/sl.lua | 74 +-- [core]/esx_identity/locales/sr.lua | 74 +-- [core]/esx_multicharacter/html/locales/hu.js | 12 +- [core]/esx_multicharacter/locales/cs.lua | 36 +- [core]/esx_multicharacter/locales/es.lua | 54 +- [core]/esx_multicharacter/locales/pt.lua | 46 +- [core]/esx_skin/locales/da.lua | 10 +- [core]/esx_skin/locales/en.lua | 10 +- [core]/esx_skin/locales/es.lua | 10 +- [core]/esx_skin/locales/fi.lua | 10 +- [core]/esx_skin/locales/fr.lua | 10 +- [core]/esx_skin/locales/it.lua | 10 +- [core]/esx_skin/locales/nl.lua | 10 +- [core]/esx_skin/locales/pl.lua | 10 +- [core]/esx_skin/locales/pt.lua | 10 +- [core]/esx_skin/locales/sl.lua | 10 +- [core]/esx_skin/locales/sr.lua | 10 +- [core]/esx_skin/locales/zh-cn.lua | 10 +- [core]/skinchanger/locales/da.lua | 198 +++--- [core]/skinchanger/locales/en.lua | 198 +++--- [core]/skinchanger/locales/es.lua | 198 +++--- [core]/skinchanger/locales/fi.lua | 150 ++--- [core]/skinchanger/locales/fr.lua | 198 +++--- [core]/skinchanger/locales/it.lua | 198 +++--- [core]/skinchanger/locales/nl.lua | 198 +++--- [core]/skinchanger/locales/pl.lua | 202 +++--- [core]/skinchanger/locales/pt.lua | 198 +++--- [core]/skinchanger/locales/sl.lua | 198 +++--- [core]/skinchanger/locales/sr.lua | 198 +++--- 53 files changed, 5354 insertions(+), 5354 deletions(-) diff --git a/[core]/es_extended/locales/cs.lua b/[core]/es_extended/locales/cs.lua index ef2a54d2..a7c22c10 100644 --- a/[core]/es_extended/locales/cs.lua +++ b/[core]/es_extended/locales/cs.lua @@ -1,359 +1,359 @@ -Locales['cs'] = { +Locales["cs"] = { -- Inventory - ['inventory'] = "Inventář ( Váha %s / %s )", - ['use'] = "Použít", - ['give'] = "Darovat", - ['remove'] = "Odhodit", - ['return'] = "Vrátit", - ['give_to'] = "Darováno", - ['amount'] = "Počet", - ['giveammo'] = "Podat náboje", - ['amountammo'] = "Počet nábojů", - ['noammo'] = "Nedostatek!", - ['gave_item'] = "Daroval %sx %s pro %s", - ['received_item'] = "Získáno %sx %s od %s", - ['gave_weapon'] = "Předání %s pro %s", - ['gave_weapon_ammo'] = "Darování ~o~%sx %s do %s pro %s", - ['gave_weapon_withammo'] = "Darování %s s ~o~%sx %s pro %s", - ['gave_weapon_hasalready'] = "%s již vlastní %s", - ['gave_weapon_noweapon'] = "%s nemá tuto zbraň", - ['received_weapon'] = "Obdrženo %s od %s", - ['received_weapon_ammo'] = "Obdrženo ~o~%sx %s pro zbraň %s od %s", - ['received_weapon_withammo'] = "Obdrženo %s s ~o~%sx %s od %s", - ['received_weapon_hasalready'] = "%s se snažil darovat %s, ale již tuto zbraň máš", - ['received_weapon_noweapon'] = "%s se snažil ti dát náboje %s, ale nemáš potřebnou zbrań", - ['gave_account_money'] = "Darováno $%s (%s) pro %s", - ['received_account_money'] = "Získáno $%s (%s) od %s", - ['amount_invalid'] = "Špatné množství", - ['players_nearby'] = "Žádný hráč není poblíž", - ['ex_inv_lim'] = "Nelze sebrat,protože máš plné kapsy %s", - ['imp_invalid_quantity'] = "Neplatné množství", - ['imp_invalid_amount'] = "Nelze provést, neplatné množství", - ['threw_standard'] = "Zahozeno %sx %s", - ['threw_account'] = "Zahozeno $%s %s", - ['threw_weapon'] = "Zahozeno %s", - ['threw_weapon_ammo'] = "Zahozeno %s s ~o~%sx %s", - ['threw_weapon_already'] = "Již vlastníš tuto zbraň", - ['threw_cannot_pickup'] = "Kapsy máš plné, nemůžeš sebrat!", - ['threw_pickup_prompt'] = "Zmáčkni E pro sebrání!", + ["inventory"] = "Inventář ( Váha %s / %s )", + ["use"] = "Použít", + ["give"] = "Darovat", + ["remove"] = "Odhodit", + ["return"] = "Vrátit", + ["give_to"] = "Darováno", + ["amount"] = "Počet", + ["giveammo"] = "Podat náboje", + ["amountammo"] = "Počet nábojů", + ["noammo"] = "Nedostatek!", + ["gave_item"] = "Daroval %sx %s pro %s", + ["received_item"] = "Získáno %sx %s od %s", + ["gave_weapon"] = "Předání %s pro %s", + ["gave_weapon_ammo"] = "Darování ~o~%sx %s do %s pro %s", + ["gave_weapon_withammo"] = "Darování %s s ~o~%sx %s pro %s", + ["gave_weapon_hasalready"] = "%s již vlastní %s", + ["gave_weapon_noweapon"] = "%s nemá tuto zbraň", + ["received_weapon"] = "Obdrženo %s od %s", + ["received_weapon_ammo"] = "Obdrženo ~o~%sx %s pro zbraň %s od %s", + ["received_weapon_withammo"] = "Obdrženo %s s ~o~%sx %s od %s", + ["received_weapon_hasalready"] = "%s se snažil darovat %s, ale již tuto zbraň máš", + ["received_weapon_noweapon"] = "%s se snažil ti dát náboje %s, ale nemáš potřebnou zbrań", + ["gave_account_money"] = "Darováno $%s (%s) pro %s", + ["received_account_money"] = "Získáno $%s (%s) od %s", + ["amount_invalid"] = "Špatné množství", + ["players_nearby"] = "Žádný hráč není poblíž", + ["ex_inv_lim"] = "Nelze sebrat,protože máš plné kapsy %s", + ["imp_invalid_quantity"] = "Neplatné množství", + ["imp_invalid_amount"] = "Nelze provést, neplatné množství", + ["threw_standard"] = "Zahozeno %sx %s", + ["threw_account"] = "Zahozeno $%s %s", + ["threw_weapon"] = "Zahozeno %s", + ["threw_weapon_ammo"] = "Zahozeno %s s ~o~%sx %s", + ["threw_weapon_already"] = "Již vlastníš tuto zbraň", + ["threw_cannot_pickup"] = "Kapsy máš plné, nemůžeš sebrat!", + ["threw_pickup_prompt"] = "Zmáčkni E pro sebrání!", -- Key mapping - ['keymap_showinventory'] = "Otevřít inventář", + ["keymap_showinventory"] = "Otevřít inventář", -- Salary related - ['received_salary'] = "Obdržel jsi: $%s", - ['received_help'] = "Obdržel jsi svůj podíl: $%s", - ['company_nomoney'] = "Firma kde pracujete je příliš chudá, aby vám zaplatila", - ['received_paycheck'] = "Obdržena platba", - ['bank'] = "Banka", - ['account_bank'] = "V bance", - ['account_black_money'] = "Špináve peníze", - ['account_money'] = "V kapse", + ["received_salary"] = "Obdržel jsi: $%s", + ["received_help"] = "Obdržel jsi svůj podíl: $%s", + ["company_nomoney"] = "Firma kde pracujete je příliš chudá, aby vám zaplatila", + ["received_paycheck"] = "Obdržena platba", + ["bank"] = "Banka", + ["account_bank"] = "V bance", + ["account_black_money"] = "Špináve peníze", + ["account_money"] = "V kapse", - ['act_imp'] = "Nelze provést", - ['in_vehicle'] = "Nelze provést, hráč je v autě", + ["act_imp"] = "Nelze provést", + ["in_vehicle"] = "Nelze provést, hráč je v autě", -- Commands - ['command_bring'] = "Přivolat si hráče k sobě", - ['command_car'] = "Spawnout vozidlo", - ['command_car_car'] = "Zadej jméno vozidla nebo spawnname", - ['command_cardel'] = "Odstranění vozidla v okolí", - ['command_cardel_radius'] = "Odstranění vozidla v určeném dosahu", - ['command_clear'] = "Vymazat text v chatu", - ['command_clearall'] = "Vymazat chet pro všechny hráče", - ['command_clearinventory'] = "Vymazat všechny věci z invetáře hráče", - ['command_clearloadout'] = "Vymazat všechny zbraně z inventáře hráče", - ['command_freeze'] = "Zmrazit hráče", - ['command_unfreeze'] = "Odmrazit hráče", - ['command_giveaccountmoney'] = "Poslat peníze na účet ", - ['command_giveaccountmoney_account'] = "Převést peníze na účet", - ['command_giveaccountmoney_amount'] = "Částka k poslání", - ['command_giveaccountmoney_invalid'] = "Neplátné jméno", - ['command_giveitem'] = "Darovat věc hráči", - ['command_giveitem_item'] = "Název věci", - ['command_giveitem_count'] = "Množství", - ['command_giveweapon'] = "Dát zbraň hráči", - ['command_giveweapon_weapon'] = "Název zbraně", - ['command_giveweapon_ammo'] = "Množství náboje", - ['command_giveweapon_hasalready'] = "Hráč již má tuto zbraň", - ['command_giveweaponcomponent'] = "Darovat přídavek na zbraň", - ['command_giveweaponcomponent_component'] = "Název zbraně", - ['command_giveweaponcomponent_invalid'] = "Špatné jméno přídavku", - ['command_giveweaponcomponent_hasalready'] = "Hráč již má tento přídavek", - ['command_giveweaponcomponent_missingweapon'] = "Hráč nemá tuto zbrań", - ['command_goto'] = "Teleportování sebe k hráči", - ['command_kill'] = "Zabití hráče", - ['command_save'] = "Uložení dat hráče", - ['command_saveall'] = "Uložení veškerých dat hráče", - ['command_setaccountmoney'] = "Nastavení určeného počtu peněz", - ['command_setaccountmoney_amount'] = "Počet peněz", - ['command_setcoords'] = "Teleportování na určené souřadnice", - ['command_setcoords_x'] = "Hodnota X", - ['command_setcoords_y'] = "Hodnota Y", - ['command_setcoords_z'] = "Hodnota Z", - ['command_setjob'] = "Nastavit práci hráči", - ['command_setjob_job'] = "Název práce", - ['command_setjob_grade'] = "Pozice ve firmě", - ['command_setjob_invalid'] = "Špatné zadání práce,hodnosti nebo i obou hodnot", - ['command_setgroup'] = "Nastavení práv hráči", - ['command_setgroup_group'] = "Název skupiny", - ['commanderror_argumentmismatch'] = "Chybný počet hodnot (správně %s, potřebných %s)", - ['commanderror_argumentmismatch_number'] = "Chybně zadaná hodnot #%s (správně, špatně)", - ['commanderror_invaliditem'] = "Špatný předmět", - ['commanderror_invalidweapon'] = "Špatná zbraň", - ['commanderror_console'] = "příkaz nelze být zpracován v konzoli", - ['commanderror_invalidcommand'] = "Špatný příakz - /%s", - ['commanderror_invalidplayerid'] = "Hráč není dostupný", - ['commandgeneric_playerid'] = "Id hráče", - ['command_giveammo_noweapon_found'] = "%s nemá tuto zbraň", - ['command_giveammo_weapon'] = "Název zbraně", - ['command_giveammo_ammo'] = "Počet nábojů", + ["command_bring"] = "Přivolat si hráče k sobě", + ["command_car"] = "Spawnout vozidlo", + ["command_car_car"] = "Zadej jméno vozidla nebo spawnname", + ["command_cardel"] = "Odstranění vozidla v okolí", + ["command_cardel_radius"] = "Odstranění vozidla v určeném dosahu", + ["command_clear"] = "Vymazat text v chatu", + ["command_clearall"] = "Vymazat chet pro všechny hráče", + ["command_clearinventory"] = "Vymazat všechny věci z invetáře hráče", + ["command_clearloadout"] = "Vymazat všechny zbraně z inventáře hráče", + ["command_freeze"] = "Zmrazit hráče", + ["command_unfreeze"] = "Odmrazit hráče", + ["command_giveaccountmoney"] = "Poslat peníze na účet ", + ["command_giveaccountmoney_account"] = "Převést peníze na účet", + ["command_giveaccountmoney_amount"] = "Částka k poslání", + ["command_giveaccountmoney_invalid"] = "Neplátné jméno", + ["command_giveitem"] = "Darovat věc hráči", + ["command_giveitem_item"] = "Název věci", + ["command_giveitem_count"] = "Množství", + ["command_giveweapon"] = "Dát zbraň hráči", + ["command_giveweapon_weapon"] = "Název zbraně", + ["command_giveweapon_ammo"] = "Množství náboje", + ["command_giveweapon_hasalready"] = "Hráč již má tuto zbraň", + ["command_giveweaponcomponent"] = "Darovat přídavek na zbraň", + ["command_giveweaponcomponent_component"] = "Název zbraně", + ["command_giveweaponcomponent_invalid"] = "Špatné jméno přídavku", + ["command_giveweaponcomponent_hasalready"] = "Hráč již má tento přídavek", + ["command_giveweaponcomponent_missingweapon"] = "Hráč nemá tuto zbrań", + ["command_goto"] = "Teleportování sebe k hráči", + ["command_kill"] = "Zabití hráče", + ["command_save"] = "Uložení dat hráče", + ["command_saveall"] = "Uložení veškerých dat hráče", + ["command_setaccountmoney"] = "Nastavení určeného počtu peněz", + ["command_setaccountmoney_amount"] = "Počet peněz", + ["command_setcoords"] = "Teleportování na určené souřadnice", + ["command_setcoords_x"] = "Hodnota X", + ["command_setcoords_y"] = "Hodnota Y", + ["command_setcoords_z"] = "Hodnota Z", + ["command_setjob"] = "Nastavit práci hráči", + ["command_setjob_job"] = "Název práce", + ["command_setjob_grade"] = "Pozice ve firmě", + ["command_setjob_invalid"] = "Špatné zadání práce,hodnosti nebo i obou hodnot", + ["command_setgroup"] = "Nastavení práv hráči", + ["command_setgroup_group"] = "Název skupiny", + ["commanderror_argumentmismatch"] = "Chybný počet hodnot (správně %s, potřebných %s)", + ["commanderror_argumentmismatch_number"] = "Chybně zadaná hodnot #%s (správně, špatně)", + ["commanderror_invaliditem"] = "Špatný předmět", + ["commanderror_invalidweapon"] = "Špatná zbraň", + ["commanderror_console"] = "příkaz nelze být zpracován v konzoli", + ["commanderror_invalidcommand"] = "Špatný příakz - /%s", + ["commanderror_invalidplayerid"] = "Hráč není dostupný", + ["commandgeneric_playerid"] = "Id hráče", + ["command_giveammo_noweapon_found"] = "%s nemá tuto zbraň", + ["command_giveammo_weapon"] = "Název zbraně", + ["command_giveammo_ammo"] = "Počet nábojů", -- Locale settings - ['locale_digit_grouping_symbol'] = ",", - ['locale_currency'] = "£%s", + ["locale_digit_grouping_symbol"] = ",", + ["locale_currency"] = "£%s", -- Weapons -- Melee - ['weapon_dagger'] = "Dýka", - ['weapon_bat'] = "Baseballová pálka", - ['weapon_battleaxe'] = "Bitevní sekera", - ['weapon_bottle'] = "Rozbitá lahve", - ['weapon_crowbar'] = "Páčidlo", - ['weapon_flashlight'] = "Baterka", - ['weapon_golfclub'] = "Golfová hůl", - ['weapon_hammer'] = "Kladivo", - ['weapon_hatchet'] = "Sekera", - ['weapon_knife'] = "Nůž", - ['weapon_knuckle'] = "Boxer", - ['weapon_machete'] = "Mačeta", - ['weapon_nightstick'] = "Policejní obušek", - ['weapon_wrench'] = "Francouzský klíč", - ['weapon_poolcue'] = "Kulečníkové tágo", - ['weapon_stone_hatchet'] = "Kamenná sekera", - ['weapon_switchblade'] = "Vystřelovací nůž", + ["weapon_dagger"] = "Dýka", + ["weapon_bat"] = "Baseballová pálka", + ["weapon_battleaxe"] = "Bitevní sekera", + ["weapon_bottle"] = "Rozbitá lahve", + ["weapon_crowbar"] = "Páčidlo", + ["weapon_flashlight"] = "Baterka", + ["weapon_golfclub"] = "Golfová hůl", + ["weapon_hammer"] = "Kladivo", + ["weapon_hatchet"] = "Sekera", + ["weapon_knife"] = "Nůž", + ["weapon_knuckle"] = "Boxer", + ["weapon_machete"] = "Mačeta", + ["weapon_nightstick"] = "Policejní obušek", + ["weapon_wrench"] = "Francouzský klíč", + ["weapon_poolcue"] = "Kulečníkové tágo", + ["weapon_stone_hatchet"] = "Kamenná sekera", + ["weapon_switchblade"] = "Vystřelovací nůž", -- Handguns - ['weapon_appistol'] = "AP pistol", - ['weapon_ceramicpistol'] = "Ceramic pistol", - ['weapon_combatpistol'] = "Combat pistol", - ['weapon_doubleaction'] = "Double-Action Revolver", - ['weapon_navyrevolver'] = "Navy Revolver", - ['weapon_flaregun'] = "Flaregun", - ['weapon_gadgetpistol'] = "Gadget Pistol", - ['weapon_heavypistol'] = "Heavy Pistol", - ['weapon_revolver'] = "Heavy Revolver", - ['weapon_revolver_mk2'] = "Heavy Revolver MK2", - ['weapon_marksmanpistol'] = "Marksman Pistol", - ['weapon_pistol'] = "Pistol", - ['weapon_pistol_mk2'] = "Pistol MK2", - ['weapon_pistol50'] = "Pistol .50", - ['weapon_snspistol'] = "SNS Pistol", - ['weapon_snspistol_mk2'] = "SNS Pistol MK2", - ['weapon_stungun'] = "Taser", - ['weapon_raypistol'] = "Up-N-Atomizer", - ['weapon_vintagepistol'] = "Vintage Pistol", + ["weapon_appistol"] = "AP pistol", + ["weapon_ceramicpistol"] = "Ceramic pistol", + ["weapon_combatpistol"] = "Combat pistol", + ["weapon_doubleaction"] = "Double-Action Revolver", + ["weapon_navyrevolver"] = "Navy Revolver", + ["weapon_flaregun"] = "Flaregun", + ["weapon_gadgetpistol"] = "Gadget Pistol", + ["weapon_heavypistol"] = "Heavy Pistol", + ["weapon_revolver"] = "Heavy Revolver", + ["weapon_revolver_mk2"] = "Heavy Revolver MK2", + ["weapon_marksmanpistol"] = "Marksman Pistol", + ["weapon_pistol"] = "Pistol", + ["weapon_pistol_mk2"] = "Pistol MK2", + ["weapon_pistol50"] = "Pistol .50", + ["weapon_snspistol"] = "SNS Pistol", + ["weapon_snspistol_mk2"] = "SNS Pistol MK2", + ["weapon_stungun"] = "Taser", + ["weapon_raypistol"] = "Up-N-Atomizer", + ["weapon_vintagepistol"] = "Vintage Pistol", -- Shotguns - ['weapon_assaultshotgun'] = "Assault Shotgun", - ['weapon_autoshotgun'] = "Auto Shotgun", - ['weapon_bullpupshotgun'] = "Bullpup Shotgun", - ['weapon_combatshotgun'] = "Combat Shotgun", - ['weapon_dbshotgun'] = "Double Barrel Shotgun", - ['weapon_heavyshotgun'] = "Heavy Shotgun", - ['weapon_musket'] = "Musket", - ['weapon_pumpshotgun'] = "Pump Shotgun", - ['weapon_pumpshotgun_mk2'] = "Pump Shotgun MK2", - ['weapon_sawnoffshotgun'] = "Sawed Off Shotgun", + ["weapon_assaultshotgun"] = "Assault Shotgun", + ["weapon_autoshotgun"] = "Auto Shotgun", + ["weapon_bullpupshotgun"] = "Bullpup Shotgun", + ["weapon_combatshotgun"] = "Combat Shotgun", + ["weapon_dbshotgun"] = "Double Barrel Shotgun", + ["weapon_heavyshotgun"] = "Heavy Shotgun", + ["weapon_musket"] = "Musket", + ["weapon_pumpshotgun"] = "Pump Shotgun", + ["weapon_pumpshotgun_mk2"] = "Pump Shotgun MK2", + ["weapon_sawnoffshotgun"] = "Sawed Off Shotgun", -- SMG & LMG - ['weapon_assaultsmg'] = "Assault SMG", - ['weapon_combatmg'] = "Combat MG", - ['weapon_combatmg_mk2'] = "Combat MG MK2", - ['weapon_combatpdw'] = "Combat PDW", - ['weapon_gusenberg'] = "Gusenberg Sweeper", - ['weapon_machinepistol'] = "Machine Pistol", - ['weapon_mg'] = "MG", - ['weapon_microsmg'] = "Micro SMG", - ['weapon_minismg'] = "Mini SMG", - ['weapon_smg'] = "SMG", - ['weapon_smg_mk2'] = "SMG MK2", - ['weapon_raycarbine'] = "Unholy Hellbringer", + ["weapon_assaultsmg"] = "Assault SMG", + ["weapon_combatmg"] = "Combat MG", + ["weapon_combatmg_mk2"] = "Combat MG MK2", + ["weapon_combatpdw"] = "Combat PDW", + ["weapon_gusenberg"] = "Gusenberg Sweeper", + ["weapon_machinepistol"] = "Machine Pistol", + ["weapon_mg"] = "MG", + ["weapon_microsmg"] = "Micro SMG", + ["weapon_minismg"] = "Mini SMG", + ["weapon_smg"] = "SMG", + ["weapon_smg_mk2"] = "SMG MK2", + ["weapon_raycarbine"] = "Unholy Hellbringer", -- Rifles - ['weapon_advancedrifle'] = "Advanced Rifle", - ['weapon_assaultrifle'] = "Assault Rifle", - ['weapon_assaultrifle_mk2'] = "Assault Rifle MK2", - ['weapon_bullpuprifle'] = "Bullpup Rifle", - ['weapon_bullpuprifle_mk2'] = "Bullpup Rifle MK2", - ['weapon_carbinerifle'] = "Carbine Rifle", - ['weapon_carbinerifle_mk2'] = "Carbine Rifle MK2", - ['weapon_compactrifle'] = "Compact Rifle", - ['weapon_militaryrifle'] = "Military Rifle", - ['weapon_specialcarbine'] = "Special Carbine", - ['weapon_specialcarbine_mk2'] = "Special Carbine MK2", + ["weapon_advancedrifle"] = "Advanced Rifle", + ["weapon_assaultrifle"] = "Assault Rifle", + ["weapon_assaultrifle_mk2"] = "Assault Rifle MK2", + ["weapon_bullpuprifle"] = "Bullpup Rifle", + ["weapon_bullpuprifle_mk2"] = "Bullpup Rifle MK2", + ["weapon_carbinerifle"] = "Carbine Rifle", + ["weapon_carbinerifle_mk2"] = "Carbine Rifle MK2", + ["weapon_compactrifle"] = "Compact Rifle", + ["weapon_militaryrifle"] = "Military Rifle", + ["weapon_specialcarbine"] = "Special Carbine", + ["weapon_specialcarbine_mk2"] = "Special Carbine MK2", -- Sniper - ['weapon_heavysniper'] = "Heavy Sniper", - ['weapon_heavysniper_mk2'] = "Heavy Sniper MK2", - ['weapon_marksmanrifle'] = "Marksman Rifle", - ['weapon_marksmanrifle_mk2'] = "Marksman Rifle MK2", - ['weapon_sniperrifle'] = "Sniper Rifle", + ["weapon_heavysniper"] = "Heavy Sniper", + ["weapon_heavysniper_mk2"] = "Heavy Sniper MK2", + ["weapon_marksmanrifle"] = "Marksman Rifle", + ["weapon_marksmanrifle_mk2"] = "Marksman Rifle MK2", + ["weapon_sniperrifle"] = "Sniper Rifle", -- Heavy / Launchers - ['weapon_compactlauncher'] = "Compact Launcher", - ['weapon_firework'] = "Firework Launcher", - ['weapon_grenadelauncher'] = "Grenade Launcher", - ['weapon_hominglauncher'] = "Homing Launcher", - ['weapon_minigun'] = "Minigun", - ['weapon_railgun'] = "Railgun", - ['weapon_rpg'] = "Rocket Launcher", - ['weapon_rayminigun'] = "Widowmaker", + ["weapon_compactlauncher"] = "Compact Launcher", + ["weapon_firework"] = "Firework Launcher", + ["weapon_grenadelauncher"] = "Grenade Launcher", + ["weapon_hominglauncher"] = "Homing Launcher", + ["weapon_minigun"] = "Minigun", + ["weapon_railgun"] = "Railgun", + ["weapon_rpg"] = "Rocket Launcher", + ["weapon_rayminigun"] = "Widowmaker", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = "Detektor kovu", - ['weapon_precisionrifle'] = "Precision Rifle", - ['weapon_tactilerifle'] = "Service Carbine", + ["weapon_metaldetector"] = "Detektor kovu", + ["weapon_precisionrifle"] = "Precision Rifle", + ["weapon_tactilerifle"] = "Service Carbine", -- Thrown - ['weapon_ball'] = "Míček", - ['weapon_bzgas'] = "Smrtící slzný plyn", - ['weapon_flare'] = "Světlice", - ['weapon_grenade'] = "Granát", - ['weapon_petrolcan'] = "Kanistr", - ['weapon_hazardcan'] = "Hazardous Jerrycan", - ['weapon_molotov'] = "Molotův koktejl", - ['weapon_proxmine'] = "Pohybová mina", - ['weapon_pipebomb'] = "Trubková bomba", - ['weapon_snowball'] = "Sněhová koule", - ['weapon_stickybomb'] = "C4", - ['weapon_smokegrenade'] = "Slzný plyn", + ["weapon_ball"] = "Míček", + ["weapon_bzgas"] = "Smrtící slzný plyn", + ["weapon_flare"] = "Světlice", + ["weapon_grenade"] = "Granát", + ["weapon_petrolcan"] = "Kanistr", + ["weapon_hazardcan"] = "Hazardous Jerrycan", + ["weapon_molotov"] = "Molotův koktejl", + ["weapon_proxmine"] = "Pohybová mina", + ["weapon_pipebomb"] = "Trubková bomba", + ["weapon_snowball"] = "Sněhová koule", + ["weapon_stickybomb"] = "C4", + ["weapon_smokegrenade"] = "Slzný plyn", -- Special - ['weapon_fireextinguisher'] = "Hasící přístroj", - ['weapon_digiscanner'] = "Skener", - ['weapon_garbagebag'] = "Odpadkový pytel", - ['weapon_handcuffs'] = "Pouta", - ['gadget_nightvision'] = "Noční vidění", - ['gadget_parachute'] = "Padák", + ["weapon_fireextinguisher"] = "Hasící přístroj", + ["weapon_digiscanner"] = "Skener", + ["weapon_garbagebag"] = "Odpadkový pytel", + ["weapon_handcuffs"] = "Pouta", + ["gadget_nightvision"] = "Noční vidění", + ["gadget_parachute"] = "Padák", -- Weapon Components - ['component_knuckle_base'] = "base Model", - ['component_knuckle_pimp'] = "the Pimp", - ['component_knuckle_ballas'] = "the Ballas", - ['component_knuckle_dollar'] = "the Hustler", - ['component_knuckle_diamond'] = "the Rock", - ['component_knuckle_hate'] = "the Hater", - ['component_knuckle_love'] = "the Lover", - ['component_knuckle_player'] = "the Player", - ['component_knuckle_king'] = "the King", - ['component_knuckle_vagos'] = "the Vagos", + ["component_knuckle_base"] = "base Model", + ["component_knuckle_pimp"] = "the Pimp", + ["component_knuckle_ballas"] = "the Ballas", + ["component_knuckle_dollar"] = "the Hustler", + ["component_knuckle_diamond"] = "the Rock", + ["component_knuckle_hate"] = "the Hater", + ["component_knuckle_love"] = "the Lover", + ["component_knuckle_player"] = "the Player", + ["component_knuckle_king"] = "the King", + ["component_knuckle_vagos"] = "the Vagos", - ['component_luxary_finish'] = "luxary Weapon Finish", + ["component_luxary_finish"] = "luxary Weapon Finish", - ['component_handle_default'] = "default Handle", - ['component_handle_vip'] = "vIP Handle", - ['component_handle_bodyguard'] = "bodyguard Handle", + ["component_handle_default"] = "default Handle", + ["component_handle_vip"] = "vIP Handle", + ["component_handle_bodyguard"] = "bodyguard Handle", - ['component_vip_finish'] = "vIP Finish", - ['component_bodyguard_finish'] = "bodyguard Finish", + ["component_vip_finish"] = "vIP Finish", + ["component_bodyguard_finish"] = "bodyguard Finish", - ['component_camo_finish'] = "digital Camo", - ['component_camo_finish2'] = "brushstroke Camo", - ['component_camo_finish3'] = "woodland Camo", - ['component_camo_finish4'] = "skull Camo", - ['component_camo_finish5'] = "sessanta Nove Camo", - ['component_camo_finish6'] = "perseus Camo", - ['component_camo_finish7'] = "leopard Camo", - ['component_camo_finish8'] = "zebra Camo", - ['component_camo_finish9'] = "geometric Camo", - ['component_camo_finish10'] = "boom Camo", - ['component_camo_finish11'] = "patriotic Camo", + ["component_camo_finish"] = "digital Camo", + ["component_camo_finish2"] = "brushstroke Camo", + ["component_camo_finish3"] = "woodland Camo", + ["component_camo_finish4"] = "skull Camo", + ["component_camo_finish5"] = "sessanta Nove Camo", + ["component_camo_finish6"] = "perseus Camo", + ["component_camo_finish7"] = "leopard Camo", + ["component_camo_finish8"] = "zebra Camo", + ["component_camo_finish9"] = "geometric Camo", + ["component_camo_finish10"] = "boom Camo", + ["component_camo_finish11"] = "patriotic Camo", - ['component_camo_slide_finish'] = "digital Slide Camo", - ['component_camo_slide_finish2'] = "brushstroke Slide Camo", - ['component_camo_slide_finish3'] = "woodland Slide Camo", - ['component_camo_slide_finish4'] = "skull Slide Camo", - ['component_camo_slide_finish5'] = "sessanta Nove Slide Camo", - ['component_camo_slide_finish6'] = "perseus Slide Camo", - ['component_camo_slide_finish7'] = "leopard Slide Camo", - ['component_camo_slide_finish8'] = "zebra Slide Camo", - ['component_camo_slide_finish9'] = "geometric Slide Camo", - ['component_camo_slide_finish10'] = "boom Slide Camo", - ['component_camo_slide_finish11'] = "patriotic Slide Camo", + ["component_camo_slide_finish"] = "digital Slide Camo", + ["component_camo_slide_finish2"] = "brushstroke Slide Camo", + ["component_camo_slide_finish3"] = "woodland Slide Camo", + ["component_camo_slide_finish4"] = "skull Slide Camo", + ["component_camo_slide_finish5"] = "sessanta Nove Slide Camo", + ["component_camo_slide_finish6"] = "perseus Slide Camo", + ["component_camo_slide_finish7"] = "leopard Slide Camo", + ["component_camo_slide_finish8"] = "zebra Slide Camo", + ["component_camo_slide_finish9"] = "geometric Slide Camo", + ["component_camo_slide_finish10"] = "boom Slide Camo", + ["component_camo_slide_finish11"] = "patriotic Slide Camo", - ['component_clip_default'] = "default Magazine", - ['component_clip_extended'] = "extended Magazine", - ['component_clip_drum'] = "drum Magazine", - ['component_clip_box'] = "box Magazine", + ["component_clip_default"] = "default Magazine", + ["component_clip_extended"] = "extended Magazine", + ["component_clip_drum"] = "drum Magazine", + ["component_clip_box"] = "box Magazine", - ['component_scope_holo'] = "holographic Scope", - ['component_scope_small'] = "small Scope", - ['component_scope_medium'] = "medium Scope", - ['component_scope_large'] = "large Scope", - ['component_scope'] = "mounted Scope", - ['component_scope_advanced'] = "advanced Scope", - ['component_ironsights'] = "ironsights", + ["component_scope_holo"] = "holographic Scope", + ["component_scope_small"] = "small Scope", + ["component_scope_medium"] = "medium Scope", + ["component_scope_large"] = "large Scope", + ["component_scope"] = "mounted Scope", + ["component_scope_advanced"] = "advanced Scope", + ["component_ironsights"] = "ironsights", - ['component_suppressor'] = "suppressor", - ['component_compensator'] = "compensator", + ["component_suppressor"] = "suppressor", + ["component_compensator"] = "compensator", - ['component_muzzle_flat'] = "flat Muzzle Brake", - ['component_muzzle_tactical'] = "tactical Muzzle Brake", - ['component_muzzle_fat'] = "fat-End Muzzle Brake", - ['component_muzzle_precision'] = "precision Muzzle Brake", - ['component_muzzle_heavy'] = "heavy Duty Muzzle Brake", - ['component_muzzle_slanted'] = "slanted Muzzle Brake", - ['component_muzzle_split'] = "split-End Muzzle Brake", - ['component_muzzle_squared'] = "squared Muzzle Brake", + ["component_muzzle_flat"] = "flat Muzzle Brake", + ["component_muzzle_tactical"] = "tactical Muzzle Brake", + ["component_muzzle_fat"] = "fat-End Muzzle Brake", + ["component_muzzle_precision"] = "precision Muzzle Brake", + ["component_muzzle_heavy"] = "heavy Duty Muzzle Brake", + ["component_muzzle_slanted"] = "slanted Muzzle Brake", + ["component_muzzle_split"] = "split-End Muzzle Brake", + ["component_muzzle_squared"] = "squared Muzzle Brake", - ['component_flashlight'] = "flashlight", - ['component_grip'] = "grip", + ["component_flashlight"] = "flashlight", + ["component_grip"] = "grip", - ['component_barrel_default'] = "default Barrel", - ['component_barrel_heavy'] = "heavy Barrel", + ["component_barrel_default"] = "default Barrel", + ["component_barrel_heavy"] = "heavy Barrel", - ['component_ammo_tracer'] = "tracer Ammo", - ['component_ammo_incendiary'] = "incendiary Ammo", - ['component_ammo_hollowpoint'] = "hollowpoint Ammo", - ['component_ammo_fmj'] = "fMJ Ammo", - ['component_ammo_armor'] = "armor Piercing Ammo", - ['component_ammo_explosive'] = "armor Piercing Incendiary Ammo", + ["component_ammo_tracer"] = "tracer Ammo", + ["component_ammo_incendiary"] = "incendiary Ammo", + ["component_ammo_hollowpoint"] = "hollowpoint Ammo", + ["component_ammo_fmj"] = "fMJ Ammo", + ["component_ammo_armor"] = "armor Piercing Ammo", + ["component_ammo_explosive"] = "armor Piercing Incendiary Ammo", - ['component_shells_default'] = "default Shells", - ['component_shells_incendiary'] = "dragons Breath Shells", - ['component_shells_armor'] = "steel Buckshot Shells", - ['component_shells_hollowpoint'] = "flechette Shells", - ['component_shells_explosive'] = "explosive Slug Shells", + ["component_shells_default"] = "default Shells", + ["component_shells_incendiary"] = "dragons Breath Shells", + ["component_shells_armor"] = "steel Buckshot Shells", + ["component_shells_hollowpoint"] = "flechette Shells", + ["component_shells_explosive"] = "explosive Slug Shells", -- Weapon Ammo - ['ammo_rounds'] = "round(s)", - ['ammo_shells'] = "shell(s)", - ['ammo_charge'] = "charge", - ['ammo_petrol'] = "gallons of fuel", - ['ammo_firework'] = "firework(s)", - ['ammo_rockets'] = "rocket(s)", - ['ammo_grenadelauncher'] = "grenade(s)", - ['ammo_grenade'] = "grenade(s)", - ['ammo_stickybomb'] = "bomb(s)", - ['ammo_pipebomb'] = "bomb(s)", - ['ammo_smokebomb'] = "bomb(s)", - ['ammo_molotov'] = "cocktail(s)", - ['ammo_proxmine'] = "mine(s)", - ['ammo_bzgas'] = "can(s)", - ['ammo_ball'] = "ball(s)", - ['ammo_snowball'] = "snowball(s)", - ['ammo_flare'] = "flare(s)", - ['ammo_flaregun'] = "flare(s)", + ["ammo_rounds"] = "round(s)", + ["ammo_shells"] = "shell(s)", + ["ammo_charge"] = "charge", + ["ammo_petrol"] = "gallons of fuel", + ["ammo_firework"] = "firework(s)", + ["ammo_rockets"] = "rocket(s)", + ["ammo_grenadelauncher"] = "grenade(s)", + ["ammo_grenade"] = "grenade(s)", + ["ammo_stickybomb"] = "bomb(s)", + ["ammo_pipebomb"] = "bomb(s)", + ["ammo_smokebomb"] = "bomb(s)", + ["ammo_molotov"] = "cocktail(s)", + ["ammo_proxmine"] = "mine(s)", + ["ammo_bzgas"] = "can(s)", + ["ammo_ball"] = "ball(s)", + ["ammo_snowball"] = "snowball(s)", + ["ammo_flare"] = "flare(s)", + ["ammo_flaregun"] = "flare(s)", -- Weapon Tints - ['tint_default'] = "default skin", - ['tint_green'] = "green skin", - ['tint_gold'] = "gold skin", - ['tint_pink'] = "pink skin", - ['tint_army'] = "army skin", - ['tint_lspd'] = "blue skin", - ['tint_orange'] = "orange skin", - ['tint_platinum'] = "platinum skin", + ["tint_default"] = "default skin", + ["tint_green"] = "green skin", + ["tint_gold"] = "gold skin", + ["tint_pink"] = "pink skin", + ["tint_army"] = "army skin", + ["tint_lspd"] = "blue skin", + ["tint_orange"] = "orange skin", + ["tint_platinum"] = "platinum skin", } diff --git a/[core]/es_extended/locales/da.lua b/[core]/es_extended/locales/da.lua index 8ade0931..b097ea49 100644 --- a/[core]/es_extended/locales/da.lua +++ b/[core]/es_extended/locales/da.lua @@ -1,365 +1,365 @@ -Locales['da'] = { +Locales["da"] = { -- Inventory - ['inventory'] = "Inventar ( Vægt %s / %s )", - ['use'] = "Brug", - ['give'] = "Giv", - ['remove'] = "Smid", - ['return'] = "Tilbage", - ['give_to'] = "Giv til", - ['amount'] = "Beløb", - ['giveammo'] = "Giv ammunition", - ['amountammo'] = "Ammunition beløb", - ['noammo'] = "Ikke nok!", - ['gave_item'] = "Giver %sx %s til %s", - ['received_item'] = "Modtog %sx %s fra %s", - ['gave_weapon'] = "Giver %s til %s", - ['gave_weapon_ammo'] = "Giver ~o~%sx %s for %s til %s", - ['gave_weapon_withammo'] = "Giver %s med ~o~%sx %s til %s", - ['gave_weapon_hasalready'] = "%s har allerede en %s", - ['gave_weapon_noweapon'] = "%s har ikke det våben", - ['received_weapon'] = "Modtog %s fra %s", - ['received_weapon_ammo'] = "Modtog ~o~%sx %s for din %s fra %s", - ['received_weapon_withammo'] = "Modtog %s med ~o~%sx %s fra %s", - ['received_weapon_hasalready'] = "%s har forsøgt at give dig en %s, men du allerede dette våben", - ['received_weapon_noweapon'] = "%s har forsøgt at give dig ammunition for en %s, men du har ikke dette våben", - ['gave_account_money'] = "Giver %s kr. (%s) til %s", - ['received_account_money'] = "Modtog %s kr. (%s) fra %s", - ['amount_invalid'] = "Ugyldig mængde", - ['players_nearby'] = "Ingen spillere i nærheden", - ['ex_inv_lim'] = "Kan ikke udføre handling, overskrider maks. vægt på %s", - ['imp_invalid_quantity'] = "Handlingen kan ikke udføres, mængden er ugyldig", - ['imp_invalid_amount'] = "Handlingen kan ikke udføres, beløbet er ugyldigt", - ['threw_standard'] = "Smider %sx %s", - ['threw_account'] = "Smider %s kr. %s", - ['threw_weapon'] = "Smider %s", - ['threw_weapon_ammo'] = "Smider %s med ~o~%sx %s", - ['threw_weapon_already'] = "Du har allerede dette våben", - ['threw_cannot_pickup'] = "Inventory er fyldt, Kan ikke tages!", - ['threw_pickup_prompt'] = "Tryk på E for at tage genstand", + ["inventory"] = "Inventar ( Vægt %s / %s )", + ["use"] = "Brug", + ["give"] = "Giv", + ["remove"] = "Smid", + ["return"] = "Tilbage", + ["give_to"] = "Giv til", + ["amount"] = "Beløb", + ["giveammo"] = "Giv ammunition", + ["amountammo"] = "Ammunition beløb", + ["noammo"] = "Ikke nok!", + ["gave_item"] = "Giver %sx %s til %s", + ["received_item"] = "Modtog %sx %s fra %s", + ["gave_weapon"] = "Giver %s til %s", + ["gave_weapon_ammo"] = "Giver ~o~%sx %s for %s til %s", + ["gave_weapon_withammo"] = "Giver %s med ~o~%sx %s til %s", + ["gave_weapon_hasalready"] = "%s har allerede en %s", + ["gave_weapon_noweapon"] = "%s har ikke det våben", + ["received_weapon"] = "Modtog %s fra %s", + ["received_weapon_ammo"] = "Modtog ~o~%sx %s for din %s fra %s", + ["received_weapon_withammo"] = "Modtog %s med ~o~%sx %s fra %s", + ["received_weapon_hasalready"] = "%s har forsøgt at give dig en %s, men du allerede dette våben", + ["received_weapon_noweapon"] = "%s har forsøgt at give dig ammunition for en %s, men du har ikke dette våben", + ["gave_account_money"] = "Giver %s kr. (%s) til %s", + ["received_account_money"] = "Modtog %s kr. (%s) fra %s", + ["amount_invalid"] = "Ugyldig mængde", + ["players_nearby"] = "Ingen spillere i nærheden", + ["ex_inv_lim"] = "Kan ikke udføre handling, overskrider maks. vægt på %s", + ["imp_invalid_quantity"] = "Handlingen kan ikke udføres, mængden er ugyldig", + ["imp_invalid_amount"] = "Handlingen kan ikke udføres, beløbet er ugyldigt", + ["threw_standard"] = "Smider %sx %s", + ["threw_account"] = "Smider %s kr. %s", + ["threw_weapon"] = "Smider %s", + ["threw_weapon_ammo"] = "Smider %s med ~o~%sx %s", + ["threw_weapon_already"] = "Du har allerede dette våben", + ["threw_cannot_pickup"] = "Inventory er fyldt, Kan ikke tages!", + ["threw_pickup_prompt"] = "Tryk på E for at tage genstand", -- Key mapping - ['keymap_showinventory'] = "Vis Inventory", + ["keymap_showinventory"] = "Vis Inventory", -- Salary related - ['received_salary'] = "Du er blevet betalt: %s kr.", - ['received_help'] = "Du har fået udbetalt din velfærdscheck: %s kr.", - ['company_nomoney'] = "den virksomhed, du er ansat i, er for fattig til at udbetale din løn", - ['received_paycheck'] = "modtaget lønseddel", - ['bank'] = "Maze Bank", - ['account_bank'] = "Bank", - ['account_black_money'] = "Beskidte penge", - ['account_money'] = "Penge", + ["received_salary"] = "Du er blevet betalt: %s kr.", + ["received_help"] = "Du har fået udbetalt din velfærdscheck: %s kr.", + ["company_nomoney"] = "den virksomhed, du er ansat i, er for fattig til at udbetale din løn", + ["received_paycheck"] = "modtaget lønseddel", + ["bank"] = "Maze Bank", + ["account_bank"] = "Bank", + ["account_black_money"] = "Beskidte penge", + ["account_money"] = "Penge", - ['act_imp'] = "Kan ikke udføre handling", - ['in_vehicle'] = "Kan ikke udføre handling, spilleren er i et køretøj", + ["act_imp"] = "Kan ikke udføre handling", + ["in_vehicle"] = "Kan ikke udføre handling, spilleren er i et køretøj", -- Commands - ['command_bring'] = "Tag en spiller til dig", - ['command_car'] = "Spawn et køretøj", - ['command_car_car'] = "Køretøjsmodel eller hash", - ['command_cardel'] = "Fjern køretøjer i nærheden", - ['command_cardel_radius'] = "Fjerner alle køretøjer inden for den specificerede radius", - ['command_clear'] = "Ryd chatten", - ['command_clearall'] = "Ryd chatten for alle spillere", - ['command_clearinventory'] = "Fjern alle elementer fra spillernes inventar", - ['command_clearloadout'] = "Fjern alle våben fra Players Loadout", - ['command_freeze'] = "Frys en spiller", - ['command_unfreeze'] = "Frigør en spiller", - ['command_giveaccountmoney'] = "Giv penge til en bestemt konto", - ['command_giveaccountmoney_account'] = "Konto at tilføje til", - ['command_giveaccountmoney_amount'] = "Beløb at tilføje", - ['command_giveaccountmoney_invalid'] = "Kontonavn ugyldigt", - ['command_giveitem'] = "Giv spilleren en genstand", - ['command_giveitem_item'] = "Genstands navn", - ['command_giveitem_count'] = "Antal", - ['command_giveweapon'] = "Giv spilleren et våben", - ['command_giveweapon_weapon'] = "Navn på våben", - ['command_giveweapon_ammo'] = "Ammunitions mængde", - ['command_giveweapon_hasalready'] = "Spilleren har allerede dette våben", - ['command_giveweaponcomponent'] = "Giv en våbenkomponent til spilleren", - ['command_giveweaponcomponent_component'] = "Komponent navn", - ['command_giveweaponcomponent_invalid'] = "Ugyldig våben-komponent", - ['command_giveweaponcomponent_hasalready'] = "Spilleren har allerede denne våben-komponent", - ['command_giveweaponcomponent_missingweapon'] = "Spilleren har ikke dette våben", - ['command_goto'] = "Teleporter dig selv til en spiller", - ['command_kill'] = "Dræb en spiller", - ['command_save'] = "Force save en spillers data", - ['command_saveall'] = "Force save alle spillers data", - ['command_setaccountmoney'] = "Indstil pengene på en bestemt konto", - ['command_setaccountmoney_amount'] = "Beløb", - ['command_setcoords'] = "Teleporter til specificerede koordinater", - ['command_setcoords_x'] = "X værdi", - ['command_setcoords_y'] = "Y værdi", - ['command_setcoords_z'] = "Z værdi", - ['command_setjob'] = "Sæt en spillers job", - ['command_setjob_job'] = "Navn", - ['command_setjob_grade'] = "Job karakter", - ['command_setjob_invalid'] = "jobbet, karakteren eller begge dele er ugyldige", - ['command_setgroup'] = "Indstil en spillers tilladelsesgruppe", - ['command_setgroup_group'] = "Navn på gruppe", - ['commanderror_argumentmismatch'] = "Antal ugyldige argumenter (bestået %s, ønsket %s)", - ['commanderror_argumentmismatch_number'] = "Ugyldigt argument #%s datatype (bestået streng, ønsket nummer)", - ['commanderror_invaliditem'] = "Ugyldig genstand", - ['commanderror_invalidweapon'] = "Ugyldigt våben", - ['commanderror_console'] = "Kommandoen kan ikke udføres fra konsollen", - ['commanderror_invalidcommand'] = "Ugyldig kommando - /%s", - ['commanderror_invalidplayerid'] = "Den angivne spiller er ikke online", - ['commandgeneric_playerid'] = "Spillerens server-id", - ['command_giveammo_noweapon_found'] = "%s har ikke det våben", - ['command_giveammo_weapon'] = "Våben navn", - ['command_giveammo_ammo'] = "Ammunitions mængde", - ['tpm_nowaypoint'] = "Ingen waypoint indstillet.", - ['tpm_success'] = "Teleporteret med succes", + ["command_bring"] = "Tag en spiller til dig", + ["command_car"] = "Spawn et køretøj", + ["command_car_car"] = "Køretøjsmodel eller hash", + ["command_cardel"] = "Fjern køretøjer i nærheden", + ["command_cardel_radius"] = "Fjerner alle køretøjer inden for den specificerede radius", + ["command_clear"] = "Ryd chatten", + ["command_clearall"] = "Ryd chatten for alle spillere", + ["command_clearinventory"] = "Fjern alle elementer fra spillernes inventar", + ["command_clearloadout"] = "Fjern alle våben fra Players Loadout", + ["command_freeze"] = "Frys en spiller", + ["command_unfreeze"] = "Frigør en spiller", + ["command_giveaccountmoney"] = "Giv penge til en bestemt konto", + ["command_giveaccountmoney_account"] = "Konto at tilføje til", + ["command_giveaccountmoney_amount"] = "Beløb at tilføje", + ["command_giveaccountmoney_invalid"] = "Kontonavn ugyldigt", + ["command_giveitem"] = "Giv spilleren en genstand", + ["command_giveitem_item"] = "Genstands navn", + ["command_giveitem_count"] = "Antal", + ["command_giveweapon"] = "Giv spilleren et våben", + ["command_giveweapon_weapon"] = "Navn på våben", + ["command_giveweapon_ammo"] = "Ammunitions mængde", + ["command_giveweapon_hasalready"] = "Spilleren har allerede dette våben", + ["command_giveweaponcomponent"] = "Giv en våbenkomponent til spilleren", + ["command_giveweaponcomponent_component"] = "Komponent navn", + ["command_giveweaponcomponent_invalid"] = "Ugyldig våben-komponent", + ["command_giveweaponcomponent_hasalready"] = "Spilleren har allerede denne våben-komponent", + ["command_giveweaponcomponent_missingweapon"] = "Spilleren har ikke dette våben", + ["command_goto"] = "Teleporter dig selv til en spiller", + ["command_kill"] = "Dræb en spiller", + ["command_save"] = "Force save en spillers data", + ["command_saveall"] = "Force save alle spillers data", + ["command_setaccountmoney"] = "Indstil pengene på en bestemt konto", + ["command_setaccountmoney_amount"] = "Beløb", + ["command_setcoords"] = "Teleporter til specificerede koordinater", + ["command_setcoords_x"] = "X værdi", + ["command_setcoords_y"] = "Y værdi", + ["command_setcoords_z"] = "Z værdi", + ["command_setjob"] = "Sæt en spillers job", + ["command_setjob_job"] = "Navn", + ["command_setjob_grade"] = "Job karakter", + ["command_setjob_invalid"] = "jobbet, karakteren eller begge dele er ugyldige", + ["command_setgroup"] = "Indstil en spillers tilladelsesgruppe", + ["command_setgroup_group"] = "Navn på gruppe", + ["commanderror_argumentmismatch"] = "Antal ugyldige argumenter (bestået %s, ønsket %s)", + ["commanderror_argumentmismatch_number"] = "Ugyldigt argument #%s datatype (bestået streng, ønsket nummer)", + ["commanderror_invaliditem"] = "Ugyldig genstand", + ["commanderror_invalidweapon"] = "Ugyldigt våben", + ["commanderror_console"] = "Kommandoen kan ikke udføres fra konsollen", + ["commanderror_invalidcommand"] = "Ugyldig kommando - /%s", + ["commanderror_invalidplayerid"] = "Den angivne spiller er ikke online", + ["commandgeneric_playerid"] = "Spillerens server-id", + ["command_giveammo_noweapon_found"] = "%s har ikke det våben", + ["command_giveammo_weapon"] = "Våben navn", + ["command_giveammo_ammo"] = "Ammunitions mængde", + ["tpm_nowaypoint"] = "Ingen waypoint indstillet.", + ["tpm_success"] = "Teleporteret med succes", - ['noclip_message'] = "Noclip er blevet %s", - ['enabled'] = "~g~aktiveret~s~", - ['disabled'] = "~r~deaktiveret~s~", + ["noclip_message"] = "Noclip er blevet %s", + ["enabled"] = "~g~aktiveret~s~", + ["disabled"] = "~r~deaktiveret~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ",", - ['locale_currency'] = "%s DKK", + ["locale_digit_grouping_symbol"] = ",", + ["locale_currency"] = "%s DKK", -- Weapons -- Melee - ['weapon_dagger'] = "Dolk", - ['weapon_bat'] = "Bat", - ['weapon_battleaxe'] = "Kampøkse", - ['weapon_bottle'] = "Flaske", - ['weapon_crowbar'] = "Koben", - ['weapon_flashlight'] = "Lommelygte", - ['weapon_golfclub'] = "Golf Club", - ['weapon_hammer'] = "Hammer", - ['weapon_hatchet'] = "Økse", - ['weapon_knife'] = "Kniv", - ['weapon_knuckle'] = "Knuckledusters", - ['weapon_machete'] = "Machete", - ['weapon_nightstick'] = "Nightstick", - ['weapon_wrench'] = "Pipe Wrench", - ['weapon_poolcue'] = "Pool Cue", - ['weapon_stone_hatchet'] = "Stone Hatchet", - ['weapon_switchblade'] = "Switchblade", + ["weapon_dagger"] = "Dolk", + ["weapon_bat"] = "Bat", + ["weapon_battleaxe"] = "Kampøkse", + ["weapon_bottle"] = "Flaske", + ["weapon_crowbar"] = "Koben", + ["weapon_flashlight"] = "Lommelygte", + ["weapon_golfclub"] = "Golf Club", + ["weapon_hammer"] = "Hammer", + ["weapon_hatchet"] = "Økse", + ["weapon_knife"] = "Kniv", + ["weapon_knuckle"] = "Knuckledusters", + ["weapon_machete"] = "Machete", + ["weapon_nightstick"] = "Nightstick", + ["weapon_wrench"] = "Pipe Wrench", + ["weapon_poolcue"] = "Pool Cue", + ["weapon_stone_hatchet"] = "Stone Hatchet", + ["weapon_switchblade"] = "Switchblade", -- Handguns - ['weapon_appistol'] = "AP Pistol", - ['weapon_ceramicpistol'] = "Ceramic Pistol", - ['weapon_combatpistol'] = "Combat Pistol", - ['weapon_doubleaction'] = "Double-Action Revolver", - ['weapon_navyrevolver'] = "Navy Revolver", - ['weapon_flaregun'] = "Flaregun", - ['weapon_gadgetpistol'] = "Gadget Pistol", - ['weapon_heavypistol'] = "Tung Pistol", - ['weapon_revolver'] = "Tung Revolver", - ['weapon_revolver_mk2'] = "Heavy Revolver MK2", - ['weapon_marksmanpistol'] = "Marksman Pistol", - ['weapon_pistol'] = "Pistol", - ['weapon_pistol_mk2'] = "Pistol MK2", - ['weapon_pistol50'] = "Pistol .50", - ['weapon_snspistol'] = "SNS Pistol", - ['weapon_snspistol_mk2'] = "SNS Pistol MK2", - ['weapon_stungun'] = "Taser", - ['weapon_raypistol'] = "Up-N-Atomizer", - ['weapon_vintagepistol'] = "Vintage Pistol", + ["weapon_appistol"] = "AP Pistol", + ["weapon_ceramicpistol"] = "Ceramic Pistol", + ["weapon_combatpistol"] = "Combat Pistol", + ["weapon_doubleaction"] = "Double-Action Revolver", + ["weapon_navyrevolver"] = "Navy Revolver", + ["weapon_flaregun"] = "Flaregun", + ["weapon_gadgetpistol"] = "Gadget Pistol", + ["weapon_heavypistol"] = "Tung Pistol", + ["weapon_revolver"] = "Tung Revolver", + ["weapon_revolver_mk2"] = "Heavy Revolver MK2", + ["weapon_marksmanpistol"] = "Marksman Pistol", + ["weapon_pistol"] = "Pistol", + ["weapon_pistol_mk2"] = "Pistol MK2", + ["weapon_pistol50"] = "Pistol .50", + ["weapon_snspistol"] = "SNS Pistol", + ["weapon_snspistol_mk2"] = "SNS Pistol MK2", + ["weapon_stungun"] = "Taser", + ["weapon_raypistol"] = "Up-N-Atomizer", + ["weapon_vintagepistol"] = "Vintage Pistol", -- Shotguns - ['weapon_assaultshotgun'] = "Assault Shotgun", - ['weapon_autoshotgun'] = "Auto Shotgun", - ['weapon_bullpupshotgun'] = "Bullpup Shotgun", - ['weapon_combatshotgun'] = "Kamp Haglgevær", - ['weapon_dbshotgun'] = "Dobbeltløbet gevær", - ['weapon_heavyshotgun'] = "Tungt haglgevær", - ['weapon_musket'] = "Musket", - ['weapon_pumpshotgun'] = "Pumpe haglgevær", - ['weapon_pumpshotgun_mk2'] = "Pumpe haglgevær MK2", - ['weapon_sawnoffshotgun'] = "Oversavet haglgevær", + ["weapon_assaultshotgun"] = "Assault Shotgun", + ["weapon_autoshotgun"] = "Auto Shotgun", + ["weapon_bullpupshotgun"] = "Bullpup Shotgun", + ["weapon_combatshotgun"] = "Kamp Haglgevær", + ["weapon_dbshotgun"] = "Dobbeltløbet gevær", + ["weapon_heavyshotgun"] = "Tungt haglgevær", + ["weapon_musket"] = "Musket", + ["weapon_pumpshotgun"] = "Pumpe haglgevær", + ["weapon_pumpshotgun_mk2"] = "Pumpe haglgevær MK2", + ["weapon_sawnoffshotgun"] = "Oversavet haglgevær", -- SMG & LMG - ['weapon_assaultsmg'] = "Assault SMG", - ['weapon_combatmg'] = "Combat MG", - ['weapon_combatmg_mk2'] = "Combat MG MK2", - ['weapon_combatpdw'] = "Combat PDW", - ['weapon_gusenberg'] = "Gusenberg Sweeper", - ['weapon_machinepistol'] = "Maskinpistol", - ['weapon_mg'] = "MG", - ['weapon_microsmg'] = "Micro SMG", - ['weapon_minismg'] = "Mini SMG", - ['weapon_smg'] = "SMG", - ['weapon_smg_mk2'] = "SMG MK2", - ['weapon_raycarbine'] = "Unholy Hellbringer", + ["weapon_assaultsmg"] = "Assault SMG", + ["weapon_combatmg"] = "Combat MG", + ["weapon_combatmg_mk2"] = "Combat MG MK2", + ["weapon_combatpdw"] = "Combat PDW", + ["weapon_gusenberg"] = "Gusenberg Sweeper", + ["weapon_machinepistol"] = "Maskinpistol", + ["weapon_mg"] = "MG", + ["weapon_microsmg"] = "Micro SMG", + ["weapon_minismg"] = "Mini SMG", + ["weapon_smg"] = "SMG", + ["weapon_smg_mk2"] = "SMG MK2", + ["weapon_raycarbine"] = "Unholy Hellbringer", -- Rifles - ['weapon_advancedrifle'] = "Advanced Rifle", - ['weapon_assaultrifle'] = "Assault Rifle", - ['weapon_assaultrifle_mk2'] = "Assault Rifle MK2", - ['weapon_bullpuprifle'] = "Bullpup Rifle", - ['weapon_bullpuprifle_mk2'] = "Bullpup Rifle MK2", - ['weapon_carbinerifle'] = "Carbine Rifle", - ['weapon_carbinerifle_mk2'] = "Carbine Rifle MK2", - ['weapon_compactrifle'] = "Compact Rifle", - ['weapon_militaryrifle'] = "Militær riffel", - ['weapon_specialcarbine'] = "Special Carbine", - ['weapon_specialcarbine_mk2'] = "Special Carbine MK2", + ["weapon_advancedrifle"] = "Advanced Rifle", + ["weapon_assaultrifle"] = "Assault Rifle", + ["weapon_assaultrifle_mk2"] = "Assault Rifle MK2", + ["weapon_bullpuprifle"] = "Bullpup Rifle", + ["weapon_bullpuprifle_mk2"] = "Bullpup Rifle MK2", + ["weapon_carbinerifle"] = "Carbine Rifle", + ["weapon_carbinerifle_mk2"] = "Carbine Rifle MK2", + ["weapon_compactrifle"] = "Compact Rifle", + ["weapon_militaryrifle"] = "Militær riffel", + ["weapon_specialcarbine"] = "Special Carbine", + ["weapon_specialcarbine_mk2"] = "Special Carbine MK2", -- Sniper - ['weapon_heavysniper'] = "Tung snigskytte", - ['weapon_heavysniper_mk2'] = "Tung snigskytte MK2", - ['weapon_marksmanrifle'] = "Skytterifle", - ['weapon_marksmanrifle_mk2'] = "Skytterifle MK2", - ['weapon_sniperrifle'] = "Snigskytteriffel", + ["weapon_heavysniper"] = "Tung snigskytte", + ["weapon_heavysniper_mk2"] = "Tung snigskytte MK2", + ["weapon_marksmanrifle"] = "Skytterifle", + ["weapon_marksmanrifle_mk2"] = "Skytterifle MK2", + ["weapon_sniperrifle"] = "Snigskytteriffel", -- Heavy / Launchers - ['weapon_compactlauncher'] = "Compact Launcher", - ['weapon_firework'] = "Firework Launcher", - ['weapon_grenadelauncher'] = "Grenade Launcher", - ['weapon_hominglauncher'] = "Homing Launcher", - ['weapon_minigun'] = "Minigun", - ['weapon_railgun'] = "Railgun", - ['weapon_rpg'] = "Rocket Launcher", - ['weapon_rayminigun'] = "Widowmaker", + ["weapon_compactlauncher"] = "Compact Launcher", + ["weapon_firework"] = "Firework Launcher", + ["weapon_grenadelauncher"] = "Grenade Launcher", + ["weapon_hominglauncher"] = "Homing Launcher", + ["weapon_minigun"] = "Minigun", + ["weapon_railgun"] = "Railgun", + ["weapon_rpg"] = "Rocket Launcher", + ["weapon_rayminigun"] = "Widowmaker", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = "Metal Detector", - ['weapon_precisionrifle'] = "Precision Rifle", - ['weapon_tactilerifle'] = "Service Carbine", + ["weapon_metaldetector"] = "Metal Detector", + ["weapon_precisionrifle"] = "Precision Rifle", + ["weapon_tactilerifle"] = "Service Carbine", -- Thrown - ['weapon_ball'] = "Baseball", - ['weapon_bzgas'] = "BZ Gas", - ['weapon_flare'] = "Flare", - ['weapon_grenade'] = "Granat", - ['weapon_petrolcan'] = "Benzindunk", - ['weapon_hazardcan'] = "Farlig Benzindunk", - ['weapon_molotov'] = "Molotov Cocktail", - ['weapon_proxmine'] = "Proximity Mine", - ['weapon_pipebomb'] = "Pipe Bomb", - ['weapon_snowball'] = "Snebold", - ['weapon_stickybomb'] = "Sticky Bomb", - ['weapon_smokegrenade'] = "Tåregas", + ["weapon_ball"] = "Baseball", + ["weapon_bzgas"] = "BZ Gas", + ["weapon_flare"] = "Flare", + ["weapon_grenade"] = "Granat", + ["weapon_petrolcan"] = "Benzindunk", + ["weapon_hazardcan"] = "Farlig Benzindunk", + ["weapon_molotov"] = "Molotov Cocktail", + ["weapon_proxmine"] = "Proximity Mine", + ["weapon_pipebomb"] = "Pipe Bomb", + ["weapon_snowball"] = "Snebold", + ["weapon_stickybomb"] = "Sticky Bomb", + ["weapon_smokegrenade"] = "Tåregas", -- Special - ['weapon_fireextinguisher'] = "Brandslukker", - ['weapon_digiscanner'] = "Digital scanner", - ['weapon_garbagebag'] = "Skraldepose", - ['weapon_handcuffs'] = "Håndjern", - ['gadget_nightvision'] = "Night Vision", - ['gadget_parachute'] = "faldskærm", + ["weapon_fireextinguisher"] = "Brandslukker", + ["weapon_digiscanner"] = "Digital scanner", + ["weapon_garbagebag"] = "Skraldepose", + ["weapon_handcuffs"] = "Håndjern", + ["gadget_nightvision"] = "Night Vision", + ["gadget_parachute"] = "faldskærm", -- Weapon Components - ['component_knuckle_base'] = "base Model", - ['component_knuckle_pimp'] = "the Pimp", - ['component_knuckle_ballas'] = "the Ballas", - ['component_knuckle_dollar'] = "the Hustler", - ['component_knuckle_diamond'] = "the Rock", - ['component_knuckle_hate'] = "the Hater", - ['component_knuckle_love'] = "the Lover", - ['component_knuckle_player'] = "the Player", - ['component_knuckle_king'] = "the King", - ['component_knuckle_vagos'] = "the Vagos", + ["component_knuckle_base"] = "base Model", + ["component_knuckle_pimp"] = "the Pimp", + ["component_knuckle_ballas"] = "the Ballas", + ["component_knuckle_dollar"] = "the Hustler", + ["component_knuckle_diamond"] = "the Rock", + ["component_knuckle_hate"] = "the Hater", + ["component_knuckle_love"] = "the Lover", + ["component_knuckle_player"] = "the Player", + ["component_knuckle_king"] = "the King", + ["component_knuckle_vagos"] = "the Vagos", - ['component_luxary_finish'] = "luxary Weapon Finish", + ["component_luxary_finish"] = "luxary Weapon Finish", - ['component_handle_default'] = "standardhåndtag", - ['component_handle_vip'] = "VIP håndtag", - ['component_handle_bodyguard'] = "livvagt håndtag", + ["component_handle_default"] = "standardhåndtag", + ["component_handle_vip"] = "VIP håndtag", + ["component_handle_bodyguard"] = "livvagt håndtag", - ['component_vip_finish'] = "VIP Finish", - ['component_bodyguard_finish'] = "bodyguard Finish", + ["component_vip_finish"] = "VIP Finish", + ["component_bodyguard_finish"] = "bodyguard Finish", - ['component_camo_finish'] = "digital Camo", - ['component_camo_finish2'] = "brushstroke Camo", - ['component_camo_finish3'] = "woodland Camo", - ['component_camo_finish4'] = "skull Camo", - ['component_camo_finish5'] = "sessanta Nove Camo", - ['component_camo_finish6'] = "perseus Camo", - ['component_camo_finish7'] = "leopard Camo", - ['component_camo_finish8'] = "zebra Camo", - ['component_camo_finish9'] = "geometric Camo", - ['component_camo_finish10'] = "boom Camo", - ['component_camo_finish11'] = "patriotic Camo", + ["component_camo_finish"] = "digital Camo", + ["component_camo_finish2"] = "brushstroke Camo", + ["component_camo_finish3"] = "woodland Camo", + ["component_camo_finish4"] = "skull Camo", + ["component_camo_finish5"] = "sessanta Nove Camo", + ["component_camo_finish6"] = "perseus Camo", + ["component_camo_finish7"] = "leopard Camo", + ["component_camo_finish8"] = "zebra Camo", + ["component_camo_finish9"] = "geometric Camo", + ["component_camo_finish10"] = "boom Camo", + ["component_camo_finish11"] = "patriotic Camo", - ['component_camo_slide_finish'] = "digital Slide Camo", - ['component_camo_slide_finish2'] = "brushstroke Slide Camo", - ['component_camo_slide_finish3'] = "woodland Slide Camo", - ['component_camo_slide_finish4'] = "skull Slide Camo", - ['component_camo_slide_finish5'] = "sessanta Nove Slide Camo", - ['component_camo_slide_finish6'] = "perseus Slide Camo", - ['component_camo_slide_finish7'] = "leopard Slide Camo", - ['component_camo_slide_finish8'] = "zebra Slide Camo", - ['component_camo_slide_finish9'] = "geometric Slide Camo", - ['component_camo_slide_finish10'] = "boom Slide Camo", - ['component_camo_slide_finish11'] = "patriotic Slide Camo", + ["component_camo_slide_finish"] = "digital Slide Camo", + ["component_camo_slide_finish2"] = "brushstroke Slide Camo", + ["component_camo_slide_finish3"] = "woodland Slide Camo", + ["component_camo_slide_finish4"] = "skull Slide Camo", + ["component_camo_slide_finish5"] = "sessanta Nove Slide Camo", + ["component_camo_slide_finish6"] = "perseus Slide Camo", + ["component_camo_slide_finish7"] = "leopard Slide Camo", + ["component_camo_slide_finish8"] = "zebra Slide Camo", + ["component_camo_slide_finish9"] = "geometric Slide Camo", + ["component_camo_slide_finish10"] = "boom Slide Camo", + ["component_camo_slide_finish11"] = "patriotic Slide Camo", - ['component_clip_default'] = "standard magasin", - ['component_clip_extended'] = "udvidet Magasin", - ['component_clip_drum'] = "drum Magasin", - ['component_clip_box'] = "box Magazine", + ["component_clip_default"] = "standard magasin", + ["component_clip_extended"] = "udvidet Magasin", + ["component_clip_drum"] = "drum Magasin", + ["component_clip_box"] = "box Magazine", - ['component_scope_holo'] = "rødpunktsigte", - ['component_scope_small'] = "lille sigte", - ['component_scope_medium'] = "medium sigte", - ['component_scope_large'] = "stort sigte", - ['component_scope'] = "mounted Scope", - ['component_scope_advanced'] = "avanceret sigte", - ['component_ironsights'] = "jernsigte", + ["component_scope_holo"] = "rødpunktsigte", + ["component_scope_small"] = "lille sigte", + ["component_scope_medium"] = "medium sigte", + ["component_scope_large"] = "stort sigte", + ["component_scope"] = "mounted Scope", + ["component_scope_advanced"] = "avanceret sigte", + ["component_ironsights"] = "jernsigte", - ['component_suppressor'] = "suppressor", - ['component_compensator'] = "compensator", + ["component_suppressor"] = "suppressor", + ["component_compensator"] = "compensator", - ['component_muzzle_flat'] = "flat Muzzle Brake", - ['component_muzzle_tactical'] = "tactical Muzzle Brake", - ['component_muzzle_fat'] = "fat-End Muzzle Brake", - ['component_muzzle_precision'] = "precision Muzzle Brake", - ['component_muzzle_heavy'] = "heavy Duty Muzzle Brake", - ['component_muzzle_slanted'] = "slanted Muzzle Brake", - ['component_muzzle_split'] = "split-End Muzzle Brake", - ['component_muzzle_squared'] = "squared Muzzle Brake", + ["component_muzzle_flat"] = "flat Muzzle Brake", + ["component_muzzle_tactical"] = "tactical Muzzle Brake", + ["component_muzzle_fat"] = "fat-End Muzzle Brake", + ["component_muzzle_precision"] = "precision Muzzle Brake", + ["component_muzzle_heavy"] = "heavy Duty Muzzle Brake", + ["component_muzzle_slanted"] = "slanted Muzzle Brake", + ["component_muzzle_split"] = "split-End Muzzle Brake", + ["component_muzzle_squared"] = "squared Muzzle Brake", - ['component_flashlight'] = "våbenlygte", - ['component_grip'] = "greb", + ["component_flashlight"] = "våbenlygte", + ["component_grip"] = "greb", - ['component_barrel_default'] = "default Barrel", - ['component_barrel_heavy'] = "heavy Barrel", + ["component_barrel_default"] = "default Barrel", + ["component_barrel_heavy"] = "heavy Barrel", - ['component_ammo_tracer'] = "tracer Ammo", - ['component_ammo_incendiary'] = "incendiary Ammo", - ['component_ammo_hollowpoint'] = "hollowpoint Ammo", - ['component_ammo_fmj'] = "fMJ Ammo", - ['component_ammo_armor'] = "armor Piercing Ammo", - ['component_ammo_explosive'] = "armor Piercing Incendiary Ammo", + ["component_ammo_tracer"] = "tracer Ammo", + ["component_ammo_incendiary"] = "incendiary Ammo", + ["component_ammo_hollowpoint"] = "hollowpoint Ammo", + ["component_ammo_fmj"] = "fMJ Ammo", + ["component_ammo_armor"] = "armor Piercing Ammo", + ["component_ammo_explosive"] = "armor Piercing Incendiary Ammo", - ['component_shells_default'] = "default Shells", - ['component_shells_incendiary'] = "dragons Breath Shells", - ['component_shells_armor'] = "steel Buckshot Shells", - ['component_shells_hollowpoint'] = "flechette Shells", - ['component_shells_explosive'] = "explosive Slug Shells", + ["component_shells_default"] = "default Shells", + ["component_shells_incendiary"] = "dragons Breath Shells", + ["component_shells_armor"] = "steel Buckshot Shells", + ["component_shells_hollowpoint"] = "flechette Shells", + ["component_shells_explosive"] = "explosive Slug Shells", -- Weapon Ammo - ['ammo_rounds'] = "round(s)", - ['ammo_shells'] = "shell(s)", - ['ammo_charge'] = "charge", - ['ammo_petrol'] = "gallons of fuel", - ['ammo_firework'] = "firework(s)", - ['ammo_rockets'] = "rocket(s)", - ['ammo_grenadelauncher'] = "grenade(s)", - ['ammo_grenade'] = "grenade(s)", - ['ammo_stickybomb'] = "bomb(s)", - ['ammo_pipebomb'] = "bomb(s)", - ['ammo_smokebomb'] = "bomb(s)", - ['ammo_molotov'] = "cocktail(s)", - ['ammo_proxmine'] = "mine(s)", - ['ammo_bzgas'] = "can(s)", - ['ammo_ball'] = "ball(s)", - ['ammo_snowball'] = "snowball(s)", - ['ammo_flare'] = "flare(s)", - ['ammo_flaregun'] = "flare(s)", + ["ammo_rounds"] = "round(s)", + ["ammo_shells"] = "shell(s)", + ["ammo_charge"] = "charge", + ["ammo_petrol"] = "gallons of fuel", + ["ammo_firework"] = "firework(s)", + ["ammo_rockets"] = "rocket(s)", + ["ammo_grenadelauncher"] = "grenade(s)", + ["ammo_grenade"] = "grenade(s)", + ["ammo_stickybomb"] = "bomb(s)", + ["ammo_pipebomb"] = "bomb(s)", + ["ammo_smokebomb"] = "bomb(s)", + ["ammo_molotov"] = "cocktail(s)", + ["ammo_proxmine"] = "mine(s)", + ["ammo_bzgas"] = "can(s)", + ["ammo_ball"] = "ball(s)", + ["ammo_snowball"] = "snowball(s)", + ["ammo_flare"] = "flare(s)", + ["ammo_flaregun"] = "flare(s)", -- Weapon Tints - ['tint_default'] = "default skin", - ['tint_green'] = "green skin", - ['tint_gold'] = "gold skin", - ['tint_pink'] = "pink skin", - ['tint_army'] = "army skin", - ['tint_lspd'] = "blue skin", - ['tint_orange'] = "orange skin", - ['tint_platinum'] = "platinum skin", + ["tint_default"] = "default skin", + ["tint_green"] = "green skin", + ["tint_gold"] = "gold skin", + ["tint_pink"] = "pink skin", + ["tint_army"] = "army skin", + ["tint_lspd"] = "blue skin", + ["tint_orange"] = "orange skin", + ["tint_platinum"] = "platinum skin", } diff --git a/[core]/es_extended/locales/de.lua b/[core]/es_extended/locales/de.lua index cc7f8383..7836bea5 100644 --- a/[core]/es_extended/locales/de.lua +++ b/[core]/es_extended/locales/de.lua @@ -1,365 +1,365 @@ -Locales['de'] = { +Locales["de"] = { -- Inventory - ['inventory'] = "Inventar ( Gewicht %s / %s )", - ['use'] = "Benutzen", - ['give'] = "Geben", - ['remove'] = "Entsorgen", - ['return'] = "Zurück", - ['give_to'] = "Geben an", - ['amount'] = "Anzahl", - ['giveammo'] = "Munition geben", - ['amountammo'] = "Munitions Anzahl", - ['noammo'] = "Nicht Genug!", - ['gave_item'] = "Du gibst %sx %s an %s", - ['received_item'] = "Du bekommst %sx %s von %s", - ['gave_weapon'] = "Du gibst %s an %s", - ['gave_weapon_ammo'] = "Du gibst ~o~%sx %s für %s an %s", - ['gave_weapon_withammo'] = "Du gibst %s mit ~o~%sx %s an %s", - ['gave_weapon_hasalready'] = "%s hat bereits %s", - ['gave_weapon_noweapon'] = "%s hat diese Waffe nicht", - ['received_weapon'] = "Du bekommst %s von %s", - ['received_weapon_ammo'] = "Du bekommst ~o~%sx %s für deine %s von %s", - ['received_weapon_withammo'] = "Du bekommst %s mit ~o~%sx %s von %s", - ['received_weapon_hasalready'] = "%s hat versucht dir eine %s zu geben, jedoch hast du diese Waffe bereits!", - ['received_weapon_noweapon'] = "%s hat versucht dir Munition für eine %s zu geben, jedoch hast du diese Waffe bereits!", - ['gave_account_money'] = "Du gibst %s€ (%s) an %s", - ['received_account_money'] = "Du bekommst %s€ (%s) von %s", - ['amount_invalid'] = "Ungültige Anzahl", - ['players_nearby'] = "Keine Personen in der Nähe!", - ['ex_inv_lim'] = "Du kannst diese Aktion nicht ausführen!, Inventarlimit für %s überschritten.", - ['imp_invalid_quantity'] = "Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl!", - ['imp_invalid_amount'] = "Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl", - ['threw_standard'] = "Du entsorgst %sx %s", - ['threw_account'] = "Du Entsorgst %s€ %s", - ['threw_weapon'] = "Du entsorgst %s", - ['threw_weapon_ammo'] = "Du entsorgst %s mit ~o~%sx %s", - ['threw_weapon_already'] = "Du hast diese Waffe bereits!", - ['threw_cannot_pickup'] = "Inventar ist voll! Du kannst dies nicht aufheben", - ['threw_pickup_prompt'] = "Drücke [E] zum aufheben", + ["inventory"] = "Inventar ( Gewicht %s / %s )", + ["use"] = "Benutzen", + ["give"] = "Geben", + ["remove"] = "Entsorgen", + ["return"] = "Zurück", + ["give_to"] = "Geben an", + ["amount"] = "Anzahl", + ["giveammo"] = "Munition geben", + ["amountammo"] = "Munitions Anzahl", + ["noammo"] = "Nicht Genug!", + ["gave_item"] = "Du gibst %sx %s an %s", + ["received_item"] = "Du bekommst %sx %s von %s", + ["gave_weapon"] = "Du gibst %s an %s", + ["gave_weapon_ammo"] = "Du gibst ~o~%sx %s für %s an %s", + ["gave_weapon_withammo"] = "Du gibst %s mit ~o~%sx %s an %s", + ["gave_weapon_hasalready"] = "%s hat bereits %s", + ["gave_weapon_noweapon"] = "%s hat diese Waffe nicht", + ["received_weapon"] = "Du bekommst %s von %s", + ["received_weapon_ammo"] = "Du bekommst ~o~%sx %s für deine %s von %s", + ["received_weapon_withammo"] = "Du bekommst %s mit ~o~%sx %s von %s", + ["received_weapon_hasalready"] = "%s hat versucht dir eine %s zu geben, jedoch hast du diese Waffe bereits!", + ["received_weapon_noweapon"] = "%s hat versucht dir Munition für eine %s zu geben, jedoch hast du diese Waffe bereits!", + ["gave_account_money"] = "Du gibst %s€ (%s) an %s", + ["received_account_money"] = "Du bekommst %s€ (%s) von %s", + ["amount_invalid"] = "Ungültige Anzahl", + ["players_nearby"] = "Keine Personen in der Nähe!", + ["ex_inv_lim"] = "Du kannst diese Aktion nicht ausführen!, Inventarlimit für %s überschritten.", + ["imp_invalid_quantity"] = "Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl!", + ["imp_invalid_amount"] = "Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl", + ["threw_standard"] = "Du entsorgst %sx %s", + ["threw_account"] = "Du Entsorgst %s€ %s", + ["threw_weapon"] = "Du entsorgst %s", + ["threw_weapon_ammo"] = "Du entsorgst %s mit ~o~%sx %s", + ["threw_weapon_already"] = "Du hast diese Waffe bereits!", + ["threw_cannot_pickup"] = "Inventar ist voll! Du kannst dies nicht aufheben", + ["threw_pickup_prompt"] = "Drücke [E] zum aufheben", -- Key mapping - ['keymap_showinventory'] = "Inventar Anzeigen", + ["keymap_showinventory"] = "Inventar Anzeigen", -- Salary related - ['received_salary'] = "Dein Gehaltscheck ist angekommen!: %s€", - ['received_help'] = "Deine Sozialhilfe ist angekommen: %s€", - ['company_nomoney'] = "Die Firma an der du Angestellt bist, ist leider Arm und kann dich nicht bezahlen :(", - ['received_paycheck'] = "Gehaltscheck erhalten", - ['bank'] = "Maze Bank", - ['account_bank'] = "Bank", - ['account_black_money'] = "Schwarzgeld", - ['account_money'] = "Bargeld", + ["received_salary"] = "Dein Gehaltscheck ist angekommen!: %s€", + ["received_help"] = "Deine Sozialhilfe ist angekommen: %s€", + ["company_nomoney"] = "Die Firma an der du Angestellt bist, ist leider Arm und kann dich nicht bezahlen :(", + ["received_paycheck"] = "Gehaltscheck erhalten", + ["bank"] = "Maze Bank", + ["account_bank"] = "Bank", + ["account_black_money"] = "Schwarzgeld", + ["account_money"] = "Bargeld", - ['act_imp'] = "Du kannst diese Aktion nicht ausführen!", - ['in_vehicle'] = "Du kannst diese Aktion nicht ausführen! Person ist in einem Fahrzeug", + ["act_imp"] = "Du kannst diese Aktion nicht ausführen!", + ["in_vehicle"] = "Du kannst diese Aktion nicht ausführen! Person ist in einem Fahrzeug", -- Commands - ['command_bring'] = "Person zu dir bringen", - ['command_car'] = "Fahrzeug Spawnen", - ['command_car_car'] = "Fahrzeug Model oder Hash", - ['command_cardel'] = "Fahrzeuge entfernen", - ['command_cardel_radius'] = "Entfernt alle Fahrzeuge in einem bestimmten Radius", - ['command_clear'] = "Textchat leeren", - ['command_clearall'] = "Textchat leeren für alle Spieler leeren", - ['command_clearinventory'] = "Alle Items von dem Inventar eines Spielers entfernen", - ['command_clearloadout'] = "Alle waffen von dem Spieler Loadout entfernen", - ['command_freeze'] = "Spieler Freezen", - ['command_unfreeze'] = "Spieler Entfreezen", - ['command_giveaccountmoney'] = "Geld an einen bestimmten Account geben", - ['command_giveaccountmoney_account'] = "Account wohin das Geld hinzugefügt werden soll", - ['command_giveaccountmoney_amount'] = "Anzahl zum hinzufügen", - ['command_giveaccountmoney_invalid'] = "Accountname Ungültig", - ['command_giveitem'] = "Spieler ein item geben", - ['command_giveitem_item'] = "Item Name", - ['command_giveitem_count'] = "Anzahl", - ['command_giveweapon'] = "Spieler eine Waffe geben", - ['command_giveweapon_weapon'] = "Waffenname", - ['command_giveweapon_ammo'] = "Munitionsanzahl", - ['command_giveweapon_hasalready'] = "Spieler hat bereits diese Waffe", - ['command_giveweaponcomponent'] = "Waffenkomponent an einen Spieler geben", - ['command_giveweaponcomponent_component'] = "Komponent Name", - ['command_giveweaponcomponent_invalid'] = "Ungültiger Komponent Name", - ['command_giveweaponcomponent_hasalready'] = "Spieler hat bereits diesen Komponent", - ['command_giveweaponcomponent_missingweapon'] = "Spieler hat diese Waffe nicht", - ['command_goto'] = "Teleportiere dich zu einem Spieler", - ['command_kill'] = "Spieler Töten", - ['command_save'] = "Von einem bestimmten Spieler die Spielerdaten Speichern", - ['command_saveall'] = "Von allen Spielern die Spielerdaten Speichern", - ['command_setaccountmoney'] = "Geld auf einem bestimmten Account setzen", - ['command_setaccountmoney_amount'] = "Anzahl", - ['command_setcoords'] = "Zu den bestimmten Koordinaten teleportieren", - ['command_setcoords_x'] = "X Koordinate", - ['command_setcoords_y'] = "Y Koordinate", - ['command_setcoords_z'] = "Z Koordinate", - ['command_setjob'] = "Job eines Spielers setzen", - ['command_setjob_job'] = "Name", - ['command_setjob_grade'] = "Job Grad", - ['command_setjob_invalid'] = "Der Job Grad oder beides sind ungültig", - ['command_setgroup'] = "Setzt eine Berechtigungs Gruppe für einen User", - ['command_setgroup_group'] = "Name der Gruppe", - ['commanderror_argumentmismatch'] = "Ungültiger Argument (gegeben %s, gewollt %s)", - ['commanderror_argumentmismatch_number'] = "Ungültiges Argument #%s daten typ (string gegeben, gewollte nummer)", - ['commanderror_invaliditem'] = "Ungültiges Item", - ['commanderror_invalidweapon'] = "Ungültige Waffe", - ['commanderror_console'] = "Befehl kann nicht von der Konsole aus ausgeführt werden", - ['commanderror_invalidcommand'] = "Ungültiger Befehl - /%s", - ['commanderror_invalidplayerid'] = "Angegebener Spieler ist nicht online!", - ['commandgeneric_playerid'] = "Spieler`s ID", - ['command_giveammo_noweapon_found'] = "%s besitzt diese Waffe nicht", - ['command_giveammo_weapon'] = "Waffenname", - ['command_giveammo_ammo'] = "Munitionsanzahl", - ['tpm_nowaypoint'] = "Kein Wegpunkt gesetzt.", - ['tpm_success'] = "Erfolgreich teleportiert", + ["command_bring"] = "Person zu dir bringen", + ["command_car"] = "Fahrzeug Spawnen", + ["command_car_car"] = "Fahrzeug Model oder Hash", + ["command_cardel"] = "Fahrzeuge entfernen", + ["command_cardel_radius"] = "Entfernt alle Fahrzeuge in einem bestimmten Radius", + ["command_clear"] = "Textchat leeren", + ["command_clearall"] = "Textchat leeren für alle Spieler leeren", + ["command_clearinventory"] = "Alle Items von dem Inventar eines Spielers entfernen", + ["command_clearloadout"] = "Alle waffen von dem Spieler Loadout entfernen", + ["command_freeze"] = "Spieler Freezen", + ["command_unfreeze"] = "Spieler Entfreezen", + ["command_giveaccountmoney"] = "Geld an einen bestimmten Account geben", + ["command_giveaccountmoney_account"] = "Account wohin das Geld hinzugefügt werden soll", + ["command_giveaccountmoney_amount"] = "Anzahl zum hinzufügen", + ["command_giveaccountmoney_invalid"] = "Accountname Ungültig", + ["command_giveitem"] = "Spieler ein item geben", + ["command_giveitem_item"] = "Item Name", + ["command_giveitem_count"] = "Anzahl", + ["command_giveweapon"] = "Spieler eine Waffe geben", + ["command_giveweapon_weapon"] = "Waffenname", + ["command_giveweapon_ammo"] = "Munitionsanzahl", + ["command_giveweapon_hasalready"] = "Spieler hat bereits diese Waffe", + ["command_giveweaponcomponent"] = "Waffenkomponent an einen Spieler geben", + ["command_giveweaponcomponent_component"] = "Komponent Name", + ["command_giveweaponcomponent_invalid"] = "Ungültiger Komponent Name", + ["command_giveweaponcomponent_hasalready"] = "Spieler hat bereits diesen Komponent", + ["command_giveweaponcomponent_missingweapon"] = "Spieler hat diese Waffe nicht", + ["command_goto"] = "Teleportiere dich zu einem Spieler", + ["command_kill"] = "Spieler Töten", + ["command_save"] = "Von einem bestimmten Spieler die Spielerdaten Speichern", + ["command_saveall"] = "Von allen Spielern die Spielerdaten Speichern", + ["command_setaccountmoney"] = "Geld auf einem bestimmten Account setzen", + ["command_setaccountmoney_amount"] = "Anzahl", + ["command_setcoords"] = "Zu den bestimmten Koordinaten teleportieren", + ["command_setcoords_x"] = "X Koordinate", + ["command_setcoords_y"] = "Y Koordinate", + ["command_setcoords_z"] = "Z Koordinate", + ["command_setjob"] = "Job eines Spielers setzen", + ["command_setjob_job"] = "Name", + ["command_setjob_grade"] = "Job Grad", + ["command_setjob_invalid"] = "Der Job Grad oder beides sind ungültig", + ["command_setgroup"] = "Setzt eine Berechtigungs Gruppe für einen User", + ["command_setgroup_group"] = "Name der Gruppe", + ["commanderror_argumentmismatch"] = "Ungültiger Argument (gegeben %s, gewollt %s)", + ["commanderror_argumentmismatch_number"] = "Ungültiges Argument #%s daten typ (string gegeben, gewollte nummer)", + ["commanderror_invaliditem"] = "Ungültiges Item", + ["commanderror_invalidweapon"] = "Ungültige Waffe", + ["commanderror_console"] = "Befehl kann nicht von der Konsole aus ausgeführt werden", + ["commanderror_invalidcommand"] = "Ungültiger Befehl - /%s", + ["commanderror_invalidplayerid"] = "Angegebener Spieler ist nicht online!", + ["commandgeneric_playerid"] = "Spieler`s ID", + ["command_giveammo_noweapon_found"] = "%s besitzt diese Waffe nicht", + ["command_giveammo_weapon"] = "Waffenname", + ["command_giveammo_ammo"] = "Munitionsanzahl", + ["tpm_nowaypoint"] = "Kein Wegpunkt gesetzt.", + ["tpm_success"] = "Erfolgreich teleportiert", - ['noclip_message'] = "Noclip wurde %s", - ['enabled'] = "~g~Aktiviert~s~", - ['disabled'] = "~r~Deaktiviert~s~", + ["noclip_message"] = "Noclip wurde %s", + ["enabled"] = "~g~Aktiviert~s~", + ["disabled"] = "~r~Deaktiviert~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ",", - ['locale_currency'] = "%s€", + ["locale_digit_grouping_symbol"] = ",", + ["locale_currency"] = "%s€", -- Weapons -- Melee - ['weapon_dagger'] = "Dolch", - ['weapon_bat'] = "Baseballschläger", - ['weapon_battleaxe'] = "Kampfaxt", - ['weapon_bottle'] = "Flasche", - ['weapon_crowbar'] = "Brechstange", - ['weapon_flashlight'] = "Taschenlampe", - ['weapon_golfclub'] = "Golfschläger", - ['weapon_hammer'] = "Hammer", - ['weapon_hatchet'] = "Beil", - ['weapon_knife'] = "Messer", - ['weapon_knuckle'] = "Schlagring", - ['weapon_machete'] = "Machete", - ['weapon_nightstick'] = "Schlagstock", - ['weapon_wrench'] = "Rohrzange", - ['weapon_poolcue'] = "Billiardstange", - ['weapon_stone_hatchet'] = "Steinbeil", - ['weapon_switchblade'] = "Springmesser", + ["weapon_dagger"] = "Dolch", + ["weapon_bat"] = "Baseballschläger", + ["weapon_battleaxe"] = "Kampfaxt", + ["weapon_bottle"] = "Flasche", + ["weapon_crowbar"] = "Brechstange", + ["weapon_flashlight"] = "Taschenlampe", + ["weapon_golfclub"] = "Golfschläger", + ["weapon_hammer"] = "Hammer", + ["weapon_hatchet"] = "Beil", + ["weapon_knife"] = "Messer", + ["weapon_knuckle"] = "Schlagring", + ["weapon_machete"] = "Machete", + ["weapon_nightstick"] = "Schlagstock", + ["weapon_wrench"] = "Rohrzange", + ["weapon_poolcue"] = "Billiardstange", + ["weapon_stone_hatchet"] = "Steinbeil", + ["weapon_switchblade"] = "Springmesser", -- Handguns - ['weapon_appistol'] = "AP Pistole", - ['weapon_ceramicpistol'] = "Keramikpistole", - ['weapon_combatpistol'] = "Kampfpistole", - ['weapon_doubleaction'] = "Double-Action Revolver", - ['weapon_navyrevolver'] = "Navy Revolver", - ['weapon_flaregun'] = "Flaregun", - ['weapon_gadgetpistol'] = "Gadgetpistole", - ['weapon_heavypistol'] = "Schwere Pistole", - ['weapon_revolver'] = "Schwerer Revolver", - ['weapon_revolver_mk2'] = "Schwerer Revolver MK2", - ['weapon_marksmanpistol'] = "Scharfschützen Pistole", - ['weapon_pistol'] = "Pistole", - ['weapon_pistol_mk2'] = "Pistole MK2", - ['weapon_pistol50'] = "Pistole 50 Kaliber", - ['weapon_snspistol'] = "SNS Pistol", - ['weapon_snspistol_mk2'] = "SNS Pistol MK2", - ['weapon_stungun'] = "Taser", - ['weapon_raypistol'] = "Up-N-Atomizer", - ['weapon_vintagepistol'] = "Vintagepistole", + ["weapon_appistol"] = "AP Pistole", + ["weapon_ceramicpistol"] = "Keramikpistole", + ["weapon_combatpistol"] = "Kampfpistole", + ["weapon_doubleaction"] = "Double-Action Revolver", + ["weapon_navyrevolver"] = "Navy Revolver", + ["weapon_flaregun"] = "Flaregun", + ["weapon_gadgetpistol"] = "Gadgetpistole", + ["weapon_heavypistol"] = "Schwere Pistole", + ["weapon_revolver"] = "Schwerer Revolver", + ["weapon_revolver_mk2"] = "Schwerer Revolver MK2", + ["weapon_marksmanpistol"] = "Scharfschützen Pistole", + ["weapon_pistol"] = "Pistole", + ["weapon_pistol_mk2"] = "Pistole MK2", + ["weapon_pistol50"] = "Pistole 50 Kaliber", + ["weapon_snspistol"] = "SNS Pistol", + ["weapon_snspistol_mk2"] = "SNS Pistol MK2", + ["weapon_stungun"] = "Taser", + ["weapon_raypistol"] = "Up-N-Atomizer", + ["weapon_vintagepistol"] = "Vintagepistole", -- Shotguns - ['weapon_assaultshotgun'] = "Sturmschrotflinte", - ['weapon_autoshotgun'] = "Automatische Schrotflinte", - ['weapon_bullpupshotgun'] = "Bullpup-Schrotflinte", - ['weapon_combatshotgun'] = "Kampfschrotfline", - ['weapon_dbshotgun'] = "Doppelbarrel Schrotflinte", - ['weapon_heavyshotgun'] = "Schwere Schrotflinte", - ['weapon_musket'] = "Muskete", - ['weapon_pumpshotgun'] = "Pump Schrotflinte", - ['weapon_pumpshotgun_mk2'] = "Pump Schrotflinte MK2", - ['weapon_sawnoffshotgun'] = "Abgesägte Schrotflinte", + ["weapon_assaultshotgun"] = "Sturmschrotflinte", + ["weapon_autoshotgun"] = "Automatische Schrotflinte", + ["weapon_bullpupshotgun"] = "Bullpup-Schrotflinte", + ["weapon_combatshotgun"] = "Kampfschrotfline", + ["weapon_dbshotgun"] = "Doppelbarrel Schrotflinte", + ["weapon_heavyshotgun"] = "Schwere Schrotflinte", + ["weapon_musket"] = "Muskete", + ["weapon_pumpshotgun"] = "Pump Schrotflinte", + ["weapon_pumpshotgun_mk2"] = "Pump Schrotflinte MK2", + ["weapon_sawnoffshotgun"] = "Abgesägte Schrotflinte", -- SMG & LMG - ['weapon_assaultsmg'] = "Sturm SMG", - ['weapon_combatmg'] = "Kampf MG", - ['weapon_combatmg_mk2'] = "Kampf MG MK2", - ['weapon_combatpdw'] = "Kampf PDW", - ['weapon_gusenberg'] = "Gusenberg Sweeper", - ['weapon_machinepistol'] = "Maschinenpistole", - ['weapon_mg'] = "MG", - ['weapon_microsmg'] = "Mikro SMG", - ['weapon_minismg'] = "Mini SMG", - ['weapon_smg'] = "SMG", - ['weapon_smg_mk2'] = "SMG MK2", - ['weapon_raycarbine'] = "Unheiliger Höllenbringer", + ["weapon_assaultsmg"] = "Sturm SMG", + ["weapon_combatmg"] = "Kampf MG", + ["weapon_combatmg_mk2"] = "Kampf MG MK2", + ["weapon_combatpdw"] = "Kampf PDW", + ["weapon_gusenberg"] = "Gusenberg Sweeper", + ["weapon_machinepistol"] = "Maschinenpistole", + ["weapon_mg"] = "MG", + ["weapon_microsmg"] = "Mikro SMG", + ["weapon_minismg"] = "Mini SMG", + ["weapon_smg"] = "SMG", + ["weapon_smg_mk2"] = "SMG MK2", + ["weapon_raycarbine"] = "Unheiliger Höllenbringer", -- Rifles - ['weapon_advancedrifle'] = "Fortgeschrittenes Gewehr", - ['weapon_assaultrifle'] = "Sturmgewehr", - ['weapon_assaultrifle_mk2'] = "Sturmgewehr MK2", - ['weapon_bullpuprifle'] = "Bullpup Gewehr", - ['weapon_bullpuprifle_mk2'] = "Bullpup Gewehr MK2", - ['weapon_carbinerifle'] = "Karabinergewehr", - ['weapon_carbinerifle_mk2'] = "Karabinergewehr MK2", - ['weapon_compactrifle'] = "Kompaktesgewehr", - ['weapon_militaryrifle'] = "Militärgewehr", - ['weapon_specialcarbine'] = "Spezialkarabiner", - ['weapon_specialcarbine_mk2'] = "Spezialkarabiner MK2", + ["weapon_advancedrifle"] = "Fortgeschrittenes Gewehr", + ["weapon_assaultrifle"] = "Sturmgewehr", + ["weapon_assaultrifle_mk2"] = "Sturmgewehr MK2", + ["weapon_bullpuprifle"] = "Bullpup Gewehr", + ["weapon_bullpuprifle_mk2"] = "Bullpup Gewehr MK2", + ["weapon_carbinerifle"] = "Karabinergewehr", + ["weapon_carbinerifle_mk2"] = "Karabinergewehr MK2", + ["weapon_compactrifle"] = "Kompaktesgewehr", + ["weapon_militaryrifle"] = "Militärgewehr", + ["weapon_specialcarbine"] = "Spezialkarabiner", + ["weapon_specialcarbine_mk2"] = "Spezialkarabiner MK2", -- Sniper - ['weapon_heavysniper'] = "Schwere Sniper", - ['weapon_heavysniper_mk2'] = "Schwere Sniper MK2", - ['weapon_marksmanrifle'] = "Scharfschützengewehr", - ['weapon_marksmanrifle_mk2'] = "Scharfschützengewehr MK2", - ['weapon_sniperrifle'] = "Sniper", + ["weapon_heavysniper"] = "Schwere Sniper", + ["weapon_heavysniper_mk2"] = "Schwere Sniper MK2", + ["weapon_marksmanrifle"] = "Scharfschützengewehr", + ["weapon_marksmanrifle_mk2"] = "Scharfschützengewehr MK2", + ["weapon_sniperrifle"] = "Sniper", -- Heavy / Launchers - ['weapon_compactlauncher'] = "Kompaktlauncher", - ['weapon_firework'] = "Feuerwerklauncher", - ['weapon_grenadelauncher'] = "Granatwerfer", - ['weapon_hominglauncher'] = "Lenkraketenwerfer", - ['weapon_minigun'] = "Minigun", - ['weapon_railgun'] = "Railgun", - ['weapon_rpg'] = "Raketenwerfer", - ['weapon_rayminigun'] = "Witwenmacher", + ["weapon_compactlauncher"] = "Kompaktlauncher", + ["weapon_firework"] = "Feuerwerklauncher", + ["weapon_grenadelauncher"] = "Granatwerfer", + ["weapon_hominglauncher"] = "Lenkraketenwerfer", + ["weapon_minigun"] = "Minigun", + ["weapon_railgun"] = "Railgun", + ["weapon_rpg"] = "Raketenwerfer", + ["weapon_rayminigun"] = "Witwenmacher", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = "Metalldetektor", - ['weapon_precisionrifle'] = "Präzisionsgewehr", - ['weapon_tactilerifle'] = "Service Karabiner", + ["weapon_metaldetector"] = "Metalldetektor", + ["weapon_precisionrifle"] = "Präzisionsgewehr", + ["weapon_tactilerifle"] = "Service Karabiner", -- Thrown - ['weapon_ball'] = "Baseball", - ['weapon_bzgas'] = "BZ Gas", - ['weapon_flare'] = "Leuchtfackel", - ['weapon_grenade'] = "Granate", - ['weapon_petrolcan'] = "Benzinkanister", - ['weapon_hazardcan'] = "Gefährliche Kanister", - ['weapon_molotov'] = "Molotov Cocktail", - ['weapon_proxmine'] = "Annährungsmine", - ['weapon_pipebomb'] = "Rohrbombe", - ['weapon_snowball'] = "Schneeball", - ['weapon_stickybomb'] = "Haftbombe", - ['weapon_smokegrenade'] = "Tränengas", + ["weapon_ball"] = "Baseball", + ["weapon_bzgas"] = "BZ Gas", + ["weapon_flare"] = "Leuchtfackel", + ["weapon_grenade"] = "Granate", + ["weapon_petrolcan"] = "Benzinkanister", + ["weapon_hazardcan"] = "Gefährliche Kanister", + ["weapon_molotov"] = "Molotov Cocktail", + ["weapon_proxmine"] = "Annährungsmine", + ["weapon_pipebomb"] = "Rohrbombe", + ["weapon_snowball"] = "Schneeball", + ["weapon_stickybomb"] = "Haftbombe", + ["weapon_smokegrenade"] = "Tränengas", -- Special - ['weapon_fireextinguisher'] = "Feuerlöscher", - ['weapon_digiscanner'] = "Digitalscanner", - ['weapon_garbagebag'] = "Müllsack", - ['weapon_handcuffs'] = "Handschelle", - ['gadget_nightvision'] = "Nachtsicht", - ['gadget_parachute'] = "Fallschirm", + ["weapon_fireextinguisher"] = "Feuerlöscher", + ["weapon_digiscanner"] = "Digitalscanner", + ["weapon_garbagebag"] = "Müllsack", + ["weapon_handcuffs"] = "Handschelle", + ["gadget_nightvision"] = "Nachtsicht", + ["gadget_parachute"] = "Fallschirm", -- Weapon Components - ['component_knuckle_base'] = "Basismodell", - ['component_knuckle_pimp'] = "Der Pimp", - ['component_knuckle_ballas'] = "Die Ballas", - ['component_knuckle_dollar'] = "Der Hustler", - ['component_knuckle_diamond'] = "Der Stein", - ['component_knuckle_hate'] = "Der Hater", - ['component_knuckle_love'] = "Der Lover", - ['component_knuckle_player'] = "Der Player", - ['component_knuckle_king'] = "Der King", - ['component_knuckle_vagos'] = "Die Vagos", + ["component_knuckle_base"] = "Basismodell", + ["component_knuckle_pimp"] = "Der Pimp", + ["component_knuckle_ballas"] = "Die Ballas", + ["component_knuckle_dollar"] = "Der Hustler", + ["component_knuckle_diamond"] = "Der Stein", + ["component_knuckle_hate"] = "Der Hater", + ["component_knuckle_love"] = "Der Lover", + ["component_knuckle_player"] = "Der Player", + ["component_knuckle_king"] = "Der King", + ["component_knuckle_vagos"] = "Die Vagos", - ['component_luxary_finish'] = "Luxuswaffenlackierung", + ["component_luxary_finish"] = "Luxuswaffenlackierung", - ['component_handle_default'] = "Normaler Handgriff", - ['component_handle_vip'] = "VIP Handgriff", - ['component_handle_bodyguard'] = "Bodyguard Handgriff", + ["component_handle_default"] = "Normaler Handgriff", + ["component_handle_vip"] = "VIP Handgriff", + ["component_handle_bodyguard"] = "Bodyguard Handgriff", - ['component_vip_finish'] = "VIP Lackierung", - ['component_bodyguard_finish'] = "Bodyguard Lackierung", + ["component_vip_finish"] = "VIP Lackierung", + ["component_bodyguard_finish"] = "Bodyguard Lackierung", - ['component_camo_finish'] = "Digitales Camouflage", - ['component_camo_finish2'] = "Pinselstrich Camouflage", - ['component_camo_finish3'] = "Holzland Camouflage", - ['component_camo_finish4'] = "Kopf Camouflage", - ['component_camo_finish5'] = "Sessebta-Nove Camouflage", - ['component_camo_finish6'] = "Perseus Camouflage", - ['component_camo_finish7'] = "Leopard Camouflage", - ['component_camo_finish8'] = "Zebra Camouflage", - ['component_camo_finish9'] = "Geometrisch Camouflage", - ['component_camo_finish10'] = "BOOM Camouflage", - ['component_camo_finish11'] = "Patriotisch Camouflage", + ["component_camo_finish"] = "Digitales Camouflage", + ["component_camo_finish2"] = "Pinselstrich Camouflage", + ["component_camo_finish3"] = "Holzland Camouflage", + ["component_camo_finish4"] = "Kopf Camouflage", + ["component_camo_finish5"] = "Sessebta-Nove Camouflage", + ["component_camo_finish6"] = "Perseus Camouflage", + ["component_camo_finish7"] = "Leopard Camouflage", + ["component_camo_finish8"] = "Zebra Camouflage", + ["component_camo_finish9"] = "Geometrisch Camouflage", + ["component_camo_finish10"] = "BOOM Camouflage", + ["component_camo_finish11"] = "Patriotisch Camouflage", - ['component_camo_slide_finish'] = "Digital Rutschen Camouflage", - ['component_camo_slide_finish2'] = "Pinselstrich Rutschen Camouflage", - ['component_camo_slide_finish3'] = "Holzland Rutschen Camouflage", - ['component_camo_slide_finish4'] = "Kopf Rutschen Camouflage", - ['component_camo_slide_finish5'] = "Sessebta-Nove Nove Rutschen Camouflage", - ['component_camo_slide_finish6'] = "Perseus Rutschen Camouflage", - ['component_camo_slide_finish7'] = "Leopard Rutschen Camouflage", - ['component_camo_slide_finish8'] = "Zebra Rutschen Camouflage", - ['component_camo_slide_finish9'] = "Geometrisch Rutschen Camouflage", - ['component_camo_slide_finish10'] = "BOOM Rutschen Camouflage", - ['component_camo_slide_finish11'] = "Patriotisch Rutschen Camouflage", + ["component_camo_slide_finish"] = "Digital Rutschen Camouflage", + ["component_camo_slide_finish2"] = "Pinselstrich Rutschen Camouflage", + ["component_camo_slide_finish3"] = "Holzland Rutschen Camouflage", + ["component_camo_slide_finish4"] = "Kopf Rutschen Camouflage", + ["component_camo_slide_finish5"] = "Sessebta-Nove Nove Rutschen Camouflage", + ["component_camo_slide_finish6"] = "Perseus Rutschen Camouflage", + ["component_camo_slide_finish7"] = "Leopard Rutschen Camouflage", + ["component_camo_slide_finish8"] = "Zebra Rutschen Camouflage", + ["component_camo_slide_finish9"] = "Geometrisch Rutschen Camouflage", + ["component_camo_slide_finish10"] = "BOOM Rutschen Camouflage", + ["component_camo_slide_finish11"] = "Patriotisch Rutschen Camouflage", - ['component_clip_default'] = "Standart Magazin", - ['component_clip_extended'] = "Erweiterters Magazin", - ['component_clip_drum'] = "Trommelmagazin", - ['component_clip_box'] = "Kastenmagazin", + ["component_clip_default"] = "Standart Magazin", + ["component_clip_extended"] = "Erweiterters Magazin", + ["component_clip_drum"] = "Trommelmagazin", + ["component_clip_box"] = "Kastenmagazin", - ['component_scope_holo'] = "Holographisches Zielfernrohr", - ['component_scope_small'] = "Kleines Zielfernrohr", - ['component_scope_medium'] = "Mittleres Zielfernrohr", - ['component_scope_large'] = "Großes Zielfernrohr", - ['component_scope'] = "Montiertes Zielfernrohr", - ['component_scope_advanced'] = "Fortgeschrittenes Zielfernrohr", - ['component_ironsights'] = "Ironsights", + ["component_scope_holo"] = "Holographisches Zielfernrohr", + ["component_scope_small"] = "Kleines Zielfernrohr", + ["component_scope_medium"] = "Mittleres Zielfernrohr", + ["component_scope_large"] = "Großes Zielfernrohr", + ["component_scope"] = "Montiertes Zielfernrohr", + ["component_scope_advanced"] = "Fortgeschrittenes Zielfernrohr", + ["component_ironsights"] = "Ironsights", - ['component_suppressor'] = "Entstörer", - ['component_compensator'] = "Kompensator", + ["component_suppressor"] = "Entstörer", + ["component_compensator"] = "Kompensator", - ['component_muzzle_flat'] = "Flache Mündung", - ['component_muzzle_tactical'] = "Taktische Mündung", - ['component_muzzle_fat'] = "Fettes-Ende Mündung", - ['component_muzzle_precision'] = "Präzision Mündung", - ['component_muzzle_heavy'] = "Schwere Mündung", - ['component_muzzle_slanted'] = "Schräge Mündung", - ['component_muzzle_split'] = "Geteiletes-Ende Mündung", - ['component_muzzle_squared'] = "Quadratische Mündung", + ["component_muzzle_flat"] = "Flache Mündung", + ["component_muzzle_tactical"] = "Taktische Mündung", + ["component_muzzle_fat"] = "Fettes-Ende Mündung", + ["component_muzzle_precision"] = "Präzision Mündung", + ["component_muzzle_heavy"] = "Schwere Mündung", + ["component_muzzle_slanted"] = "Schräge Mündung", + ["component_muzzle_split"] = "Geteiletes-Ende Mündung", + ["component_muzzle_squared"] = "Quadratische Mündung", - ['component_flashlight'] = "Taschenlampe", - ['component_grip'] = "Grip", + ["component_flashlight"] = "Taschenlampe", + ["component_grip"] = "Grip", - ['component_barrel_default'] = "Normales Fass", - ['component_barrel_heavy'] = "Schweres Fass", + ["component_barrel_default"] = "Normales Fass", + ["component_barrel_heavy"] = "Schweres Fass", - ['component_ammo_tracer'] = "Tracer Munition", - ['component_ammo_incendiary'] = "Aufruhr Munition", - ['component_ammo_hollowpoint'] = "Hohlspitze Munition", - ['component_ammo_fmj'] = "FMJ Munition", - ['component_ammo_armor'] = "Panzerbrechende Munition", - ['component_ammo_explosive'] = "Panzerbrechende brennende Munition", + ["component_ammo_tracer"] = "Tracer Munition", + ["component_ammo_incendiary"] = "Aufruhr Munition", + ["component_ammo_hollowpoint"] = "Hohlspitze Munition", + ["component_ammo_fmj"] = "FMJ Munition", + ["component_ammo_armor"] = "Panzerbrechende Munition", + ["component_ammo_explosive"] = "Panzerbrechende brennende Munition", - ['component_shells_default'] = "Normale Hülsen", - ['component_shells_incendiary'] = "Drachenatem Hülsen", - ['component_shells_armor'] = "Stahlschrot Hülsen", - ['component_shells_hollowpoint'] = "Flechette Hülsen", - ['component_shells_explosive'] = "Explosives Geschoss Hülsen", + ["component_shells_default"] = "Normale Hülsen", + ["component_shells_incendiary"] = "Drachenatem Hülsen", + ["component_shells_armor"] = "Stahlschrot Hülsen", + ["component_shells_hollowpoint"] = "Flechette Hülsen", + ["component_shells_explosive"] = "Explosives Geschoss Hülsen", -- Weapon Ammo - ['ammo_rounds'] = "Kugel(n)", - ['ammo_shells'] = "Schrotpatrone(n)", - ['ammo_charge'] = "Nachladen", - ['ammo_petrol'] = "Benzinkanister", - ['ammo_firework'] = "Feuerwerksrakete(n)", - ['ammo_rockets'] = "Rakete(n)", - ['ammo_grenadelauncher'] = "Granate(n)", - ['ammo_grenade'] = "Granate(n)", - ['ammo_stickybomb'] = "C4(s)", - ['ammo_pipebomb'] = "Rohrbombe(n)", - ['ammo_smokebomb'] = "Rauchgranate(n)", - ['ammo_molotov'] = "Molotovcocktail(s)", - ['ammo_proxmine'] = "Annäherungsmine(n)", - ['ammo_bzgas'] = "Bzgas", - ['ammo_ball'] = "Ball", - ['ammo_snowball'] = "Schneebälle", - ['ammo_flare'] = "Signalfackel(n)", - ['ammo_flaregun'] = "Signalfackeln(munition)", + ["ammo_rounds"] = "Kugel(n)", + ["ammo_shells"] = "Schrotpatrone(n)", + ["ammo_charge"] = "Nachladen", + ["ammo_petrol"] = "Benzinkanister", + ["ammo_firework"] = "Feuerwerksrakete(n)", + ["ammo_rockets"] = "Rakete(n)", + ["ammo_grenadelauncher"] = "Granate(n)", + ["ammo_grenade"] = "Granate(n)", + ["ammo_stickybomb"] = "C4(s)", + ["ammo_pipebomb"] = "Rohrbombe(n)", + ["ammo_smokebomb"] = "Rauchgranate(n)", + ["ammo_molotov"] = "Molotovcocktail(s)", + ["ammo_proxmine"] = "Annäherungsmine(n)", + ["ammo_bzgas"] = "Bzgas", + ["ammo_ball"] = "Ball", + ["ammo_snowball"] = "Schneebälle", + ["ammo_flare"] = "Signalfackel(n)", + ["ammo_flaregun"] = "Signalfackeln(munition)", -- Weapon Tints - ['tint_default'] = "Standard", - ['tint_green'] = "Grün", - ['tint_gold'] = "Gold", - ['tint_pink'] = "Pink", - ['tint_army'] = "Camouflage", - ['tint_lspd'] = "Blau", - ['tint_orange'] = "Orange", - ['tint_platinum'] = "Platin", + ["tint_default"] = "Standard", + ["tint_green"] = "Grün", + ["tint_gold"] = "Gold", + ["tint_pink"] = "Pink", + ["tint_army"] = "Camouflage", + ["tint_lspd"] = "Blau", + ["tint_orange"] = "Orange", + ["tint_platinum"] = "Platin", } diff --git a/[core]/es_extended/locales/en.lua b/[core]/es_extended/locales/en.lua index ecaac0dd..33e9373b 100644 --- a/[core]/es_extended/locales/en.lua +++ b/[core]/es_extended/locales/en.lua @@ -1,365 +1,365 @@ -Locales['en'] = { +Locales["en"] = { -- Inventory - ['inventory'] = "Inventory ( Weight %s / %s )", - ['use'] = "Use", - ['give'] = "Give", - ['remove'] = "Throw", - ['return'] = "Return", - ['give_to'] = "Give to", - ['amount'] = "Amount", - ['giveammo'] = "Give ammo", - ['amountammo'] = "Ammo Amount", - ['noammo'] = "Not Enough!", - ['gave_item'] = "Giving %sx %s to %s", - ['received_item'] = "Received %sx %s from %s", - ['gave_weapon'] = "Giving %s to %s", - ['gave_weapon_ammo'] = "Giving ~o~%sx %s for %s to %s", - ['gave_weapon_withammo'] = "Giving %s with ~o~%sx %s to %s", - ['gave_weapon_hasalready'] = "%s already has a %s", - ['gave_weapon_noweapon'] = "%s does not have that weapon", - ['received_weapon'] = "Received %s from %s", - ['received_weapon_ammo'] = "Received ~o~%sx %s for your %s from %s", - ['received_weapon_withammo'] = "Received %s with ~o~%sx %s from %s", - ['received_weapon_hasalready'] = "%s has attempted to give you a %s, but you already this weapon", - ['received_weapon_noweapon'] = "%s has attempted to give you ammo for a %s, but you do not have this weapon", - ['gave_account_money'] = "Giving $%s (%s) to %s", - ['received_account_money'] = "Received $%s (%s) from %s", - ['amount_invalid'] = "Invalid quantity", - ['players_nearby'] = "No nearby Players", - ['ex_inv_lim'] = "Cannot perfom action,exceeding max weight of %s", - ['imp_invalid_quantity'] = "Cannot perfom action, the quantity is invalid", - ['imp_invalid_amount'] = "Cannot perfom action, the amount is invalid", - ['threw_standard'] = "Throwing %sx %s", - ['threw_account'] = "Throwing $%s %s", - ['threw_weapon'] = "Throwing %s", - ['threw_weapon_ammo'] = "Throwing %s with ~o~%sx %s", - ['threw_weapon_already'] = "You already have this weapon", - ['threw_cannot_pickup'] = "Inventory is full, Cannot Pickup!", - ['threw_pickup_prompt'] = "Press E to Pickup", + ["inventory"] = "Inventory ( Weight %s / %s )", + ["use"] = "Use", + ["give"] = "Give", + ["remove"] = "Throw", + ["return"] = "Return", + ["give_to"] = "Give to", + ["amount"] = "Amount", + ["giveammo"] = "Give ammo", + ["amountammo"] = "Ammo Amount", + ["noammo"] = "Not Enough!", + ["gave_item"] = "Giving %sx %s to %s", + ["received_item"] = "Received %sx %s from %s", + ["gave_weapon"] = "Giving %s to %s", + ["gave_weapon_ammo"] = "Giving ~o~%sx %s for %s to %s", + ["gave_weapon_withammo"] = "Giving %s with ~o~%sx %s to %s", + ["gave_weapon_hasalready"] = "%s already has a %s", + ["gave_weapon_noweapon"] = "%s does not have that weapon", + ["received_weapon"] = "Received %s from %s", + ["received_weapon_ammo"] = "Received ~o~%sx %s for your %s from %s", + ["received_weapon_withammo"] = "Received %s with ~o~%sx %s from %s", + ["received_weapon_hasalready"] = "%s has attempted to give you a %s, but you already this weapon", + ["received_weapon_noweapon"] = "%s has attempted to give you ammo for a %s, but you do not have this weapon", + ["gave_account_money"] = "Giving $%s (%s) to %s", + ["received_account_money"] = "Received $%s (%s) from %s", + ["amount_invalid"] = "Invalid quantity", + ["players_nearby"] = "No nearby Players", + ["ex_inv_lim"] = "Cannot perfom action,exceeding max weight of %s", + ["imp_invalid_quantity"] = "Cannot perfom action, the quantity is invalid", + ["imp_invalid_amount"] = "Cannot perfom action, the amount is invalid", + ["threw_standard"] = "Throwing %sx %s", + ["threw_account"] = "Throwing $%s %s", + ["threw_weapon"] = "Throwing %s", + ["threw_weapon_ammo"] = "Throwing %s with ~o~%sx %s", + ["threw_weapon_already"] = "You already have this weapon", + ["threw_cannot_pickup"] = "Inventory is full, Cannot Pickup!", + ["threw_pickup_prompt"] = "Press E to Pickup", -- Key mapping - ['keymap_showinventory'] = "Show Inventory", + ["keymap_showinventory"] = "Show Inventory", -- Salary related - ['received_salary'] = "You have been paid: $%s", - ['received_help'] = "You have been paid your welfare check: $%s", - ['company_nomoney'] = "the company you're employeed at is too poor to pay out your salary", - ['received_paycheck'] = "received paycheck", - ['bank'] = "Maze Bank", - ['account_bank'] = "Bank", - ['account_black_money'] = "Dirty Money", - ['account_money'] = "Cash", + ["received_salary"] = "You have been paid: $%s", + ["received_help"] = "You have been paid your welfare check: $%s", + ["company_nomoney"] = "the company you're employeed at is too poor to pay out your salary", + ["received_paycheck"] = "received paycheck", + ["bank"] = "Maze Bank", + ["account_bank"] = "Bank", + ["account_black_money"] = "Dirty Money", + ["account_money"] = "Cash", - ['act_imp'] = "Cannot Perform Action", - ['in_vehicle'] = "Cannot Perform Action, Player is in a vehicle", + ["act_imp"] = "Cannot Perform Action", + ["in_vehicle"] = "Cannot Perform Action, Player is in a vehicle", -- Commands - ['command_bring'] = "Bring player to you", - ['command_car'] = "Spawn a vehicle", - ['command_car_car'] = "Vehicle model or hash", - ['command_cardel'] = "Remove vehicles in proximity", - ['command_cardel_radius'] = "Removes all vehicles within the specified radius", - ['command_clear'] = "Clear chat Text", - ['command_clearall'] = "Clear chat Text for all players", - ['command_clearinventory'] = "Remove All items from the Players Inventory", - ['command_clearloadout'] = "Remove All weapons from the Players Loadout", - ['command_freeze'] = "Freeze a player", - ['command_unfreeze'] = "Unfreeze a player", - ['command_giveaccountmoney'] = "Give Money to a specified Account", - ['command_giveaccountmoney_account'] = "Account to add to", - ['command_giveaccountmoney_amount'] = "Amount to add", - ['command_giveaccountmoney_invalid'] = "Account Name Invalid", - ['command_giveitem'] = "Give Player an item", - ['command_giveitem_item'] = "Item name", - ['command_giveitem_count'] = "Quantity", - ['command_giveweapon'] = "Give player a weapon", - ['command_giveweapon_weapon'] = "Weapon name", - ['command_giveweapon_ammo'] = "Ammo Quantity", - ['command_giveweapon_hasalready'] = "Player already has this weapon", - ['command_giveweaponcomponent'] = "Give weapon component to player", - ['command_giveweaponcomponent_component'] = "Component name", - ['command_giveweaponcomponent_invalid'] = "Invalid weapon component", - ['command_giveweaponcomponent_hasalready'] = "Player already has this weapon component", - ['command_giveweaponcomponent_missingweapon'] = "Player does not have this weapon", - ['command_goto'] = "Teleport yourself to a player", - ['command_kill'] = "Kill a player", - ['command_save'] = "Force Save a player`s Data", - ['command_saveall'] = "Force Save all player data", - ['command_setaccountmoney'] = "Set the money within a specified account", - ['command_setaccountmoney_amount'] = "Amount", - ['command_setcoords'] = "Teleport to specified Coordinates", - ['command_setcoords_x'] = "X value", - ['command_setcoords_y'] = "Y value", - ['command_setcoords_z'] = "Z value", - ['command_setjob'] = "Set a player`s job", - ['command_setjob_job'] = "Name", - ['command_setjob_grade'] = "Job grade", - ['command_setjob_invalid'] = "the job, grade or both are invalid", - ['command_setgroup'] = "Set a players permission group", - ['command_setgroup_group'] = "Name of Group", - ['commanderror_argumentmismatch'] = "Invalid Argument Count (passed %s, wanted %s)", - ['commanderror_argumentmismatch_number'] = "Invalid Argument #%s data type (passed string, wanted number)", - ['commanderror_invaliditem'] = "Invalid item", - ['commanderror_invalidweapon'] = "Invalid weapon", - ['commanderror_console'] = "Command Cannot be executed from console", - ['commanderror_invalidcommand'] = "Invalid Command - /%s", - ['commanderror_invalidplayerid'] = "Specified Player is not online", - ['commandgeneric_playerid'] = "Player`s Server Id", - ['command_giveammo_noweapon_found'] = "%s does not have that weapon", - ['command_giveammo_weapon'] = "Weapon name", - ['command_giveammo_ammo'] = "Ammo Quantity", - ['tpm_nowaypoint'] = "No Waypoint Set.", - ['tpm_success'] = "Successfully Teleported", + ["command_bring"] = "Bring player to you", + ["command_car"] = "Spawn a vehicle", + ["command_car_car"] = "Vehicle model or hash", + ["command_cardel"] = "Remove vehicles in proximity", + ["command_cardel_radius"] = "Removes all vehicles within the specified radius", + ["command_clear"] = "Clear chat Text", + ["command_clearall"] = "Clear chat Text for all players", + ["command_clearinventory"] = "Remove All items from the Players Inventory", + ["command_clearloadout"] = "Remove All weapons from the Players Loadout", + ["command_freeze"] = "Freeze a player", + ["command_unfreeze"] = "Unfreeze a player", + ["command_giveaccountmoney"] = "Give Money to a specified Account", + ["command_giveaccountmoney_account"] = "Account to add to", + ["command_giveaccountmoney_amount"] = "Amount to add", + ["command_giveaccountmoney_invalid"] = "Account Name Invalid", + ["command_giveitem"] = "Give Player an item", + ["command_giveitem_item"] = "Item name", + ["command_giveitem_count"] = "Quantity", + ["command_giveweapon"] = "Give player a weapon", + ["command_giveweapon_weapon"] = "Weapon name", + ["command_giveweapon_ammo"] = "Ammo Quantity", + ["command_giveweapon_hasalready"] = "Player already has this weapon", + ["command_giveweaponcomponent"] = "Give weapon component to player", + ["command_giveweaponcomponent_component"] = "Component name", + ["command_giveweaponcomponent_invalid"] = "Invalid weapon component", + ["command_giveweaponcomponent_hasalready"] = "Player already has this weapon component", + ["command_giveweaponcomponent_missingweapon"] = "Player does not have this weapon", + ["command_goto"] = "Teleport yourself to a player", + ["command_kill"] = "Kill a player", + ["command_save"] = "Force Save a player`s Data", + ["command_saveall"] = "Force Save all player data", + ["command_setaccountmoney"] = "Set the money within a specified account", + ["command_setaccountmoney_amount"] = "Amount", + ["command_setcoords"] = "Teleport to specified Coordinates", + ["command_setcoords_x"] = "X value", + ["command_setcoords_y"] = "Y value", + ["command_setcoords_z"] = "Z value", + ["command_setjob"] = "Set a player`s job", + ["command_setjob_job"] = "Name", + ["command_setjob_grade"] = "Job grade", + ["command_setjob_invalid"] = "the job, grade or both are invalid", + ["command_setgroup"] = "Set a players permission group", + ["command_setgroup_group"] = "Name of Group", + ["commanderror_argumentmismatch"] = "Invalid Argument Count (passed %s, wanted %s)", + ["commanderror_argumentmismatch_number"] = "Invalid Argument #%s data type (passed string, wanted number)", + ["commanderror_invaliditem"] = "Invalid item", + ["commanderror_invalidweapon"] = "Invalid weapon", + ["commanderror_console"] = "Command Cannot be executed from console", + ["commanderror_invalidcommand"] = "Invalid Command - /%s", + ["commanderror_invalidplayerid"] = "Specified Player is not online", + ["commandgeneric_playerid"] = "Player`s Server Id", + ["command_giveammo_noweapon_found"] = "%s does not have that weapon", + ["command_giveammo_weapon"] = "Weapon name", + ["command_giveammo_ammo"] = "Ammo Quantity", + ["tpm_nowaypoint"] = "No Waypoint Set.", + ["tpm_success"] = "Successfully Teleported", - ['noclip_message'] = "Noclip has been %s", - ['enabled'] = "~g~enabled~s~", - ['disabled'] = "~r~disabled~s~", + ["noclip_message"] = "Noclip has been %s", + ["enabled"] = "~g~enabled~s~", + ["disabled"] = "~r~disabled~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ",", - ['locale_currency'] = "£%s", + ["locale_digit_grouping_symbol"] = ",", + ["locale_currency"] = "£%s", -- Weapons -- Melee - ['weapon_dagger'] = "Dagger", - ['weapon_bat'] = "Bat", - ['weapon_battleaxe'] = "Battle Axe", - ['weapon_bottle'] = "Bottle", - ['weapon_crowbar'] = "Crowbar", - ['weapon_flashlight'] = "Flashlight", - ['weapon_golfclub'] = "Golf Club", - ['weapon_hammer'] = "Hammer", - ['weapon_hatchet'] = "Hatchet", - ['weapon_knife'] = "Knife", - ['weapon_knuckle'] = "Knuckledusters", - ['weapon_machete'] = "Machete", - ['weapon_nightstick'] = "Nightstick", - ['weapon_wrench'] = "Pipe Wrench", - ['weapon_poolcue'] = "Pool Cue", - ['weapon_stone_hatchet'] = "Stone Hatchet", - ['weapon_switchblade'] = "Switchblade", + ["weapon_dagger"] = "Dagger", + ["weapon_bat"] = "Bat", + ["weapon_battleaxe"] = "Battle Axe", + ["weapon_bottle"] = "Bottle", + ["weapon_crowbar"] = "Crowbar", + ["weapon_flashlight"] = "Flashlight", + ["weapon_golfclub"] = "Golf Club", + ["weapon_hammer"] = "Hammer", + ["weapon_hatchet"] = "Hatchet", + ["weapon_knife"] = "Knife", + ["weapon_knuckle"] = "Knuckledusters", + ["weapon_machete"] = "Machete", + ["weapon_nightstick"] = "Nightstick", + ["weapon_wrench"] = "Pipe Wrench", + ["weapon_poolcue"] = "Pool Cue", + ["weapon_stone_hatchet"] = "Stone Hatchet", + ["weapon_switchblade"] = "Switchblade", -- Handguns - ['weapon_appistol'] = "AP Pistol", - ['weapon_ceramicpistol'] = "Ceramic Pistol", - ['weapon_combatpistol'] = "Combat Pistol", - ['weapon_doubleaction'] = "Double-Action Revolver", - ['weapon_navyrevolver'] = "Navy Revolver", - ['weapon_flaregun'] = "Flaregun", - ['weapon_gadgetpistol'] = "Gadget Pistol", - ['weapon_heavypistol'] = "Heavy Pistol", - ['weapon_revolver'] = "Heavy Revolver", - ['weapon_revolver_mk2'] = "Heavy Revolver MK2", - ['weapon_marksmanpistol'] = "Marksman Pistol", - ['weapon_pistol'] = "Pistol", - ['weapon_pistol_mk2'] = "Pistol MK2", - ['weapon_pistol50'] = "Pistol .50", - ['weapon_snspistol'] = "SNS Pistol", - ['weapon_snspistol_mk2'] = "SNS Pistol MK2", - ['weapon_stungun'] = "Taser", - ['weapon_raypistol'] = "Up-N-Atomizer", - ['weapon_vintagepistol'] = "Vintage Pistol", + ["weapon_appistol"] = "AP Pistol", + ["weapon_ceramicpistol"] = "Ceramic Pistol", + ["weapon_combatpistol"] = "Combat Pistol", + ["weapon_doubleaction"] = "Double-Action Revolver", + ["weapon_navyrevolver"] = "Navy Revolver", + ["weapon_flaregun"] = "Flaregun", + ["weapon_gadgetpistol"] = "Gadget Pistol", + ["weapon_heavypistol"] = "Heavy Pistol", + ["weapon_revolver"] = "Heavy Revolver", + ["weapon_revolver_mk2"] = "Heavy Revolver MK2", + ["weapon_marksmanpistol"] = "Marksman Pistol", + ["weapon_pistol"] = "Pistol", + ["weapon_pistol_mk2"] = "Pistol MK2", + ["weapon_pistol50"] = "Pistol .50", + ["weapon_snspistol"] = "SNS Pistol", + ["weapon_snspistol_mk2"] = "SNS Pistol MK2", + ["weapon_stungun"] = "Taser", + ["weapon_raypistol"] = "Up-N-Atomizer", + ["weapon_vintagepistol"] = "Vintage Pistol", -- Shotguns - ['weapon_assaultshotgun'] = "Assault Shotgun", - ['weapon_autoshotgun'] = "Auto Shotgun", - ['weapon_bullpupshotgun'] = "Bullpup Shotgun", - ['weapon_combatshotgun'] = "Combat Shotgun", - ['weapon_dbshotgun'] = "Double Barrel Shotgun", - ['weapon_heavyshotgun'] = "Heavy Shotgun", - ['weapon_musket'] = "Musket", - ['weapon_pumpshotgun'] = "Pump Shotgun", - ['weapon_pumpshotgun_mk2'] = "Pump Shotgun MK2", - ['weapon_sawnoffshotgun'] = "Sawed Off Shotgun", + ["weapon_assaultshotgun"] = "Assault Shotgun", + ["weapon_autoshotgun"] = "Auto Shotgun", + ["weapon_bullpupshotgun"] = "Bullpup Shotgun", + ["weapon_combatshotgun"] = "Combat Shotgun", + ["weapon_dbshotgun"] = "Double Barrel Shotgun", + ["weapon_heavyshotgun"] = "Heavy Shotgun", + ["weapon_musket"] = "Musket", + ["weapon_pumpshotgun"] = "Pump Shotgun", + ["weapon_pumpshotgun_mk2"] = "Pump Shotgun MK2", + ["weapon_sawnoffshotgun"] = "Sawed Off Shotgun", -- SMG & LMG - ['weapon_assaultsmg'] = "Assault SMG", - ['weapon_combatmg'] = "Combat MG", - ['weapon_combatmg_mk2'] = "Combat MG MK2", - ['weapon_combatpdw'] = "Combat PDW", - ['weapon_gusenberg'] = "Gusenberg Sweeper", - ['weapon_machinepistol'] = "Machine Pistol", - ['weapon_mg'] = "MG", - ['weapon_microsmg'] = "Micro SMG", - ['weapon_minismg'] = "Mini SMG", - ['weapon_smg'] = "SMG", - ['weapon_smg_mk2'] = "SMG MK2", - ['weapon_raycarbine'] = "Unholy Hellbringer", + ["weapon_assaultsmg"] = "Assault SMG", + ["weapon_combatmg"] = "Combat MG", + ["weapon_combatmg_mk2"] = "Combat MG MK2", + ["weapon_combatpdw"] = "Combat PDW", + ["weapon_gusenberg"] = "Gusenberg Sweeper", + ["weapon_machinepistol"] = "Machine Pistol", + ["weapon_mg"] = "MG", + ["weapon_microsmg"] = "Micro SMG", + ["weapon_minismg"] = "Mini SMG", + ["weapon_smg"] = "SMG", + ["weapon_smg_mk2"] = "SMG MK2", + ["weapon_raycarbine"] = "Unholy Hellbringer", -- Rifles - ['weapon_advancedrifle'] = "Advanced Rifle", - ['weapon_assaultrifle'] = "Assault Rifle", - ['weapon_assaultrifle_mk2'] = "Assault Rifle MK2", - ['weapon_bullpuprifle'] = "Bullpup Rifle", - ['weapon_bullpuprifle_mk2'] = "Bullpup Rifle MK2", - ['weapon_carbinerifle'] = "Carbine Rifle", - ['weapon_carbinerifle_mk2'] = "Carbine Rifle MK2", - ['weapon_compactrifle'] = "Compact Rifle", - ['weapon_militaryrifle'] = "Military Rifle", - ['weapon_specialcarbine'] = "Special Carbine", - ['weapon_specialcarbine_mk2'] = "Special Carbine MK2", + ["weapon_advancedrifle"] = "Advanced Rifle", + ["weapon_assaultrifle"] = "Assault Rifle", + ["weapon_assaultrifle_mk2"] = "Assault Rifle MK2", + ["weapon_bullpuprifle"] = "Bullpup Rifle", + ["weapon_bullpuprifle_mk2"] = "Bullpup Rifle MK2", + ["weapon_carbinerifle"] = "Carbine Rifle", + ["weapon_carbinerifle_mk2"] = "Carbine Rifle MK2", + ["weapon_compactrifle"] = "Compact Rifle", + ["weapon_militaryrifle"] = "Military Rifle", + ["weapon_specialcarbine"] = "Special Carbine", + ["weapon_specialcarbine_mk2"] = "Special Carbine MK2", -- Sniper - ['weapon_heavysniper'] = "Heavy Sniper", - ['weapon_heavysniper_mk2'] = "Heavy Sniper MK2", - ['weapon_marksmanrifle'] = "Marksman Rifle", - ['weapon_marksmanrifle_mk2'] = "Marksman Rifle MK2", - ['weapon_sniperrifle'] = "Sniper Rifle", + ["weapon_heavysniper"] = "Heavy Sniper", + ["weapon_heavysniper_mk2"] = "Heavy Sniper MK2", + ["weapon_marksmanrifle"] = "Marksman Rifle", + ["weapon_marksmanrifle_mk2"] = "Marksman Rifle MK2", + ["weapon_sniperrifle"] = "Sniper Rifle", -- Heavy / Launchers - ['weapon_compactlauncher'] = "Compact Launcher", - ['weapon_firework'] = "Firework Launcher", - ['weapon_grenadelauncher'] = "Grenade Launcher", - ['weapon_hominglauncher'] = "Homing Launcher", - ['weapon_minigun'] = "Minigun", - ['weapon_railgun'] = "Railgun", - ['weapon_rpg'] = "Rocket Launcher", - ['weapon_rayminigun'] = "Widowmaker", + ["weapon_compactlauncher"] = "Compact Launcher", + ["weapon_firework"] = "Firework Launcher", + ["weapon_grenadelauncher"] = "Grenade Launcher", + ["weapon_hominglauncher"] = "Homing Launcher", + ["weapon_minigun"] = "Minigun", + ["weapon_railgun"] = "Railgun", + ["weapon_rpg"] = "Rocket Launcher", + ["weapon_rayminigun"] = "Widowmaker", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = "Metal Detector", - ['weapon_precisionrifle'] = "Precision Rifle", - ['weapon_tactilerifle'] = "Service Carbine", + ["weapon_metaldetector"] = "Metal Detector", + ["weapon_precisionrifle"] = "Precision Rifle", + ["weapon_tactilerifle"] = "Service Carbine", -- Thrown - ['weapon_ball'] = "Baseball", - ['weapon_bzgas'] = "BZ Gas", - ['weapon_flare'] = "Flare", - ['weapon_grenade'] = "Grenade", - ['weapon_petrolcan'] = "Jerrycan", - ['weapon_hazardcan'] = "Hazardous Jerrycan", - ['weapon_molotov'] = "Molotov Cocktail", - ['weapon_proxmine'] = "Proximity Mine", - ['weapon_pipebomb'] = "Pipe Bomb", - ['weapon_snowball'] = "Snowball", - ['weapon_stickybomb'] = "Sticky Bomb", - ['weapon_smokegrenade'] = "Tear Gas", + ["weapon_ball"] = "Baseball", + ["weapon_bzgas"] = "BZ Gas", + ["weapon_flare"] = "Flare", + ["weapon_grenade"] = "Grenade", + ["weapon_petrolcan"] = "Jerrycan", + ["weapon_hazardcan"] = "Hazardous Jerrycan", + ["weapon_molotov"] = "Molotov Cocktail", + ["weapon_proxmine"] = "Proximity Mine", + ["weapon_pipebomb"] = "Pipe Bomb", + ["weapon_snowball"] = "Snowball", + ["weapon_stickybomb"] = "Sticky Bomb", + ["weapon_smokegrenade"] = "Tear Gas", -- Special - ['weapon_fireextinguisher'] = "Fire Extinguisher", - ['weapon_digiscanner'] = "Digital Scanner", - ['weapon_garbagebag'] = "Garbage Bag", - ['weapon_handcuffs'] = "Handcuffs", - ['gadget_nightvision'] = "Night Vision", - ['gadget_parachute'] = "parachute", + ["weapon_fireextinguisher"] = "Fire Extinguisher", + ["weapon_digiscanner"] = "Digital Scanner", + ["weapon_garbagebag"] = "Garbage Bag", + ["weapon_handcuffs"] = "Handcuffs", + ["gadget_nightvision"] = "Night Vision", + ["gadget_parachute"] = "parachute", -- Weapon Components - ['component_knuckle_base'] = "base Model", - ['component_knuckle_pimp'] = "the Pimp", - ['component_knuckle_ballas'] = "the Ballas", - ['component_knuckle_dollar'] = "the Hustler", - ['component_knuckle_diamond'] = "the Rock", - ['component_knuckle_hate'] = "the Hater", - ['component_knuckle_love'] = "the Lover", - ['component_knuckle_player'] = "the Player", - ['component_knuckle_king'] = "the King", - ['component_knuckle_vagos'] = "the Vagos", + ["component_knuckle_base"] = "base Model", + ["component_knuckle_pimp"] = "the Pimp", + ["component_knuckle_ballas"] = "the Ballas", + ["component_knuckle_dollar"] = "the Hustler", + ["component_knuckle_diamond"] = "the Rock", + ["component_knuckle_hate"] = "the Hater", + ["component_knuckle_love"] = "the Lover", + ["component_knuckle_player"] = "the Player", + ["component_knuckle_king"] = "the King", + ["component_knuckle_vagos"] = "the Vagos", - ['component_luxary_finish'] = "luxary Weapon Finish", + ["component_luxary_finish"] = "luxary Weapon Finish", - ['component_handle_default'] = "default Handle", - ['component_handle_vip'] = "vIP Handle", - ['component_handle_bodyguard'] = "bodyguard Handle", + ["component_handle_default"] = "default Handle", + ["component_handle_vip"] = "vIP Handle", + ["component_handle_bodyguard"] = "bodyguard Handle", - ['component_vip_finish'] = "vIP Finish", - ['component_bodyguard_finish'] = "bodyguard Finish", + ["component_vip_finish"] = "vIP Finish", + ["component_bodyguard_finish"] = "bodyguard Finish", - ['component_camo_finish'] = "digital Camo", - ['component_camo_finish2'] = "brushstroke Camo", - ['component_camo_finish3'] = "woodland Camo", - ['component_camo_finish4'] = "skull Camo", - ['component_camo_finish5'] = "sessanta Nove Camo", - ['component_camo_finish6'] = "perseus Camo", - ['component_camo_finish7'] = "leopard Camo", - ['component_camo_finish8'] = "zebra Camo", - ['component_camo_finish9'] = "geometric Camo", - ['component_camo_finish10'] = "boom Camo", - ['component_camo_finish11'] = "patriotic Camo", + ["component_camo_finish"] = "digital Camo", + ["component_camo_finish2"] = "brushstroke Camo", + ["component_camo_finish3"] = "woodland Camo", + ["component_camo_finish4"] = "skull Camo", + ["component_camo_finish5"] = "sessanta Nove Camo", + ["component_camo_finish6"] = "perseus Camo", + ["component_camo_finish7"] = "leopard Camo", + ["component_camo_finish8"] = "zebra Camo", + ["component_camo_finish9"] = "geometric Camo", + ["component_camo_finish10"] = "boom Camo", + ["component_camo_finish11"] = "patriotic Camo", - ['component_camo_slide_finish'] = "digital Slide Camo", - ['component_camo_slide_finish2'] = "brushstroke Slide Camo", - ['component_camo_slide_finish3'] = "woodland Slide Camo", - ['component_camo_slide_finish4'] = "skull Slide Camo", - ['component_camo_slide_finish5'] = "sessanta Nove Slide Camo", - ['component_camo_slide_finish6'] = "perseus Slide Camo", - ['component_camo_slide_finish7'] = "leopard Slide Camo", - ['component_camo_slide_finish8'] = "zebra Slide Camo", - ['component_camo_slide_finish9'] = "geometric Slide Camo", - ['component_camo_slide_finish10'] = "boom Slide Camo", - ['component_camo_slide_finish11'] = "patriotic Slide Camo", + ["component_camo_slide_finish"] = "digital Slide Camo", + ["component_camo_slide_finish2"] = "brushstroke Slide Camo", + ["component_camo_slide_finish3"] = "woodland Slide Camo", + ["component_camo_slide_finish4"] = "skull Slide Camo", + ["component_camo_slide_finish5"] = "sessanta Nove Slide Camo", + ["component_camo_slide_finish6"] = "perseus Slide Camo", + ["component_camo_slide_finish7"] = "leopard Slide Camo", + ["component_camo_slide_finish8"] = "zebra Slide Camo", + ["component_camo_slide_finish9"] = "geometric Slide Camo", + ["component_camo_slide_finish10"] = "boom Slide Camo", + ["component_camo_slide_finish11"] = "patriotic Slide Camo", - ['component_clip_default'] = "default Magazine", - ['component_clip_extended'] = "extended Magazine", - ['component_clip_drum'] = "drum Magazine", - ['component_clip_box'] = "box Magazine", + ["component_clip_default"] = "default Magazine", + ["component_clip_extended"] = "extended Magazine", + ["component_clip_drum"] = "drum Magazine", + ["component_clip_box"] = "box Magazine", - ['component_scope_holo'] = "holographic Scope", - ['component_scope_small'] = "small Scope", - ['component_scope_medium'] = "medium Scope", - ['component_scope_large'] = "large Scope", - ['component_scope'] = "mounted Scope", - ['component_scope_advanced'] = "advanced Scope", - ['component_ironsights'] = "ironsights", + ["component_scope_holo"] = "holographic Scope", + ["component_scope_small"] = "small Scope", + ["component_scope_medium"] = "medium Scope", + ["component_scope_large"] = "large Scope", + ["component_scope"] = "mounted Scope", + ["component_scope_advanced"] = "advanced Scope", + ["component_ironsights"] = "ironsights", - ['component_suppressor'] = "suppressor", - ['component_compensator'] = "compensator", + ["component_suppressor"] = "suppressor", + ["component_compensator"] = "compensator", - ['component_muzzle_flat'] = "flat Muzzle Brake", - ['component_muzzle_tactical'] = "tactical Muzzle Brake", - ['component_muzzle_fat'] = "fat-End Muzzle Brake", - ['component_muzzle_precision'] = "precision Muzzle Brake", - ['component_muzzle_heavy'] = "heavy Duty Muzzle Brake", - ['component_muzzle_slanted'] = "slanted Muzzle Brake", - ['component_muzzle_split'] = "split-End Muzzle Brake", - ['component_muzzle_squared'] = "squared Muzzle Brake", + ["component_muzzle_flat"] = "flat Muzzle Brake", + ["component_muzzle_tactical"] = "tactical Muzzle Brake", + ["component_muzzle_fat"] = "fat-End Muzzle Brake", + ["component_muzzle_precision"] = "precision Muzzle Brake", + ["component_muzzle_heavy"] = "heavy Duty Muzzle Brake", + ["component_muzzle_slanted"] = "slanted Muzzle Brake", + ["component_muzzle_split"] = "split-End Muzzle Brake", + ["component_muzzle_squared"] = "squared Muzzle Brake", - ['component_flashlight'] = "flashlight", - ['component_grip'] = "grip", + ["component_flashlight"] = "flashlight", + ["component_grip"] = "grip", - ['component_barrel_default'] = "default Barrel", - ['component_barrel_heavy'] = "heavy Barrel", + ["component_barrel_default"] = "default Barrel", + ["component_barrel_heavy"] = "heavy Barrel", - ['component_ammo_tracer'] = "tracer Ammo", - ['component_ammo_incendiary'] = "incendiary Ammo", - ['component_ammo_hollowpoint'] = "hollowpoint Ammo", - ['component_ammo_fmj'] = "fMJ Ammo", - ['component_ammo_armor'] = "armor Piercing Ammo", - ['component_ammo_explosive'] = "armor Piercing Incendiary Ammo", + ["component_ammo_tracer"] = "tracer Ammo", + ["component_ammo_incendiary"] = "incendiary Ammo", + ["component_ammo_hollowpoint"] = "hollowpoint Ammo", + ["component_ammo_fmj"] = "fMJ Ammo", + ["component_ammo_armor"] = "armor Piercing Ammo", + ["component_ammo_explosive"] = "armor Piercing Incendiary Ammo", - ['component_shells_default'] = "default Shells", - ['component_shells_incendiary'] = "dragons Breath Shells", - ['component_shells_armor'] = "steel Buckshot Shells", - ['component_shells_hollowpoint'] = "flechette Shells", - ['component_shells_explosive'] = "explosive Slug Shells", + ["component_shells_default"] = "default Shells", + ["component_shells_incendiary"] = "dragons Breath Shells", + ["component_shells_armor"] = "steel Buckshot Shells", + ["component_shells_hollowpoint"] = "flechette Shells", + ["component_shells_explosive"] = "explosive Slug Shells", -- Weapon Ammo - ['ammo_rounds'] = "round(s)", - ['ammo_shells'] = "shell(s)", - ['ammo_charge'] = "charge", - ['ammo_petrol'] = "gallons of fuel", - ['ammo_firework'] = "firework(s)", - ['ammo_rockets'] = "rocket(s)", - ['ammo_grenadelauncher'] = "grenade(s)", - ['ammo_grenade'] = "grenade(s)", - ['ammo_stickybomb'] = "bomb(s)", - ['ammo_pipebomb'] = "bomb(s)", - ['ammo_smokebomb'] = "bomb(s)", - ['ammo_molotov'] = "cocktail(s)", - ['ammo_proxmine'] = "mine(s)", - ['ammo_bzgas'] = "can(s)", - ['ammo_ball'] = "ball(s)", - ['ammo_snowball'] = "snowball(s)", - ['ammo_flare'] = "flare(s)", - ['ammo_flaregun'] = "flare(s)", + ["ammo_rounds"] = "round(s)", + ["ammo_shells"] = "shell(s)", + ["ammo_charge"] = "charge", + ["ammo_petrol"] = "gallons of fuel", + ["ammo_firework"] = "firework(s)", + ["ammo_rockets"] = "rocket(s)", + ["ammo_grenadelauncher"] = "grenade(s)", + ["ammo_grenade"] = "grenade(s)", + ["ammo_stickybomb"] = "bomb(s)", + ["ammo_pipebomb"] = "bomb(s)", + ["ammo_smokebomb"] = "bomb(s)", + ["ammo_molotov"] = "cocktail(s)", + ["ammo_proxmine"] = "mine(s)", + ["ammo_bzgas"] = "can(s)", + ["ammo_ball"] = "ball(s)", + ["ammo_snowball"] = "snowball(s)", + ["ammo_flare"] = "flare(s)", + ["ammo_flaregun"] = "flare(s)", -- Weapon Tints - ['tint_default'] = "default skin", - ['tint_green'] = "green skin", - ['tint_gold'] = "gold skin", - ['tint_pink'] = "pink skin", - ['tint_army'] = "army skin", - ['tint_lspd'] = "blue skin", - ['tint_orange'] = "orange skin", - ['tint_platinum'] = "platinum skin", + ["tint_default"] = "default skin", + ["tint_green"] = "green skin", + ["tint_gold"] = "gold skin", + ["tint_pink"] = "pink skin", + ["tint_army"] = "army skin", + ["tint_lspd"] = "blue skin", + ["tint_orange"] = "orange skin", + ["tint_platinum"] = "platinum skin", } diff --git a/[core]/es_extended/locales/es.lua b/[core]/es_extended/locales/es.lua index 2f0e9cdf..54e8163f 100644 --- a/[core]/es_extended/locales/es.lua +++ b/[core]/es_extended/locales/es.lua @@ -1,358 +1,358 @@ -Locales['es'] = { +Locales["es"] = { -- Inventory - ['inventory'] = "Inventario %s / %s", - ['use'] = "Usar", - ['give'] = "Dar", - ['remove'] = "Tirar", - ['return'] = "Volver", - ['give_to'] = "Dar a", - ['amount'] = "Cantidad", - ['giveammo'] = "Dar munición", - ['amountammo'] = "Cantidad de munición", - ['noammo'] = "No tienes suficiente munición!", - ['gave_item'] = "Has dado %sx %s a %s", - ['received_item'] = "Has recibido %sx %s de %s", - ['gave_weapon'] = "Has dado %s a %s", - ['gave_weapon_ammo'] = "Has dado ~o~%sx %s para %s a %s", - ['gave_weapon_withammo'] = "Has dado %s con ~o~%sx %s a %s", - ['gave_weapon_hasalready'] = "%s ya tiene un/a %s", - ['gave_weapon_noweapon'] = "%s no tiene ese arma", - ['received_weapon'] = "Has recibido %s de %s", - ['received_weapon_ammo'] = "Has recibido ~o~%sx %s para su %s de %s", - ['received_weapon_withammo'] = "Has recibido %s con ~o~%sx %s de %s", - ['received_weapon_hasalready'] = "%s intentó darle un/a %s, pero ya tienes uno", - ['received_weapon_noweapon'] = "%s intentó darles munición para un %s, pero no tiene uno", - ['gave_account_money'] = "Has dado $%s (%s) a %s", - ['received_account_money'] = "Has recibido $%s (%s) de %s", - ['amount_invalid'] = "Cantidad inválida", - ['players_nearby'] = "No hay jugadores cerca", - ['ex_inv_lim'] = "Acción no posible, excediendo el límite de inventario para %s", - ['imp_invalid_quantity'] = "Acción imposible, cantidad inválida", - ['imp_invalid_amount'] = "Acción imposible, cantidad inválida", - ['threw_standard'] = "Has tirado %sx %s", - ['threw_account'] = "Has tirado $%s %s", - ['threw_weapon'] = "Has tirado %s", - ['threw_weapon_ammo'] = "Has tirado %s con ~o~%sx %s", - ['threw_weapon_already'] = "Ya llevas el mismo arma", - ['threw_cannot_pickup'] = "No puedes recogerlo porque tu inventario está lleno!", - ['threw_pickup_prompt'] = "Pulsa E para recoger", + ["inventory"] = "Inventario %s / %s", + ["use"] = "Usar", + ["give"] = "Dar", + ["remove"] = "Tirar", + ["return"] = "Volver", + ["give_to"] = "Dar a", + ["amount"] = "Cantidad", + ["giveammo"] = "Dar munición", + ["amountammo"] = "Cantidad de munición", + ["noammo"] = "No tienes suficiente munición!", + ["gave_item"] = "Has dado %sx %s a %s", + ["received_item"] = "Has recibido %sx %s de %s", + ["gave_weapon"] = "Has dado %s a %s", + ["gave_weapon_ammo"] = "Has dado ~o~%sx %s para %s a %s", + ["gave_weapon_withammo"] = "Has dado %s con ~o~%sx %s a %s", + ["gave_weapon_hasalready"] = "%s ya tiene un/a %s", + ["gave_weapon_noweapon"] = "%s no tiene ese arma", + ["received_weapon"] = "Has recibido %s de %s", + ["received_weapon_ammo"] = "Has recibido ~o~%sx %s para su %s de %s", + ["received_weapon_withammo"] = "Has recibido %s con ~o~%sx %s de %s", + ["received_weapon_hasalready"] = "%s intentó darle un/a %s, pero ya tienes uno", + ["received_weapon_noweapon"] = "%s intentó darles munición para un %s, pero no tiene uno", + ["gave_account_money"] = "Has dado $%s (%s) a %s", + ["received_account_money"] = "Has recibido $%s (%s) de %s", + ["amount_invalid"] = "Cantidad inválida", + ["players_nearby"] = "No hay jugadores cerca", + ["ex_inv_lim"] = "Acción no posible, excediendo el límite de inventario para %s", + ["imp_invalid_quantity"] = "Acción imposible, cantidad inválida", + ["imp_invalid_amount"] = "Acción imposible, cantidad inválida", + ["threw_standard"] = "Has tirado %sx %s", + ["threw_account"] = "Has tirado $%s %s", + ["threw_weapon"] = "Has tirado %s", + ["threw_weapon_ammo"] = "Has tirado %s con ~o~%sx %s", + ["threw_weapon_already"] = "Ya llevas el mismo arma", + ["threw_cannot_pickup"] = "No puedes recogerlo porque tu inventario está lleno!", + ["threw_pickup_prompt"] = "Pulsa E para recoger", -- Key mapping - ['keymap_showinventory'] = "Ver Inventario", + ["keymap_showinventory"] = "Ver Inventario", -- Salary related - ['received_salary'] = "Has recibido tu sueldo: $%s", - ['received_help'] = "Has recibido su cheque de bienestar: $%s", - ['company_nomoney'] = "La empresa en la que trabajas no tiene dinero para pagar tu sueldo", - ['received_paycheck'] = "Recibió su paga", - ['bank'] = "Banco", - ['account_bank'] = "Banco", - ['account_black_money'] = "Dinero Negro", - ['account_money'] = "Efectivo", + ["received_salary"] = "Has recibido tu sueldo: $%s", + ["received_help"] = "Has recibido su cheque de bienestar: $%s", + ["company_nomoney"] = "La empresa en la que trabajas no tiene dinero para pagar tu sueldo", + ["received_paycheck"] = "Recibió su paga", + ["bank"] = "Banco", + ["account_bank"] = "Banco", + ["account_black_money"] = "Dinero Negro", + ["account_money"] = "Efectivo", - ['act_imp'] = "No se pudo realizar la acción.", - ['in_vehicle'] = "Acción rechazada. El jugador se encuentra en un vehículo", + ["act_imp"] = "No se pudo realizar la acción.", + ["in_vehicle"] = "Acción rechazada. El jugador se encuentra en un vehículo", -- Commands - ['command_bring'] = "Traer un jugador hacia ti", - ['command_car'] = "Spawnear un vehículo", - ['command_car_car'] = "Nombre del vehículo", - ['command_cardel'] = "Eliminar vehículos cercanos", - ['command_cardel_radius'] = "Opcional, eliminar todos los vehículos en el radio especificado", - ['command_clear'] = "Limpiar chat para ti", - ['command_clearall'] = "Limpiar chat para todos los jugadores", - ['command_clearinventory'] = "Limpiar el inventario del jugador", - ['command_clearloadout'] = "Limpiar inventario de un jugador", - ['command_freeze'] = "Congelar un jugador", - ['command_unfreeze'] = "Descongelar un jugador", - ['command_giveaccountmoney'] = "Dar dinero", - ['command_giveaccountmoney_account'] = "Nombre de cuenta válido", - ['command_giveaccountmoney_amount'] = "Cantidad a añadir", - ['command_giveaccountmoney_invalid'] = "Nombre de cuenta no existente. [bank, money, black_money]", - ['command_giveitem'] = "Dar un objeto a un jugador", - ['command_giveitem_item'] = "Nombre del artículo", - ['command_giveitem_count'] = "Cantidad de articulos", - ['command_giveweapon'] = "Dar un arma a un jugador", - ['command_giveweapon_weapon'] = "Nombre del arma", - ['command_giveweapon_ammo'] = "Cantidad de municion", - ['command_giveweapon_hasalready'] = "El jugador ya tiene esa arma", - ['command_giveweaponcomponent'] = "Dar el componente del arma", - ['command_giveweaponcomponent_component'] = "Nombre del componente", - ['command_giveweaponcomponent_invalid'] = "Componente del arma no válido", - ['command_giveweaponcomponent_hasalready'] = "El jugador ya tiene ese componente del arma", - ['command_giveweaponcomponent_missingweapon'] = "El jugador no tiene esa arma", - ['command_goto'] = "Teletransportarte hacia un jugador", - ['command_kill'] = "Matar un jugador", - ['command_save'] = "Guardar la informacion de un jugador en la base de datos.", - ['command_saveall'] = "Guardar toda la informacion de jugadores en la base de datos.", - ['command_setaccountmoney'] = "Establecer el dinero de la cuenta para un jugador", - ['command_setaccountmoney_amount'] = "Cantidad de dinero a establecer", - ['command_setcoords'] = "Teletransporte a coordenadas", - ['command_setcoords_x'] = "Eje X", - ['command_setcoords_y'] = "Eje Y", - ['command_setcoords_z'] = "Eje Z", - ['command_setjob'] = "Dar un trabajo a un jugador", - ['command_setjob_job'] = "Nombre del trabajo", - ['command_setjob_grade'] = "Rango del trabajo", - ['command_setjob_invalid'] = "El trabajo o el rango no son válidos", - ['command_setgroup'] = "Establecer el grupo de un jugador", - ['command_setgroup_group'] = "Nombre del grupo", - ['commanderror_argumentmismatch'] = "Error en el recuento de argumentos (pasado %s, deseado %s)", - ['commanderror_argumentmismatch_number'] = "Argumento #%s tipo no coincide (cadena pasada, número deseado)", - ['commanderror_invaliditem'] = "Nombre del artículo no válido", - ['commanderror_invalidweapon'] = "Arma inválida", - ['commanderror_console'] = "Ese comando no se puede ejecutar desde la consola", - ['commanderror_invalidcommand'] = "/%s ¡No es un comando válido!", - ['commanderror_invalidplayerid'] = "No hay ningún jugador online con la ID especificada", - ['commandgeneric_playerid'] = "ID del jugador", - ['command_giveammo_noweapon_found'] = "%s no posee esa arma", - ['command_giveammo_weapon'] = "Nombre del arma", - ['command_giveammo_ammo'] = "Cantidad de municion", + ["command_bring"] = "Traer un jugador hacia ti", + ["command_car"] = "Spawnear un vehículo", + ["command_car_car"] = "Nombre del vehículo", + ["command_cardel"] = "Eliminar vehículos cercanos", + ["command_cardel_radius"] = "Opcional, eliminar todos los vehículos en el radio especificado", + ["command_clear"] = "Limpiar chat para ti", + ["command_clearall"] = "Limpiar chat para todos los jugadores", + ["command_clearinventory"] = "Limpiar el inventario del jugador", + ["command_clearloadout"] = "Limpiar inventario de un jugador", + ["command_freeze"] = "Congelar un jugador", + ["command_unfreeze"] = "Descongelar un jugador", + ["command_giveaccountmoney"] = "Dar dinero", + ["command_giveaccountmoney_account"] = "Nombre de cuenta válido", + ["command_giveaccountmoney_amount"] = "Cantidad a añadir", + ["command_giveaccountmoney_invalid"] = "Nombre de cuenta no existente. [bank, money, black_money]", + ["command_giveitem"] = "Dar un objeto a un jugador", + ["command_giveitem_item"] = "Nombre del artículo", + ["command_giveitem_count"] = "Cantidad de articulos", + ["command_giveweapon"] = "Dar un arma a un jugador", + ["command_giveweapon_weapon"] = "Nombre del arma", + ["command_giveweapon_ammo"] = "Cantidad de municion", + ["command_giveweapon_hasalready"] = "El jugador ya tiene esa arma", + ["command_giveweaponcomponent"] = "Dar el componente del arma", + ["command_giveweaponcomponent_component"] = "Nombre del componente", + ["command_giveweaponcomponent_invalid"] = "Componente del arma no válido", + ["command_giveweaponcomponent_hasalready"] = "El jugador ya tiene ese componente del arma", + ["command_giveweaponcomponent_missingweapon"] = "El jugador no tiene esa arma", + ["command_goto"] = "Teletransportarte hacia un jugador", + ["command_kill"] = "Matar un jugador", + ["command_save"] = "Guardar la informacion de un jugador en la base de datos.", + ["command_saveall"] = "Guardar toda la informacion de jugadores en la base de datos.", + ["command_setaccountmoney"] = "Establecer el dinero de la cuenta para un jugador", + ["command_setaccountmoney_amount"] = "Cantidad de dinero a establecer", + ["command_setcoords"] = "Teletransporte a coordenadas", + ["command_setcoords_x"] = "Eje X", + ["command_setcoords_y"] = "Eje Y", + ["command_setcoords_z"] = "Eje Z", + ["command_setjob"] = "Dar un trabajo a un jugador", + ["command_setjob_job"] = "Nombre del trabajo", + ["command_setjob_grade"] = "Rango del trabajo", + ["command_setjob_invalid"] = "El trabajo o el rango no son válidos", + ["command_setgroup"] = "Establecer el grupo de un jugador", + ["command_setgroup_group"] = "Nombre del grupo", + ["commanderror_argumentmismatch"] = "Error en el recuento de argumentos (pasado %s, deseado %s)", + ["commanderror_argumentmismatch_number"] = "Argumento #%s tipo no coincide (cadena pasada, número deseado)", + ["commanderror_invaliditem"] = "Nombre del artículo no válido", + ["commanderror_invalidweapon"] = "Arma inválida", + ["commanderror_console"] = "Ese comando no se puede ejecutar desde la consola", + ["commanderror_invalidcommand"] = "/%s ¡No es un comando válido!", + ["commanderror_invalidplayerid"] = "No hay ningún jugador online con la ID especificada", + ["commandgeneric_playerid"] = "ID del jugador", + ["command_giveammo_noweapon_found"] = "%s no posee esa arma", + ["command_giveammo_weapon"] = "Nombre del arma", + ["command_giveammo_ammo"] = "Cantidad de municion", -- Locale settings - ['locale_digit_grouping_symbol'] = ",", - ['locale_currency'] = "$%s", + ["locale_digit_grouping_symbol"] = ",", + ["locale_currency"] = "$%s", -- Weapons -- Melee - ['weapon_dagger'] = "Daga", - ['weapon_bat'] = "Bate", - ['weapon_battleaxe'] = "Hacha de combate", - ['weapon_bottle'] = "Botella", - ['weapon_crowbar'] = "Palanca", - ['weapon_flashlight'] = "Linterna", - ['weapon_golfclub'] = "Palo de Golf", - ['weapon_hammer'] = "Martillo", - ['weapon_hatchet'] = "Hacha", - ['weapon_knife'] = "Cuchillo", - ['weapon_knuckle'] = "Puño Americano", - ['weapon_machete'] = "Machete", - ['weapon_nightstick'] = "Porra", - ['weapon_wrench'] = "Llave Inglesa", - ['weapon_poolcue'] = "Taco de Billar", - ['weapon_stone_hatchet'] = "Hacha de Piedra", - ['weapon_switchblade'] = "Navaja", + ["weapon_dagger"] = "Daga", + ["weapon_bat"] = "Bate", + ["weapon_battleaxe"] = "Hacha de combate", + ["weapon_bottle"] = "Botella", + ["weapon_crowbar"] = "Palanca", + ["weapon_flashlight"] = "Linterna", + ["weapon_golfclub"] = "Palo de Golf", + ["weapon_hammer"] = "Martillo", + ["weapon_hatchet"] = "Hacha", + ["weapon_knife"] = "Cuchillo", + ["weapon_knuckle"] = "Puño Americano", + ["weapon_machete"] = "Machete", + ["weapon_nightstick"] = "Porra", + ["weapon_wrench"] = "Llave Inglesa", + ["weapon_poolcue"] = "Taco de Billar", + ["weapon_stone_hatchet"] = "Hacha de Piedra", + ["weapon_switchblade"] = "Navaja", -- Handguns - ['weapon_appistol'] = "Pistola AP", - ['weapon_ceramicpistol'] = "Pistola de Ceramica", - ['weapon_combatpistol'] = "Pistola de Combate", - ['weapon_doubleaction'] = "Revólver de Doble Acción", - ['weapon_navyrevolver'] = "Revólver de la Armada", - ['weapon_flaregun'] = "Pistola de Bengalas", - ['weapon_gadgetpistol'] = "Pistola de Perico", - ['weapon_heavypistol'] = "Pistola Pesada", - ['weapon_revolver'] = "Revólver Pesado", - ['weapon_revolver_mk2'] = "Revólver Pesado MK2", - ['weapon_marksmanpistol'] = "Pistola Marksman", - ['weapon_pistol'] = "Pistola 9mm", - ['weapon_pistol_mk2'] = "Pistola MK2", - ['weapon_pistol50'] = "Pistola .50", - ['weapon_snspistol'] = "Pistola SNS", - ['weapon_snspistol_mk2'] = "Pistola SNS MK2", - ['weapon_stungun'] = "Tazer", - ['weapon_raypistol'] = "Up-N-Atomizer", - ['weapon_vintagepistol'] = "Pistola Vintage", + ["weapon_appistol"] = "Pistola AP", + ["weapon_ceramicpistol"] = "Pistola de Ceramica", + ["weapon_combatpistol"] = "Pistola de Combate", + ["weapon_doubleaction"] = "Revólver de Doble Acción", + ["weapon_navyrevolver"] = "Revólver de la Armada", + ["weapon_flaregun"] = "Pistola de Bengalas", + ["weapon_gadgetpistol"] = "Pistola de Perico", + ["weapon_heavypistol"] = "Pistola Pesada", + ["weapon_revolver"] = "Revólver Pesado", + ["weapon_revolver_mk2"] = "Revólver Pesado MK2", + ["weapon_marksmanpistol"] = "Pistola Marksman", + ["weapon_pistol"] = "Pistola 9mm", + ["weapon_pistol_mk2"] = "Pistola MK2", + ["weapon_pistol50"] = "Pistola .50", + ["weapon_snspistol"] = "Pistola SNS", + ["weapon_snspistol_mk2"] = "Pistola SNS MK2", + ["weapon_stungun"] = "Tazer", + ["weapon_raypistol"] = "Up-N-Atomizer", + ["weapon_vintagepistol"] = "Pistola Vintage", -- Shotguns - ['weapon_assaultshotgun'] = "Escopeta de Asalto", - ['weapon_autoshotgun'] = "Escopeta Automática", - ['weapon_bullpupshotgun'] = "Escopeta Bullpup", - ['weapon_combatshotgun'] = "Escopeta Combate", - ['weapon_dbshotgun'] = "Escopeta de Doble Barril", - ['weapon_heavyshotgun'] = "Escopeta Pesada", - ['weapon_musket'] = "Mosquete", - ['weapon_pumpshotgun'] = "Escopeta de Bombeo", - ['weapon_pumpshotgun_mk2'] = "Escopeta de Bombeo MK2", - ['weapon_sawnoffshotgun'] = "Escopeta Recortada", + ["weapon_assaultshotgun"] = "Escopeta de Asalto", + ["weapon_autoshotgun"] = "Escopeta Automática", + ["weapon_bullpupshotgun"] = "Escopeta Bullpup", + ["weapon_combatshotgun"] = "Escopeta Combate", + ["weapon_dbshotgun"] = "Escopeta de Doble Barril", + ["weapon_heavyshotgun"] = "Escopeta Pesada", + ["weapon_musket"] = "Mosquete", + ["weapon_pumpshotgun"] = "Escopeta de Bombeo", + ["weapon_pumpshotgun_mk2"] = "Escopeta de Bombeo MK2", + ["weapon_sawnoffshotgun"] = "Escopeta Recortada", -- SMG & LMG - ['weapon_assaultsmg'] = "Subfusil de Asalto", - ['weapon_combatmg'] = "Ametralladora de Combate", - ['weapon_combatmg_mk2'] = "Ametralladora MK2", - ['weapon_combatpdw'] = "Subfusil PDW", - ['weapon_gusenberg'] = "Subfusil de Barril", - ['weapon_machinepistol'] = "Pistola Ametralladora", - ['weapon_mg'] = "Ametralladora", - ['weapon_microsmg'] = "Micro Subfusil", - ['weapon_minismg'] = "Mini Subfusil", - ['weapon_smg'] = "Subfusil", - ['weapon_smg_mk2'] = "Subfusil MK2", - ['weapon_raycarbine'] = "Ametralladora de Rayos", + ["weapon_assaultsmg"] = "Subfusil de Asalto", + ["weapon_combatmg"] = "Ametralladora de Combate", + ["weapon_combatmg_mk2"] = "Ametralladora MK2", + ["weapon_combatpdw"] = "Subfusil PDW", + ["weapon_gusenberg"] = "Subfusil de Barril", + ["weapon_machinepistol"] = "Pistola Ametralladora", + ["weapon_mg"] = "Ametralladora", + ["weapon_microsmg"] = "Micro Subfusil", + ["weapon_minismg"] = "Mini Subfusil", + ["weapon_smg"] = "Subfusil", + ["weapon_smg_mk2"] = "Subfusil MK2", + ["weapon_raycarbine"] = "Ametralladora de Rayos", -- Rifles - ['weapon_advancedrifle'] = "Rifle Avanzado", - ['weapon_assaultrifle'] = "Rifle de Asalto", - ['weapon_assaultrifle_mk2'] = "Rifle de Asalto MK2", - ['weapon_bullpuprifle'] = "Rifle Bullpup", - ['weapon_bullpuprifle_mk2'] = "Rifle Bullpup MK2", - ['weapon_carbinerifle'] = "Carabina", - ['weapon_carbinerifle_mk2'] = "Carabina MK2", - ['weapon_compactrifle'] = "Rifle Compacto", - ['weapon_militaryrifle'] = "Rifle Militar", - ['weapon_specialcarbine'] = "Carabina Especial", - ['weapon_specialcarbine_mk2'] = "Carabina Especial MK2", + ["weapon_advancedrifle"] = "Rifle Avanzado", + ["weapon_assaultrifle"] = "Rifle de Asalto", + ["weapon_assaultrifle_mk2"] = "Rifle de Asalto MK2", + ["weapon_bullpuprifle"] = "Rifle Bullpup", + ["weapon_bullpuprifle_mk2"] = "Rifle Bullpup MK2", + ["weapon_carbinerifle"] = "Carabina", + ["weapon_carbinerifle_mk2"] = "Carabina MK2", + ["weapon_compactrifle"] = "Rifle Compacto", + ["weapon_militaryrifle"] = "Rifle Militar", + ["weapon_specialcarbine"] = "Carabina Especial", + ["weapon_specialcarbine_mk2"] = "Carabina Especial MK2", -- Sniper - ['weapon_heavysniper'] = "Francotirador Pesado", - ['weapon_heavysniper_mk2'] = "Francotirador Pesado MK2", - ['weapon_marksmanrifle'] = "Rifle Marksman", - ['weapon_marksmanrifle_mk2'] = "Rifle Marksman MK2", - ['weapon_sniperrifle'] = "Rifle de Francotirador", + ["weapon_heavysniper"] = "Francotirador Pesado", + ["weapon_heavysniper_mk2"] = "Francotirador Pesado MK2", + ["weapon_marksmanrifle"] = "Rifle Marksman", + ["weapon_marksmanrifle_mk2"] = "Rifle Marksman MK2", + ["weapon_sniperrifle"] = "Rifle de Francotirador", -- Heavy / Launchers - ['weapon_compactlauncher'] = "Lanzador Compacto", - ['weapon_firework'] = "Lanzador de Fuegos Artificiales", - ['weapon_grenadelauncher'] = "Lanzagranadas", - ['weapon_hominglauncher'] = "Lanzacohetes Guiado", - ['weapon_minigun'] = "Minigun", - ['weapon_railgun'] = "Cañón de riel", - ['weapon_rpg'] = "Lanzador de cohetes", - ['weapon_rayminigun'] = "Minigun de Rayos", + ["weapon_compactlauncher"] = "Lanzador Compacto", + ["weapon_firework"] = "Lanzador de Fuegos Artificiales", + ["weapon_grenadelauncher"] = "Lanzagranadas", + ["weapon_hominglauncher"] = "Lanzacohetes Guiado", + ["weapon_minigun"] = "Minigun", + ["weapon_railgun"] = "Cañón de riel", + ["weapon_rpg"] = "Lanzador de cohetes", + ["weapon_rayminigun"] = "Minigun de Rayos", -- Thrown - ['weapon_ball'] = "Pelota de Beisbol", - ['weapon_bzgas'] = "Gas Pimienta", - ['weapon_flare'] = "Bengala", - ['weapon_grenade'] = "Granada", - ['weapon_petrolcan'] = "Bidon de Gasolina", - ['weapon_hazardcan'] = "Bidón de Gasolina Peligroso", - ['weapon_molotov'] = "Molotov", - ['weapon_proxmine'] = "Mina de Proximidad ", - ['weapon_pipebomb'] = "Bomba casera", - ['weapon_snowball'] = "Bola de nieve", - ['weapon_stickybomb'] = "C4", - ['weapon_smokegrenade'] = "Granada de Humo", + ["weapon_ball"] = "Pelota de Beisbol", + ["weapon_bzgas"] = "Gas Pimienta", + ["weapon_flare"] = "Bengala", + ["weapon_grenade"] = "Granada", + ["weapon_petrolcan"] = "Bidon de Gasolina", + ["weapon_hazardcan"] = "Bidón de Gasolina Peligroso", + ["weapon_molotov"] = "Molotov", + ["weapon_proxmine"] = "Mina de Proximidad ", + ["weapon_pipebomb"] = "Bomba casera", + ["weapon_snowball"] = "Bola de nieve", + ["weapon_stickybomb"] = "C4", + ["weapon_smokegrenade"] = "Granada de Humo", -- Special - ['weapon_fireextinguisher'] = "Extintor", - ['weapon_digiscanner'] = "Escaner Digital", - ['weapon_garbagebag'] = "Bolsa de Basura", - ['weapon_handcuffs'] = "Grilletes", - ['gadget_nightvision'] = "Vision Nocturna", - ['gadget_parachute'] = "Paracaidas", + ["weapon_fireextinguisher"] = "Extintor", + ["weapon_digiscanner"] = "Escaner Digital", + ["weapon_garbagebag"] = "Bolsa de Basura", + ["weapon_handcuffs"] = "Grilletes", + ["gadget_nightvision"] = "Vision Nocturna", + ["gadget_parachute"] = "Paracaidas", -- Weapon Components - ['component_knuckle_base'] = "Modelo Basico", - ['component_knuckle_pimp'] = "el Proxeneta", - ['component_knuckle_ballas'] = "los Ballas", - ['component_knuckle_dollar'] = "el Buscavidas", - ['component_knuckle_diamond'] = "la Roca", - ['component_knuckle_hate'] = "el Hater", - ['component_knuckle_love'] = "el Amante", - ['component_knuckle_player'] = "el Jugador", - ['component_knuckle_king'] = "el Rey", - ['component_knuckle_vagos'] = "los Vagos", + ["component_knuckle_base"] = "Modelo Basico", + ["component_knuckle_pimp"] = "el Proxeneta", + ["component_knuckle_ballas"] = "los Ballas", + ["component_knuckle_dollar"] = "el Buscavidas", + ["component_knuckle_diamond"] = "la Roca", + ["component_knuckle_hate"] = "el Hater", + ["component_knuckle_love"] = "el Amante", + ["component_knuckle_player"] = "el Jugador", + ["component_knuckle_king"] = "el Rey", + ["component_knuckle_vagos"] = "los Vagos", - ['component_luxary_finish'] = "Acabado de Armas de Lujo", + ["component_luxary_finish"] = "Acabado de Armas de Lujo", - ['component_handle_default'] = "Mango Default", - ['component_handle_vip'] = "Mango VIP", - ['component_handle_bodyguard'] = "Mango de Guardaespaldas", + ["component_handle_default"] = "Mango Default", + ["component_handle_vip"] = "Mango VIP", + ["component_handle_bodyguard"] = "Mango de Guardaespaldas", - ['component_vip_finish'] = "Acabado VIP", - ['component_bodyguard_finish'] = "Acabado Guardaespaldas", + ["component_vip_finish"] = "Acabado VIP", + ["component_bodyguard_finish"] = "Acabado Guardaespaldas", - ['component_camo_finish'] = "Camuflaje Digital", - ['component_camo_finish2'] = "Camuflaje Pincelada", - ['component_camo_finish3'] = "Camuflaje Bosque", - ['component_camo_finish4'] = "Camuflaje Calavera", - ['component_camo_finish5'] = "Camuflaje Sessanta Nove", - ['component_camo_finish6'] = "Camuflaje Perseo", - ['component_camo_finish7'] = "Camuflaje Leopardo", - ['component_camo_finish8'] = "Camuflaje Zebra", - ['component_camo_finish9'] = "Camuflaje Geométrico", - ['component_camo_finish10'] = "Camuflaje Boom", - ['component_camo_finish11'] = "Camuflaje Patriotico", + ["component_camo_finish"] = "Camuflaje Digital", + ["component_camo_finish2"] = "Camuflaje Pincelada", + ["component_camo_finish3"] = "Camuflaje Bosque", + ["component_camo_finish4"] = "Camuflaje Calavera", + ["component_camo_finish5"] = "Camuflaje Sessanta Nove", + ["component_camo_finish6"] = "Camuflaje Perseo", + ["component_camo_finish7"] = "Camuflaje Leopardo", + ["component_camo_finish8"] = "Camuflaje Zebra", + ["component_camo_finish9"] = "Camuflaje Geométrico", + ["component_camo_finish10"] = "Camuflaje Boom", + ["component_camo_finish11"] = "Camuflaje Patriotico", - ['component_camo_slide_finish'] = "Camuflaje Digital Deslizante", - ['component_camo_slide_finish2'] = "Camuflaje Pincelada Deslizante", - ['component_camo_slide_finish3'] = "Camuflaje Bosque Deslizante", - ['component_camo_slide_finish4'] = "Camuflaje Calavera Deslizante", - ['component_camo_slide_finish5'] = "Camuflaje Sessanta Nove Deslizante", - ['component_camo_slide_finish6'] = "Camuflaje Perseo Deslizante", - ['component_camo_slide_finish7'] = "Camuflaje Leopardo Deslizante", - ['component_camo_slide_finish8'] = "Camuflaje Zebra Deslizante", - ['component_camo_slide_finish9'] = "Camuflaje Geométrico Deslizante", - ['component_camo_slide_finish10'] = "Camuflaje Boom Deslizante", - ['component_camo_slide_finish11'] = "Camuflaje Patriotico Deslizante", + ["component_camo_slide_finish"] = "Camuflaje Digital Deslizante", + ["component_camo_slide_finish2"] = "Camuflaje Pincelada Deslizante", + ["component_camo_slide_finish3"] = "Camuflaje Bosque Deslizante", + ["component_camo_slide_finish4"] = "Camuflaje Calavera Deslizante", + ["component_camo_slide_finish5"] = "Camuflaje Sessanta Nove Deslizante", + ["component_camo_slide_finish6"] = "Camuflaje Perseo Deslizante", + ["component_camo_slide_finish7"] = "Camuflaje Leopardo Deslizante", + ["component_camo_slide_finish8"] = "Camuflaje Zebra Deslizante", + ["component_camo_slide_finish9"] = "Camuflaje Geométrico Deslizante", + ["component_camo_slide_finish10"] = "Camuflaje Boom Deslizante", + ["component_camo_slide_finish11"] = "Camuflaje Patriotico Deslizante", - ['component_clip_default'] = "Cargador Default", - ['component_clip_extended'] = "Cargador Extendido", - ['component_clip_drum'] = "Cargador Barril", - ['component_clip_box'] = "Caja de Cargador", + ["component_clip_default"] = "Cargador Default", + ["component_clip_extended"] = "Cargador Extendido", + ["component_clip_drum"] = "Cargador Barril", + ["component_clip_box"] = "Caja de Cargador", - ['component_scope_holo'] = "Mira Holográfica", - ['component_scope_small'] = "Mira Pequeña", - ['component_scope_medium'] = "Mira Mediana", - ['component_scope_large'] = "Mira Larga", - ['component_scope'] = "Mira", - ['component_scope_advanced'] = "Mira Avanzada", - ['component_ironsights'] = "Mira de Hierro", + ["component_scope_holo"] = "Mira Holográfica", + ["component_scope_small"] = "Mira Pequeña", + ["component_scope_medium"] = "Mira Mediana", + ["component_scope_large"] = "Mira Larga", + ["component_scope"] = "Mira", + ["component_scope_advanced"] = "Mira Avanzada", + ["component_ironsights"] = "Mira de Hierro", - ['component_suppressor'] = "Silenciador", - ['component_compensator'] = "Estabilizador", + ["component_suppressor"] = "Silenciador", + ["component_compensator"] = "Estabilizador", - ['component_muzzle_flat'] = "Boquilla de Freno Plana", - ['component_muzzle_tactical'] = "Boquilla de Freno Tactica", - ['component_muzzle_fat'] = "Boquilla de Freno Punta Gorda", - ['component_muzzle_precision'] = "Boquilla de Freno de Precision", - ['component_muzzle_heavy'] = "Boquilla de Freno Pesada", - ['component_muzzle_slanted'] = "Boquilla de Freno inclinada", - ['component_muzzle_split'] = "Boquilla de Freno de Puntas Abiertas", - ['component_muzzle_squared'] = "Boquilla de Freno Cuadrada", + ["component_muzzle_flat"] = "Boquilla de Freno Plana", + ["component_muzzle_tactical"] = "Boquilla de Freno Tactica", + ["component_muzzle_fat"] = "Boquilla de Freno Punta Gorda", + ["component_muzzle_precision"] = "Boquilla de Freno de Precision", + ["component_muzzle_heavy"] = "Boquilla de Freno Pesada", + ["component_muzzle_slanted"] = "Boquilla de Freno inclinada", + ["component_muzzle_split"] = "Boquilla de Freno de Puntas Abiertas", + ["component_muzzle_squared"] = "Boquilla de Freno Cuadrada", - ['component_flashlight'] = "Linterna", - ['component_grip'] = "Agarre", + ["component_flashlight"] = "Linterna", + ["component_grip"] = "Agarre", - ['component_barrel_default'] = "Barril Por Defecto", - ['component_barrel_heavy'] = "Barril Pesado", + ["component_barrel_default"] = "Barril Por Defecto", + ["component_barrel_heavy"] = "Barril Pesado", - ['component_ammo_tracer'] = "Munición de Rastreo", - ['component_ammo_incendiary'] = "Munición Incendiaria", - ['component_ammo_hollowpoint'] = "Munición de Punta Hueca", - ['component_ammo_fmj'] = "Munición fMJ", - ['component_ammo_armor'] = "Munición Perforante para Blindaje", - ['component_ammo_explosive'] = "Munición Incendiaria Perforadora de Blindajes", + ["component_ammo_tracer"] = "Munición de Rastreo", + ["component_ammo_incendiary"] = "Munición Incendiaria", + ["component_ammo_hollowpoint"] = "Munición de Punta Hueca", + ["component_ammo_fmj"] = "Munición fMJ", + ["component_ammo_armor"] = "Munición Perforante para Blindaje", + ["component_ammo_explosive"] = "Munición Incendiaria Perforadora de Blindajes", - ['component_shells_default'] = "Casquillos Por Defecto", - ['component_shells_incendiary'] = "Casquillos Aliento de Dragón", - ['component_shells_armor'] = "Casquillos Perdigones de Acero", - ['component_shells_hollowpoint'] = "Casquillos Punta Hueca", - ['component_shells_explosive'] = "Casquillos Posta Explosiva", + ["component_shells_default"] = "Casquillos Por Defecto", + ["component_shells_incendiary"] = "Casquillos Aliento de Dragón", + ["component_shells_armor"] = "Casquillos Perdigones de Acero", + ["component_shells_hollowpoint"] = "Casquillos Punta Hueca", + ["component_shells_explosive"] = "Casquillos Posta Explosiva", -- Weapon Ammo - ['ammo_rounds'] = "Redonda/s", - ['ammo_shells'] = "Casquillo/s", - ['ammo_charge'] = "Carga", - ['ammo_petrol'] = "Galones de Combustible", - ['ammo_firework'] = "Fuegos Artificiale/s", - ['ammo_rockets'] = "Cohete/s", - ['ammo_grenadelauncher'] = "Granada/s", - ['ammo_grenade'] = "Granada/s", - ['ammo_stickybomb'] = "Bomba/s", - ['ammo_pipebomb'] = "Bomba/s", - ['ammo_smokebomb'] = "Bomba/s", - ['ammo_molotov'] = "Molotov/s", - ['ammo_proxmine'] = "Mina(s)", - ['ammo_bzgas'] = "Lata(s)", - ['ammo_ball'] = "Bola(s)", - ['ammo_snowball'] = "Bola(s)", - ['ammo_flare'] = "Bengala(s)", - ['ammo_flaregun'] = "Bengala(s)", + ["ammo_rounds"] = "Redonda/s", + ["ammo_shells"] = "Casquillo/s", + ["ammo_charge"] = "Carga", + ["ammo_petrol"] = "Galones de Combustible", + ["ammo_firework"] = "Fuegos Artificiale/s", + ["ammo_rockets"] = "Cohete/s", + ["ammo_grenadelauncher"] = "Granada/s", + ["ammo_grenade"] = "Granada/s", + ["ammo_stickybomb"] = "Bomba/s", + ["ammo_pipebomb"] = "Bomba/s", + ["ammo_smokebomb"] = "Bomba/s", + ["ammo_molotov"] = "Molotov/s", + ["ammo_proxmine"] = "Mina(s)", + ["ammo_bzgas"] = "Lata(s)", + ["ammo_ball"] = "Bola(s)", + ["ammo_snowball"] = "Bola(s)", + ["ammo_flare"] = "Bengala(s)", + ["ammo_flaregun"] = "Bengala(s)", -- Weapon Tints - ['tint_default'] = "Skin común", - ['tint_green'] = "Skin Verde", - ['tint_gold'] = "Skin Oro", - ['tint_pink'] = "Skin Rosa", - ['tint_army'] = "Skin Militar", - ['tint_lspd'] = "Skin Azul", - ['tint_orange'] = "Skin Naranja", - ['tint_platinum'] = "Skin Plata", + ["tint_default"] = "Skin común", + ["tint_green"] = "Skin Verde", + ["tint_gold"] = "Skin Oro", + ["tint_pink"] = "Skin Rosa", + ["tint_army"] = "Skin Militar", + ["tint_lspd"] = "Skin Azul", + ["tint_orange"] = "Skin Naranja", + ["tint_platinum"] = "Skin Plata", -- Duty related - ['stopped_duty'] = "Has salido de servicio.", - ['started_duty'] = "Has entrado de servicio.", + ["stopped_duty"] = "Has salido de servicio.", + ["started_duty"] = "Has entrado de servicio.", } diff --git a/[core]/es_extended/locales/fi.lua b/[core]/es_extended/locales/fi.lua index 70aff891..ed3a40e7 100644 --- a/[core]/es_extended/locales/fi.lua +++ b/[core]/es_extended/locales/fi.lua @@ -1,228 +1,228 @@ -Locales['fi'] = { +Locales["fi"] = { -- Inventory - ['inventory'] = "Reppu %s / %s", - ['use'] = "Käytä", - ['give'] = "Anna", - ['remove'] = "Poista", - ['return'] = "Takaisin", - ['give_to'] = "Anna henkilölle", - ['amount'] = "Määrä", - ['giveammo'] = "Anna ammuksia", - ['amountammo'] = "Ammusten määrä", - ['noammo'] = "Sinulla ei ole ammuksia!", - ['gave_item'] = "Sinä annoit %sx %s henkilölle %s", - ['received_item'] = "Sinä sait %sx %s henkilöltä %s", - ['gave_weapon'] = "Sinä annoit 1x %s henkilölle %s", - ['gave_weapon_ammo'] = "Annoit ~o~%sx %s kohteelle %s henkilölle %s", - ['gave_weapon_withammo'] = "Sinä annoit 1x %s ammuksella ~o~%sx %s henkilölle %s", - ['gave_weapon_hasalready'] = "%s omistaa jo %s", - ['gave_weapon_noweapon'] = "%s ei ole kyseistä asetta", - ['received_weapon'] = "Vastaanotit 1x %s henkilöltä %s", - ['received_weapon_ammo'] = "Sinä sait ~o~%sx %s sinun %s varten henkilöltä %s", - ['received_weapon_withammo'] = "Sinä sait 1x %s ammuksella ~o~%sx %s henkilöltä %s", - ['received_weapon_hasalready'] = "%s yritti antaa sinulle %s, mutta sinulla on jo sellainen", - ['received_weapon_noweapon'] = "%s yritti antaa sinulle ammuksia %s:lle, mutta sinulla ei ole sellaista", - ['gave_account_money'] = "Sinä annoit $%s (%s) henkilölle %s", - ['received_account_money'] = "Sinä sait $%s (%s) henkilöltä %s", - ['amount_invalid'] = "Virheellinen määrä", - ['players_nearby'] = "Ei pelaajia lähettyvillä", - ['ex_inv_lim'] = "Toiminto mahdoton, reppu alkaa olla täysi %s", - ['imp_invalid_quantity'] = "Toiminto mahdoton, virheellinen määrä", - ['imp_invalid_amount'] = "Toiminto mahdoton, virhellinen summa", - ['threw_standard'] = "Sinä heitit %sx %s", - ['threw_account'] = "Sinä heitit $%s %s", - ['threw_weapon'] = "Sinä heitit 1x %s", - ['threw_weapon_ammo'] = "Heitit 1x %s ammuksella ~o~%sx %s", - ['threw_weapon_already'] = "Sinulla on jo sama ase", - ['threw_cannot_pickup'] = "Et voi kerätä sitä, koska reppusi on täynnä", - ['threw_pickup_prompt'] = "Paina E kerätäksesi", + ["inventory"] = "Reppu %s / %s", + ["use"] = "Käytä", + ["give"] = "Anna", + ["remove"] = "Poista", + ["return"] = "Takaisin", + ["give_to"] = "Anna henkilölle", + ["amount"] = "Määrä", + ["giveammo"] = "Anna ammuksia", + ["amountammo"] = "Ammusten määrä", + ["noammo"] = "Sinulla ei ole ammuksia!", + ["gave_item"] = "Sinä annoit %sx %s henkilölle %s", + ["received_item"] = "Sinä sait %sx %s henkilöltä %s", + ["gave_weapon"] = "Sinä annoit 1x %s henkilölle %s", + ["gave_weapon_ammo"] = "Annoit ~o~%sx %s kohteelle %s henkilölle %s", + ["gave_weapon_withammo"] = "Sinä annoit 1x %s ammuksella ~o~%sx %s henkilölle %s", + ["gave_weapon_hasalready"] = "%s omistaa jo %s", + ["gave_weapon_noweapon"] = "%s ei ole kyseistä asetta", + ["received_weapon"] = "Vastaanotit 1x %s henkilöltä %s", + ["received_weapon_ammo"] = "Sinä sait ~o~%sx %s sinun %s varten henkilöltä %s", + ["received_weapon_withammo"] = "Sinä sait 1x %s ammuksella ~o~%sx %s henkilöltä %s", + ["received_weapon_hasalready"] = "%s yritti antaa sinulle %s, mutta sinulla on jo sellainen", + ["received_weapon_noweapon"] = "%s yritti antaa sinulle ammuksia %s:lle, mutta sinulla ei ole sellaista", + ["gave_account_money"] = "Sinä annoit $%s (%s) henkilölle %s", + ["received_account_money"] = "Sinä sait $%s (%s) henkilöltä %s", + ["amount_invalid"] = "Virheellinen määrä", + ["players_nearby"] = "Ei pelaajia lähettyvillä", + ["ex_inv_lim"] = "Toiminto mahdoton, reppu alkaa olla täysi %s", + ["imp_invalid_quantity"] = "Toiminto mahdoton, virheellinen määrä", + ["imp_invalid_amount"] = "Toiminto mahdoton, virhellinen summa", + ["threw_standard"] = "Sinä heitit %sx %s", + ["threw_account"] = "Sinä heitit $%s %s", + ["threw_weapon"] = "Sinä heitit 1x %s", + ["threw_weapon_ammo"] = "Heitit 1x %s ammuksella ~o~%sx %s", + ["threw_weapon_already"] = "Sinulla on jo sama ase", + ["threw_cannot_pickup"] = "Et voi kerätä sitä, koska reppusi on täynnä", + ["threw_pickup_prompt"] = "Paina E kerätäksesi", -- Key mapping - ['keymap_showinventory'] = "Avaa reppu", + ["keymap_showinventory"] = "Avaa reppu", -- Salary related - ['received_salary'] = "Vastaanotit palkkaa: $%s", - ['received_help'] = "Vastaanotit valtion tukea: $%s", - ['company_nomoney'] = "Yrityksellä jolle teet töitä ei ole varaa maksaa palkkaasi", - ['received_paycheck'] = "Sait palkan", - ['bank'] = "Pankki", - ['account_bank'] = "Pankki", - ['account_black_money'] = "Likainen raha", - ['account_money'] = "Käteinen", + ["received_salary"] = "Vastaanotit palkkaa: $%s", + ["received_help"] = "Vastaanotit valtion tukea: $%s", + ["company_nomoney"] = "Yrityksellä jolle teet töitä ei ole varaa maksaa palkkaasi", + ["received_paycheck"] = "Sait palkan", + ["bank"] = "Pankki", + ["account_bank"] = "Pankki", + ["account_black_money"] = "Likainen raha", + ["account_money"] = "Käteinen", - ['act_imp'] = "Toiminto mahdoton", - ['in_vehicle'] = "Et voi antaa ajoneuvossa olevalle mitään", + ["act_imp"] = "Toiminto mahdoton", + ["in_vehicle"] = "Et voi antaa ajoneuvossa olevalle mitään", -- Commands - ['command_car'] = "Luo ajoneuvo", - ['command_car_car'] = "Ajoneuvon nimi tai hash", - ['command_cardel'] = "Poistaa ajoneuvon läheltä", - ['command_cardel_radius'] = "Valinnainen, poista kaikki ajoneuvot määritetyllä säteellä", - ['command_clear'] = "Tyhjennä keskustelu", - ['command_clearall'] = "Tyhjennä keskustelu kaikilta pelaajilta", - ['command_clearinventory'] = "Tyhjennä pelaajan reppu", - ['command_clearloadout'] = "Tyhjennä pelaajan varustus", - ['command_giveaccountmoney'] = "Anna tilirahaa", - ['command_giveaccountmoney_account'] = "Kelvollinen tilin nimi", - ['command_giveaccountmoney_amount'] = "Lisättävä määrä", - ['command_giveaccountmoney_invalid'] = "Virheellinen tili nimi", - ['command_giveitem'] = "Anna pelaajalle esine", - ['command_giveitem_item'] = "Esineen nimi", - ['command_giveitem_count'] = "Esineiden määrä", - ['command_giveweapon'] = "Anna pelaajalle ase", - ['command_giveweapon_weapon'] = "Aseen nimi", - ['command_giveweapon_ammo'] = "Ammusten määrä", - ['command_giveweapon_hasalready'] = "Pelaajalla on jo kyseinen ase", - ['command_giveweaponcomponent'] = "Anna aseen komponentti", - ['command_giveweaponcomponent_component'] = "Komponentin nimi", - ['command_giveweaponcomponent_invalid'] = "Virheellinen aseen komponentti", - ['command_giveweaponcomponent_hasalready'] = "Pelaajalla on jo kyseinen asekomponentti", - ['command_giveweaponcomponent_missingweapon'] = "Pelaajalla ei ole kyseistä asetta", - ['command_save'] = "Talenna pelaaja tietokantaan", - ['command_saveall'] = "Tallenna kaikki pelaajat tietokantaan", - ['command_setaccountmoney'] = "Aseta tilirahaa pelaajalle", - ['command_setaccountmoney_amount'] = "Asetettava rahamäärä", - ['command_setcoords'] = "Teleporttaa koordinaatteihin", - ['command_setcoords_x'] = "x akseli", - ['command_setcoords_y'] = "y akseli", - ['command_setcoords_z'] = "z akseli", - ['command_setjob'] = "Aseta pelaajalle työ", - ['command_setjob_job'] = "Työ", - ['command_setjob_grade'] = "Arvo", - ['command_setjob_invalid'] = "Työ ja arvo tai molemmat ovat virheellisiä", - ['command_setgroup'] = "Aseta pelaajan ryhmä", - ['command_setgroup_group'] = "Ryhmän nimi", - ['commanderror_argumentmismatch'] = "Argumenttien määrä ei täsmää (hyväksytty %s, haluttu %s)", - ['commanderror_argumentmismatch_number'] = "Argumentin #%s tyyppi ei täsmää (syötetty merkkijono, haluttu numero)", - ['commanderror_invaliditem'] = "Virheellinen esineen nimi", - ['commanderror_invalidweapon'] = "Virheellinen ase", - ['commanderror_console'] = "Komentoa ei voi suorittaa konsolissa", - ['commanderror_invalidcommand'] = "/%s ei ole kelvollinen komento!", - ['commanderror_invalidplayerid'] = "Palvelimella ei ole pelaajaa, joka vastaa annetua ID", - ['commandgeneric_playerid'] = "Pelaajan ID", - ['command_giveammo_noweapon_found'] = "%s ei ole sitä asetta", - ['command_giveammo_weapon'] = "Aseen nimi", - ['command_giveammo_ammo'] = "Ammusten määrä", + ["command_car"] = "Luo ajoneuvo", + ["command_car_car"] = "Ajoneuvon nimi tai hash", + ["command_cardel"] = "Poistaa ajoneuvon läheltä", + ["command_cardel_radius"] = "Valinnainen, poista kaikki ajoneuvot määritetyllä säteellä", + ["command_clear"] = "Tyhjennä keskustelu", + ["command_clearall"] = "Tyhjennä keskustelu kaikilta pelaajilta", + ["command_clearinventory"] = "Tyhjennä pelaajan reppu", + ["command_clearloadout"] = "Tyhjennä pelaajan varustus", + ["command_giveaccountmoney"] = "Anna tilirahaa", + ["command_giveaccountmoney_account"] = "Kelvollinen tilin nimi", + ["command_giveaccountmoney_amount"] = "Lisättävä määrä", + ["command_giveaccountmoney_invalid"] = "Virheellinen tili nimi", + ["command_giveitem"] = "Anna pelaajalle esine", + ["command_giveitem_item"] = "Esineen nimi", + ["command_giveitem_count"] = "Esineiden määrä", + ["command_giveweapon"] = "Anna pelaajalle ase", + ["command_giveweapon_weapon"] = "Aseen nimi", + ["command_giveweapon_ammo"] = "Ammusten määrä", + ["command_giveweapon_hasalready"] = "Pelaajalla on jo kyseinen ase", + ["command_giveweaponcomponent"] = "Anna aseen komponentti", + ["command_giveweaponcomponent_component"] = "Komponentin nimi", + ["command_giveweaponcomponent_invalid"] = "Virheellinen aseen komponentti", + ["command_giveweaponcomponent_hasalready"] = "Pelaajalla on jo kyseinen asekomponentti", + ["command_giveweaponcomponent_missingweapon"] = "Pelaajalla ei ole kyseistä asetta", + ["command_save"] = "Talenna pelaaja tietokantaan", + ["command_saveall"] = "Tallenna kaikki pelaajat tietokantaan", + ["command_setaccountmoney"] = "Aseta tilirahaa pelaajalle", + ["command_setaccountmoney_amount"] = "Asetettava rahamäärä", + ["command_setcoords"] = "Teleporttaa koordinaatteihin", + ["command_setcoords_x"] = "x akseli", + ["command_setcoords_y"] = "y akseli", + ["command_setcoords_z"] = "z akseli", + ["command_setjob"] = "Aseta pelaajalle työ", + ["command_setjob_job"] = "Työ", + ["command_setjob_grade"] = "Arvo", + ["command_setjob_invalid"] = "Työ ja arvo tai molemmat ovat virheellisiä", + ["command_setgroup"] = "Aseta pelaajan ryhmä", + ["command_setgroup_group"] = "Ryhmän nimi", + ["commanderror_argumentmismatch"] = "Argumenttien määrä ei täsmää (hyväksytty %s, haluttu %s)", + ["commanderror_argumentmismatch_number"] = "Argumentin #%s tyyppi ei täsmää (syötetty merkkijono, haluttu numero)", + ["commanderror_invaliditem"] = "Virheellinen esineen nimi", + ["commanderror_invalidweapon"] = "Virheellinen ase", + ["commanderror_console"] = "Komentoa ei voi suorittaa konsolissa", + ["commanderror_invalidcommand"] = "/%s ei ole kelvollinen komento!", + ["commanderror_invalidplayerid"] = "Palvelimella ei ole pelaajaa, joka vastaa annetua ID", + ["commandgeneric_playerid"] = "Pelaajan ID", + ["command_giveammo_noweapon_found"] = "%s ei ole sitä asetta", + ["command_giveammo_weapon"] = "Aseen nimi", + ["command_giveammo_ammo"] = "Ammusten määrä", -- Locale settings - ['locale_digit_grouping_symbol'] = "", - ['locale_currency'] = "$%s", + ["locale_digit_grouping_symbol"] = "", + ["locale_currency"] = "$%s", -- Weapons - ['weapon_knife'] = "Veitsi", - ['weapon_nightstick'] = "Pamppu", - ['weapon_hammer'] = "Vasara", - ['weapon_bat'] = "Pesäpallomaila", - ['weapon_golfclub'] = "Golf maila", - ['weapon_crowbar'] = "Sorkkarauta", - ['weapon_pistol'] = "Pistooli", - ['weapon_combatpistol'] = "Taistelu pistooli", - ['weapon_appistol'] = "Automaatti pistooli", - ['weapon_pistol50'] = "50 kaliiperinen pistooli", - ['weapon_microsmg'] = "Mikro konepistooli", - ['weapon_smg'] = "Konepistooli", - ['weapon_assaultsmg'] = "Rynnäkkö konepistooli", - ['weapon_assaultrifle'] = "Rynnäkkökivääri", - ['weapon_carbinerifle'] = "Karbiini kivääri", - ['weapon_advancedrifle'] = "Edistynyt kivääri", - ['weapon_mg'] = "Konekivääri", - ['weapon_combatmg'] = "Rynnäkkö konekivääri", - ['weapon_pumpshotgun'] = "Pumppu haulikko", - ['weapon_sawnoffshotgun'] = "Katkaistuhaulikko", - ['weapon_assaultshotgun'] = "Hyökkäyshaulikko", - ['weapon_bullpupshotgun'] = "Bullpup haulikko", - ['weapon_stungun'] = "Tainutusase", - ['weapon_sniperrifle'] = "Tarkkuuskivääri", - ['weapon_heavysniper'] = "Raskas tarkkuuskivääri", - ['weapon_grenadelauncher'] = "Kranaatinheitin", - ['weapon_rpg'] = "Raketinheitin", - ['weapon_minigun'] = "Minigun", - ['weapon_grenade'] = "Kranaatti", - ['weapon_stickybomb'] = "Tahma pommi", - ['weapon_smokegrenade'] = "Savukranaatti", - ['weapon_bzgas'] = "Bz-kaasu", - ['weapon_molotov'] = "Polttopullo", - ['weapon_fireextinguisher'] = "Palosammutin", - ['weapon_petrolcan'] = "Jerrykannu", - ['weapon_ball'] = "Pallo", - ['weapon_snspistol'] = "Pienpistooli", - ['weapon_bottle'] = "Pullo", - ['weapon_gusenberg'] = "Thompson-konepistooli", - ['weapon_specialcarbine'] = "G86C", - ['weapon_heavypistol'] = "Raskas pistooli", - ['weapon_bullpuprifle'] = "Bullpup kivääri", - ['weapon_dagger'] = "Tikari", - ['weapon_vintagepistol'] = "Vanha pistooli", - ['weapon_firework'] = "Ilotulite", - ['weapon_musket'] = "Musketti", - ['weapon_heavyshotgun'] = "Raskas haulikko", - ['weapon_marksmanrifle'] = "Marksman kivääri", - ['weapon_hominglauncher'] = "Ohjautuva raketinheitin", - ['weapon_proxmine'] = "Lähellä räjähtävä miina", - ['weapon_snowball'] = "Lumipallo", - ['weapon_flaregun'] = "Valopistooli", - ['weapon_combatpdw'] = "Rynnäkkö pdw", - ['weapon_marksmanpistol'] = "Marksman pistooli", - ['weapon_knuckle'] = "Nyrkkirauta", - ['weapon_hatchet'] = "Kirves", - ['weapon_railgun'] = "Raidetykki", - ['weapon_machete'] = "Viidakkoveitsi", - ['weapon_machinepistol'] = "Konepistooli", - ['weapon_switchblade'] = "Stiletti", - ['weapon_revolver'] = "Raskas revolveri", - ['weapon_dbshotgun'] = "Kaksipiippunen haulikko", - ['weapon_compactrifle'] = "Pikku AK", - ['weapon_autoshotgun'] = "Automaattinen haulikko", - ['weapon_battleaxe'] = "Taistelukirves", - ['weapon_compactlauncher'] = "Pien kranaatinheitin", - ['weapon_minismg'] = "Mini konepistooli", - ['weapon_pipebomb'] = "Putkipommi", - ['weapon_poolcue'] = "Biljardimaila", - ['weapon_wrench'] = "Putkipihdit", - ['weapon_flashlight'] = "Taskulamppu", - ['gadget_parachute'] = "Laskuvarjo", - ['weapon_flare'] = "Hätäraketti", - ['weapon_doubleaction'] = "Double action revolveri", + ["weapon_knife"] = "Veitsi", + ["weapon_nightstick"] = "Pamppu", + ["weapon_hammer"] = "Vasara", + ["weapon_bat"] = "Pesäpallomaila", + ["weapon_golfclub"] = "Golf maila", + ["weapon_crowbar"] = "Sorkkarauta", + ["weapon_pistol"] = "Pistooli", + ["weapon_combatpistol"] = "Taistelu pistooli", + ["weapon_appistol"] = "Automaatti pistooli", + ["weapon_pistol50"] = "50 kaliiperinen pistooli", + ["weapon_microsmg"] = "Mikro konepistooli", + ["weapon_smg"] = "Konepistooli", + ["weapon_assaultsmg"] = "Rynnäkkö konepistooli", + ["weapon_assaultrifle"] = "Rynnäkkökivääri", + ["weapon_carbinerifle"] = "Karbiini kivääri", + ["weapon_advancedrifle"] = "Edistynyt kivääri", + ["weapon_mg"] = "Konekivääri", + ["weapon_combatmg"] = "Rynnäkkö konekivääri", + ["weapon_pumpshotgun"] = "Pumppu haulikko", + ["weapon_sawnoffshotgun"] = "Katkaistuhaulikko", + ["weapon_assaultshotgun"] = "Hyökkäyshaulikko", + ["weapon_bullpupshotgun"] = "Bullpup haulikko", + ["weapon_stungun"] = "Tainutusase", + ["weapon_sniperrifle"] = "Tarkkuuskivääri", + ["weapon_heavysniper"] = "Raskas tarkkuuskivääri", + ["weapon_grenadelauncher"] = "Kranaatinheitin", + ["weapon_rpg"] = "Raketinheitin", + ["weapon_minigun"] = "Minigun", + ["weapon_grenade"] = "Kranaatti", + ["weapon_stickybomb"] = "Tahma pommi", + ["weapon_smokegrenade"] = "Savukranaatti", + ["weapon_bzgas"] = "Bz-kaasu", + ["weapon_molotov"] = "Polttopullo", + ["weapon_fireextinguisher"] = "Palosammutin", + ["weapon_petrolcan"] = "Jerrykannu", + ["weapon_ball"] = "Pallo", + ["weapon_snspistol"] = "Pienpistooli", + ["weapon_bottle"] = "Pullo", + ["weapon_gusenberg"] = "Thompson-konepistooli", + ["weapon_specialcarbine"] = "G86C", + ["weapon_heavypistol"] = "Raskas pistooli", + ["weapon_bullpuprifle"] = "Bullpup kivääri", + ["weapon_dagger"] = "Tikari", + ["weapon_vintagepistol"] = "Vanha pistooli", + ["weapon_firework"] = "Ilotulite", + ["weapon_musket"] = "Musketti", + ["weapon_heavyshotgun"] = "Raskas haulikko", + ["weapon_marksmanrifle"] = "Marksman kivääri", + ["weapon_hominglauncher"] = "Ohjautuva raketinheitin", + ["weapon_proxmine"] = "Lähellä räjähtävä miina", + ["weapon_snowball"] = "Lumipallo", + ["weapon_flaregun"] = "Valopistooli", + ["weapon_combatpdw"] = "Rynnäkkö pdw", + ["weapon_marksmanpistol"] = "Marksman pistooli", + ["weapon_knuckle"] = "Nyrkkirauta", + ["weapon_hatchet"] = "Kirves", + ["weapon_railgun"] = "Raidetykki", + ["weapon_machete"] = "Viidakkoveitsi", + ["weapon_machinepistol"] = "Konepistooli", + ["weapon_switchblade"] = "Stiletti", + ["weapon_revolver"] = "Raskas revolveri", + ["weapon_dbshotgun"] = "Kaksipiippunen haulikko", + ["weapon_compactrifle"] = "Pikku AK", + ["weapon_autoshotgun"] = "Automaattinen haulikko", + ["weapon_battleaxe"] = "Taistelukirves", + ["weapon_compactlauncher"] = "Pien kranaatinheitin", + ["weapon_minismg"] = "Mini konepistooli", + ["weapon_pipebomb"] = "Putkipommi", + ["weapon_poolcue"] = "Biljardimaila", + ["weapon_wrench"] = "Putkipihdit", + ["weapon_flashlight"] = "Taskulamppu", + ["gadget_parachute"] = "Laskuvarjo", + ["weapon_flare"] = "Hätäraketti", + ["weapon_doubleaction"] = "Double action revolveri", -- Weapon Components - ['component_clip_default'] = "Oletus lipas", - ['component_clip_extended'] = "Paranneltu lipas", - ['component_clip_drum'] = "Rumpulipas", - ['component_clip_box'] = "Laatikkolipas", - ['component_flashlight'] = "Taskulamppu", - ['component_scope'] = "Tähtäin", - ['component_scope_advanced'] = "Paranneltu tähtäin", - ['component_suppressor'] = "Äänenvaimennin", - ['component_grip'] = "Kahva", - ['component_luxary_finish'] = "Luksus ulkokuori", + ["component_clip_default"] = "Oletus lipas", + ["component_clip_extended"] = "Paranneltu lipas", + ["component_clip_drum"] = "Rumpulipas", + ["component_clip_box"] = "Laatikkolipas", + ["component_flashlight"] = "Taskulamppu", + ["component_scope"] = "Tähtäin", + ["component_scope_advanced"] = "Paranneltu tähtäin", + ["component_suppressor"] = "Äänenvaimennin", + ["component_grip"] = "Kahva", + ["component_luxary_finish"] = "Luksus ulkokuori", -- Weapon Ammo - ['ammo_rounds'] = "Ammukset(s)", - ['ammo_shells'] = "Hylsy(s)", - ['ammo_charge'] = "Lataa", - ['ammo_petrol'] = "Gallonaa polttoainetta", - ['ammo_firework'] = "Ilotulite(s)", - ['ammo_rockets'] = "Raketti(s)", - ['ammo_grenadelauncher'] = "Kranaatti(s)", - ['ammo_grenade'] = "Kranaatti(s)", - ['ammo_stickybomb'] = "Pommi(s)", - ['ammo_pipebomb'] = "Pommi(s)", - ['ammo_smokebomb'] = "Pommi(s)", - ['ammo_molotov'] = "Polttopullo(s)", - ['ammo_proxmine'] = "Miina(s)", - ['ammo_bzgas'] = "Tölkki(s)", - ['ammo_ball'] = "Pallo(s)", - ['ammo_snowball'] = "Lumipallo(s)", - ['ammo_flare'] = "Valoraketti(s)", - ['ammo_flaregun'] = "Valoraketti(s)", + ["ammo_rounds"] = "Ammukset(s)", + ["ammo_shells"] = "Hylsy(s)", + ["ammo_charge"] = "Lataa", + ["ammo_petrol"] = "Gallonaa polttoainetta", + ["ammo_firework"] = "Ilotulite(s)", + ["ammo_rockets"] = "Raketti(s)", + ["ammo_grenadelauncher"] = "Kranaatti(s)", + ["ammo_grenade"] = "Kranaatti(s)", + ["ammo_stickybomb"] = "Pommi(s)", + ["ammo_pipebomb"] = "Pommi(s)", + ["ammo_smokebomb"] = "Pommi(s)", + ["ammo_molotov"] = "Polttopullo(s)", + ["ammo_proxmine"] = "Miina(s)", + ["ammo_bzgas"] = "Tölkki(s)", + ["ammo_ball"] = "Pallo(s)", + ["ammo_snowball"] = "Lumipallo(s)", + ["ammo_flare"] = "Valoraketti(s)", + ["ammo_flaregun"] = "Valoraketti(s)", -- Weapon Tints - ['tint_default'] = "Oletus ulkokuori", - ['tint_green'] = "Vihreä ulkokuori", - ['tint_gold'] = "Kultainen ulkokuori", - ['tint_pink'] = "Vaaleanpunainen ulkokuori", - ['tint_army'] = "Armeija ulkokuori", - ['tint_lspd'] = "Sininen ulkokuori", - ['tint_orange'] = "Oranssi ulkokuori", - ['tint_platinum'] = "Platina ulkokuori", + ["tint_default"] = "Oletus ulkokuori", + ["tint_green"] = "Vihreä ulkokuori", + ["tint_gold"] = "Kultainen ulkokuori", + ["tint_pink"] = "Vaaleanpunainen ulkokuori", + ["tint_army"] = "Armeija ulkokuori", + ["tint_lspd"] = "Sininen ulkokuori", + ["tint_orange"] = "Oranssi ulkokuori", + ["tint_platinum"] = "Platina ulkokuori", } diff --git a/[core]/es_extended/locales/fr.lua b/[core]/es_extended/locales/fr.lua index 83ad0842..8c045136 100644 --- a/[core]/es_extended/locales/fr.lua +++ b/[core]/es_extended/locales/fr.lua @@ -1,232 +1,232 @@ -Locales['fr'] = { +Locales["fr"] = { -- Inventory - ['inventory'] = "inventaire %s / %s", - ['use'] = "utiliser", - ['give'] = "donner", - ['remove'] = "jeter", - ['return'] = "retour", - ['give_to'] = "donner à", - ['amount'] = "quantité", - ['giveammo'] = "donner munitions", - ['amountammo'] = "nombre de munitions", - ['noammo'] = "tu n'as pas toutes ces munitions!", - ['gave_item'] = "vous avez donné %sx %s à %s", - ['received_item'] = "vous avez reçu %sx %s par %s", - ['gave_weapon'] = "vous avez donné 1x %s à %s", - ['gave_weapon_ammo'] = "vous avez donné ~o~%sx %s pour %s à %s", - ['gave_weapon_withammo'] = "vous avez donné 1x %s avec ~o~%sx %s à %s", - ['gave_weapon_hasalready'] = "%s a déjà %s", - ['gave_weapon_noweapon'] = "%s n'a pas cette arme", - ['received_weapon'] = "vous recevez 1x %s de %s", - ['received_weapon_ammo'] = "vous avez reçu ~o~%sx %s pour votre %s de %s", - ['received_weapon_withammo'] = "vous avez reçu 1x %s avec ~o~%sx %s de %s", - ['received_weapon_hasalready'] = "%s a tenté de vous donner %s, mais vous en aviez déjà un exemplaire", - ['received_weapon_noweapon'] = "%s tente de vous donner des munitions pour %s, mais vous n'en avez pas", - ['gave_account_money'] = "vous avez donné $%s (%s) à %s", - ['received_account_money'] = "vous avez reçu $%s (%s) par %s", - ['amount_invalid'] = "montant invalide", - ['players_nearby'] = "aucun joueur à proximité", - ['ex_inv_lim'] = "action impossible, depassement de la limite d'inventaire pour %s", - ['imp_invalid_quantity'] = "action impossible, ~r~quantité invalide", - ['imp_invalid_amount'] = "action impossible, ~r~montant invalide", - ['threw_standard'] = "vous avez jeté %sx %s", - ['threw_account'] = "vous avez jeté $%s %s", - ['threw_weapon'] = "vous avez jeté 1x %s", - ['threw_weapon_ammo'] = "vous avez jeté 1x %s avec ~o~%sx %s", - ['threw_weapon_already'] = "vous portez déjà cette arme", - ['threw_cannot_pickup'] = "vous ne pouvez pas ramasser ça votre inventaire est plein !", - ['threw_pickup_prompt'] = "appuyez sur E pour ramasser", + ["inventory"] = "inventaire %s / %s", + ["use"] = "utiliser", + ["give"] = "donner", + ["remove"] = "jeter", + ["return"] = "retour", + ["give_to"] = "donner à", + ["amount"] = "quantité", + ["giveammo"] = "donner munitions", + ["amountammo"] = "nombre de munitions", + ["noammo"] = "tu n'as pas toutes ces munitions!", + ["gave_item"] = "vous avez donné %sx %s à %s", + ["received_item"] = "vous avez reçu %sx %s par %s", + ["gave_weapon"] = "vous avez donné 1x %s à %s", + ["gave_weapon_ammo"] = "vous avez donné ~o~%sx %s pour %s à %s", + ["gave_weapon_withammo"] = "vous avez donné 1x %s avec ~o~%sx %s à %s", + ["gave_weapon_hasalready"] = "%s a déjà %s", + ["gave_weapon_noweapon"] = "%s n'a pas cette arme", + ["received_weapon"] = "vous recevez 1x %s de %s", + ["received_weapon_ammo"] = "vous avez reçu ~o~%sx %s pour votre %s de %s", + ["received_weapon_withammo"] = "vous avez reçu 1x %s avec ~o~%sx %s de %s", + ["received_weapon_hasalready"] = "%s a tenté de vous donner %s, mais vous en aviez déjà un exemplaire", + ["received_weapon_noweapon"] = "%s tente de vous donner des munitions pour %s, mais vous n'en avez pas", + ["gave_account_money"] = "vous avez donné $%s (%s) à %s", + ["received_account_money"] = "vous avez reçu $%s (%s) par %s", + ["amount_invalid"] = "montant invalide", + ["players_nearby"] = "aucun joueur à proximité", + ["ex_inv_lim"] = "action impossible, depassement de la limite d'inventaire pour %s", + ["imp_invalid_quantity"] = "action impossible, ~r~quantité invalide", + ["imp_invalid_amount"] = "action impossible, ~r~montant invalide", + ["threw_standard"] = "vous avez jeté %sx %s", + ["threw_account"] = "vous avez jeté $%s %s", + ["threw_weapon"] = "vous avez jeté 1x %s", + ["threw_weapon_ammo"] = "vous avez jeté 1x %s avec ~o~%sx %s", + ["threw_weapon_already"] = "vous portez déjà cette arme", + ["threw_cannot_pickup"] = "vous ne pouvez pas ramasser ça votre inventaire est plein !", + ["threw_pickup_prompt"] = "appuyez sur E pour ramasser", -- Key mapping - ['keymap_showinventory'] = "montrer l'inventaire", + ["keymap_showinventory"] = "montrer l'inventaire", -- Salary related - ['received_salary'] = "vous avez reçu votre salaire: $%s", - ['received_help'] = "vous avez reçu une aide de l'état: $%s", - ['company_nomoney'] = "votre entreprise n'a plus d'argent pour vous payer!", - ['received_paycheck'] = "paiement reçu", - ['bank'] = "banque", - ['account_bank'] = "banque", - ['account_black_money'] = "argent sale", - ['account_money'] = "espèces", + ["received_salary"] = "vous avez reçu votre salaire: $%s", + ["received_help"] = "vous avez reçu une aide de l'état: $%s", + ["company_nomoney"] = "votre entreprise n'a plus d'argent pour vous payer!", + ["received_paycheck"] = "paiement reçu", + ["bank"] = "banque", + ["account_bank"] = "banque", + ["account_black_money"] = "argent sale", + ["account_money"] = "espèces", - ['act_imp'] = "action impossible", - ['in_vehicle'] = "Vous ne pouvez rien donner à quelqu'un dans un véhicule", + ["act_imp"] = "action impossible", + ["in_vehicle"] = "Vous ne pouvez rien donner à quelqu'un dans un véhicule", -- Commands - ['command_car'] = "faire appaitre un véhicule", - ['command_car_car'] = "nom ou hash du véhicule", - ['command_cardel'] = "supprimer le véhicule à proximité", - ['command_cardel_radius'] = "optionnel, supprime les véhicules dans un rayon spécifié", - ['command_clear'] = "vider le chat", - ['command_clearall'] = "vider le chat pour tous", - ['command_clearinventory'] = "vider l'inventaire d'un joueur", - ['command_clearloadout'] = "vider le loadout d'un joueur", - ['command_giveaccountmoney'] = "donner de l'argent sur un compte", - ['command_giveaccountmoney_account'] = "nom de compte valide", - ['command_giveaccountmoney_amount'] = "quantité à ajouter", - ['command_giveaccountmoney_invalid'] = "nom de compte invalide", - ['command_giveitem'] = "donner un objet à un joueur", - ['command_giveitem_item'] = "nom de l'objet", - ['command_giveitem_count'] = "quantité de l'objet", - ['command_giveweapon'] = "donner une arme à un joueur", - ['command_giveweapon_weapon'] = "nom de l'arme", - ['command_giveweapon_ammo'] = "quantité de munitions", - ['command_giveweapon_hasalready'] = "le joueur a déjà cette arme", - ['command_giveweaponcomponent'] = "donner un accessoire d'arme", - ['command_giveweaponcomponent_component'] = "nom de l'accessoire", - ['command_giveweaponcomponent_invalid'] = "accessoire invalide", - ['command_giveweaponcomponent_hasalready'] = "le joueur a déjà cet accessoire", - ['command_giveweaponcomponent_missingweapon'] = "le joueur n'a pas cette arme", - ['command_save'] = "sauvegarder un joueur dans la base de données", - ['command_saveall'] = "sauvegarder tous les joueurs dans la base de données", - ['command_setaccountmoney'] = "définir la somme d'argent pour un joueur", - ['command_setaccountmoney_amount'] = "quantité d'argent à définir", - ['command_setcoords'] = "se téléporter aux coordonnées", - ['command_setcoords_x'] = "axe X", - ['command_setcoords_y'] = "axe Y", - ['command_setcoords_z'] = "axe Z", - ['command_setjob'] = "assigner job à un joueur", - ['command_setjob_job'] = "nom du job", - ['command_setjob_grade'] = "grade du job", - ['command_setjob_invalid'] = "le job, le grade ou les deux sont invalides", - ['command_setgroup'] = "assigner un groupe à un joueur", - ['command_setgroup_group'] = "nom du groupe", - ['commanderror_argumentmismatch'] = "argument count mismatch (passed %s, wanted %s)", - ['commanderror_argumentmismatch_number'] = "argument #%s type mismatch (passed string, wanted number)", - ['commanderror_invaliditem'] = "nom de l'objet invalide", - ['commanderror_invalidweapon'] = "arme invalide", - ['commanderror_console'] = "cette commande ne peut pas être utilisée dans la console", - ['commanderror_invalidcommand'] = "/%s n'est pas une commande valide!", - ['commanderror_invalidplayerid'] = "il n'ya aucun joueur avec cet ID en jeu", - ['commandgeneric_playerid'] = "id joueur", - ['command_giveammo_noweapon_found'] = "%s n'a pas cette arme", - ['command_giveammo_weapon'] = "Nom de l'arme", - ['command_giveammo_ammo'] = "Quantité de munitions", + ["command_car"] = "faire appaitre un véhicule", + ["command_car_car"] = "nom ou hash du véhicule", + ["command_cardel"] = "supprimer le véhicule à proximité", + ["command_cardel_radius"] = "optionnel, supprime les véhicules dans un rayon spécifié", + ["command_clear"] = "vider le chat", + ["command_clearall"] = "vider le chat pour tous", + ["command_clearinventory"] = "vider l'inventaire d'un joueur", + ["command_clearloadout"] = "vider le loadout d'un joueur", + ["command_giveaccountmoney"] = "donner de l'argent sur un compte", + ["command_giveaccountmoney_account"] = "nom de compte valide", + ["command_giveaccountmoney_amount"] = "quantité à ajouter", + ["command_giveaccountmoney_invalid"] = "nom de compte invalide", + ["command_giveitem"] = "donner un objet à un joueur", + ["command_giveitem_item"] = "nom de l'objet", + ["command_giveitem_count"] = "quantité de l'objet", + ["command_giveweapon"] = "donner une arme à un joueur", + ["command_giveweapon_weapon"] = "nom de l'arme", + ["command_giveweapon_ammo"] = "quantité de munitions", + ["command_giveweapon_hasalready"] = "le joueur a déjà cette arme", + ["command_giveweaponcomponent"] = "donner un accessoire d'arme", + ["command_giveweaponcomponent_component"] = "nom de l'accessoire", + ["command_giveweaponcomponent_invalid"] = "accessoire invalide", + ["command_giveweaponcomponent_hasalready"] = "le joueur a déjà cet accessoire", + ["command_giveweaponcomponent_missingweapon"] = "le joueur n'a pas cette arme", + ["command_save"] = "sauvegarder un joueur dans la base de données", + ["command_saveall"] = "sauvegarder tous les joueurs dans la base de données", + ["command_setaccountmoney"] = "définir la somme d'argent pour un joueur", + ["command_setaccountmoney_amount"] = "quantité d'argent à définir", + ["command_setcoords"] = "se téléporter aux coordonnées", + ["command_setcoords_x"] = "axe X", + ["command_setcoords_y"] = "axe Y", + ["command_setcoords_z"] = "axe Z", + ["command_setjob"] = "assigner job à un joueur", + ["command_setjob_job"] = "nom du job", + ["command_setjob_grade"] = "grade du job", + ["command_setjob_invalid"] = "le job, le grade ou les deux sont invalides", + ["command_setgroup"] = "assigner un groupe à un joueur", + ["command_setgroup_group"] = "nom du groupe", + ["commanderror_argumentmismatch"] = "argument count mismatch (passed %s, wanted %s)", + ["commanderror_argumentmismatch_number"] = "argument #%s type mismatch (passed string, wanted number)", + ["commanderror_invaliditem"] = "nom de l'objet invalide", + ["commanderror_invalidweapon"] = "arme invalide", + ["commanderror_console"] = "cette commande ne peut pas être utilisée dans la console", + ["commanderror_invalidcommand"] = "/%s n'est pas une commande valide!", + ["commanderror_invalidplayerid"] = "il n'ya aucun joueur avec cet ID en jeu", + ["commandgeneric_playerid"] = "id joueur", + ["command_giveammo_noweapon_found"] = "%s n'a pas cette arme", + ["command_giveammo_weapon"] = "Nom de l'arme", + ["command_giveammo_ammo"] = "Quantité de munitions", -- Locale settings - ['locale_digit_grouping_symbol'] = " ", - ['locale_currency'] = "$%s", + ["locale_digit_grouping_symbol"] = " ", + ["locale_currency"] = "$%s", -- Weapons - ['weapon_knife'] = "couteau", - ['weapon_nightstick'] = "matraque", - ['weapon_hammer'] = "marteau", - ['weapon_bat'] = "batte", - ['weapon_golfclub'] = "club de golf", - ['weapon_crowbar'] = "pied de biche", - ['weapon_pistol'] = "pistolet", - ['weapon_combatpistol'] = "pistolet de combat", - ['weapon_appistol'] = "pistolet automatique", - ['weapon_pistol50'] = "pistolet calibre 50", - ['weapon_microsmg'] = "micro smg", - ['weapon_smg'] = "smg", - ['weapon_assaultsmg'] = "smg d'assaut", - ['weapon_assaultrifle'] = "fusil d'assaut", - ['weapon_carbinerifle'] = "carabine d'assaut", - ['weapon_advancedrifle'] = "fusil avancé", - ['weapon_mg'] = "mitrailleuse", - ['weapon_combatmg'] = "mitrailleuse de combat", - ['weapon_pumpshotgun'] = "fusil à pompe", - ['weapon_sawnoffshotgun'] = "carabine à canon scié", - ['weapon_assaultshotgun'] = "carabine d'assaut", - ['weapon_bullpupshotgun'] = "carabine bullpup", - ['weapon_stungun'] = "tazer", - ['weapon_sniperrifle'] = "fusil de sniper", - ['weapon_heavysniper'] = "fusil de sniper lourd", - ['weapon_grenadelauncher'] = "lance-grenade", - ['weapon_rpg'] = "lance-rocket", - ['weapon_minigun'] = "minigun", - ['weapon_grenade'] = "grenade", - ['weapon_stickybomb'] = "bombe collante", - ['weapon_smokegrenade'] = "grenade fumigène", - ['weapon_bzgas'] = "grenade à gaz bz", - ['weapon_molotov'] = "cocktail molotov", - ['weapon_fireextinguisher'] = "extincteur", - ['weapon_petrolcan'] = "jerrican d'essence", - ['weapon_ball'] = "balle", - ['weapon_snspistol'] = "pistolet sns", - ['weapon_bottle'] = "bouteille", - ['weapon_gusenberg'] = "balayeuse gusenberg", - ['weapon_specialcarbine'] = "carabine spéciale", - ['weapon_heavypistol'] = "pistolet lourd", - ['weapon_bullpuprifle'] = "fusil bullpup", - ['weapon_dagger'] = "poignard", - ['weapon_vintagepistol'] = "pistolet vintage", - ['weapon_firework'] = "feu d'artifice", - ['weapon_musket'] = "mousquet", - ['weapon_heavyshotgun'] = "fusil à pompe lourd", - ['weapon_marksmanrifle'] = "fusil marksman", - ['weapon_hominglauncher'] = "lance tête-chercheuse", - ['weapon_proxmine'] = "mine de proximité", - ['weapon_snowball'] = "boule de neige", - ['weapon_flaregun'] = "lance fusée de détresse", - ['weapon_combatpdw'] = "arme de défense personnelle", - ['weapon_marksmanpistol'] = "pistolet marksman", - ['weapon_knuckle'] = "poing américain", - ['weapon_hatchet'] = "hachette", - ['weapon_railgun'] = "canon éléctrique", - ['weapon_machete'] = "machette", - ['weapon_machinepistol'] = "pistolet mitrailleur", - ['weapon_switchblade'] = "couteau à cran d'arrêt", - ['weapon_revolver'] = "revolver", - ['weapon_dbshotgun'] = "fusil à pompe double canon", - ['weapon_compactrifle'] = "fusil compact", - ['weapon_autoshotgun'] = "fusil à pompe automatique", - ['weapon_battleaxe'] = "hache de combat", - ['weapon_compactlauncher'] = "lanceur compact", - ['weapon_minismg'] = "mini smg", - ['weapon_pipebomb'] = "bombe tuyau", - ['weapon_poolcue'] = "queue de billard", - ['weapon_wrench'] = "clé", - ['weapon_flashlight'] = "lampe torche", - ['gadget_parachute'] = "parachute", - ['weapon_flare'] = "fusée de détresse", - ['weapon_doubleaction'] = "revolver double action", + ["weapon_knife"] = "couteau", + ["weapon_nightstick"] = "matraque", + ["weapon_hammer"] = "marteau", + ["weapon_bat"] = "batte", + ["weapon_golfclub"] = "club de golf", + ["weapon_crowbar"] = "pied de biche", + ["weapon_pistol"] = "pistolet", + ["weapon_combatpistol"] = "pistolet de combat", + ["weapon_appistol"] = "pistolet automatique", + ["weapon_pistol50"] = "pistolet calibre 50", + ["weapon_microsmg"] = "micro smg", + ["weapon_smg"] = "smg", + ["weapon_assaultsmg"] = "smg d'assaut", + ["weapon_assaultrifle"] = "fusil d'assaut", + ["weapon_carbinerifle"] = "carabine d'assaut", + ["weapon_advancedrifle"] = "fusil avancé", + ["weapon_mg"] = "mitrailleuse", + ["weapon_combatmg"] = "mitrailleuse de combat", + ["weapon_pumpshotgun"] = "fusil à pompe", + ["weapon_sawnoffshotgun"] = "carabine à canon scié", + ["weapon_assaultshotgun"] = "carabine d'assaut", + ["weapon_bullpupshotgun"] = "carabine bullpup", + ["weapon_stungun"] = "tazer", + ["weapon_sniperrifle"] = "fusil de sniper", + ["weapon_heavysniper"] = "fusil de sniper lourd", + ["weapon_grenadelauncher"] = "lance-grenade", + ["weapon_rpg"] = "lance-rocket", + ["weapon_minigun"] = "minigun", + ["weapon_grenade"] = "grenade", + ["weapon_stickybomb"] = "bombe collante", + ["weapon_smokegrenade"] = "grenade fumigène", + ["weapon_bzgas"] = "grenade à gaz bz", + ["weapon_molotov"] = "cocktail molotov", + ["weapon_fireextinguisher"] = "extincteur", + ["weapon_petrolcan"] = "jerrican d'essence", + ["weapon_ball"] = "balle", + ["weapon_snspistol"] = "pistolet sns", + ["weapon_bottle"] = "bouteille", + ["weapon_gusenberg"] = "balayeuse gusenberg", + ["weapon_specialcarbine"] = "carabine spéciale", + ["weapon_heavypistol"] = "pistolet lourd", + ["weapon_bullpuprifle"] = "fusil bullpup", + ["weapon_dagger"] = "poignard", + ["weapon_vintagepistol"] = "pistolet vintage", + ["weapon_firework"] = "feu d'artifice", + ["weapon_musket"] = "mousquet", + ["weapon_heavyshotgun"] = "fusil à pompe lourd", + ["weapon_marksmanrifle"] = "fusil marksman", + ["weapon_hominglauncher"] = "lance tête-chercheuse", + ["weapon_proxmine"] = "mine de proximité", + ["weapon_snowball"] = "boule de neige", + ["weapon_flaregun"] = "lance fusée de détresse", + ["weapon_combatpdw"] = "arme de défense personnelle", + ["weapon_marksmanpistol"] = "pistolet marksman", + ["weapon_knuckle"] = "poing américain", + ["weapon_hatchet"] = "hachette", + ["weapon_railgun"] = "canon éléctrique", + ["weapon_machete"] = "machette", + ["weapon_machinepistol"] = "pistolet mitrailleur", + ["weapon_switchblade"] = "couteau à cran d'arrêt", + ["weapon_revolver"] = "revolver", + ["weapon_dbshotgun"] = "fusil à pompe double canon", + ["weapon_compactrifle"] = "fusil compact", + ["weapon_autoshotgun"] = "fusil à pompe automatique", + ["weapon_battleaxe"] = "hache de combat", + ["weapon_compactlauncher"] = "lanceur compact", + ["weapon_minismg"] = "mini smg", + ["weapon_pipebomb"] = "bombe tuyau", + ["weapon_poolcue"] = "queue de billard", + ["weapon_wrench"] = "clé", + ["weapon_flashlight"] = "lampe torche", + ["gadget_parachute"] = "parachute", + ["weapon_flare"] = "fusée de détresse", + ["weapon_doubleaction"] = "revolver double action", -- Weapon Components - ['component_clip_default'] = "chargeur par défaut", - ['component_clip_extended'] = "chargeur grande capacité", - ['component_clip_drum'] = "chargeur tambour", - ['component_clip_box'] = "chargeur très grande capacité", - ['component_flashlight'] = "torche", - ['component_scope'] = "viseur", - ['component_scope_advanced'] = "lunette", - ['component_suppressor'] = "réducteur de son", - ['component_grip'] = "poignée", - ['component_luxary_finish'] = "finition de luxe", + ["component_clip_default"] = "chargeur par défaut", + ["component_clip_extended"] = "chargeur grande capacité", + ["component_clip_drum"] = "chargeur tambour", + ["component_clip_box"] = "chargeur très grande capacité", + ["component_flashlight"] = "torche", + ["component_scope"] = "viseur", + ["component_scope_advanced"] = "lunette", + ["component_suppressor"] = "réducteur de son", + ["component_grip"] = "poignée", + ["component_luxary_finish"] = "finition de luxe", -- Weapon Ammo - ['ammo_rounds'] = "cartouche(s)", - ['ammo_shells'] = "obus", - ['ammo_charge'] = "charge(s)", - ['ammo_petrol'] = "jerrican d'essence", - ['ammo_firework'] = "feu(x) d'artifice", - ['ammo_rockets'] = "roquette(s)", - ['ammo_grenadelauncher'] = "grenade(s)", - ['ammo_grenade'] = "grenade(s)", - ['ammo_stickybomb'] = "bombe(s)", - ['ammo_pipebomb'] = "bombe(s)", - ['ammo_smokebomb'] = "bombe(s)", - ['ammo_molotov'] = "cocktail(s)", - ['ammo_proxmine'] = "mine(s)", - ['ammo_bzgas'] = "grenade(s)", - ['ammo_ball'] = "balle(s)", - ['ammo_snowball'] = "boule(s) de neige", - ['ammo_flare'] = "fusée(s) éclairante(s)", - ['ammo_flaregun'] = "fusée(s)", + ["ammo_rounds"] = "cartouche(s)", + ["ammo_shells"] = "obus", + ["ammo_charge"] = "charge(s)", + ["ammo_petrol"] = "jerrican d'essence", + ["ammo_firework"] = "feu(x) d'artifice", + ["ammo_rockets"] = "roquette(s)", + ["ammo_grenadelauncher"] = "grenade(s)", + ["ammo_grenade"] = "grenade(s)", + ["ammo_stickybomb"] = "bombe(s)", + ["ammo_pipebomb"] = "bombe(s)", + ["ammo_smokebomb"] = "bombe(s)", + ["ammo_molotov"] = "cocktail(s)", + ["ammo_proxmine"] = "mine(s)", + ["ammo_bzgas"] = "grenade(s)", + ["ammo_ball"] = "balle(s)", + ["ammo_snowball"] = "boule(s) de neige", + ["ammo_flare"] = "fusée(s) éclairante(s)", + ["ammo_flaregun"] = "fusée(s)", -- Weapon Tints - ['tint_default'] = "skin par défaut", - ['tint_green'] = "skin vert", - ['tint_gold'] = "skin doré", - ['tint_pink'] = "skin rose", - ['tint_army'] = "skin militaire", - ['tint_lspd'] = "skin bleu", - ['tint_orange'] = "skin orange", - ['tint_platinum'] = "skin platine", + ["tint_default"] = "skin par défaut", + ["tint_green"] = "skin vert", + ["tint_gold"] = "skin doré", + ["tint_pink"] = "skin rose", + ["tint_army"] = "skin militaire", + ["tint_lspd"] = "skin bleu", + ["tint_orange"] = "skin orange", + ["tint_platinum"] = "skin platine", -- Duty related - ['stopped_duty'] = "Vous êtes maintenant hors-service.", - ['started_duty'] = "Vous êtes maintenant en-service.", + ["stopped_duty"] = "Vous êtes maintenant hors-service.", + ["started_duty"] = "Vous êtes maintenant en-service.", } diff --git a/[core]/es_extended/locales/hu.lua b/[core]/es_extended/locales/hu.lua index 13642c7f..dd814431 100644 --- a/[core]/es_extended/locales/hu.lua +++ b/[core]/es_extended/locales/hu.lua @@ -105,15 +105,15 @@ Locales["hu"] = { ["commanderror_invalidcommand"] = "Érvénytelen parancs - /%s", ["commanderror_invalidplayerid"] = "Megadott játékos nem online.", ["commandgeneric_playerid"] = "Játékos Szerver Id", - ['command_giveammo_noweapon_found'] = "Nincs ilyen fegyvered: %s", - ['command_giveammo_weapon'] = "Fegyver név", - ['command_giveammo_ammo'] = "Lőszer mennyiség", - ['tpm_nowaypoint'] = "Nincs kijelölve pozíció!", - ['tpm_success'] = "Sikeres teleportálás", + ["command_giveammo_noweapon_found"] = "Nincs ilyen fegyvered: %s", + ["command_giveammo_weapon"] = "Fegyver név", + ["command_giveammo_ammo"] = "Lőszer mennyiség", + ["tpm_nowaypoint"] = "Nincs kijelölve pozíció!", + ["tpm_success"] = "Sikeres teleportálás", - ['noclip_message'] = "Noclip %s", - ['enabled'] = "~g~engedélyezve~s~", - ['disabled'] = "~r~letiltva~s~", + ["noclip_message"] = "Noclip %s", + ["enabled"] = "~g~engedélyezve~s~", + ["disabled"] = "~r~letiltva~s~", -- Locale settings ["locale_digit_grouping_symbol"] = ",", diff --git a/[core]/es_extended/locales/it.lua b/[core]/es_extended/locales/it.lua index 4c96523f..b959a098 100644 --- a/[core]/es_extended/locales/it.lua +++ b/[core]/es_extended/locales/it.lua @@ -1,365 +1,365 @@ -Locales['it'] = { +Locales["it"] = { -- Inventory - ['inventory'] = "Inventario ( Peso %s / %s )", - ['use'] = "Usa", - ['give'] = "Dai", - ['remove'] = "Butta", - ['return'] = "Ritorna", - ['give_to'] = "Dai a", - ['amount'] = "Quantità", - ['giveammo'] = "Dai munizioni", - ['amountammo'] = "Quantità munizioni", - ['noammo'] = "Non abbastanza!", - ['gave_item'] = "Dando %sx %s a %s", - ['received_item'] = "Ricevuto %sx %s da %s", - ['gave_weapon'] = "Dando %s a %s", - ['gave_weapon_ammo'] = "Dando ~o~%sx %s for %s to %s", - ['gave_weapon_withammo'] = "Dando %s con ~o~%sx %s a %s", - ['gave_weapon_hasalready'] = "%s possiede già %s", - ['gave_weapon_noweapon'] = "%s non ha quell' arma", - ['received_weapon'] = "Ricevuto %s da %s", - ['received_weapon_ammo'] = "Ricevuto ~o~%sx %s per il tuo %s da %s", - ['received_weapon_withammo'] = "Ricevuto %s con ~o~%sx %s per %s", - ['received_weapon_hasalready'] = "%s ha tentato di darti %s, ma hai già l'arma", - ['received_weapon_noweapon'] = "%s ha tentato di darti munizioni per %s, ma non hai l'arma", - ['gave_account_money'] = "Dando $%s (%s) a %s", - ['received_account_money'] = "Ricevuto $%s (%s) da %s", - ['amount_invalid'] = "Quantità non valida", - ['players_nearby'] = "Nessun giocatore vicino", - ['ex_inv_lim'] = "Non puoi farlo, eccedi il peso di %s", - ['imp_invalid_quantity'] = "Non puoi farlo, quantità non valida", - ['imp_invalid_amount'] = "Non puoi farlo, importo non valido", - ['threw_standard'] = "Gettando %sx %s", - ['threw_account'] = "Gettando $%s %s", - ['threw_weapon'] = "Gettando %s", - ['threw_weapon_ammo'] = "Gettando %s con ~o~%sx %s", - ['threw_weapon_already'] = "Hai gia quest' arma", - ['threw_cannot_pickup'] = "Inventario pieno, non puoi raccogliere!", - ['threw_pickup_prompt'] = "Premi E per raccogliere", + ["inventory"] = "Inventario ( Peso %s / %s )", + ["use"] = "Usa", + ["give"] = "Dai", + ["remove"] = "Butta", + ["return"] = "Ritorna", + ["give_to"] = "Dai a", + ["amount"] = "Quantità", + ["giveammo"] = "Dai munizioni", + ["amountammo"] = "Quantità munizioni", + ["noammo"] = "Non abbastanza!", + ["gave_item"] = "Dando %sx %s a %s", + ["received_item"] = "Ricevuto %sx %s da %s", + ["gave_weapon"] = "Dando %s a %s", + ["gave_weapon_ammo"] = "Dando ~o~%sx %s for %s to %s", + ["gave_weapon_withammo"] = "Dando %s con ~o~%sx %s a %s", + ["gave_weapon_hasalready"] = "%s possiede già %s", + ["gave_weapon_noweapon"] = "%s non ha quell' arma", + ["received_weapon"] = "Ricevuto %s da %s", + ["received_weapon_ammo"] = "Ricevuto ~o~%sx %s per il tuo %s da %s", + ["received_weapon_withammo"] = "Ricevuto %s con ~o~%sx %s per %s", + ["received_weapon_hasalready"] = "%s ha tentato di darti %s, ma hai già l'arma", + ["received_weapon_noweapon"] = "%s ha tentato di darti munizioni per %s, ma non hai l'arma", + ["gave_account_money"] = "Dando $%s (%s) a %s", + ["received_account_money"] = "Ricevuto $%s (%s) da %s", + ["amount_invalid"] = "Quantità non valida", + ["players_nearby"] = "Nessun giocatore vicino", + ["ex_inv_lim"] = "Non puoi farlo, eccedi il peso di %s", + ["imp_invalid_quantity"] = "Non puoi farlo, quantità non valida", + ["imp_invalid_amount"] = "Non puoi farlo, importo non valido", + ["threw_standard"] = "Gettando %sx %s", + ["threw_account"] = "Gettando $%s %s", + ["threw_weapon"] = "Gettando %s", + ["threw_weapon_ammo"] = "Gettando %s con ~o~%sx %s", + ["threw_weapon_already"] = "Hai gia quest' arma", + ["threw_cannot_pickup"] = "Inventario pieno, non puoi raccogliere!", + ["threw_pickup_prompt"] = "Premi E per raccogliere", -- Key mapping - ['keymap_showinventory'] = "Apri inventario", + ["keymap_showinventory"] = "Apri inventario", -- Salary related - ['received_salary'] = "Sei stato pagato: $%s", - ['received_help'] = "Hai ricevuto il reddito di cittadinanza: $%s", - ['company_nomoney'] = "La tua compagnia è troppo povera per pagarti", - ['received_paycheck'] = "Ricveuto stipendio", - ['bank'] = "Banca", - ['account_bank'] = "Conto", - ['account_black_money'] = "Soldi sporchi", - ['account_money'] = "Contanti", + ["received_salary"] = "Sei stato pagato: $%s", + ["received_help"] = "Hai ricevuto il reddito di cittadinanza: $%s", + ["company_nomoney"] = "La tua compagnia è troppo povera per pagarti", + ["received_paycheck"] = "Ricveuto stipendio", + ["bank"] = "Banca", + ["account_bank"] = "Conto", + ["account_black_money"] = "Soldi sporchi", + ["account_money"] = "Contanti", - ['act_imp'] = "Non puoi farlo", - ['in_vehicle'] = "Non puoi farlo, il giocatore è in un veicolo", + ["act_imp"] = "Non puoi farlo", + ["in_vehicle"] = "Non puoi farlo, il giocatore è in un veicolo", -- Commands - ['command_bring'] = "Porta il giocatore da te", - ['command_car'] = "Spawna un veicolo", - ['command_car_car'] = "Modello o hash veicolo", - ['command_cardel'] = "Rimuovi i veicoli nelle prossimità", - ['command_cardel_radius'] = "Rimuovi i veicoli nel raggio specificato", - ['command_clear'] = "Pulisci la chat testuale", - ['command_clearall'] = "Pulisci la chat testuale per tutti i giocatori", - ['command_clearinventory'] = "Rimuovi tutti gli oggetti dall' inventario del giocatore", - ['command_clearloadout'] = "Rimuovi tutte le armi dal loadout del giocatore", - ['command_freeze'] = "Blocca un giocatore", - ['command_unfreeze'] = "Sblocca un giocatore", - ['command_giveaccountmoney'] = "Dai soldi a un' account specifico", - ['command_giveaccountmoney_account'] = "Account a cui aggiungere", - ['command_giveaccountmoney_amount'] = "Quantità da aggiungere", - ['command_giveaccountmoney_invalid'] = "Nome account non valido", - ['command_giveitem'] = "Dai un oggetto ad un giocatore", - ['command_giveitem_item'] = "Nome oggetto", - ['command_giveitem_count'] = "Quantità", - ['command_giveweapon'] = "Dai un' arma ad un giocatore", - ['command_giveweapon_weapon'] = "Nome arma", - ['command_giveweapon_ammo'] = "Quantità munizioni", - ['command_giveweapon_hasalready'] = "Il giocatore ha già l'arma", - ['command_giveweaponcomponent'] = "Dai un componente arma ad un giocatore", - ['command_giveweaponcomponent_component'] = "Nome componente", - ['command_giveweaponcomponent_invalid'] = "Componente arma non valido", - ['command_giveweaponcomponent_hasalready'] = "Il giocatore ha già questo componente arma", - ['command_giveweaponcomponent_missingweapon'] = "Il giocatore non ha l'arma", - ['command_goto'] = "Teletrasportati da un giocatore", - ['command_kill'] = "Uccidi un giocatore", - ['command_save'] = "Salva forzatamente i dati di un giocatore", - ['command_saveall'] = "Salva forzatamente i dati di tutti igiocatoria", - ['command_setaccountmoney'] = "Aggiorna i soldi dentro un account specifico", - ['command_setaccountmoney_amount'] = "Quantità", - ['command_setcoords'] = "Teletrasportati a delle coordinate specifiche", - ['command_setcoords_x'] = "Valore X", - ['command_setcoords_y'] = "Valore Y", - ['command_setcoords_z'] = "Valore Z", - ['command_setjob'] = "Setta lavoro ad un giocatore", - ['command_setjob_job'] = "Nome", - ['command_setjob_grade'] = "Grado lavoro", - ['command_setjob_invalid'] = "Il lavoro, grado o entrambi sono errati", - ['command_setgroup'] = "Setta un gruppo di permessi ad un giocatore", - ['command_setgroup_group'] = "Nome del gruppo", - ['commanderror_argumentmismatch'] = "Conta argomenti non valida (passati %s, richiesti %s)", - ['commanderror_argumentmismatch_number'] = "Argomento #%s di tipologia errata (passato testo, richiesto numero)", - ['commanderror_invaliditem'] = "Oggetto non valido", - ['commanderror_invalidweapon'] = "Arma non valida", - ['commanderror_console'] = "Comando non eseguibile dalla console", - ['commanderror_invalidcommand'] = "Comando non valido - /%s", - ['commanderror_invalidplayerid'] = "Il giocatore specificato non è online", - ['commandgeneric_playerid'] = "Id server del giocatore", - ['command_giveammo_noweapon_found'] = "%s non ha quell' arma", - ['command_giveammo_weapon'] = "Nome arma", - ['command_giveammo_ammo'] = "Quantità munizioni", - ['tpm_nowaypoint'] = "Nessuna meta impostata", - ['tpm_success'] = "Teletrasportato con successo", + ["command_bring"] = "Porta il giocatore da te", + ["command_car"] = "Spawna un veicolo", + ["command_car_car"] = "Modello o hash veicolo", + ["command_cardel"] = "Rimuovi i veicoli nelle prossimità", + ["command_cardel_radius"] = "Rimuovi i veicoli nel raggio specificato", + ["command_clear"] = "Pulisci la chat testuale", + ["command_clearall"] = "Pulisci la chat testuale per tutti i giocatori", + ["command_clearinventory"] = "Rimuovi tutti gli oggetti dall' inventario del giocatore", + ["command_clearloadout"] = "Rimuovi tutte le armi dal loadout del giocatore", + ["command_freeze"] = "Blocca un giocatore", + ["command_unfreeze"] = "Sblocca un giocatore", + ["command_giveaccountmoney"] = "Dai soldi a un' account specifico", + ["command_giveaccountmoney_account"] = "Account a cui aggiungere", + ["command_giveaccountmoney_amount"] = "Quantità da aggiungere", + ["command_giveaccountmoney_invalid"] = "Nome account non valido", + ["command_giveitem"] = "Dai un oggetto ad un giocatore", + ["command_giveitem_item"] = "Nome oggetto", + ["command_giveitem_count"] = "Quantità", + ["command_giveweapon"] = "Dai un' arma ad un giocatore", + ["command_giveweapon_weapon"] = "Nome arma", + ["command_giveweapon_ammo"] = "Quantità munizioni", + ["command_giveweapon_hasalready"] = "Il giocatore ha già l'arma", + ["command_giveweaponcomponent"] = "Dai un componente arma ad un giocatore", + ["command_giveweaponcomponent_component"] = "Nome componente", + ["command_giveweaponcomponent_invalid"] = "Componente arma non valido", + ["command_giveweaponcomponent_hasalready"] = "Il giocatore ha già questo componente arma", + ["command_giveweaponcomponent_missingweapon"] = "Il giocatore non ha l'arma", + ["command_goto"] = "Teletrasportati da un giocatore", + ["command_kill"] = "Uccidi un giocatore", + ["command_save"] = "Salva forzatamente i dati di un giocatore", + ["command_saveall"] = "Salva forzatamente i dati di tutti igiocatoria", + ["command_setaccountmoney"] = "Aggiorna i soldi dentro un account specifico", + ["command_setaccountmoney_amount"] = "Quantità", + ["command_setcoords"] = "Teletrasportati a delle coordinate specifiche", + ["command_setcoords_x"] = "Valore X", + ["command_setcoords_y"] = "Valore Y", + ["command_setcoords_z"] = "Valore Z", + ["command_setjob"] = "Setta lavoro ad un giocatore", + ["command_setjob_job"] = "Nome", + ["command_setjob_grade"] = "Grado lavoro", + ["command_setjob_invalid"] = "Il lavoro, grado o entrambi sono errati", + ["command_setgroup"] = "Setta un gruppo di permessi ad un giocatore", + ["command_setgroup_group"] = "Nome del gruppo", + ["commanderror_argumentmismatch"] = "Conta argomenti non valida (passati %s, richiesti %s)", + ["commanderror_argumentmismatch_number"] = "Argomento #%s di tipologia errata (passato testo, richiesto numero)", + ["commanderror_invaliditem"] = "Oggetto non valido", + ["commanderror_invalidweapon"] = "Arma non valida", + ["commanderror_console"] = "Comando non eseguibile dalla console", + ["commanderror_invalidcommand"] = "Comando non valido - /%s", + ["commanderror_invalidplayerid"] = "Il giocatore specificato non è online", + ["commandgeneric_playerid"] = "Id server del giocatore", + ["command_giveammo_noweapon_found"] = "%s non ha quell' arma", + ["command_giveammo_weapon"] = "Nome arma", + ["command_giveammo_ammo"] = "Quantità munizioni", + ["tpm_nowaypoint"] = "Nessuna meta impostata", + ["tpm_success"] = "Teletrasportato con successo", - ['noclip_message'] = "Noclip %s", - ['enabled'] = "~g~abilitato~s~", - ['disabled'] = "~r~disabilitato~s~", + ["noclip_message"] = "Noclip %s", + ["enabled"] = "~g~abilitato~s~", + ["disabled"] = "~r~disabilitato~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ",", - ['locale_currency'] = "$%s", + ["locale_digit_grouping_symbol"] = ",", + ["locale_currency"] = "$%s", -- Weapons -- Melee - ['weapon_dagger'] = "Pugnale Antico", - ['weapon_bat'] = "Mazza", - ['weapon_battleaxe'] = "Ascia", - ['weapon_bottle'] = "Bottiglia", - ['weapon_crowbar'] = "Piede di porco", - ['weapon_flashlight'] = "Torcia", - ['weapon_golfclub'] = "Mazza da golf", - ['weapon_hammer'] = "Martello", - ['weapon_hatchet'] = "Accetta", - ['weapon_knife'] = "Coltello", - ['weapon_knuckle'] = "Tirapugni", - ['weapon_machete'] = "Machete", - ['weapon_nightstick'] = "Manganello", - ['weapon_wrench'] = "Tubo", - ['weapon_poolcue'] = "Stecca", - ['weapon_stone_hatchet'] = "Accetta di pietra", - ['weapon_switchblade'] = "Coltello a serramanico", + ["weapon_dagger"] = "Pugnale Antico", + ["weapon_bat"] = "Mazza", + ["weapon_battleaxe"] = "Ascia", + ["weapon_bottle"] = "Bottiglia", + ["weapon_crowbar"] = "Piede di porco", + ["weapon_flashlight"] = "Torcia", + ["weapon_golfclub"] = "Mazza da golf", + ["weapon_hammer"] = "Martello", + ["weapon_hatchet"] = "Accetta", + ["weapon_knife"] = "Coltello", + ["weapon_knuckle"] = "Tirapugni", + ["weapon_machete"] = "Machete", + ["weapon_nightstick"] = "Manganello", + ["weapon_wrench"] = "Tubo", + ["weapon_poolcue"] = "Stecca", + ["weapon_stone_hatchet"] = "Accetta di pietra", + ["weapon_switchblade"] = "Coltello a serramanico", -- Handguns - ['weapon_appistol'] = "Pistola AP", - ['weapon_ceramicpistol'] = "Pistola di ceramica", - ['weapon_combatpistol'] = "Pistola da combattimento", - ['weapon_doubleaction'] = "Revolver doppia azione", - ['weapon_navyrevolver'] = "Revolver Marina", - ['weapon_flaregun'] = "Pistola lanciarazzi", - ['weapon_gadgetpistol'] = "Pistola Gadget", - ['weapon_heavypistol'] = "Pistola pesante", - ['weapon_revolver'] = "Revolver pesante", - ['weapon_revolver_mk2'] = "Revolver pesante MK2", - ['weapon_marksmanpistol'] = "Pistola da tiratore", - ['weapon_pistol'] = "Pistola", - ['weapon_pistol_mk2'] = "Pistola MK2", - ['weapon_pistol50'] = "Pistola .50", - ['weapon_snspistol'] = "Pistola SNS", - ['weapon_snspistol_mk2'] = "Pistola SNS MK2", - ['weapon_stungun'] = "Taser", - ['weapon_raypistol'] = "Up-N-Atomizzatore", - ['weapon_vintagepistol'] = "Pistola Vintage", + ["weapon_appistol"] = "Pistola AP", + ["weapon_ceramicpistol"] = "Pistola di ceramica", + ["weapon_combatpistol"] = "Pistola da combattimento", + ["weapon_doubleaction"] = "Revolver doppia azione", + ["weapon_navyrevolver"] = "Revolver Marina", + ["weapon_flaregun"] = "Pistola lanciarazzi", + ["weapon_gadgetpistol"] = "Pistola Gadget", + ["weapon_heavypistol"] = "Pistola pesante", + ["weapon_revolver"] = "Revolver pesante", + ["weapon_revolver_mk2"] = "Revolver pesante MK2", + ["weapon_marksmanpistol"] = "Pistola da tiratore", + ["weapon_pistol"] = "Pistola", + ["weapon_pistol_mk2"] = "Pistola MK2", + ["weapon_pistol50"] = "Pistola .50", + ["weapon_snspistol"] = "Pistola SNS", + ["weapon_snspistol_mk2"] = "Pistola SNS MK2", + ["weapon_stungun"] = "Taser", + ["weapon_raypistol"] = "Up-N-Atomizzatore", + ["weapon_vintagepistol"] = "Pistola Vintage", -- Shotguns - ['weapon_assaultshotgun'] = "Fucile a pompa d'assalto", - ['weapon_autoshotgun'] = "Fucile a pompa automatico", - ['weapon_bullpupshotgun'] = "Fucile a pompa Bullup", - ['weapon_combatshotgun'] = "Fucile a pompa da combattimento", - ['weapon_dbshotgun'] = "Fucile a pompa doppia canna", - ['weapon_heavyshotgun'] = "Fucile a pompa pesante", - ['weapon_musket'] = "Moschetto", - ['weapon_pumpshotgun'] = "Fucile a pompa", - ['weapon_pumpshotgun_mk2'] = "Fucile a pompa MK2", - ['weapon_sawnoffshotgun'] = "Fucile a canne mozza", + ["weapon_assaultshotgun"] = "Fucile a pompa d'assalto", + ["weapon_autoshotgun"] = "Fucile a pompa automatico", + ["weapon_bullpupshotgun"] = "Fucile a pompa Bullup", + ["weapon_combatshotgun"] = "Fucile a pompa da combattimento", + ["weapon_dbshotgun"] = "Fucile a pompa doppia canna", + ["weapon_heavyshotgun"] = "Fucile a pompa pesante", + ["weapon_musket"] = "Moschetto", + ["weapon_pumpshotgun"] = "Fucile a pompa", + ["weapon_pumpshotgun_mk2"] = "Fucile a pompa MK2", + ["weapon_sawnoffshotgun"] = "Fucile a canne mozza", -- SMG & LMG - ['weapon_assaultsmg'] = "SMG d'assalto", - ['weapon_combatmg'] = "MG da combattimento", - ['weapon_combatmg_mk2'] = "MG da combattimento MK2", - ['weapon_combatpdw'] = "PDW da combattimento", - ['weapon_gusenberg'] = "Mitragliatrice Gusenberg", - ['weapon_machinepistol'] = "Pistola mitragliatrice", - ['weapon_mg'] = "MG", - ['weapon_microsmg'] = "Micro SMG", - ['weapon_minismg'] = "Mini SMG", - ['weapon_smg'] = "SMG", - ['weapon_smg_mk2'] = "SMG MK2", - ['weapon_raycarbine'] = "Hellbringer infernale", + ["weapon_assaultsmg"] = "SMG d'assalto", + ["weapon_combatmg"] = "MG da combattimento", + ["weapon_combatmg_mk2"] = "MG da combattimento MK2", + ["weapon_combatpdw"] = "PDW da combattimento", + ["weapon_gusenberg"] = "Mitragliatrice Gusenberg", + ["weapon_machinepistol"] = "Pistola mitragliatrice", + ["weapon_mg"] = "MG", + ["weapon_microsmg"] = "Micro SMG", + ["weapon_minismg"] = "Mini SMG", + ["weapon_smg"] = "SMG", + ["weapon_smg_mk2"] = "SMG MK2", + ["weapon_raycarbine"] = "Hellbringer infernale", -- Rifles - ['weapon_advancedrifle'] = "Fucile avanzato", - ['weapon_assaultrifle'] = "Fucile d'assalto", - ['weapon_assaultrifle_mk2'] = "Fucile d' assalto MK2", - ['weapon_bullpuprifle'] = "Fucile Bullpup", - ['weapon_bullpuprifle_mk2'] = "Fucile Bullpup MK2", - ['weapon_carbinerifle'] = "Carabina", - ['weapon_carbinerifle_mk2'] = "Carbine MK2", - ['weapon_compactrifle'] = "Fucile compatto", - ['weapon_militaryrifle'] = "Fucile militare", - ['weapon_specialcarbine'] = "Carabina speciale", - ['weapon_specialcarbine_mk2'] = "Carabina speciale MK2", + ["weapon_advancedrifle"] = "Fucile avanzato", + ["weapon_assaultrifle"] = "Fucile d'assalto", + ["weapon_assaultrifle_mk2"] = "Fucile d' assalto MK2", + ["weapon_bullpuprifle"] = "Fucile Bullpup", + ["weapon_bullpuprifle_mk2"] = "Fucile Bullpup MK2", + ["weapon_carbinerifle"] = "Carabina", + ["weapon_carbinerifle_mk2"] = "Carbine MK2", + ["weapon_compactrifle"] = "Fucile compatto", + ["weapon_militaryrifle"] = "Fucile militare", + ["weapon_specialcarbine"] = "Carabina speciale", + ["weapon_specialcarbine_mk2"] = "Carabina speciale MK2", -- Sniper - ['weapon_heavysniper'] = "Cecchino pesante", - ['weapon_heavysniper_mk2'] = "Cecchino pesante MK2", - ['weapon_marksmanrifle'] = "Fucile da tiratore", - ['weapon_marksmanrifle_mk2'] = "Fucile da tiratore MK2", - ['weapon_sniperrifle'] = "Cecchino", + ["weapon_heavysniper"] = "Cecchino pesante", + ["weapon_heavysniper_mk2"] = "Cecchino pesante MK2", + ["weapon_marksmanrifle"] = "Fucile da tiratore", + ["weapon_marksmanrifle_mk2"] = "Fucile da tiratore MK2", + ["weapon_sniperrifle"] = "Cecchino", -- Heavy / Launchers - ['weapon_compactlauncher'] = "Lanciagranate compatto", - ['weapon_firework'] = "Cannone pirotecnico", - ['weapon_grenadelauncher'] = "Lanciagranate", - ['weapon_hominglauncher'] = "Lanciarazzi a tracciamento", - ['weapon_minigun'] = "Minigun", - ['weapon_railgun'] = "Railgun", - ['weapon_rpg'] = "Lanciarazzi", - ['weapon_rayminigun'] = "Widowmaker", + ["weapon_compactlauncher"] = "Lanciagranate compatto", + ["weapon_firework"] = "Cannone pirotecnico", + ["weapon_grenadelauncher"] = "Lanciagranate", + ["weapon_hominglauncher"] = "Lanciarazzi a tracciamento", + ["weapon_minigun"] = "Minigun", + ["weapon_railgun"] = "Railgun", + ["weapon_rpg"] = "Lanciarazzi", + ["weapon_rayminigun"] = "Widowmaker", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = "Metal Detector", - ['weapon_precisionrifle'] = "Fucile di precisione", - ['weapon_tactilerifle'] = "Carabina di servizio", + ["weapon_metaldetector"] = "Metal Detector", + ["weapon_precisionrifle"] = "Fucile di precisione", + ["weapon_tactilerifle"] = "Carabina di servizio", -- Thrown - ['weapon_ball'] = "Palla", - ['weapon_bzgas'] = "BZ Gas", - ['weapon_flare'] = "Flare", - ['weapon_grenade'] = "Granata", - ['weapon_petrolcan'] = "Tanica", - ['weapon_hazardcan'] = "Tanica pericolosa", - ['weapon_molotov'] = "Molotov", - ['weapon_proxmine'] = "Mina di prossimità", - ['weapon_pipebomb'] = "Esplosivo plastico", - ['weapon_snowball'] = "Palla di neve", - ['weapon_stickybomb'] = "Bomba adesiva", - ['weapon_smokegrenade'] = "Gas lacrimogeno", + ["weapon_ball"] = "Palla", + ["weapon_bzgas"] = "BZ Gas", + ["weapon_flare"] = "Flare", + ["weapon_grenade"] = "Granata", + ["weapon_petrolcan"] = "Tanica", + ["weapon_hazardcan"] = "Tanica pericolosa", + ["weapon_molotov"] = "Molotov", + ["weapon_proxmine"] = "Mina di prossimità", + ["weapon_pipebomb"] = "Esplosivo plastico", + ["weapon_snowball"] = "Palla di neve", + ["weapon_stickybomb"] = "Bomba adesiva", + ["weapon_smokegrenade"] = "Gas lacrimogeno", -- Special - ['weapon_fireextinguisher'] = "Estintore", - ['weapon_digiscanner'] = "Scanner digitale", - ['weapon_garbagebag'] = "Sacco della spazzatura", - ['weapon_handcuffs'] = "Manette", - ['gadget_nightvision'] = "Visore termico", - ['gadget_parachute'] = "Paracadute", + ["weapon_fireextinguisher"] = "Estintore", + ["weapon_digiscanner"] = "Scanner digitale", + ["weapon_garbagebag"] = "Sacco della spazzatura", + ["weapon_handcuffs"] = "Manette", + ["gadget_nightvision"] = "Visore termico", + ["gadget_parachute"] = "Paracadute", -- Weapon Components - ['component_knuckle_base'] = "Modello basa", - ['component_knuckle_pimp'] = "il Pappone", - ['component_knuckle_ballas'] = "i Ballas", - ['component_knuckle_dollar'] = "il Riccone", - ['component_knuckle_diamond'] = "la Roccia", - ['component_knuckle_hate'] = "l' Hater", - ['component_knuckle_love'] = "l' Amante", - ['component_knuckle_player'] = "il Giocatore", - ['component_knuckle_king'] = "il Re", - ['component_knuckle_vagos'] = "i Vagos", + ["component_knuckle_base"] = "Modello basa", + ["component_knuckle_pimp"] = "il Pappone", + ["component_knuckle_ballas"] = "i Ballas", + ["component_knuckle_dollar"] = "il Riccone", + ["component_knuckle_diamond"] = "la Roccia", + ["component_knuckle_hate"] = "l' Hater", + ["component_knuckle_love"] = "l' Amante", + ["component_knuckle_player"] = "il Giocatore", + ["component_knuckle_king"] = "il Re", + ["component_knuckle_vagos"] = "i Vagos", - ['component_luxary_finish'] = "rifinitura di lusso", + ["component_luxary_finish"] = "rifinitura di lusso", - ['component_handle_default'] = "impugnatura base", - ['component_handle_vip'] = "impugnatura VIP", - ['component_handle_bodyguard'] = "impugnatura guardia del corpo", + ["component_handle_default"] = "impugnatura base", + ["component_handle_vip"] = "impugnatura VIP", + ["component_handle_bodyguard"] = "impugnatura guardia del corpo", - ['component_vip_finish'] = "rifinitura VIP", - ['component_bodyguard_finish'] = "rifinitura Guardia del corpo", + ["component_vip_finish"] = "rifinitura VIP", + ["component_bodyguard_finish"] = "rifinitura Guardia del corpo", - ['component_camo_finish'] = "mimetica Digitale", - ['component_camo_finish2'] = "mimetica Cespuglio", - ['component_camo_finish3'] = "mimetica Legnosa", - ['component_camo_finish4'] = "mimetica Teschio", - ['component_camo_finish5'] = "mimetica Sessanta Nove", - ['component_camo_finish6'] = "mimetica Perseo", - ['component_camo_finish7'] = "mimetica Leopardata", - ['component_camo_finish8'] = "mimetica Zebra", - ['component_camo_finish9'] = "mimetica Geometrica", - ['component_camo_finish10'] = "mimetica Boom", - ['component_camo_finish11'] = "mimetica Patriottica", + ["component_camo_finish"] = "mimetica Digitale", + ["component_camo_finish2"] = "mimetica Cespuglio", + ["component_camo_finish3"] = "mimetica Legnosa", + ["component_camo_finish4"] = "mimetica Teschio", + ["component_camo_finish5"] = "mimetica Sessanta Nove", + ["component_camo_finish6"] = "mimetica Perseo", + ["component_camo_finish7"] = "mimetica Leopardata", + ["component_camo_finish8"] = "mimetica Zebra", + ["component_camo_finish9"] = "mimetica Geometrica", + ["component_camo_finish10"] = "mimetica Boom", + ["component_camo_finish11"] = "mimetica Patriottica", - ['component_camo_slide_finish'] = "mimetica Digitale Slide", - ['component_camo_slide_finish2'] = "mimetica Cespuglio Slide", - ['component_camo_slide_finish3'] = "mimetica Legnosa Slide", - ['component_camo_slide_finish4'] = "mimetica Teschio Slide", - ['component_camo_slide_finish5'] = "mimetica Sessanta Nove Slide", - ['component_camo_slide_finish6'] = "mimetica Perseo Slide", - ['component_camo_slide_finish7'] = "mimetica Leopardata Slide", - ['component_camo_slide_finish8'] = "mimetica Zebra Slide", - ['component_camo_slide_finish9'] = "mimetica Geometrica Slide", - ['component_camo_slide_finish10'] = "mimetica Boom Slide", - ['component_camo_slide_finish11'] = "mimetica Patriottica Slide", + ["component_camo_slide_finish"] = "mimetica Digitale Slide", + ["component_camo_slide_finish2"] = "mimetica Cespuglio Slide", + ["component_camo_slide_finish3"] = "mimetica Legnosa Slide", + ["component_camo_slide_finish4"] = "mimetica Teschio Slide", + ["component_camo_slide_finish5"] = "mimetica Sessanta Nove Slide", + ["component_camo_slide_finish6"] = "mimetica Perseo Slide", + ["component_camo_slide_finish7"] = "mimetica Leopardata Slide", + ["component_camo_slide_finish8"] = "mimetica Zebra Slide", + ["component_camo_slide_finish9"] = "mimetica Geometrica Slide", + ["component_camo_slide_finish10"] = "mimetica Boom Slide", + ["component_camo_slide_finish11"] = "mimetica Patriottica Slide", - ['component_clip_default'] = "caricatore Standard", - ['component_clip_extended'] = "caricatore Esteso", - ['component_clip_drum'] = "caricatore A Batteria", - ['component_clip_box'] = "caricatore A Scatola", + ["component_clip_default"] = "caricatore Standard", + ["component_clip_extended"] = "caricatore Esteso", + ["component_clip_drum"] = "caricatore A Batteria", + ["component_clip_box"] = "caricatore A Scatola", - ['component_scope_holo'] = "mirino Olografico", - ['component_scope_small'] = "mirino Piccolo", - ['component_scope_medium'] = "mirino Medio", - ['component_scope_large'] = "mirino Largo", - ['component_scope'] = "mirino Montato", - ['component_scope_advanced'] = "mirino Avanzato", - ['component_ironsights'] = "integrato", + ["component_scope_holo"] = "mirino Olografico", + ["component_scope_small"] = "mirino Piccolo", + ["component_scope_medium"] = "mirino Medio", + ["component_scope_large"] = "mirino Largo", + ["component_scope"] = "mirino Montato", + ["component_scope_advanced"] = "mirino Avanzato", + ["component_ironsights"] = "integrato", - ['component_suppressor'] = "silenziatore", - ['component_compensator'] = "compensatore", + ["component_suppressor"] = "silenziatore", + ["component_compensator"] = "compensatore", - ['component_muzzle_flat'] = "freno Di Bocca Piatto", - ['component_muzzle_tactical'] = "freno Di Bocca Tattico", - ['component_muzzle_fat'] = "freno Di Bocca Grosso", - ['component_muzzle_precision'] = "freno Di Bocca Di Precisione", - ['component_muzzle_heavy'] = "freno Di Bocca Pesante", - ['component_muzzle_slanted'] = "freno Di Bocca Inclinato", - ['component_muzzle_split'] = "freno Di Bocca Diviso", - ['component_muzzle_squared'] = "freno Di Bocca Quadrato", + ["component_muzzle_flat"] = "freno Di Bocca Piatto", + ["component_muzzle_tactical"] = "freno Di Bocca Tattico", + ["component_muzzle_fat"] = "freno Di Bocca Grosso", + ["component_muzzle_precision"] = "freno Di Bocca Di Precisione", + ["component_muzzle_heavy"] = "freno Di Bocca Pesante", + ["component_muzzle_slanted"] = "freno Di Bocca Inclinato", + ["component_muzzle_split"] = "freno Di Bocca Diviso", + ["component_muzzle_squared"] = "freno Di Bocca Quadrato", - ['component_flashlight'] = "torcia", - ['component_grip'] = "impugnatura", + ["component_flashlight"] = "torcia", + ["component_grip"] = "impugnatura", - ['component_barrel_default'] = "canna Standard", - ['component_barrel_heavy'] = "canna Pesante", + ["component_barrel_default"] = "canna Standard", + ["component_barrel_heavy"] = "canna Pesante", - ['component_ammo_tracer'] = "munizioni Traccianti", - ['component_ammo_incendiary'] = "munizioni Incendiarie", - ['component_ammo_hollowpoint'] = "munizioni a Punta Cava", - ['component_ammo_fmj'] = "munizioni fMj", - ['component_ammo_armor'] = "munizioni penetranti", - ['component_ammo_explosive'] = "munizioni penetranti incendiarie", + ["component_ammo_tracer"] = "munizioni Traccianti", + ["component_ammo_incendiary"] = "munizioni Incendiarie", + ["component_ammo_hollowpoint"] = "munizioni a Punta Cava", + ["component_ammo_fmj"] = "munizioni fMj", + ["component_ammo_armor"] = "munizioni penetranti", + ["component_ammo_explosive"] = "munizioni penetranti incendiarie", - ['component_shells_default'] = "cartucce Standard", - ['component_shells_incendiary'] = "cartucce alito di Drago", - ['component_shells_armor'] = "cartucce a pallettoni", - ['component_shells_hollowpoint'] = "cartucce a freccette", - ['component_shells_explosive'] = "cartucce esplosive", + ["component_shells_default"] = "cartucce Standard", + ["component_shells_incendiary"] = "cartucce alito di Drago", + ["component_shells_armor"] = "cartucce a pallettoni", + ["component_shells_hollowpoint"] = "cartucce a freccette", + ["component_shells_explosive"] = "cartucce esplosive", -- Weapon Ammo - ['ammo_rounds'] = "colpo(i)", - ['ammo_shells'] = "cartuccia(e)", - ['ammo_charge'] = "carica", - ['ammo_petrol'] = "Litri di carburante", - ['ammo_firework'] = "fuochi d'artificio", - ['ammo_rockets'] = "razzo(i)", - ['ammo_grenadelauncher'] = "granata(e)", - ['ammo_grenade'] = "granata(e)", - ['ammo_stickybomb'] = "bomba(e)", - ['ammo_pipebomb'] = "bomba(e)", - ['ammo_smokebomb'] = "bomba(e)", - ['ammo_molotov'] = "bottiglia(e)", - ['ammo_proxmine'] = "mina(e)", - ['ammo_bzgas'] = "latta(e)", - ['ammo_ball'] = "palla(e)", - ['ammo_snowball'] = "palle di neve", - ['ammo_flare'] = "razzo(i)", - ['ammo_flaregun'] = "razzo(i)", + ["ammo_rounds"] = "colpo(i)", + ["ammo_shells"] = "cartuccia(e)", + ["ammo_charge"] = "carica", + ["ammo_petrol"] = "Litri di carburante", + ["ammo_firework"] = "fuochi d'artificio", + ["ammo_rockets"] = "razzo(i)", + ["ammo_grenadelauncher"] = "granata(e)", + ["ammo_grenade"] = "granata(e)", + ["ammo_stickybomb"] = "bomba(e)", + ["ammo_pipebomb"] = "bomba(e)", + ["ammo_smokebomb"] = "bomba(e)", + ["ammo_molotov"] = "bottiglia(e)", + ["ammo_proxmine"] = "mina(e)", + ["ammo_bzgas"] = "latta(e)", + ["ammo_ball"] = "palla(e)", + ["ammo_snowball"] = "palle di neve", + ["ammo_flare"] = "razzo(i)", + ["ammo_flaregun"] = "razzo(i)", -- Weapon Tints - ['tint_default'] = "Colore standard", - ['tint_green'] = "color verde", - ['tint_gold'] = "color oro", - ['tint_pink'] = "color rosa", - ['tint_army'] = "color army", - ['tint_lspd'] = "color blu", - ['tint_orange'] = "color arancio", - ['tint_platinum'] = "color platino", + ["tint_default"] = "Colore standard", + ["tint_green"] = "color verde", + ["tint_gold"] = "color oro", + ["tint_pink"] = "color rosa", + ["tint_army"] = "color army", + ["tint_lspd"] = "color blu", + ["tint_orange"] = "color arancio", + ["tint_platinum"] = "color platino", } diff --git a/[core]/es_extended/locales/nl.lua b/[core]/es_extended/locales/nl.lua index 54a2e793..6a2f9e13 100644 --- a/[core]/es_extended/locales/nl.lua +++ b/[core]/es_extended/locales/nl.lua @@ -1,365 +1,365 @@ -Locales['nl'] = { +Locales["nl"] = { -- Inventory - ['inventory'] = "Inventaris ( Gewicht %s / %s )", - ['use'] = "Gebruik", - ['give'] = "Geef", - ['remove'] = "Gooi", - ['return'] = "Terug", - ['give_to'] = "Geef aan", - ['amount'] = "Aantal", - ['giveammo'] = "Geef munitie", - ['amountammo'] = "Hoeveelheid munitie", - ['noammo'] = "Niet genoeg!", - ['gave_item'] = "%sx %s gegeven aan %s", - ['received_item'] = "%sx %s ontvangen van %s", - ['gave_weapon'] = "%s gegeven aan %s", - ['gave_weapon_ammo'] = "~o~%sx %s gegeven voor een %s aan %s", - ['gave_weapon_withammo'] = "%s gegeven met ~o~%sx %s aan %s", - ['gave_weapon_hasalready'] = "%s heeft al een %s", - ['gave_weapon_noweapon'] = "%s heeft dat wapen niet", - ['received_weapon'] = "%s ontvangen van %s", - ['received_weapon_ammo'] = "~o~%sx %s ontvangen voor je %s van %s", - ['received_weapon_withammo'] = "%s ontvangen met ~o~%sx %s van %s", - ['received_weapon_hasalready'] = "%s heeft geprobeerd je een %s te geven, maar je hebt dat wapen al.", - ['received_weapon_noweapon'] = "%s heeft geprobeerd je ammo te geven voor een %s, maar je hebt dit wapen niet", - ['gave_account_money'] = "€%s (%s) gegeven aan %s", - ['received_account_money'] = "€%s (%s) ontvangen van %s", - ['amount_invalid'] = "Ongeldige hoeveelheid", - ['players_nearby'] = "Geen spelers in de buurt", - ['ex_inv_lim'] = "Kan actie niet uitvoeren, overschrijdt max. gewicht van %s", - ['imp_invalid_quantity'] = "Kan actie niet uitvoeren, de hoeveelheid is ongeldig", - ['imp_invalid_amount'] = "Kan actie niet uitvoeren, het aantal is ongeldig", - ['threw_standard'] = "%sx %s weggegooid", - ['threw_account'] = "€%s %s weggegooid", - ['threw_weapon'] = "%s weggegooid", - ['threw_weapon_ammo'] = "%s met ~o~%sx %s weggegooid", - ['threw_weapon_already'] = "Je hebt dit wapen al !", - ['threw_cannot_pickup'] = "Inventoraris is vol, Kan niet oppakken!", - ['threw_pickup_prompt'] = "Druk op E om op te pakken", + ["inventory"] = "Inventaris ( Gewicht %s / %s )", + ["use"] = "Gebruik", + ["give"] = "Geef", + ["remove"] = "Gooi", + ["return"] = "Terug", + ["give_to"] = "Geef aan", + ["amount"] = "Aantal", + ["giveammo"] = "Geef munitie", + ["amountammo"] = "Hoeveelheid munitie", + ["noammo"] = "Niet genoeg!", + ["gave_item"] = "%sx %s gegeven aan %s", + ["received_item"] = "%sx %s ontvangen van %s", + ["gave_weapon"] = "%s gegeven aan %s", + ["gave_weapon_ammo"] = "~o~%sx %s gegeven voor een %s aan %s", + ["gave_weapon_withammo"] = "%s gegeven met ~o~%sx %s aan %s", + ["gave_weapon_hasalready"] = "%s heeft al een %s", + ["gave_weapon_noweapon"] = "%s heeft dat wapen niet", + ["received_weapon"] = "%s ontvangen van %s", + ["received_weapon_ammo"] = "~o~%sx %s ontvangen voor je %s van %s", + ["received_weapon_withammo"] = "%s ontvangen met ~o~%sx %s van %s", + ["received_weapon_hasalready"] = "%s heeft geprobeerd je een %s te geven, maar je hebt dat wapen al.", + ["received_weapon_noweapon"] = "%s heeft geprobeerd je ammo te geven voor een %s, maar je hebt dit wapen niet", + ["gave_account_money"] = "€%s (%s) gegeven aan %s", + ["received_account_money"] = "€%s (%s) ontvangen van %s", + ["amount_invalid"] = "Ongeldige hoeveelheid", + ["players_nearby"] = "Geen spelers in de buurt", + ["ex_inv_lim"] = "Kan actie niet uitvoeren, overschrijdt max. gewicht van %s", + ["imp_invalid_quantity"] = "Kan actie niet uitvoeren, de hoeveelheid is ongeldig", + ["imp_invalid_amount"] = "Kan actie niet uitvoeren, het aantal is ongeldig", + ["threw_standard"] = "%sx %s weggegooid", + ["threw_account"] = "€%s %s weggegooid", + ["threw_weapon"] = "%s weggegooid", + ["threw_weapon_ammo"] = "%s met ~o~%sx %s weggegooid", + ["threw_weapon_already"] = "Je hebt dit wapen al !", + ["threw_cannot_pickup"] = "Inventoraris is vol, Kan niet oppakken!", + ["threw_pickup_prompt"] = "Druk op E om op te pakken", -- Key mapping - ['keymap_showinventory'] = "Laat inventaris zien", + ["keymap_showinventory"] = "Laat inventaris zien", -- Salary related - ['received_salary'] = "Je bent betaald: €%s", - ['received_help'] = "Je hebt je uitkering gekregen: €%s", - ['company_nomoney'] = "Het bedrijf waar je bij werkt heeft te weinig geld om je uit te betalen.", - ['received_paycheck'] = "salaris ontvangen", - ['bank'] = "Maze Bank", - ['account_bank'] = "Bank", - ['account_black_money'] = "Zwart geld", - ['account_money'] = "Cash", + ["received_salary"] = "Je bent betaald: €%s", + ["received_help"] = "Je hebt je uitkering gekregen: €%s", + ["company_nomoney"] = "Het bedrijf waar je bij werkt heeft te weinig geld om je uit te betalen.", + ["received_paycheck"] = "salaris ontvangen", + ["bank"] = "Maze Bank", + ["account_bank"] = "Bank", + ["account_black_money"] = "Zwart geld", + ["account_money"] = "Cash", - ['act_imp'] = "Kan actie niet uitvoeren", - ['in_vehicle'] = "Kan actie niet uitvoeren, de speler zit in een voertuig.", + ["act_imp"] = "Kan actie niet uitvoeren", + ["in_vehicle"] = "Kan actie niet uitvoeren, de speler zit in een voertuig.", -- Commands - ['command_bring'] = "Breng speler naar jou", - ['command_car'] = "Spawn een voertuig", - ['command_car_car'] = "Voertuig model of hash", - ['command_cardel'] = "Verwijder voertuigen in straal", - ['command_cardel_radius'] = "Verwijderd alle voertuigen in gewenste straal", - ['command_clear'] = "Verwijder chat berichten", - ['command_clearall'] = "Verwijder chat berichten voor alle spelers", - ['command_clearinventory'] = "Verwijder alle items van een speler zijn inventory", - ['command_clearloadout'] = "Verwijder alle wapens die een speler heeft", - ['command_freeze'] = "Freeze een speler", - ['command_unfreeze'] = "Unfreeze een speler", - ['command_giveaccountmoney'] = "Geef geld aan een rekening", - ['command_giveaccountmoney_account'] = "Account om aan toe te voegen", - ['command_giveaccountmoney_amount'] = "Bedrag om toe te voegen", - ['command_giveaccountmoney_invalid'] = "Account Naam ongeldig", - ['command_giveitem'] = "Geef speler een item", - ['command_giveitem_item'] = "Item naam", - ['command_giveitem_count'] = "Hoeveelheid", - ['command_giveweapon'] = "Geef de speler een wapen", - ['command_giveweapon_weapon'] = "Wapen naam", - ['command_giveweapon_ammo'] = "Ammo Hoeveelheid", - ['command_giveweapon_hasalready'] = "Speler heeft dit wapen al", - ['command_giveweaponcomponent'] = "Geef wapen component aan speler", - ['command_giveweaponcomponent_component'] = "Component naam", - ['command_giveweaponcomponent_invalid'] = "Ongeldig wapen component", - ['command_giveweaponcomponent_hasalready'] = "De speler heeft dit wapen component al", - ['command_giveweaponcomponent_missingweapon'] = "De speler heeft dit wapen niet", - ['command_goto'] = "Teleporteer jezelf naar een speler", - ['command_kill'] = "Vermoord een speler", - ['command_save'] = "Slaag een speler zijn spelerdata geforceerd op", - ['command_saveall'] = "Slaag iedereen zijn spelerdata geforceerd op", - ['command_setaccountmoney'] = "Stel geld in op een account", - ['command_setaccountmoney_amount'] = "Amount", - ['command_setcoords'] = "Telepeer naar coordinaten", - ['command_setcoords_x'] = "X waarde", - ['command_setcoords_y'] = "Y waarde", - ['command_setcoords_z'] = "Z waarde", - ['command_setjob'] = "Zet een speler zijn / haar job", - ['command_setjob_job'] = "Naam", - ['command_setjob_grade'] = "Job grade", - ['command_setjob_invalid'] = "De job, grade of beide zijn ongeldig", - ['command_setgroup'] = "Stel een toestemmingsgroep voor spelers in", - ['command_setgroup_group'] = "Naam van groep", - ['commanderror_argumentmismatch'] = "Ongeldig aantal argumenten (geslaagd %s, gezocht %s)", - ['commanderror_argumentmismatch_number'] = "Ongeldig argument #%s gegevenstype (doorgegeven string, gewenst nummer)", - ['commanderror_invaliditem'] = "Ongeldig item", - ['commanderror_invalidweapon'] = "Ongeldig wapen", - ['commanderror_console'] = "Command kan niet worden uitgevoerd vanaf console.", - ['commanderror_invalidcommand'] = "Ongeldig commando - /%s", - ['commanderror_invalidplayerid'] = "Opgegeven speler is niet online", - ['commandgeneric_playerid'] = "Speler server id", - ['command_giveammo_noweapon_found'] = "%s heeft dat wapen niet", - ['command_giveammo_weapon'] = "Wapen naam", - ['command_giveammo_ammo'] = "Ammo Hoeveelheid", - ['tpm_nowaypoint'] = "Geen waypoint gezet.", - ['tpm_success'] = "Successvol geteleporteerd", + ["command_bring"] = "Breng speler naar jou", + ["command_car"] = "Spawn een voertuig", + ["command_car_car"] = "Voertuig model of hash", + ["command_cardel"] = "Verwijder voertuigen in straal", + ["command_cardel_radius"] = "Verwijderd alle voertuigen in gewenste straal", + ["command_clear"] = "Verwijder chat berichten", + ["command_clearall"] = "Verwijder chat berichten voor alle spelers", + ["command_clearinventory"] = "Verwijder alle items van een speler zijn inventory", + ["command_clearloadout"] = "Verwijder alle wapens die een speler heeft", + ["command_freeze"] = "Freeze een speler", + ["command_unfreeze"] = "Unfreeze een speler", + ["command_giveaccountmoney"] = "Geef geld aan een rekening", + ["command_giveaccountmoney_account"] = "Account om aan toe te voegen", + ["command_giveaccountmoney_amount"] = "Bedrag om toe te voegen", + ["command_giveaccountmoney_invalid"] = "Account Naam ongeldig", + ["command_giveitem"] = "Geef speler een item", + ["command_giveitem_item"] = "Item naam", + ["command_giveitem_count"] = "Hoeveelheid", + ["command_giveweapon"] = "Geef de speler een wapen", + ["command_giveweapon_weapon"] = "Wapen naam", + ["command_giveweapon_ammo"] = "Ammo Hoeveelheid", + ["command_giveweapon_hasalready"] = "Speler heeft dit wapen al", + ["command_giveweaponcomponent"] = "Geef wapen component aan speler", + ["command_giveweaponcomponent_component"] = "Component naam", + ["command_giveweaponcomponent_invalid"] = "Ongeldig wapen component", + ["command_giveweaponcomponent_hasalready"] = "De speler heeft dit wapen component al", + ["command_giveweaponcomponent_missingweapon"] = "De speler heeft dit wapen niet", + ["command_goto"] = "Teleporteer jezelf naar een speler", + ["command_kill"] = "Vermoord een speler", + ["command_save"] = "Slaag een speler zijn spelerdata geforceerd op", + ["command_saveall"] = "Slaag iedereen zijn spelerdata geforceerd op", + ["command_setaccountmoney"] = "Stel geld in op een account", + ["command_setaccountmoney_amount"] = "Amount", + ["command_setcoords"] = "Telepeer naar coordinaten", + ["command_setcoords_x"] = "X waarde", + ["command_setcoords_y"] = "Y waarde", + ["command_setcoords_z"] = "Z waarde", + ["command_setjob"] = "Zet een speler zijn / haar job", + ["command_setjob_job"] = "Naam", + ["command_setjob_grade"] = "Job grade", + ["command_setjob_invalid"] = "De job, grade of beide zijn ongeldig", + ["command_setgroup"] = "Stel een toestemmingsgroep voor spelers in", + ["command_setgroup_group"] = "Naam van groep", + ["commanderror_argumentmismatch"] = "Ongeldig aantal argumenten (geslaagd %s, gezocht %s)", + ["commanderror_argumentmismatch_number"] = "Ongeldig argument #%s gegevenstype (doorgegeven string, gewenst nummer)", + ["commanderror_invaliditem"] = "Ongeldig item", + ["commanderror_invalidweapon"] = "Ongeldig wapen", + ["commanderror_console"] = "Command kan niet worden uitgevoerd vanaf console.", + ["commanderror_invalidcommand"] = "Ongeldig commando - /%s", + ["commanderror_invalidplayerid"] = "Opgegeven speler is niet online", + ["commandgeneric_playerid"] = "Speler server id", + ["command_giveammo_noweapon_found"] = "%s heeft dat wapen niet", + ["command_giveammo_weapon"] = "Wapen naam", + ["command_giveammo_ammo"] = "Ammo Hoeveelheid", + ["tpm_nowaypoint"] = "Geen waypoint gezet.", + ["tpm_success"] = "Successvol geteleporteerd", - ['noclip_message'] = "Noclip is %s", - ['enabled'] = "~g~aangezet~s~", - ['disabled'] = "~r~uitgezet~s~", + ["noclip_message"] = "Noclip is %s", + ["enabled"] = "~g~aangezet~s~", + ["disabled"] = "~r~uitgezet~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ",", - ['locale_currency'] = "€%s", + ["locale_digit_grouping_symbol"] = ",", + ["locale_currency"] = "€%s", -- Weapons -- Melee - ['weapon_dagger'] = "Dolk", - ['weapon_bat'] = "Knuppel", - ['weapon_battleaxe'] = "Gevechtsbijl", - ['weapon_bottle'] = "Fles", - ['weapon_crowbar'] = "Koevoet", - ['weapon_flashlight'] = "Zaklamp", - ['weapon_golfclub'] = "Golfclub", - ['weapon_hammer'] = "Hamer", - ['weapon_hatchet'] = "Bijl", - ['weapon_knife'] = "Mes", - ['weapon_knuckle'] = "Knuckledusters", - ['weapon_machete'] = "Machete", - ['weapon_nightstick'] = "Nightstick", - ['weapon_wrench'] = "Pijpsleutel", - ['weapon_poolcue'] = "Pool Cue", - ['weapon_stone_hatchet'] = "Steenbijl", - ['weapon_switchblade'] = "Switchblade", + ["weapon_dagger"] = "Dolk", + ["weapon_bat"] = "Knuppel", + ["weapon_battleaxe"] = "Gevechtsbijl", + ["weapon_bottle"] = "Fles", + ["weapon_crowbar"] = "Koevoet", + ["weapon_flashlight"] = "Zaklamp", + ["weapon_golfclub"] = "Golfclub", + ["weapon_hammer"] = "Hamer", + ["weapon_hatchet"] = "Bijl", + ["weapon_knife"] = "Mes", + ["weapon_knuckle"] = "Knuckledusters", + ["weapon_machete"] = "Machete", + ["weapon_nightstick"] = "Nightstick", + ["weapon_wrench"] = "Pijpsleutel", + ["weapon_poolcue"] = "Pool Cue", + ["weapon_stone_hatchet"] = "Steenbijl", + ["weapon_switchblade"] = "Switchblade", -- Handguns - ['weapon_appistol'] = "AP-pistool", - ['weapon_ceramicpistol'] = "Keramische pistool", - ['weapon_combatpistol'] = "Gevechtspistool", - ['weapon_doubleaction'] = "Revolver met dubbele actie", - ['weapon_navyrevolver'] = "Marine Revolver", - ['weapon_flaregun'] = "Flaregun", - ['weapon_gadgetpistol'] = "Gadgetpistool", - ['weapon_heavypistol'] = "Zwaar pistool", - ['weapon_revolver'] = "Zware revolver", - ['weapon_revolver_mk2'] = "Zware revolver MK2", - ['weapon_marksmanpistol'] = "Marksman-pistool", - ['weapon_pistol'] = "Pistool", - ['weapon_pistol_mk2'] = "Pistool MK2", - ['weapon_pistol50'] = "Pistool .50", - ['weapon_snspistol'] = "SNS-pistool", - ['weapon_snspistol_mk2'] = "SNS-pistool MK2", - ['weapon_stungun'] = "Taser", - ['weapon_raypistol'] = "Up-N-Atomizer", - ['weapon_vintagepistol'] = "Vintage Pistool", + ["weapon_appistol"] = "AP-pistool", + ["weapon_ceramicpistol"] = "Keramische pistool", + ["weapon_combatpistol"] = "Gevechtspistool", + ["weapon_doubleaction"] = "Revolver met dubbele actie", + ["weapon_navyrevolver"] = "Marine Revolver", + ["weapon_flaregun"] = "Flaregun", + ["weapon_gadgetpistol"] = "Gadgetpistool", + ["weapon_heavypistol"] = "Zwaar pistool", + ["weapon_revolver"] = "Zware revolver", + ["weapon_revolver_mk2"] = "Zware revolver MK2", + ["weapon_marksmanpistol"] = "Marksman-pistool", + ["weapon_pistol"] = "Pistool", + ["weapon_pistol_mk2"] = "Pistool MK2", + ["weapon_pistol50"] = "Pistool .50", + ["weapon_snspistol"] = "SNS-pistool", + ["weapon_snspistol_mk2"] = "SNS-pistool MK2", + ["weapon_stungun"] = "Taser", + ["weapon_raypistol"] = "Up-N-Atomizer", + ["weapon_vintagepistol"] = "Vintage Pistool", -- Shotguns - ['weapon_assaultshotgun'] = "Aanvalsgeweer", - ['weapon_autoshotgun'] = "Automatisch jachtgeweer", - ['weapon_bullpupshotgun'] = "Bullpup Shotgun", - ['weapon_combatshotgun'] = "Gevechtsgeweer", - ['weapon_dbshotgun'] = "Dubbelloops jachtgeweer", - ['weapon_heavyshotgun'] = "Zwaar jachtgeweer", - ['weapon_musket'] = "Musket", - ['weapon_pumpshotgun'] = "Pompgeweer", - ['weapon_pumpshotgun_mk2'] = "Pump Shotgun MK2", - ['weapon_sawnoffshotgun'] = "Afgezaagd jachtgeweer", + ["weapon_assaultshotgun"] = "Aanvalsgeweer", + ["weapon_autoshotgun"] = "Automatisch jachtgeweer", + ["weapon_bullpupshotgun"] = "Bullpup Shotgun", + ["weapon_combatshotgun"] = "Gevechtsgeweer", + ["weapon_dbshotgun"] = "Dubbelloops jachtgeweer", + ["weapon_heavyshotgun"] = "Zwaar jachtgeweer", + ["weapon_musket"] = "Musket", + ["weapon_pumpshotgun"] = "Pompgeweer", + ["weapon_pumpshotgun_mk2"] = "Pump Shotgun MK2", + ["weapon_sawnoffshotgun"] = "Afgezaagd jachtgeweer", -- SMG & LMG - ['weapon_assaultsmg'] = "Aanval SMG", - ['weapon_combatmg'] = "Gevecht MG", - ['weapon_combatmg_mk2'] = "Combat MG MK2", - ['weapon_combatpdw'] = "Combat PDW", - ['weapon_gusenberg'] = "Gusenberg-veger", - ['weapon_machinepistol'] = "Machinepistool", - ['weapon_mg'] = "MG", - ['weapon_microsmg'] = "Micro-SMG", - ['weapon_minismg'] = "Mini-SMG", - ['weapon_smg'] = "SMG", - ['weapon_smg_mk2'] = "SMG MK2", - ['weapon_raycarbine'] = "Onheilige Hellbringer", + ["weapon_assaultsmg"] = "Aanval SMG", + ["weapon_combatmg"] = "Gevecht MG", + ["weapon_combatmg_mk2"] = "Combat MG MK2", + ["weapon_combatpdw"] = "Combat PDW", + ["weapon_gusenberg"] = "Gusenberg-veger", + ["weapon_machinepistol"] = "Machinepistool", + ["weapon_mg"] = "MG", + ["weapon_microsmg"] = "Micro-SMG", + ["weapon_minismg"] = "Mini-SMG", + ["weapon_smg"] = "SMG", + ["weapon_smg_mk2"] = "SMG MK2", + ["weapon_raycarbine"] = "Onheilige Hellbringer", -- Rifles - ['weapon_advancedrifle'] = "Geavanceerd geweer", - ['weapon_assaultrifle'] = "Aanvalsgeweer", - ['weapon_assaultrifle_mk2'] = "Aanvalsgeweer MK2", - ['weapon_bullpuprifle'] = "Bullpup-geweer", - ['weapon_bullpuprifle_mk2'] = "Bullpup-geweer MK2", - ['weapon_carbinerifle'] = "Kabinet geweer", - ['weapon_carbinerifle_mk2'] = "Kabinet geweer MK2", - ['weapon_compactrifle'] = "Compact geweer", - ['weapon_militaryrifle'] = "Militair geweer", - ['weapon_specialcarbine'] = "Speciale karabijn", - ['weapon_specialcarbine_mk2'] = "Speciale karabijn MK2", + ["weapon_advancedrifle"] = "Geavanceerd geweer", + ["weapon_assaultrifle"] = "Aanvalsgeweer", + ["weapon_assaultrifle_mk2"] = "Aanvalsgeweer MK2", + ["weapon_bullpuprifle"] = "Bullpup-geweer", + ["weapon_bullpuprifle_mk2"] = "Bullpup-geweer MK2", + ["weapon_carbinerifle"] = "Kabinet geweer", + ["weapon_carbinerifle_mk2"] = "Kabinet geweer MK2", + ["weapon_compactrifle"] = "Compact geweer", + ["weapon_militaryrifle"] = "Militair geweer", + ["weapon_specialcarbine"] = "Speciale karabijn", + ["weapon_specialcarbine_mk2"] = "Speciale karabijn MK2", -- Sniper - ['weapon_heavysniper'] = "Zware sluipschutter", - ['weapon_heavysniper_mk2'] = "Zware Sniper MK2", - ['weapon_marksmanrifle'] = "Schuttersgeweer", - ['weapon_marksmanrifle_mk2'] = "Schuttersgeweer MK2", - ['weapon_sniperrifle'] = "Sniper Rifle", + ["weapon_heavysniper"] = "Zware sluipschutter", + ["weapon_heavysniper_mk2"] = "Zware Sniper MK2", + ["weapon_marksmanrifle"] = "Schuttersgeweer", + ["weapon_marksmanrifle_mk2"] = "Schuttersgeweer MK2", + ["weapon_sniperrifle"] = "Sniper Rifle", -- Heavy / Launchers - ['weapon_compactlauncher'] = "Compacte Launcher", - ['weapon_firework'] = "Vuurwerkstarter", - ['weapon_grenadelauncher'] = "Granaatwerper", - ['weapon_hominglauncher'] = "Homing Launcher", - ['weapon_minigun'] = "Minigun", - ['weapon_railgun'] = "Spoorgeweer", - ['weapon_rpg'] = "Raketwerper", - ['weapon_rayminigun'] = "Weduwemaker", + ["weapon_compactlauncher"] = "Compacte Launcher", + ["weapon_firework"] = "Vuurwerkstarter", + ["weapon_grenadelauncher"] = "Granaatwerper", + ["weapon_hominglauncher"] = "Homing Launcher", + ["weapon_minigun"] = "Minigun", + ["weapon_railgun"] = "Spoorgeweer", + ["weapon_rpg"] = "Raketwerper", + ["weapon_rayminigun"] = "Weduwemaker", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = "Metaal Detector", - ['weapon_precisionrifle'] = "Precisiegeweer", - ['weapon_tactilerifle'] = "Service Carbine", + ["weapon_metaldetector"] = "Metaal Detector", + ["weapon_precisionrifle"] = "Precisiegeweer", + ["weapon_tactilerifle"] = "Service Carbine", -- Thrown - ['weapon_ball'] = "Honkbal", - ['weapon_bzgas'] = "BZ-gas", - ['weapon_flare'] = "Flare", - ['weapon_grenade'] = "Granaat", - ['weapon_petrolcan'] = "Jerrycan", - ['weapon_hazardcan'] = "Gevaarlijke jerrycan", - ['weapon_molotov'] = "Molotovcocktail", - ['weapon_proxmine'] = "Nabijheidsmijn", - ['weapon_pipebomb'] = "Pijpbom", - ['weapon_snowball'] = "Sneeuwbal", - ['weapon_stickybomb'] = "Kleefbom", - ['weapon_smokegrenade'] = "Traangas", + ["weapon_ball"] = "Honkbal", + ["weapon_bzgas"] = "BZ-gas", + ["weapon_flare"] = "Flare", + ["weapon_grenade"] = "Granaat", + ["weapon_petrolcan"] = "Jerrycan", + ["weapon_hazardcan"] = "Gevaarlijke jerrycan", + ["weapon_molotov"] = "Molotovcocktail", + ["weapon_proxmine"] = "Nabijheidsmijn", + ["weapon_pipebomb"] = "Pijpbom", + ["weapon_snowball"] = "Sneeuwbal", + ["weapon_stickybomb"] = "Kleefbom", + ["weapon_smokegrenade"] = "Traangas", -- Special - ['weapon_firebluser'] = "Brandblusser", - ['weapon_digiscanner'] = "Digitale scanner", - ['weapon_garbagebag'] = "Vuilniszak", - ['weapon_handcuffs'] = "Handboeien", - ['gadget_nightvision'] = "Nachtzicht", - ['gadget_parachute'] = "parachute", + ["weapon_firebluser"] = "Brandblusser", + ["weapon_digiscanner"] = "Digitale scanner", + ["weapon_garbagebag"] = "Vuilniszak", + ["weapon_handcuffs"] = "Handboeien", + ["gadget_nightvision"] = "Nachtzicht", + ["gadget_parachute"] = "parachute", -- Weapon Components - ['component_knuckle_base'] = "basismodel", - ['component_knuckle_pimp'] = "de pooier", - ['component_knuckle_ballas'] = "de ballen", - ['component_knuckle_dollar'] = "de Hustler", - ['component_knuckle_diamond'] = "de rots", - ['component_knuckle_hate'] = "de Hater", - ['component_knuckle_love'] = "de minnaar", - ['component_knuckle_player'] = "de speler", - ['component_knuckle_king'] = "de koning", - ['component_knuckle_vagos'] = "de Vagos", + ["component_knuckle_base"] = "basismodel", + ["component_knuckle_pimp"] = "de pooier", + ["component_knuckle_ballas"] = "de ballen", + ["component_knuckle_dollar"] = "de Hustler", + ["component_knuckle_diamond"] = "de rots", + ["component_knuckle_hate"] = "de Hater", + ["component_knuckle_love"] = "de minnaar", + ["component_knuckle_player"] = "de speler", + ["component_knuckle_king"] = "de koning", + ["component_knuckle_vagos"] = "de Vagos", - ['component_luxary_finish'] = "luxe wapenafwerking", + ["component_luxary_finish"] = "luxe wapenafwerking", - ['component_handle_default'] = "standaard handvat", - ['component_handle_vip'] = "VIP-handvat", - ['component_handle_bodyguard'] = "bodyguard-handvat", + ["component_handle_default"] = "standaard handvat", + ["component_handle_vip"] = "VIP-handvat", + ["component_handle_bodyguard"] = "bodyguard-handvat", - ['component_vip_finish'] = "VIP Finish", - ['component_bodyguard_finish'] = "bodyguard Finish", + ["component_vip_finish"] = "VIP Finish", + ["component_bodyguard_finish"] = "bodyguard Finish", - ['component_camo_finish'] = "digitale camouflage", - ['component_camo_finish2'] = "penseelstreek camouflage", - ['component_camo_finish3'] = "bos camouflage", - ['component_camo_finish4'] = "schedel camouflage", - ['component_camo_finish5'] = "sessanta Nove camouflage", - ['component_camo_finish6'] = "perseus camouflage", - ['component_camo_finish7'] = "luipaard camouflage", - ['component_camo_finish8'] = "zebracamouflage", - ['component_camo_finish9'] = "geometrische camouflage", - ['component_camo_finish10'] = "boom camouflage", - ['component_camo_finish11'] = "patriottische camouflage", + ["component_camo_finish"] = "digitale camouflage", + ["component_camo_finish2"] = "penseelstreek camouflage", + ["component_camo_finish3"] = "bos camouflage", + ["component_camo_finish4"] = "schedel camouflage", + ["component_camo_finish5"] = "sessanta Nove camouflage", + ["component_camo_finish6"] = "perseus camouflage", + ["component_camo_finish7"] = "luipaard camouflage", + ["component_camo_finish8"] = "zebracamouflage", + ["component_camo_finish9"] = "geometrische camouflage", + ["component_camo_finish10"] = "boom camouflage", + ["component_camo_finish11"] = "patriottische camouflage", - ['component_camo_slide_finish'] = "digitale diacamouflage", - ['component_camo_slide_finish2'] = "penseelstreek Dia Camo", - ['component_camo_slide_finish3'] = "bos Slide camouflage", - ['component_camo_slide_finish4'] = "schedelschuifcamouflage", - ['component_camo_slide_finish5'] = "sessanta Nove Dia camouflage", - ['component_camo_slide_finish6'] = "perseus diacamouflage", - ['component_camo_slide_finish7'] = "luipaard Slide camouflage", - ['component_camo_slide_finish8'] = "zebra Slide camouflage", - ['component_camo_slide_finish9'] = "geometrische diacamouflage", - ['component_camo_slide_finish10'] = "boom Slide camouflage", - ['component_camo_slide_finish11'] = "patriottische diacamouflage", + ["component_camo_slide_finish"] = "digitale diacamouflage", + ["component_camo_slide_finish2"] = "penseelstreek Dia Camo", + ["component_camo_slide_finish3"] = "bos Slide camouflage", + ["component_camo_slide_finish4"] = "schedelschuifcamouflage", + ["component_camo_slide_finish5"] = "sessanta Nove Dia camouflage", + ["component_camo_slide_finish6"] = "perseus diacamouflage", + ["component_camo_slide_finish7"] = "luipaard Slide camouflage", + ["component_camo_slide_finish8"] = "zebra Slide camouflage", + ["component_camo_slide_finish9"] = "geometrische diacamouflage", + ["component_camo_slide_finish10"] = "boom Slide camouflage", + ["component_camo_slide_finish11"] = "patriottische diacamouflage", - ['component_clip_default'] = "standaard magazijn", - ['component_clip_extended'] = "uitgebreid magazijn", - ['component_clip_drum'] = "drum magazijn", - ['component_clip_box'] = "box magazijn", + ["component_clip_default"] = "standaard magazijn", + ["component_clip_extended"] = "uitgebreid magazijn", + ["component_clip_drum"] = "drum magazijn", + ["component_clip_box"] = "box magazijn", - ['component_scope_holo'] = "holografisch bereik", - ['component_scope_small'] = "klein bereik", - ['component_scope_medium'] = "gemiddeld bereik", - ['component_scope_large'] = "groot bereik", - ['component_scope'] = "gemonteerde scope", - ['component_scope_advanced'] = "geavanceerd bereik", - ['component_ironsights'] = "ironsights", + ["component_scope_holo"] = "holografisch bereik", + ["component_scope_small"] = "klein bereik", + ["component_scope_medium"] = "gemiddeld bereik", + ["component_scope_large"] = "groot bereik", + ["component_scope"] = "gemonteerde scope", + ["component_scope_advanced"] = "geavanceerd bereik", + ["component_ironsights"] = "ironsights", - ['component_suppressor'] = "suppressor", - ['component_compensator'] = "compensator", + ["component_suppressor"] = "suppressor", + ["component_compensator"] = "compensator", - ['component_muzzle_flat'] = "platte mondingsrem", - ['component_muzzle_tactical'] = "tactische mondingsrem", - ['component_muzzle_fat'] = "fat-end mondingsrem", - ['component_muzzle_precision'] = "precisie mondingsrem", - ['component_muzzle_heavy'] = "zware mondingsrem", - ['component_muzzle_slanted'] = "schuine mondingsrem", - ['component_muzzle_split'] = "gespleten mondingsrem", - ['component_muzzle_squared'] = "kwadraat mondingsrem", + ["component_muzzle_flat"] = "platte mondingsrem", + ["component_muzzle_tactical"] = "tactische mondingsrem", + ["component_muzzle_fat"] = "fat-end mondingsrem", + ["component_muzzle_precision"] = "precisie mondingsrem", + ["component_muzzle_heavy"] = "zware mondingsrem", + ["component_muzzle_slanted"] = "schuine mondingsrem", + ["component_muzzle_split"] = "gespleten mondingsrem", + ["component_muzzle_squared"] = "kwadraat mondingsrem", - ['component_flashlight'] = "zaklamp", - ['component_grip'] = "grip", + ["component_flashlight"] = "zaklamp", + ["component_grip"] = "grip", - ['component_barrel_default'] = "standaard handvat", - ['component_barrel_heavy'] = "zware handvat", + ["component_barrel_default"] = "standaard handvat", + ["component_barrel_heavy"] = "zware handvat", - ['component_ammo_tracer'] = "tracermunitie", - ['component_ammo_incendiary'] = "brandgevaarlijke munitie", - ['component_ammo_hollowpoint'] = "hollowpoint munitie", - ['component_ammo_fmj'] = "fMJ-munitie", - ['component_ammo_armor'] = "pantser piercing munitie", - ['component_ammo_explosive'] = "pantserpiercing brandgevaarlijke munitie", + ["component_ammo_tracer"] = "tracermunitie", + ["component_ammo_incendiary"] = "brandgevaarlijke munitie", + ["component_ammo_hollowpoint"] = "hollowpoint munitie", + ["component_ammo_fmj"] = "fMJ-munitie", + ["component_ammo_armor"] = "pantser piercing munitie", + ["component_ammo_explosive"] = "pantserpiercing brandgevaarlijke munitie", - ['component_shells_default'] = "standaard shells", - ['component_shells_incendiary'] = "draken ademschelpen", - ['component_shells_armor'] = "stalen Buckshot Shells", - ['component_shells_hollowpoint'] = "flechette schelpen", - ['component_shells_explosive'] = "explosieve slakkenhuizen", + ["component_shells_default"] = "standaard shells", + ["component_shells_incendiary"] = "draken ademschelpen", + ["component_shells_armor"] = "stalen Buckshot Shells", + ["component_shells_hollowpoint"] = "flechette schelpen", + ["component_shells_explosive"] = "explosieve slakkenhuizen", -- Weapon Ammo - ['ammo_rounds'] = "ronde(n)", - ['ammo_shells'] = "huls/(zen)", - ['ammo_charge'] = "charge", - ['ammo_petrol'] = "liters brandstof", - ['ammo_firework'] = "vuurwerkpijl(en)", - ['ammo_rockets'] = "raket(ten)", - ['ammo_grenadelauncher'] = "granaat(en)", - ['ammo_grenade'] = "granaat(en)", - ['ammo_stickybomb'] = "bom(men)", - ['ammo_pipebomb'] = "bom(men)", - ['ammo_smokebomb'] = "bom(men)", - ['ammo_molotov'] = "cocktail(s)", - ['ammo_proxmine'] = "mijn(en)", - ['ammo_bzgas'] = "blik(ken)", - ['ammo_ball'] = "bal(len)", - ['ammo_snowball'] = "sneeuwbal(len)", - ['ammo_flare'] = "flare(s)", - ['ammo_flaregun'] = "flare(s)", + ["ammo_rounds"] = "ronde(n)", + ["ammo_shells"] = "huls/(zen)", + ["ammo_charge"] = "charge", + ["ammo_petrol"] = "liters brandstof", + ["ammo_firework"] = "vuurwerkpijl(en)", + ["ammo_rockets"] = "raket(ten)", + ["ammo_grenadelauncher"] = "granaat(en)", + ["ammo_grenade"] = "granaat(en)", + ["ammo_stickybomb"] = "bom(men)", + ["ammo_pipebomb"] = "bom(men)", + ["ammo_smokebomb"] = "bom(men)", + ["ammo_molotov"] = "cocktail(s)", + ["ammo_proxmine"] = "mijn(en)", + ["ammo_bzgas"] = "blik(ken)", + ["ammo_ball"] = "bal(len)", + ["ammo_snowball"] = "sneeuwbal(len)", + ["ammo_flare"] = "flare(s)", + ["ammo_flaregun"] = "flare(s)", -- Weapon Tints - ['tint_default'] = "standaard skin", - ['tint_green'] = "groene skin", - ['tint_gold'] = "goude skin", - ['tint_pink'] = "roze skin", - ['tint_army'] = "legerprint", - ['tint_lspd'] = "blauwe skin", - ['tint_orange'] = "oranje skin", - ['tint_platinum'] = "platina skin", + ["tint_default"] = "standaard skin", + ["tint_green"] = "groene skin", + ["tint_gold"] = "goude skin", + ["tint_pink"] = "roze skin", + ["tint_army"] = "legerprint", + ["tint_lspd"] = "blauwe skin", + ["tint_orange"] = "oranje skin", + ["tint_platinum"] = "platina skin", } diff --git a/[core]/es_extended/locales/pl.lua b/[core]/es_extended/locales/pl.lua index e1dd4903..a29dfc57 100644 --- a/[core]/es_extended/locales/pl.lua +++ b/[core]/es_extended/locales/pl.lua @@ -1,227 +1,227 @@ -Locales['pl'] = { +Locales["pl"] = { -- Inventory - ['inventory'] = "ekwipunek %s / %s", - ['use'] = "użyj", - ['give'] = "daj", - ['remove'] = "usuń", - ['return'] = "wróć", - ['give_to'] = "daj dla", - ['amount'] = "ilość", - ['giveammo'] = "daj amunicje", - ['amountammo'] = "ilość amunicji", - ['noammo'] = "nie posiadasz wystarczającej ilości amunicji!", - ['gave_item'] = "dałeś/aś %sx %s dla %s", - ['received_item'] = "otrzymałeś/aś %sx %s od %s", - ['gave_weapon'] = "dałeś/aś %s dla %s", - ['gave_weapon_ammo'] = "dałeś/aś ~o~%sx %s do %s dla %s", - ['gave_weapon_withammo'] = "dałeś/aś %s z ~o~%sx %s dla %s", - ['gave_weapon_hasalready'] = "%s już posiada %s", - ['gave_weapon_noweapon'] = "%s nie posiada tej broni", - ['received_weapon'] = "otrzymałeś/aś %s od %s", - ['received_weapon_ammo'] = "otrzymałeś/aś ~o~%sx %s do twojego %s od %s", - ['received_weapon_withammo'] = "otrzymałeś/aś %s z ~o~%sx %s od %s", - ['received_weapon_hasalready'] = "%s próbował/a przekazać ci %s, lecz już posiadasz jedno", - ['received_weapon_noweapon'] = "%s próbował/a przekazać ci amunicje do %s, lecz nie posiadasz tej broni", - ['gave_account_money'] = "dałeś/aś %s$ (%s) dla %s", - ['received_account_money'] = "otrzymałeś/aś %s$ (%s) od %s", - ['amount_invalid'] = "nieprawidłowa ilość", - ['players_nearby'] = "brak graczy w pobliżu", - ['ex_inv_lim'] = "akcja nie jest możliwa, nie możesz mieć więcej %s", - ['imp_invalid_quantity'] = "akcja jest niemożliwa, nieprawidłowa ilość", - ['imp_invalid_amount'] = "akcja jest niemożliwa, nieprawidłowa kwota", - ['threw_standard'] = "wyrzuciłeś/aś %sx %s", - ['threw_account'] = "wyrzuciłeś/aś $%s %s", - ['threw_weapon'] = "wyrzuciłeś/aś %s", - ['threw_weapon_ammo'] = "wyrzuciłeś/aś %s z ~o~%sx %s", - ['threw_weapon_already'] = "już posiadasz taką samą broń", - ['threw_cannot_pickup'] = "nie możesz tego podnieść, gdyż masz pełny ekwipunek!", - ['threw_pickup_prompt'] = "naciśnij E aby podnieść", + ["inventory"] = "ekwipunek %s / %s", + ["use"] = "użyj", + ["give"] = "daj", + ["remove"] = "usuń", + ["return"] = "wróć", + ["give_to"] = "daj dla", + ["amount"] = "ilość", + ["giveammo"] = "daj amunicje", + ["amountammo"] = "ilość amunicji", + ["noammo"] = "nie posiadasz wystarczającej ilości amunicji!", + ["gave_item"] = "dałeś/aś %sx %s dla %s", + ["received_item"] = "otrzymałeś/aś %sx %s od %s", + ["gave_weapon"] = "dałeś/aś %s dla %s", + ["gave_weapon_ammo"] = "dałeś/aś ~o~%sx %s do %s dla %s", + ["gave_weapon_withammo"] = "dałeś/aś %s z ~o~%sx %s dla %s", + ["gave_weapon_hasalready"] = "%s już posiada %s", + ["gave_weapon_noweapon"] = "%s nie posiada tej broni", + ["received_weapon"] = "otrzymałeś/aś %s od %s", + ["received_weapon_ammo"] = "otrzymałeś/aś ~o~%sx %s do twojego %s od %s", + ["received_weapon_withammo"] = "otrzymałeś/aś %s z ~o~%sx %s od %s", + ["received_weapon_hasalready"] = "%s próbował/a przekazać ci %s, lecz już posiadasz jedno", + ["received_weapon_noweapon"] = "%s próbował/a przekazać ci amunicje do %s, lecz nie posiadasz tej broni", + ["gave_account_money"] = "dałeś/aś %s$ (%s) dla %s", + ["received_account_money"] = "otrzymałeś/aś %s$ (%s) od %s", + ["amount_invalid"] = "nieprawidłowa ilość", + ["players_nearby"] = "brak graczy w pobliżu", + ["ex_inv_lim"] = "akcja nie jest możliwa, nie możesz mieć więcej %s", + ["imp_invalid_quantity"] = "akcja jest niemożliwa, nieprawidłowa ilość", + ["imp_invalid_amount"] = "akcja jest niemożliwa, nieprawidłowa kwota", + ["threw_standard"] = "wyrzuciłeś/aś %sx %s", + ["threw_account"] = "wyrzuciłeś/aś $%s %s", + ["threw_weapon"] = "wyrzuciłeś/aś %s", + ["threw_weapon_ammo"] = "wyrzuciłeś/aś %s z ~o~%sx %s", + ["threw_weapon_already"] = "już posiadasz taką samą broń", + ["threw_cannot_pickup"] = "nie możesz tego podnieść, gdyż masz pełny ekwipunek!", + ["threw_pickup_prompt"] = "naciśnij E aby podnieść", -- Key mapping - ['keymap_showinventory'] = "pokaż ekwipunek", + ["keymap_showinventory"] = "pokaż ekwipunek", -- Salary related - ['received_salary'] = "otrzymałeś/aś wynagrodzenie: %s$", - ['received_help'] = "otrzymałeś/aś zapomogę: $%s", - ['company_nomoney'] = "firma, w której pracujesz, jest zbyt biedna, by wypłacić twoją pensję", - ['received_paycheck'] = "otrzymano wypłate", - ['bank'] = "bank", - ['account_bank'] = "bank", - ['account_black_money'] = "brudne pieniądze", - ['account_money'] = "pieniądze", - ['act_imp'] = "działanie niemożliwe", - ['in_vehicle'] = "nie możesz przekazywać przedmiotów w pojeździe", + ["received_salary"] = "otrzymałeś/aś wynagrodzenie: %s$", + ["received_help"] = "otrzymałeś/aś zapomogę: $%s", + ["company_nomoney"] = "firma, w której pracujesz, jest zbyt biedna, by wypłacić twoją pensję", + ["received_paycheck"] = "otrzymano wypłate", + ["bank"] = "bank", + ["account_bank"] = "bank", + ["account_black_money"] = "brudne pieniądze", + ["account_money"] = "pieniądze", + ["act_imp"] = "działanie niemożliwe", + ["in_vehicle"] = "nie możesz przekazywać przedmiotów w pojeździe", -- Commands - ['command_car'] = "przywołaj pojazd", - ['command_car_car'] = "nazwa lub hash przywołanego pojazdu", - ['command_cardel'] = "usuń pojazd w pobliżu", - ['command_cardel_radius'] = "opcjonalnie usuń każdy pojazd w obszarze", - ['command_clear'] = "wyczyść czat", - ['command_clearall'] = "wyczyść czat dla wszystkich graczy", - ['command_clearinventory'] = "wyczyść ekwipunek gracza", - ['command_clearloadout'] = "wyczyść wyposarzenie gracza", - ['command_giveaccountmoney'] = "daj pieniądze na podany typ konta", - ['command_giveaccountmoney_account'] = "prawidłowy typ konta", - ['command_giveaccountmoney_amount'] = "ilość do dodania", - ['command_giveaccountmoney_invalid'] = "nieprawidłowy typ konta", - ['command_giveitem'] = "daj przedmiot graczowi", - ['command_giveitem_item'] = "nazwa przedmiotu", - ['command_giveitem_count'] = "ilość przedimotu", - ['command_giveweapon'] = "daj broń graczowi", - ['command_giveweapon_weapon'] = "nazwa broni", - ['command_giveweapon_ammo'] = "ilość amunicji", - ['command_giveweapon_hasalready'] = "gracz już posiada tą broń", - ['command_giveweaponcomponent'] = "daj komponent do broni graczowi", - ['command_giveweaponcomponent_component'] = "nazwa komponentu", - ['command_giveweaponcomponent_invalid'] = "nieprawidłowy komponent do broni", - ['command_giveweaponcomponent_hasalready'] = "gracz już posiada ten komponent do tej broni", - ['command_giveweaponcomponent_missingweapon'] = "gracz nie posiada tej broni", - ['command_save'] = "zapisz gracza w bazie danych", - ['command_saveall'] = "zapisz wszystkich graczy w bazie danych", - ['command_setaccountmoney'] = "ustaw ilość pieniędzy danego konta dla gracza", - ['command_setaccountmoney_amount'] = "ilość pieniędzy do ustawienia", - ['command_setcoords'] = "teleportuj na koordynaty", - ['command_setcoords_x'] = "x axis", - ['command_setcoords_y'] = "y axis", - ['command_setcoords_z'] = "z axis", - ['command_setjob'] = "ustaw prace dla gracza", - ['command_setjob_job'] = "nazwa pracy", - ['command_setjob_grade'] = "stanowisko w pracy", - ['command_setjob_invalid'] = "praca, stanowisko lub obydwa są nieprawidłowe", - ['command_setgroup'] = "ustaw grupe gracza", - ['command_setgroup_group'] = "nazwa grupy", - ['commanderror_argumentmismatch'] = "nieprawiłowa ilość argumentów (przeszło %s, wymagane %s)", - ['commanderror_argumentmismatch_number'] = "nieprawidłowy typ argumentu #%s (przeszedł tekst, wymagany numer)", - ['commanderror_invaliditem'] = "nieprawidłowa nazwa przedmiotu", - ['commanderror_invalidweapon'] = "nieprawidłowa broń", - ['commanderror_console'] = "podana komenda nie może zostać uruchomiona przez konsole", - ['commanderror_invalidcommand'] = "/%s nie jest poprawną komendą!", - ['commanderror_invalidplayerid'] = "brak dostepnego gracza pasującego do podanego id serwerowego", - ['commandgeneric_playerid'] = "id gracza", - ['command_giveammo_noweapon_found'] = "%s does not have that weapon", - ['command_giveammo_weapon'] = "Weapon name", - ['command_giveammo_ammo'] = "Ammo Quantity", + ["command_car"] = "przywołaj pojazd", + ["command_car_car"] = "nazwa lub hash przywołanego pojazdu", + ["command_cardel"] = "usuń pojazd w pobliżu", + ["command_cardel_radius"] = "opcjonalnie usuń każdy pojazd w obszarze", + ["command_clear"] = "wyczyść czat", + ["command_clearall"] = "wyczyść czat dla wszystkich graczy", + ["command_clearinventory"] = "wyczyść ekwipunek gracza", + ["command_clearloadout"] = "wyczyść wyposarzenie gracza", + ["command_giveaccountmoney"] = "daj pieniądze na podany typ konta", + ["command_giveaccountmoney_account"] = "prawidłowy typ konta", + ["command_giveaccountmoney_amount"] = "ilość do dodania", + ["command_giveaccountmoney_invalid"] = "nieprawidłowy typ konta", + ["command_giveitem"] = "daj przedmiot graczowi", + ["command_giveitem_item"] = "nazwa przedmiotu", + ["command_giveitem_count"] = "ilość przedimotu", + ["command_giveweapon"] = "daj broń graczowi", + ["command_giveweapon_weapon"] = "nazwa broni", + ["command_giveweapon_ammo"] = "ilość amunicji", + ["command_giveweapon_hasalready"] = "gracz już posiada tą broń", + ["command_giveweaponcomponent"] = "daj komponent do broni graczowi", + ["command_giveweaponcomponent_component"] = "nazwa komponentu", + ["command_giveweaponcomponent_invalid"] = "nieprawidłowy komponent do broni", + ["command_giveweaponcomponent_hasalready"] = "gracz już posiada ten komponent do tej broni", + ["command_giveweaponcomponent_missingweapon"] = "gracz nie posiada tej broni", + ["command_save"] = "zapisz gracza w bazie danych", + ["command_saveall"] = "zapisz wszystkich graczy w bazie danych", + ["command_setaccountmoney"] = "ustaw ilość pieniędzy danego konta dla gracza", + ["command_setaccountmoney_amount"] = "ilość pieniędzy do ustawienia", + ["command_setcoords"] = "teleportuj na koordynaty", + ["command_setcoords_x"] = "x axis", + ["command_setcoords_y"] = "y axis", + ["command_setcoords_z"] = "z axis", + ["command_setjob"] = "ustaw prace dla gracza", + ["command_setjob_job"] = "nazwa pracy", + ["command_setjob_grade"] = "stanowisko w pracy", + ["command_setjob_invalid"] = "praca, stanowisko lub obydwa są nieprawidłowe", + ["command_setgroup"] = "ustaw grupe gracza", + ["command_setgroup_group"] = "nazwa grupy", + ["commanderror_argumentmismatch"] = "nieprawiłowa ilość argumentów (przeszło %s, wymagane %s)", + ["commanderror_argumentmismatch_number"] = "nieprawidłowy typ argumentu #%s (przeszedł tekst, wymagany numer)", + ["commanderror_invaliditem"] = "nieprawidłowa nazwa przedmiotu", + ["commanderror_invalidweapon"] = "nieprawidłowa broń", + ["commanderror_console"] = "podana komenda nie może zostać uruchomiona przez konsole", + ["commanderror_invalidcommand"] = "/%s nie jest poprawną komendą!", + ["commanderror_invalidplayerid"] = "brak dostepnego gracza pasującego do podanego id serwerowego", + ["commandgeneric_playerid"] = "id gracza", + ["command_giveammo_noweapon_found"] = "%s does not have that weapon", + ["command_giveammo_weapon"] = "Weapon name", + ["command_giveammo_ammo"] = "Ammo Quantity", -- Locale settings - ['locale_digit_grouping_symbol'] = ",", - ['locale_currency'] = "$%s", + ["locale_digit_grouping_symbol"] = ",", + ["locale_currency"] = "$%s", -- Weapons - ['weapon_knife'] = "nóż", - ['weapon_nightstick'] = "pałka", - ['weapon_hammer'] = "młotek", - ['weapon_bat'] = "kij", - ['weapon_golfclub'] = "kij golfowy", - ['weapon_crowbar'] = "łom", - ['weapon_pistol'] = "pistolet", - ['weapon_combatpistol'] = "pistolet bojowy", - ['weapon_appistol'] = "ap pistol", - ['weapon_pistol50'] = "pistol .50", - ['weapon_microsmg'] = "micro smg", - ['weapon_smg'] = "smg", - ['weapon_assaultsmg'] = "assault smg", - ['weapon_assaultrifle'] = "assault rifle", - ['weapon_carbinerifle'] = "carbine rifle", - ['weapon_advancedrifle'] = "advanced rifle", - ['weapon_mg'] = "mg", - ['weapon_combatmg'] = "combat mg", - ['weapon_pumpshotgun'] = "pump shotgun", - ['weapon_sawnoffshotgun'] = "sawed off shotgun", - ['weapon_assaultshotgun'] = "assault shotgun", - ['weapon_bullpupshotgun'] = "bullpup shotgun", - ['weapon_stungun'] = "tazer", - ['weapon_sniperrifle'] = "karabin snajperski", - ['weapon_heavysniper'] = "ciężki karabin snajperski", - ['weapon_grenadelauncher'] = "granatnik", - ['weapon_rpg'] = "wyrzutnia rakiet", - ['weapon_minigun'] = "minigun", - ['weapon_grenade'] = "granat", - ['weapon_stickybomb'] = "ładunek przylepny", - ['weapon_smokegrenade'] = "granat dymny", - ['weapon_bzgas'] = "bz gas", - ['weapon_molotov'] = "koktajl Mołotowa", - ['weapon_fireextinguisher'] = "gaśnica", - ['weapon_petrolcan'] = "kanister", - ['weapon_ball'] = "piłka", - ['weapon_snspistol'] = "sns pistolet", - ['weapon_bottle'] = "butelka", - ['weapon_gusenberg'] = "gusenberg sweeper", - ['weapon_specialcarbine'] = "special carbine", - ['weapon_heavypistol'] = "heavy pistol", - ['weapon_bullpuprifle'] = "karabin wyborowy", - ['weapon_dagger'] = "sztylet", - ['weapon_vintagepistol'] = "vintage pistol", - ['weapon_firework'] = "fajerwerki", - ['weapon_musket'] = "muszkiet", - ['weapon_heavyshotgun'] = "ciężki shotgun", - ['weapon_marksmanrifle'] = "marksman rifle", - ['weapon_hominglauncher'] = "program uruchamiający", - ['weapon_proxmine'] = "mina zbliżeniowa", - ['weapon_snowball'] = "śnieżka", - ['weapon_flaregun'] = "flara", - ['weapon_combatpdw'] = "combat pdw", - ['weapon_marksmanpistol'] = "marksman pistol", - ['weapon_knuckle'] = "kastety", - ['weapon_hatchet'] = "toporek", - ['weapon_railgun'] = "karabin", - ['weapon_machete'] = "meczeta", - ['weapon_machinepistol'] = "pistolet maszynowy", - ['weapon_switchblade'] = "scyzoryk", - ['weapon_revolver'] = "ciężki rewolwer", - ['weapon_dbshotgun'] = "dwururka", - ['weapon_compactrifle'] = "compact rifle", - ['weapon_autoshotgun'] = "auto shotgun", - ['weapon_battleaxe'] = "topór bitewny", - ['weapon_compactlauncher'] = "compact launcher", - ['weapon_minismg'] = "mini smg", - ['weapon_pipebomb'] = "bomba rurowa", - ['weapon_poolcue'] = "kij bilardowy", - ['weapon_wrench'] = "klucz do rur", - ['weapon_flashlight'] = "latarka", - ['gadget_parachute'] = "spadochron", - ['weapon_flare'] = "pistolet sygnałowy", - ['weapon_doubleaction'] = "double-Action Revolver", + ["weapon_knife"] = "nóż", + ["weapon_nightstick"] = "pałka", + ["weapon_hammer"] = "młotek", + ["weapon_bat"] = "kij", + ["weapon_golfclub"] = "kij golfowy", + ["weapon_crowbar"] = "łom", + ["weapon_pistol"] = "pistolet", + ["weapon_combatpistol"] = "pistolet bojowy", + ["weapon_appistol"] = "ap pistol", + ["weapon_pistol50"] = "pistol .50", + ["weapon_microsmg"] = "micro smg", + ["weapon_smg"] = "smg", + ["weapon_assaultsmg"] = "assault smg", + ["weapon_assaultrifle"] = "assault rifle", + ["weapon_carbinerifle"] = "carbine rifle", + ["weapon_advancedrifle"] = "advanced rifle", + ["weapon_mg"] = "mg", + ["weapon_combatmg"] = "combat mg", + ["weapon_pumpshotgun"] = "pump shotgun", + ["weapon_sawnoffshotgun"] = "sawed off shotgun", + ["weapon_assaultshotgun"] = "assault shotgun", + ["weapon_bullpupshotgun"] = "bullpup shotgun", + ["weapon_stungun"] = "tazer", + ["weapon_sniperrifle"] = "karabin snajperski", + ["weapon_heavysniper"] = "ciężki karabin snajperski", + ["weapon_grenadelauncher"] = "granatnik", + ["weapon_rpg"] = "wyrzutnia rakiet", + ["weapon_minigun"] = "minigun", + ["weapon_grenade"] = "granat", + ["weapon_stickybomb"] = "ładunek przylepny", + ["weapon_smokegrenade"] = "granat dymny", + ["weapon_bzgas"] = "bz gas", + ["weapon_molotov"] = "koktajl Mołotowa", + ["weapon_fireextinguisher"] = "gaśnica", + ["weapon_petrolcan"] = "kanister", + ["weapon_ball"] = "piłka", + ["weapon_snspistol"] = "sns pistolet", + ["weapon_bottle"] = "butelka", + ["weapon_gusenberg"] = "gusenberg sweeper", + ["weapon_specialcarbine"] = "special carbine", + ["weapon_heavypistol"] = "heavy pistol", + ["weapon_bullpuprifle"] = "karabin wyborowy", + ["weapon_dagger"] = "sztylet", + ["weapon_vintagepistol"] = "vintage pistol", + ["weapon_firework"] = "fajerwerki", + ["weapon_musket"] = "muszkiet", + ["weapon_heavyshotgun"] = "ciężki shotgun", + ["weapon_marksmanrifle"] = "marksman rifle", + ["weapon_hominglauncher"] = "program uruchamiający", + ["weapon_proxmine"] = "mina zbliżeniowa", + ["weapon_snowball"] = "śnieżka", + ["weapon_flaregun"] = "flara", + ["weapon_combatpdw"] = "combat pdw", + ["weapon_marksmanpistol"] = "marksman pistol", + ["weapon_knuckle"] = "kastety", + ["weapon_hatchet"] = "toporek", + ["weapon_railgun"] = "karabin", + ["weapon_machete"] = "meczeta", + ["weapon_machinepistol"] = "pistolet maszynowy", + ["weapon_switchblade"] = "scyzoryk", + ["weapon_revolver"] = "ciężki rewolwer", + ["weapon_dbshotgun"] = "dwururka", + ["weapon_compactrifle"] = "compact rifle", + ["weapon_autoshotgun"] = "auto shotgun", + ["weapon_battleaxe"] = "topór bitewny", + ["weapon_compactlauncher"] = "compact launcher", + ["weapon_minismg"] = "mini smg", + ["weapon_pipebomb"] = "bomba rurowa", + ["weapon_poolcue"] = "kij bilardowy", + ["weapon_wrench"] = "klucz do rur", + ["weapon_flashlight"] = "latarka", + ["gadget_parachute"] = "spadochron", + ["weapon_flare"] = "pistolet sygnałowy", + ["weapon_doubleaction"] = "double-Action Revolver", -- Weapon Components - ['component_clip_default'] = "domyślny tłumik", - ['component_clip_extended'] = "rozszerzony tłumik", - ['component_clip_drum'] = "magazynek bębnowy", - ['component_clip_box'] = "magazynek", - ['component_flashlight'] = "latarka", - ['component_scope'] = "luneta", - ['component_scope_advanced'] = "zaawansowana luneta", - ['component_suppressor'] = "tłumik", - ['component_grip'] = "uchwyt", - ['component_luxary_finish'] = "luksusowe wykończenie broni", + ["component_clip_default"] = "domyślny tłumik", + ["component_clip_extended"] = "rozszerzony tłumik", + ["component_clip_drum"] = "magazynek bębnowy", + ["component_clip_box"] = "magazynek", + ["component_flashlight"] = "latarka", + ["component_scope"] = "luneta", + ["component_scope_advanced"] = "zaawansowana luneta", + ["component_suppressor"] = "tłumik", + ["component_grip"] = "uchwyt", + ["component_luxary_finish"] = "luksusowe wykończenie broni", -- Weapon Ammo - ['ammo_rounds'] = "nabój/oi", - ['ammo_shells'] = "pocisk(ów)", - ['ammo_charge'] = "naładowania", - ['ammo_petrol'] = "galon(y) paliwa", - ['ammo_firework'] = "fajerwerka/i", - ['ammo_rockets'] = "rakieta/y", - ['ammo_grenadelauncher'] = "granat(y)", - ['ammo_grenade'] = "granat(y)", - ['ammo_stickybomb'] = "bomba/y", - ['ammo_pipebomb'] = "bomba/y", - ['ammo_smokebomb'] = "bomba/y", - ['ammo_molotov'] = "kontail(e)", - ['ammo_proxmine'] = "mina/y", - ['ammo_bzgas'] = "puszka/ek", - ['ammo_ball'] = "kula/e", - ['ammo_snowball'] = "snieżka/i", - ['ammo_flare'] = "flara/y", - ['ammo_flaregun'] = "flara/y", + ["ammo_rounds"] = "nabój/oi", + ["ammo_shells"] = "pocisk(ów)", + ["ammo_charge"] = "naładowania", + ["ammo_petrol"] = "galon(y) paliwa", + ["ammo_firework"] = "fajerwerka/i", + ["ammo_rockets"] = "rakieta/y", + ["ammo_grenadelauncher"] = "granat(y)", + ["ammo_grenade"] = "granat(y)", + ["ammo_stickybomb"] = "bomba/y", + ["ammo_pipebomb"] = "bomba/y", + ["ammo_smokebomb"] = "bomba/y", + ["ammo_molotov"] = "kontail(e)", + ["ammo_proxmine"] = "mina/y", + ["ammo_bzgas"] = "puszka/ek", + ["ammo_ball"] = "kula/e", + ["ammo_snowball"] = "snieżka/i", + ["ammo_flare"] = "flara/y", + ["ammo_flaregun"] = "flara/y", -- Weapon Tints - ['tint_default'] = "domyślny skin", - ['tint_green'] = "zielony skin", - ['tint_gold'] = "złoty skin", - ['tint_pink'] = "różowy skin", - ['tint_army'] = "wojskowy skin", - ['tint_lspd'] = "niebieski skin", - ['tint_orange'] = "pomarańczowy skin", - ['tint_platinum'] = "platynowy skin", + ["tint_default"] = "domyślny skin", + ["tint_green"] = "zielony skin", + ["tint_gold"] = "złoty skin", + ["tint_pink"] = "różowy skin", + ["tint_army"] = "wojskowy skin", + ["tint_lspd"] = "niebieski skin", + ["tint_orange"] = "pomarańczowy skin", + ["tint_platinum"] = "platynowy skin", } diff --git a/[core]/es_extended/locales/sl.lua b/[core]/es_extended/locales/sl.lua index 91fd4a0b..a45ddade 100644 --- a/[core]/es_extended/locales/sl.lua +++ b/[core]/es_extended/locales/sl.lua @@ -1,366 +1,366 @@ -Locales['sl'] = { +Locales["sl"] = { -- Inventory - ['inventory'] = "Shramba ( Teza %s / %s )", - ['use'] = "Uporabi", - ['give'] = "Daj", - ['remove'] = "Vrzi", - ['return'] = "Povratek", - ['give_to'] = "Daj", - ['amount'] = "Vsota", - ['giveammo'] = "Daj Strelivo", - ['amountammo'] = "Količina streliva", - ['noammo'] = "Ni dovolj!", - ['gave_item'] = "Dal si %sx %s k %s", - ['received_item'] = "Dobil si %sx %s od %s", - ['gave_weapon'] = "Dajanje %s do %s", - ['gave_weapon_ammo'] = "Dajanje ~o~%sx %s za %s do %s", - ['gave_weapon_withammo'] = "Dajanje %s z ~o~%sx %s do %s", - ['gave_weapon_hasalready'] = "%s ze ima %s", - ['gave_weapon_noweapon'] = "%s se nima tega orozja", - ['received_weapon'] = "Dobil si %s od %s", - ['received_weapon_ammo'] = "Dobil ~o~%sx %s za tvoj/o %s od %s", - ['received_weapon_withammo'] = "Dobil si %s z ~o~%sx %s od %s", - ['received_weapon_hasalready'] = "%s vam je poskušal dati %s, vendar že imate to orožje", - ['received_weapon_noweapon'] = "%s vam je poskušal dati strelivo za %s, vendar nimate tega orožja", - ['gave_account_money'] = "Dajanje $%s (%s) do %s", - ['received_account_money'] = "Dobil $%s (%s) od %s", - ['amount_invalid'] = "Neveljavna količina", - ['players_nearby'] = "V blizini ni ljudi", - ['ex_inv_lim'] = "Dejanja ni mogoče izvesti, saj presega največjo težo %s", - ['imp_invalid_quantity'] = "Dejanja ni mogoče izvesti, količina je neveljavna", - ['imp_invalid_amount'] = "Dejanja ni mogoče izvesti, znesek je neveljaven", - ['threw_standard'] = "Metanje %sx %s", - ['threw_account'] = "Metanje $%s %s", - ['threw_weapon'] = "Metanje %s", - ['threw_weapon_ammo'] = "Metanje %s z ~o~%sx %s", - ['threw_weapon_already'] = "Ti ze imas to orozje", - ['threw_cannot_pickup'] = "Shramba je poln, nemorem pobrati!", - ['threw_pickup_prompt'] = "Pritisni E da poberes", + ["inventory"] = "Shramba ( Teza %s / %s )", + ["use"] = "Uporabi", + ["give"] = "Daj", + ["remove"] = "Vrzi", + ["return"] = "Povratek", + ["give_to"] = "Daj", + ["amount"] = "Vsota", + ["giveammo"] = "Daj Strelivo", + ["amountammo"] = "Količina streliva", + ["noammo"] = "Ni dovolj!", + ["gave_item"] = "Dal si %sx %s k %s", + ["received_item"] = "Dobil si %sx %s od %s", + ["gave_weapon"] = "Dajanje %s do %s", + ["gave_weapon_ammo"] = "Dajanje ~o~%sx %s za %s do %s", + ["gave_weapon_withammo"] = "Dajanje %s z ~o~%sx %s do %s", + ["gave_weapon_hasalready"] = "%s ze ima %s", + ["gave_weapon_noweapon"] = "%s se nima tega orozja", + ["received_weapon"] = "Dobil si %s od %s", + ["received_weapon_ammo"] = "Dobil ~o~%sx %s za tvoj/o %s od %s", + ["received_weapon_withammo"] = "Dobil si %s z ~o~%sx %s od %s", + ["received_weapon_hasalready"] = "%s vam je poskušal dati %s, vendar že imate to orožje", + ["received_weapon_noweapon"] = "%s vam je poskušal dati strelivo za %s, vendar nimate tega orožja", + ["gave_account_money"] = "Dajanje $%s (%s) do %s", + ["received_account_money"] = "Dobil $%s (%s) od %s", + ["amount_invalid"] = "Neveljavna količina", + ["players_nearby"] = "V blizini ni ljudi", + ["ex_inv_lim"] = "Dejanja ni mogoče izvesti, saj presega največjo težo %s", + ["imp_invalid_quantity"] = "Dejanja ni mogoče izvesti, količina je neveljavna", + ["imp_invalid_amount"] = "Dejanja ni mogoče izvesti, znesek je neveljaven", + ["threw_standard"] = "Metanje %sx %s", + ["threw_account"] = "Metanje $%s %s", + ["threw_weapon"] = "Metanje %s", + ["threw_weapon_ammo"] = "Metanje %s z ~o~%sx %s", + ["threw_weapon_already"] = "Ti ze imas to orozje", + ["threw_cannot_pickup"] = "Shramba je poln, nemorem pobrati!", + ["threw_pickup_prompt"] = "Pritisni E da poberes", -- Key mapping - ['keymap_showinventory'] = "Pokazi Shrambo", + ["keymap_showinventory"] = "Pokazi Shrambo", -- Salary related - ['received_salary'] = "Vi ste plačali: $%s", - ['received_help'] = "Vi ste placali svoj CEK v vrednosti: $%s", - ['company_nomoney'] = "podjetje, v katerem ste zaposleni, je prerevno, da bi vam izplačevalo plačo", - ['received_paycheck'] = "Prejel si Placilo", - ['bank'] = "NLB", - ['account_bank'] = "Banka", - ['account_black_money'] = "Umazan Denar", - ['account_money'] = "Denar", + ["received_salary"] = "Vi ste plačali: $%s", + ["received_help"] = "Vi ste placali svoj CEK v vrednosti: $%s", + ["company_nomoney"] = "podjetje, v katerem ste zaposleni, je prerevno, da bi vam izplačevalo plačo", + ["received_paycheck"] = "Prejel si Placilo", + ["bank"] = "NLB", + ["account_bank"] = "Banka", + ["account_black_money"] = "Umazan Denar", + ["account_money"] = "Denar", - ['act_imp'] = "Dejanja ni mogoče izvesti", - ['in_vehicle'] = "Dejanja ni mogoče izvesti, Oseba je v vozilu", + ["act_imp"] = "Dejanja ni mogoče izvesti", + ["in_vehicle"] = "Dejanja ni mogoče izvesti, Oseba je v vozilu", -- Commands - ['command_bring'] = "Teleportiraj osebo do sebe", - ['command_car'] = "Spawnaj si vozilo", - ['command_car_car'] = "Koda vozila", - ['command_cardel'] = "Odstranite vozila v bližini", - ['command_cardel_radius'] = "Odstrani vsa vozila v določenem radiju", - ['command_clear'] = "Odstrani vsa sporocila v CHATU", - ['command_clearall'] = "Počisti besedilo klepeta za vse igralce", - ['command_clearinventory'] = "Vzemi vse stvari iz osebove shrambe", - ['command_clearloadout'] = "Odstranite vse orožje iz nalaganja igralcev", - ['command_freeze'] = "Zmrzni osebno", - ['command_unfreeze'] = "Odmrzni osebo", - ['command_giveaccountmoney'] = "Poslji denar na dolocen Bancni racun", - ['command_giveaccountmoney_account'] = "Račun za dodajanje", - ['command_giveaccountmoney_amount'] = "Znesek za dodajanje", - ['command_giveaccountmoney_invalid'] = "Ime računa je neveljavno", - ['command_giveitem'] = "Daj osebi neko stvar", - ['command_giveitem_item'] = "Ime Stvari", - ['command_giveitem_count'] = "Kolicina", - ['command_giveweapon'] = "Daj osebi orozje", - ['command_giveweapon_weapon'] = "Ime orozja", - ['command_giveweapon_ammo'] = "Kolicina", - ['command_giveweapon_hasalready'] = "Oseba ze ima to orozje!", - ['command_giveweaponcomponent'] = "Daj komponento orožja igralcu", - ['command_giveweaponcomponent_component'] = "Ime Komponente", - ['command_giveweaponcomponent_invalid'] = "Neveljavna komponenta orožja", - ['command_giveweaponcomponent_hasalready'] = "Oseba ze ima to komponento", - ['command_giveweaponcomponent_missingweapon'] = "Oseba nima tega orozja!", - ['command_goto'] = "Teleportirajte se k igralcu", - ['command_kill'] = "Ubij igralca", - ['command_save'] = "Prisilno shrani podatke igralca!", - ['command_saveall'] = "Prisilno shrani vse podatke igralca", - ['command_setaccountmoney'] = "Nastavite denar znotraj dolocenega racuna", - ['command_setaccountmoney_amount'] = "Znesek", - ['command_setcoords'] = "Teleport na dolocene koordinate", - ['command_setcoords_x'] = "Vrednost X", - ['command_setcoords_y'] = "Vrednost Y", - ['command_setcoords_z'] = "Z vrednost", - ['command_setjob'] = "Nastavi opravilo igralca", - ['command_setjob_job'] = "Ime", - ['command_setjob_grade'] = "Delovna ocena", - ['command_setjob_invalid'] = "delovno mesto, ocena ali oboje ni veljavno", - ['command_setgroup'] = "Nastavi skupino dovoljenj igralcev", - ['command_setgroup_group'] = "Ime skupine", - ['commanderror_argumentmismatch'] = "Neveljavno stetje argumentov (podano %s, zeleno %s)", - ['commanderror_argumentmismatch_number'] = "Neveljaven podatkovni tip argumenta #%s (posredovan niz, zeleno stevilo)", - ['commanderror_invaliditem'] = "Neveljaven element", - ['commanderror_invalidweapon'] = "Neveljavno orozje", - ['commanderror_console'] = "Ukaza ni mogoce izvesti s konzole", - ['commanderror_invalidcommand'] = "Neveljaven ukaz - /%s", - ['commanderror_invalidplayerid'] = "Naveden igralec ni na spletu", - ['commandgeneric_playerid'] = "Id streznika igralca", - ['command_giveammo_noweapon_found'] = "%s nima tega orozja", - ['command_giveammo_weapon'] = "Ime orozja", - ['command_giveammo_ammo'] = "Kolicina streliva", - ['tpm_nowaypoint'] = "Ni nastavljene poti!.", - ['tpm_success'] = "Uspesno teleportiran", + ["command_bring"] = "Teleportiraj osebo do sebe", + ["command_car"] = "Spawnaj si vozilo", + ["command_car_car"] = "Koda vozila", + ["command_cardel"] = "Odstranite vozila v bližini", + ["command_cardel_radius"] = "Odstrani vsa vozila v določenem radiju", + ["command_clear"] = "Odstrani vsa sporocila v CHATU", + ["command_clearall"] = "Počisti besedilo klepeta za vse igralce", + ["command_clearinventory"] = "Vzemi vse stvari iz osebove shrambe", + ["command_clearloadout"] = "Odstranite vse orožje iz nalaganja igralcev", + ["command_freeze"] = "Zmrzni osebno", + ["command_unfreeze"] = "Odmrzni osebo", + ["command_giveaccountmoney"] = "Poslji denar na dolocen Bancni racun", + ["command_giveaccountmoney_account"] = "Račun za dodajanje", + ["command_giveaccountmoney_amount"] = "Znesek za dodajanje", + ["command_giveaccountmoney_invalid"] = "Ime računa je neveljavno", + ["command_giveitem"] = "Daj osebi neko stvar", + ["command_giveitem_item"] = "Ime Stvari", + ["command_giveitem_count"] = "Kolicina", + ["command_giveweapon"] = "Daj osebi orozje", + ["command_giveweapon_weapon"] = "Ime orozja", + ["command_giveweapon_ammo"] = "Kolicina", + ["command_giveweapon_hasalready"] = "Oseba ze ima to orozje!", + ["command_giveweaponcomponent"] = "Daj komponento orožja igralcu", + ["command_giveweaponcomponent_component"] = "Ime Komponente", + ["command_giveweaponcomponent_invalid"] = "Neveljavna komponenta orožja", + ["command_giveweaponcomponent_hasalready"] = "Oseba ze ima to komponento", + ["command_giveweaponcomponent_missingweapon"] = "Oseba nima tega orozja!", + ["command_goto"] = "Teleportirajte se k igralcu", + ["command_kill"] = "Ubij igralca", + ["command_save"] = "Prisilno shrani podatke igralca!", + ["command_saveall"] = "Prisilno shrani vse podatke igralca", + ["command_setaccountmoney"] = "Nastavite denar znotraj dolocenega racuna", + ["command_setaccountmoney_amount"] = "Znesek", + ["command_setcoords"] = "Teleport na dolocene koordinate", + ["command_setcoords_x"] = "Vrednost X", + ["command_setcoords_y"] = "Vrednost Y", + ["command_setcoords_z"] = "Z vrednost", + ["command_setjob"] = "Nastavi opravilo igralca", + ["command_setjob_job"] = "Ime", + ["command_setjob_grade"] = "Delovna ocena", + ["command_setjob_invalid"] = "delovno mesto, ocena ali oboje ni veljavno", + ["command_setgroup"] = "Nastavi skupino dovoljenj igralcev", + ["command_setgroup_group"] = "Ime skupine", + ["commanderror_argumentmismatch"] = "Neveljavno stetje argumentov (podano %s, zeleno %s)", + ["commanderror_argumentmismatch_number"] = "Neveljaven podatkovni tip argumenta #%s (posredovan niz, zeleno stevilo)", + ["commanderror_invaliditem"] = "Neveljaven element", + ["commanderror_invalidweapon"] = "Neveljavno orozje", + ["commanderror_console"] = "Ukaza ni mogoce izvesti s konzole", + ["commanderror_invalidcommand"] = "Neveljaven ukaz - /%s", + ["commanderror_invalidplayerid"] = "Naveden igralec ni na spletu", + ["commandgeneric_playerid"] = "Id streznika igralca", + ["command_giveammo_noweapon_found"] = "%s nima tega orozja", + ["command_giveammo_weapon"] = "Ime orozja", + ["command_giveammo_ammo"] = "Kolicina streliva", + ["tpm_nowaypoint"] = "Ni nastavljene poti!.", + ["tpm_success"] = "Uspesno teleportiran", - ['noclip_message'] = "Noclip je bil %s", - ['enabled'] = "~g~Vkljucen~s~", - ['disabled'] = "~r~Izkljucen~s~", + ["noclip_message"] = "Noclip je bil %s", + ["enabled"] = "~g~Vkljucen~s~", + ["disabled"] = "~r~Izkljucen~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ",", - ['locale_currency'] = "€%s", + ["locale_digit_grouping_symbol"] = ",", + ["locale_currency"] = "€%s", -- Weapons -- Melee - ['weapon_dagger'] = "Dagger", - ['weapon_bat'] = "Bat", - ['weapon_battleaxe'] = "Battle Axe", - ['weapon_bottle'] = "Bottle", - ['weapon_crowbar'] = "Crowbar", - ['weapon_flashlight'] = "Flashlight", - ['weapon_golfclub'] = "Golf Club", - ['weapon_hammer'] = "Hammer", - ['weapon_hatchet'] = "Hatchet", - ['weapon_knife'] = "Knife", - ['weapon_knuckle'] = "Knuckledusters", - ['weapon_machete'] = "Machete", - ['weapon_nightstick'] = "Nightstick", - ['weapon_wrench'] = "Pipe Wrench", - ['weapon_poolcue'] = "Pool Cue", - ['weapon_stone_hatchet'] = "Stone Hatchet", - ['weapon_switchblade'] = "Switchblade", + ["weapon_dagger"] = "Dagger", + ["weapon_bat"] = "Bat", + ["weapon_battleaxe"] = "Battle Axe", + ["weapon_bottle"] = "Bottle", + ["weapon_crowbar"] = "Crowbar", + ["weapon_flashlight"] = "Flashlight", + ["weapon_golfclub"] = "Golf Club", + ["weapon_hammer"] = "Hammer", + ["weapon_hatchet"] = "Hatchet", + ["weapon_knife"] = "Knife", + ["weapon_knuckle"] = "Knuckledusters", + ["weapon_machete"] = "Machete", + ["weapon_nightstick"] = "Nightstick", + ["weapon_wrench"] = "Pipe Wrench", + ["weapon_poolcue"] = "Pool Cue", + ["weapon_stone_hatchet"] = "Stone Hatchet", + ["weapon_switchblade"] = "Switchblade", -- Handguns - ['weapon_appistol'] = "AP Pistol", - ['weapon_ceramicpistol'] = "Ceramic Pistol", - ['weapon_combatpistol'] = "Combat Pistol", - ['weapon_doubleaction'] = "Double-Action Revolver", - ['weapon_navyrevolver'] = "Navy Revolver", - ['weapon_flaregun'] = "Flaregun", - ['weapon_gadgetpistol'] = "Gadget Pistol", - ['weapon_heavypistol'] = "Heavy Pistol", - ['weapon_revolver'] = "Heavy Revolver", - ['weapon_revolver_mk2'] = "Heavy Revolver MK2", - ['weapon_marksmanpistol'] = "Marksman Pistol", - ['weapon_pistol'] = "Pistol", - ['weapon_pistol_mk2'] = "Pistol MK2", - ['weapon_pistol50'] = "Pistol .50", - ['weapon_snspistol'] = "SNS Pistol", - ['weapon_snspistol_mk2'] = "SNS Pistol MK2", - ['weapon_stungun'] = "Taser", - ['weapon_raypistol'] = "Up-N-Atomizer", - ['weapon_vintagepistol'] = "Vintage Pistol", + ["weapon_appistol"] = "AP Pistol", + ["weapon_ceramicpistol"] = "Ceramic Pistol", + ["weapon_combatpistol"] = "Combat Pistol", + ["weapon_doubleaction"] = "Double-Action Revolver", + ["weapon_navyrevolver"] = "Navy Revolver", + ["weapon_flaregun"] = "Flaregun", + ["weapon_gadgetpistol"] = "Gadget Pistol", + ["weapon_heavypistol"] = "Heavy Pistol", + ["weapon_revolver"] = "Heavy Revolver", + ["weapon_revolver_mk2"] = "Heavy Revolver MK2", + ["weapon_marksmanpistol"] = "Marksman Pistol", + ["weapon_pistol"] = "Pistol", + ["weapon_pistol_mk2"] = "Pistol MK2", + ["weapon_pistol50"] = "Pistol .50", + ["weapon_snspistol"] = "SNS Pistol", + ["weapon_snspistol_mk2"] = "SNS Pistol MK2", + ["weapon_stungun"] = "Taser", + ["weapon_raypistol"] = "Up-N-Atomizer", + ["weapon_vintagepistol"] = "Vintage Pistol", -- Shotguns - ['weapon_assaultshotgun'] = "Assault Shotgun", - ['weapon_autoshotgun'] = "Auto Shotgun", - ['weapon_bullpupshotgun'] = "Bullpup Shotgun", - ['weapon_combatshotgun'] = "Combat Shotgun", - ['weapon_dbshotgun'] = "Double Barrel Shotgun", - ['weapon_heavyshotgun'] = "Heavy Shotgun", - ['weapon_musket'] = "Musket", - ['weapon_pumpshotgun'] = "Pump Shotgun", - ['weapon_pumpshotgun_mk2'] = "Pump Shotgun MK2", - ['weapon_sawnoffshotgun'] = "Sawed Off Shotgun", + ["weapon_assaultshotgun"] = "Assault Shotgun", + ["weapon_autoshotgun"] = "Auto Shotgun", + ["weapon_bullpupshotgun"] = "Bullpup Shotgun", + ["weapon_combatshotgun"] = "Combat Shotgun", + ["weapon_dbshotgun"] = "Double Barrel Shotgun", + ["weapon_heavyshotgun"] = "Heavy Shotgun", + ["weapon_musket"] = "Musket", + ["weapon_pumpshotgun"] = "Pump Shotgun", + ["weapon_pumpshotgun_mk2"] = "Pump Shotgun MK2", + ["weapon_sawnoffshotgun"] = "Sawed Off Shotgun", -- SMG & LMG - ['weapon_assaultsmg'] = "Assault SMG", - ['weapon_combatmg'] = "Combat MG", - ['weapon_combatmg_mk2'] = "Combat MG MK2", - ['weapon_combatpdw'] = "Combat PDW", - ['weapon_gusenberg'] = "Gusenberg Sweeper", - ['weapon_machinepistol'] = "Machine Pistol", - ['weapon_mg'] = "MG", - ['weapon_microsmg'] = "Micro SMG", - ['weapon_minismg'] = "Mini SMG", - ['weapon_smg'] = "SMG", - ['weapon_smg_mk2'] = "SMG MK2", - ['weapon_raycarbine'] = "Unholy Hellbringer", + ["weapon_assaultsmg"] = "Assault SMG", + ["weapon_combatmg"] = "Combat MG", + ["weapon_combatmg_mk2"] = "Combat MG MK2", + ["weapon_combatpdw"] = "Combat PDW", + ["weapon_gusenberg"] = "Gusenberg Sweeper", + ["weapon_machinepistol"] = "Machine Pistol", + ["weapon_mg"] = "MG", + ["weapon_microsmg"] = "Micro SMG", + ["weapon_minismg"] = "Mini SMG", + ["weapon_smg"] = "SMG", + ["weapon_smg_mk2"] = "SMG MK2", + ["weapon_raycarbine"] = "Unholy Hellbringer", -- Rifles - ['weapon_advancedrifle'] = "Advanced Rifle", - ['weapon_assaultrifle'] = "Assault Rifle", - ['weapon_assaultrifle_mk2'] = "Assault Rifle MK2", - ['weapon_bullpuprifle'] = "Bullpup Rifle", - ['weapon_bullpuprifle_mk2'] = "Bullpup Rifle MK2", - ['weapon_carbinerifle'] = "Carbine Rifle", - ['weapon_carbinerifle_mk2'] = "Carbine Rifle MK2", - ['weapon_compactrifle'] = "Compact Rifle", - ['weapon_militaryrifle'] = "Military Rifle", - ['weapon_specialcarbine'] = "Special Carbine", - ['weapon_specialcarbine_mk2'] = "Special Carbine MK2", + ["weapon_advancedrifle"] = "Advanced Rifle", + ["weapon_assaultrifle"] = "Assault Rifle", + ["weapon_assaultrifle_mk2"] = "Assault Rifle MK2", + ["weapon_bullpuprifle"] = "Bullpup Rifle", + ["weapon_bullpuprifle_mk2"] = "Bullpup Rifle MK2", + ["weapon_carbinerifle"] = "Carbine Rifle", + ["weapon_carbinerifle_mk2"] = "Carbine Rifle MK2", + ["weapon_compactrifle"] = "Compact Rifle", + ["weapon_militaryrifle"] = "Military Rifle", + ["weapon_specialcarbine"] = "Special Carbine", + ["weapon_specialcarbine_mk2"] = "Special Carbine MK2", -- Sniper - ['weapon_heavysniper'] = "Heavy Sniper", - ['weapon_heavysniper_mk2'] = "Heavy Sniper MK2", - ['weapon_marksmanrifle'] = "Marksman Rifle", - ['weapon_marksmanrifle_mk2'] = "Marksman Rifle MK2", - ['weapon_sniperrifle'] = "Sniper Rifle", + ["weapon_heavysniper"] = "Heavy Sniper", + ["weapon_heavysniper_mk2"] = "Heavy Sniper MK2", + ["weapon_marksmanrifle"] = "Marksman Rifle", + ["weapon_marksmanrifle_mk2"] = "Marksman Rifle MK2", + ["weapon_sniperrifle"] = "Sniper Rifle", -- Heavy / Launchers - ['weapon_compactlauncher'] = "Compact Launcher", - ['weapon_firework'] = "Firework Launcher", - ['weapon_grenadelauncher'] = "Grenade Launcher", - ['weapon_hominglauncher'] = "Homing Launcher", - ['weapon_minigun'] = "Minigun", - ['weapon_railgun'] = "Railgun", - ['weapon_rpg'] = "Rocket Launcher", - ['weapon_rayminigun'] = "Widowmaker", + ["weapon_compactlauncher"] = "Compact Launcher", + ["weapon_firework"] = "Firework Launcher", + ["weapon_grenadelauncher"] = "Grenade Launcher", + ["weapon_hominglauncher"] = "Homing Launcher", + ["weapon_minigun"] = "Minigun", + ["weapon_railgun"] = "Railgun", + ["weapon_rpg"] = "Rocket Launcher", + ["weapon_rayminigun"] = "Widowmaker", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = "Metal Detector", - ['weapon_precisionrifle'] = "Precision Rifle", - ['weapon_tactilerifle'] = "Service Carbine", + ["weapon_metaldetector"] = "Metal Detector", + ["weapon_precisionrifle"] = "Precision Rifle", + ["weapon_tactilerifle"] = "Service Carbine", -- Thrown - ['weapon_ball'] = "Baseball", - ['weapon_bzgas'] = "BZ Gas", - ['weapon_flare'] = "Flare", - ['weapon_grenade'] = "Grenade", - ['weapon_petrolcan'] = "Jerrycan", - ['weapon_hazardcan'] = "Hazardous Jerrycan", - ['weapon_molotov'] = "Molotov Cocktail", - ['weapon_proxmine'] = "Proximity Mine", - ['weapon_pipebomb'] = "Pipe Bomb", - ['weapon_snowball'] = "Snowball", - ['weapon_stickybomb'] = "Sticky Bomb", - ['weapon_smokegrenade'] = "Tear Gas", + ["weapon_ball"] = "Baseball", + ["weapon_bzgas"] = "BZ Gas", + ["weapon_flare"] = "Flare", + ["weapon_grenade"] = "Grenade", + ["weapon_petrolcan"] = "Jerrycan", + ["weapon_hazardcan"] = "Hazardous Jerrycan", + ["weapon_molotov"] = "Molotov Cocktail", + ["weapon_proxmine"] = "Proximity Mine", + ["weapon_pipebomb"] = "Pipe Bomb", + ["weapon_snowball"] = "Snowball", + ["weapon_stickybomb"] = "Sticky Bomb", + ["weapon_smokegrenade"] = "Tear Gas", -- Special - ['weapon_fireextinguisher'] = "Fire Extinguisher", - ['weapon_digiscanner'] = "Digital Scanner", - ['weapon_garbagebag'] = "Garbage Bag", - ['weapon_handcuffs'] = "Handcuffs", - ['gadget_nightvision'] = "Night Vision", - ['gadget_parachute'] = "parachute", + ["weapon_fireextinguisher"] = "Fire Extinguisher", + ["weapon_digiscanner"] = "Digital Scanner", + ["weapon_garbagebag"] = "Garbage Bag", + ["weapon_handcuffs"] = "Handcuffs", + ["gadget_nightvision"] = "Night Vision", + ["gadget_parachute"] = "parachute", -- Weapon Components - ['component_knuckle_base'] = "base Model", - ['component_knuckle_pimp'] = "the Pimp", - ['component_knuckle_ballas'] = "the Ballas", - ['component_knuckle_dollar'] = "the Hustler", - ['component_knuckle_diamond'] = "the Rock", - ['component_knuckle_hate'] = "the Hater", - ['component_knuckle_love'] = "the Lover", - ['component_knuckle_player'] = "the Player", - ['component_knuckle_king'] = "the King", - ['component_knuckle_vagos'] = "the Vagos", + ["component_knuckle_base"] = "base Model", + ["component_knuckle_pimp"] = "the Pimp", + ["component_knuckle_ballas"] = "the Ballas", + ["component_knuckle_dollar"] = "the Hustler", + ["component_knuckle_diamond"] = "the Rock", + ["component_knuckle_hate"] = "the Hater", + ["component_knuckle_love"] = "the Lover", + ["component_knuckle_player"] = "the Player", + ["component_knuckle_king"] = "the King", + ["component_knuckle_vagos"] = "the Vagos", - ['component_luxary_finish'] = "luxary Weapon Finish", + ["component_luxary_finish"] = "luxary Weapon Finish", - ['component_handle_default'] = "default Handle", - ['component_handle_vip'] = "vIP Handle", - ['component_handle_bodyguard'] = "bodyguard Handle", + ["component_handle_default"] = "default Handle", + ["component_handle_vip"] = "vIP Handle", + ["component_handle_bodyguard"] = "bodyguard Handle", - ['component_vip_finish'] = "vIP Finish", - ['component_bodyguard_finish'] = "bodyguard Finish", + ["component_vip_finish"] = "vIP Finish", + ["component_bodyguard_finish"] = "bodyguard Finish", - ['component_camo_finish'] = "digital Camo", - ['component_camo_finish2'] = "brushstroke Camo", - ['component_camo_finish3'] = "woodland Camo", - ['component_camo_finish4'] = "skull Camo", - ['component_camo_finish5'] = "sessanta Nove Camo", - ['component_camo_finish6'] = "perseus Camo", - ['component_camo_finish7'] = "leopard Camo", - ['component_camo_finish8'] = "zebra Camo", - ['component_camo_finish9'] = "geometric Camo", - ['component_camo_finish10'] = "boom Camo", - ['component_camo_finish11'] = "patriotic Camo", + ["component_camo_finish"] = "digital Camo", + ["component_camo_finish2"] = "brushstroke Camo", + ["component_camo_finish3"] = "woodland Camo", + ["component_camo_finish4"] = "skull Camo", + ["component_camo_finish5"] = "sessanta Nove Camo", + ["component_camo_finish6"] = "perseus Camo", + ["component_camo_finish7"] = "leopard Camo", + ["component_camo_finish8"] = "zebra Camo", + ["component_camo_finish9"] = "geometric Camo", + ["component_camo_finish10"] = "boom Camo", + ["component_camo_finish11"] = "patriotic Camo", - ['component_camo_slide_finish'] = "digital Slide Camo", - ['component_camo_slide_finish2'] = "brushstroke Slide Camo", - ['component_camo_slide_finish3'] = "woodland Slide Camo", - ['component_camo_slide_finish4'] = "skull Slide Camo", - ['component_camo_slide_finish5'] = "sessanta Nove Slide Camo", - ['component_camo_slide_finish6'] = "perseus Slide Camo", - ['component_camo_slide_finish7'] = "leopard Slide Camo", - ['component_camo_slide_finish8'] = "zebra Slide Camo", - ['component_camo_slide_finish9'] = "geometric Slide Camo", - ['component_camo_slide_finish10'] = "boom Slide Camo", - ['component_camo_slide_finish11'] = "patriotic Slide Camo", + ["component_camo_slide_finish"] = "digital Slide Camo", + ["component_camo_slide_finish2"] = "brushstroke Slide Camo", + ["component_camo_slide_finish3"] = "woodland Slide Camo", + ["component_camo_slide_finish4"] = "skull Slide Camo", + ["component_camo_slide_finish5"] = "sessanta Nove Slide Camo", + ["component_camo_slide_finish6"] = "perseus Slide Camo", + ["component_camo_slide_finish7"] = "leopard Slide Camo", + ["component_camo_slide_finish8"] = "zebra Slide Camo", + ["component_camo_slide_finish9"] = "geometric Slide Camo", + ["component_camo_slide_finish10"] = "boom Slide Camo", + ["component_camo_slide_finish11"] = "patriotic Slide Camo", - ['component_clip_default'] = "default Magazine", - ['component_clip_extended'] = "extended Magazine", - ['component_clip_drum'] = "drum Magazine", - ['component_clip_box'] = "box Magazine", + ["component_clip_default"] = "default Magazine", + ["component_clip_extended"] = "extended Magazine", + ["component_clip_drum"] = "drum Magazine", + ["component_clip_box"] = "box Magazine", - ['component_scope_holo'] = "holographic Scope", - ['component_scope_small'] = "small Scope", - ['component_scope_medium'] = "medium Scope", - ['component_scope_large'] = "large Scope", - ['component_scope'] = "mounted Scope", - ['component_scope_advanced'] = "advanced Scope", - ['component_ironsights'] = "ironsights", + ["component_scope_holo"] = "holographic Scope", + ["component_scope_small"] = "small Scope", + ["component_scope_medium"] = "medium Scope", + ["component_scope_large"] = "large Scope", + ["component_scope"] = "mounted Scope", + ["component_scope_advanced"] = "advanced Scope", + ["component_ironsights"] = "ironsights", - ['component_suppressor'] = "suppressor", - ['component_compensator'] = "compensator", + ["component_suppressor"] = "suppressor", + ["component_compensator"] = "compensator", - ['component_muzzle_flat'] = "flat Muzzle Brake", - ['component_muzzle_tactical'] = "tactical Muzzle Brake", - ['component_muzzle_fat'] = "fat-End Muzzle Brake", - ['component_muzzle_precision'] = "precision Muzzle Brake", - ['component_muzzle_heavy'] = "heavy Duty Muzzle Brake", - ['component_muzzle_slanted'] = "slanted Muzzle Brake", - ['component_muzzle_split'] = "split-End Muzzle Brake", - ['component_muzzle_squared'] = "squared Muzzle Brake", + ["component_muzzle_flat"] = "flat Muzzle Brake", + ["component_muzzle_tactical"] = "tactical Muzzle Brake", + ["component_muzzle_fat"] = "fat-End Muzzle Brake", + ["component_muzzle_precision"] = "precision Muzzle Brake", + ["component_muzzle_heavy"] = "heavy Duty Muzzle Brake", + ["component_muzzle_slanted"] = "slanted Muzzle Brake", + ["component_muzzle_split"] = "split-End Muzzle Brake", + ["component_muzzle_squared"] = "squared Muzzle Brake", - ['component_flashlight'] = "flashlight", - ['component_grip'] = "grip", + ["component_flashlight"] = "flashlight", + ["component_grip"] = "grip", - ['component_barrel_default'] = "default Barrel", - ['component_barrel_heavy'] = "heavy Barrel", + ["component_barrel_default"] = "default Barrel", + ["component_barrel_heavy"] = "heavy Barrel", - ['component_ammo_tracer'] = "tracer Ammo", - ['component_ammo_incendiary'] = "incendiary Ammo", - ['component_ammo_hollowpoint'] = "hollowpoint Ammo", - ['component_ammo_fmj'] = "fMJ Ammo", - ['component_ammo_armor'] = "armor Piercing Ammo", - ['component_ammo_explosive'] = "armor Piercing Incendiary Ammo", + ["component_ammo_tracer"] = "tracer Ammo", + ["component_ammo_incendiary"] = "incendiary Ammo", + ["component_ammo_hollowpoint"] = "hollowpoint Ammo", + ["component_ammo_fmj"] = "fMJ Ammo", + ["component_ammo_armor"] = "armor Piercing Ammo", + ["component_ammo_explosive"] = "armor Piercing Incendiary Ammo", - ['component_shells_default'] = "default Shells", - ['component_shells_incendiary'] = "dragons Breath Shells", - ['component_shells_armor'] = "steel Buckshot Shells", - ['component_shells_hollowpoint'] = "flechette Shells", - ['component_shells_explosive'] = "explosive Slug Shells", + ["component_shells_default"] = "default Shells", + ["component_shells_incendiary"] = "dragons Breath Shells", + ["component_shells_armor"] = "steel Buckshot Shells", + ["component_shells_hollowpoint"] = "flechette Shells", + ["component_shells_explosive"] = "explosive Slug Shells", -- Weapon Ammo - ['ammo_rounds'] = "round(s)", - ['ammo_shells'] = "shell(s)", - ['ammo_charge'] = "charge", - ['ammo_petrol'] = "gallons of fuel", - ['ammo_firework'] = "firework(s)", - ['ammo_rockets'] = "rocket(s)", - ['ammo_grenadelauncher'] = "grenade(s)", - ['ammo_grenade'] = "grenade(s)", - ['ammo_stickybomb'] = "bomb(s)", - ['ammo_pipebomb'] = "bomb(s)", - ['ammo_smokebomb'] = "bomb(s)", - ['ammo_molotov'] = "cocktail(s)", - ['ammo_proxmine'] = "mine(s)", - ['ammo_bzgas'] = "can(s)", - ['ammo_ball'] = "ball(s)", - ['ammo_snowball'] = "snowball(s)", - ['ammo_flare'] = "flare(s)", - ['ammo_flaregun'] = "flare(s)", + ["ammo_rounds"] = "round(s)", + ["ammo_shells"] = "shell(s)", + ["ammo_charge"] = "charge", + ["ammo_petrol"] = "gallons of fuel", + ["ammo_firework"] = "firework(s)", + ["ammo_rockets"] = "rocket(s)", + ["ammo_grenadelauncher"] = "grenade(s)", + ["ammo_grenade"] = "grenade(s)", + ["ammo_stickybomb"] = "bomb(s)", + ["ammo_pipebomb"] = "bomb(s)", + ["ammo_smokebomb"] = "bomb(s)", + ["ammo_molotov"] = "cocktail(s)", + ["ammo_proxmine"] = "mine(s)", + ["ammo_bzgas"] = "can(s)", + ["ammo_ball"] = "ball(s)", + ["ammo_snowball"] = "snowball(s)", + ["ammo_flare"] = "flare(s)", + ["ammo_flaregun"] = "flare(s)", -- Weapon Tints - ['tint_default'] = "default skin", - ['tint_green'] = "green skin", - ['tint_gold'] = "gold skin", - ['tint_pink'] = "pink skin", - ['tint_army'] = "army skin", - ['tint_lspd'] = "blue skin", - ['tint_orange'] = "orange skin", - ['tint_platinum'] = "platinum skin", + ["tint_default"] = "default skin", + ["tint_green"] = "green skin", + ["tint_gold"] = "gold skin", + ["tint_pink"] = "pink skin", + ["tint_army"] = "army skin", + ["tint_lspd"] = "blue skin", + ["tint_orange"] = "orange skin", + ["tint_platinum"] = "platinum skin", } \ No newline at end of file diff --git a/[core]/es_extended/locales/sr.lua b/[core]/es_extended/locales/sr.lua index 29660ede..c340c66a 100644 --- a/[core]/es_extended/locales/sr.lua +++ b/[core]/es_extended/locales/sr.lua @@ -1,365 +1,365 @@ -Locales['sr'] = { +Locales["sr"] = { -- Inventory - ['inventory'] = "Inventar ( Težina %s / %s )", - ['use'] = "Koristi", - ['give'] = "Daj", - ['remove'] = "Baci", - ['return'] = "Nazad", - ['give_to'] = "Daj", - ['amount'] = "Količina", - ['giveammo'] = "Daj municiju", - ['amountammo'] = "Količina municije", - ['noammo'] = "Nemate dovoljno!", - ['gave_item'] = "Davanje %sx %s igraču %s", - ['received_item'] = "Dobijeno %sx %s od %s", - ['gave_weapon'] = "Davanje %s igraču %s", - ['gave_weapon_ammo'] = "Davanje ~o~%sx %s za %s igraču %s", - ['gave_weapon_withammo'] = "Davanje %s sa ~o~%sx %s igraču %s", - ['gave_weapon_hasalready'] = "%s već ima %s", - ['gave_weapon_noweapon'] = "%s nema to oružje", - ['received_weapon'] = "Dobijeno %s od %s", - ['received_weapon_ammo'] = "Dobijeno ~o~%sx %s za vaš %s od %s", - ['received_weapon_withammo'] = "Dobijeno %s sa ~o~%sx %s od %s", - ['received_weapon_hasalready'] = "%s je pokušao da Vam da %s, ali vi već imate to oružje", - ['received_weapon_noweapon'] = "%s je pokušao da Vam da municiju za %s, ali vi nemate to oružje", - ['gave_account_money'] = "Davanje $%s (%s) igraču %s", - ['received_account_money'] = "Dobijeno $%s (%s) od %s", - ['amount_invalid'] = "Nevažeća količina", - ['players_nearby'] = "Nema igrača u blizini", - ['ex_inv_lim'] = "Ne možete uraditi to, premašuje max težinu od %s", - ['imp_invalid_quantity'] = "Nevažeća količina", - ['imp_invalid_amount'] = "Nevažeći iznos", - ['threw_standard'] = "Bacanje %sx %s", - ['threw_account'] = "Bacanje $%s %s", - ['threw_weapon'] = "Bacanje %s", - ['threw_weapon_ammo'] = "Bacanje %s sa ~o~%sx %s", - ['threw_weapon_already'] = "Vi već imate to oružje", - ['threw_cannot_pickup'] = "Inventar je pun, ne možete pokupiti to!", - ['threw_pickup_prompt'] = "Pritisni E da pokupiš", + ["inventory"] = "Inventar ( Težina %s / %s )", + ["use"] = "Koristi", + ["give"] = "Daj", + ["remove"] = "Baci", + ["return"] = "Nazad", + ["give_to"] = "Daj", + ["amount"] = "Količina", + ["giveammo"] = "Daj municiju", + ["amountammo"] = "Količina municije", + ["noammo"] = "Nemate dovoljno!", + ["gave_item"] = "Davanje %sx %s igraču %s", + ["received_item"] = "Dobijeno %sx %s od %s", + ["gave_weapon"] = "Davanje %s igraču %s", + ["gave_weapon_ammo"] = "Davanje ~o~%sx %s za %s igraču %s", + ["gave_weapon_withammo"] = "Davanje %s sa ~o~%sx %s igraču %s", + ["gave_weapon_hasalready"] = "%s već ima %s", + ["gave_weapon_noweapon"] = "%s nema to oružje", + ["received_weapon"] = "Dobijeno %s od %s", + ["received_weapon_ammo"] = "Dobijeno ~o~%sx %s za vaš %s od %s", + ["received_weapon_withammo"] = "Dobijeno %s sa ~o~%sx %s od %s", + ["received_weapon_hasalready"] = "%s je pokušao da Vam da %s, ali vi već imate to oružje", + ["received_weapon_noweapon"] = "%s je pokušao da Vam da municiju za %s, ali vi nemate to oružje", + ["gave_account_money"] = "Davanje $%s (%s) igraču %s", + ["received_account_money"] = "Dobijeno $%s (%s) od %s", + ["amount_invalid"] = "Nevažeća količina", + ["players_nearby"] = "Nema igrača u blizini", + ["ex_inv_lim"] = "Ne možete uraditi to, premašuje max težinu od %s", + ["imp_invalid_quantity"] = "Nevažeća količina", + ["imp_invalid_amount"] = "Nevažeći iznos", + ["threw_standard"] = "Bacanje %sx %s", + ["threw_account"] = "Bacanje $%s %s", + ["threw_weapon"] = "Bacanje %s", + ["threw_weapon_ammo"] = "Bacanje %s sa ~o~%sx %s", + ["threw_weapon_already"] = "Vi već imate to oružje", + ["threw_cannot_pickup"] = "Inventar je pun, ne možete pokupiti to!", + ["threw_pickup_prompt"] = "Pritisni E da pokupiš", -- Key mapping - ['keymap_showinventory'] = "Otvaranje inventara", + ["keymap_showinventory"] = "Otvaranje inventara", -- Salary related - ['received_salary'] = "Plaćeno Vam je: $%s", - ['received_help'] = "Isplaćen Vam je ček: $%s", - ['company_nomoney'] = "Kompanija u kojoj ste zapošljeni nema više novca", - ['received_paycheck'] = "primili ste platu", - ['bank'] = "Maze Banka", - ['account_bank'] = "Banka", - ['account_black_money'] = "Prljav novac", - ['account_money'] = "Novac", + ["received_salary"] = "Plaćeno Vam je: $%s", + ["received_help"] = "Isplaćen Vam je ček: $%s", + ["company_nomoney"] = "Kompanija u kojoj ste zapošljeni nema više novca", + ["received_paycheck"] = "primili ste platu", + ["bank"] = "Maze Banka", + ["account_bank"] = "Banka", + ["account_black_money"] = "Prljav novac", + ["account_money"] = "Novac", - ['act_imp'] = "Ne možete izvršiti radnju", - ['in_vehicle'] = "Ne možete uraditi to dok je igrač u vozilu", + ["act_imp"] = "Ne možete izvršiti radnju", + ["in_vehicle"] = "Ne možete uraditi to dok je igrač u vozilu", -- Commands - ['command_bring'] = "TP-ajte igrača do Vas", - ['command_car'] = "Stvorite vozilo", - ['command_car_car'] = "Model ili hash vozila", - ['command_cardel'] = "Obrišite vozilo u blizini", - ['command_cardel_radius'] = "Obrišite sva vozila unutar navedenog radiusa", - ['command_clear'] = "Obrišite chat", - ['command_clearall'] = "Obrišite chat za sve igrače", - ['command_clearinventory'] = "Obrišite sve stvari iz inventara igrača", - ['command_clearloadout'] = "Obrišite sva oružja iz inventara igrača", - ['command_freeze'] = "Zaledite igrača", - ['command_unfreeze'] = "Odledite igrača", - ['command_giveaccountmoney'] = "Dajte novac na odredjeni nalog", - ['command_giveaccountmoney_account'] = "Nalog za slanje", - ['command_giveaccountmoney_amount'] = "Količina", - ['command_giveaccountmoney_invalid'] = "Nalog nepostojeći", - ['command_giveitem'] = "Dajte item igraču", - ['command_giveitem_item'] = "Ime item-a", - ['command_giveitem_count'] = "Količina", - ['command_giveweapon'] = "Dajte oružje igraču", - ['command_giveweapon_weapon'] = "Ime oružja", - ['command_giveweapon_ammo'] = "Količina municije", - ['command_giveweapon_hasalready'] = "Igrač već ima to oružje", - ['command_giveweaponcomponent'] = "Dajte dodatak za oružje igraču", - ['command_giveweaponcomponent_component'] = "Ime dodatka", - ['command_giveweaponcomponent_invalid'] = "Nevažeći dodatak", - ['command_giveweaponcomponent_hasalready'] = "Igrač već ima taj dodatak", - ['command_giveweaponcomponent_missingweapon'] = "Igrač nema oružje", - ['command_goto'] = "Idite do igrača", - ['command_kill'] = "Ubijte igrača", - ['command_save'] = "Forsirajte čuvanje date igrača", - ['command_saveall'] = "Forsirajte čuvanje date svih igrača", - ['command_setaccountmoney'] = "Postavite novac na određeni račun", - ['command_setaccountmoney_amount'] = "Količina", - ['command_setcoords'] = "Teleportujte se na koordinate", - ['command_setcoords_x'] = "X", - ['command_setcoords_y'] = "Y", - ['command_setcoords_z'] = "Z", - ['command_setjob'] = "Postavite posao igraču", - ['command_setjob_job'] = "Ime", - ['command_setjob_grade'] = "Stepen posla", - ['command_setjob_invalid'] = "posao, stepen ili oba nisu validna", - ['command_setgroup'] = "Postavite permisiju", - ['command_setgroup_group'] = "Ime grupe", - ['commanderror_argumentmismatch'] = "Nevazeci broj argumenata (položio %s, željeno %s)", - ['commanderror_argumentmismatch_number'] = "Nevažeći argument #%s tip podataka (položeno, željeno)", - ['commanderror_invaliditem'] = "Nevažeći item", - ['commanderror_invalidweapon'] = "Nevažeće oružje", - ['commanderror_console'] = "Komanda se ne može izvršiti iz konzole", - ['commanderror_invalidcommand'] = "Nevažeća komanda - /%s", - ['commanderror_invalidplayerid'] = "Igrač nije online", - ['commandgeneric_playerid'] = "Igračev server ID", - ['command_giveammo_noweapon_found'] = "%s nema to oružje", - ['command_giveammo_weapon'] = "Ime oružja", - ['command_giveammo_ammo'] = "Količina municije", - ['tpm_nowaypoint'] = "Morate označiti lokaciju.", - ['tpm_success'] = "Teleportovani ste na lokaciju", + ["command_bring"] = "TP-ajte igrača do Vas", + ["command_car"] = "Stvorite vozilo", + ["command_car_car"] = "Model ili hash vozila", + ["command_cardel"] = "Obrišite vozilo u blizini", + ["command_cardel_radius"] = "Obrišite sva vozila unutar navedenog radiusa", + ["command_clear"] = "Obrišite chat", + ["command_clearall"] = "Obrišite chat za sve igrače", + ["command_clearinventory"] = "Obrišite sve stvari iz inventara igrača", + ["command_clearloadout"] = "Obrišite sva oružja iz inventara igrača", + ["command_freeze"] = "Zaledite igrača", + ["command_unfreeze"] = "Odledite igrača", + ["command_giveaccountmoney"] = "Dajte novac na odredjeni nalog", + ["command_giveaccountmoney_account"] = "Nalog za slanje", + ["command_giveaccountmoney_amount"] = "Količina", + ["command_giveaccountmoney_invalid"] = "Nalog nepostojeći", + ["command_giveitem"] = "Dajte item igraču", + ["command_giveitem_item"] = "Ime item-a", + ["command_giveitem_count"] = "Količina", + ["command_giveweapon"] = "Dajte oružje igraču", + ["command_giveweapon_weapon"] = "Ime oružja", + ["command_giveweapon_ammo"] = "Količina municije", + ["command_giveweapon_hasalready"] = "Igrač već ima to oružje", + ["command_giveweaponcomponent"] = "Dajte dodatak za oružje igraču", + ["command_giveweaponcomponent_component"] = "Ime dodatka", + ["command_giveweaponcomponent_invalid"] = "Nevažeći dodatak", + ["command_giveweaponcomponent_hasalready"] = "Igrač već ima taj dodatak", + ["command_giveweaponcomponent_missingweapon"] = "Igrač nema oružje", + ["command_goto"] = "Idite do igrača", + ["command_kill"] = "Ubijte igrača", + ["command_save"] = "Forsirajte čuvanje date igrača", + ["command_saveall"] = "Forsirajte čuvanje date svih igrača", + ["command_setaccountmoney"] = "Postavite novac na određeni račun", + ["command_setaccountmoney_amount"] = "Količina", + ["command_setcoords"] = "Teleportujte se na koordinate", + ["command_setcoords_x"] = "X", + ["command_setcoords_y"] = "Y", + ["command_setcoords_z"] = "Z", + ["command_setjob"] = "Postavite posao igraču", + ["command_setjob_job"] = "Ime", + ["command_setjob_grade"] = "Stepen posla", + ["command_setjob_invalid"] = "posao, stepen ili oba nisu validna", + ["command_setgroup"] = "Postavite permisiju", + ["command_setgroup_group"] = "Ime grupe", + ["commanderror_argumentmismatch"] = "Nevazeci broj argumenata (položio %s, željeno %s)", + ["commanderror_argumentmismatch_number"] = "Nevažeći argument #%s tip podataka (položeno, željeno)", + ["commanderror_invaliditem"] = "Nevažeći item", + ["commanderror_invalidweapon"] = "Nevažeće oružje", + ["commanderror_console"] = "Komanda se ne može izvršiti iz konzole", + ["commanderror_invalidcommand"] = "Nevažeća komanda - /%s", + ["commanderror_invalidplayerid"] = "Igrač nije online", + ["commandgeneric_playerid"] = "Igračev server ID", + ["command_giveammo_noweapon_found"] = "%s nema to oružje", + ["command_giveammo_weapon"] = "Ime oružja", + ["command_giveammo_ammo"] = "Količina municije", + ["tpm_nowaypoint"] = "Morate označiti lokaciju.", + ["tpm_success"] = "Teleportovani ste na lokaciju", - ['noclip_message'] = "Noclip %s", - ['enabled'] = "~g~upaljen~s~", - ['disabled'] = "~r~ugašen~s~", + ["noclip_message"] = "Noclip %s", + ["enabled"] = "~g~upaljen~s~", + ["disabled"] = "~r~ugašen~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ",", - ['locale_currency'] = "£%s", + ["locale_digit_grouping_symbol"] = ",", + ["locale_currency"] = "£%s", -- Weapons -- Melee - ['weapon_dagger'] = "Dagger", - ['weapon_bat'] = "Bat", - ['weapon_battleaxe'] = "Battle Axe", - ['weapon_bottle'] = "Bottle", - ['weapon_crowbar'] = "Crowbar", - ['weapon_flashlight'] = "Flashlight", - ['weapon_golfclub'] = "Golf Club", - ['weapon_hammer'] = "Hammer", - ['weapon_hatchet'] = "Hatchet", - ['weapon_knife'] = "Knife", - ['weapon_knuckle'] = "Knuckledusters", - ['weapon_machete'] = "Machete", - ['weapon_nightstick'] = "Nightstick", - ['weapon_wrench'] = "Pipe Wrench", - ['weapon_poolcue'] = "Pool Cue", - ['weapon_stone_hatchet'] = "Stone Hatchet", - ['weapon_switchblade'] = "Switchblade", + ["weapon_dagger"] = "Dagger", + ["weapon_bat"] = "Bat", + ["weapon_battleaxe"] = "Battle Axe", + ["weapon_bottle"] = "Bottle", + ["weapon_crowbar"] = "Crowbar", + ["weapon_flashlight"] = "Flashlight", + ["weapon_golfclub"] = "Golf Club", + ["weapon_hammer"] = "Hammer", + ["weapon_hatchet"] = "Hatchet", + ["weapon_knife"] = "Knife", + ["weapon_knuckle"] = "Knuckledusters", + ["weapon_machete"] = "Machete", + ["weapon_nightstick"] = "Nightstick", + ["weapon_wrench"] = "Pipe Wrench", + ["weapon_poolcue"] = "Pool Cue", + ["weapon_stone_hatchet"] = "Stone Hatchet", + ["weapon_switchblade"] = "Switchblade", -- Handguns - ['weapon_appistol'] = "AP Pistol", - ['weapon_ceramicpistol'] = "Ceramic Pistol", - ['weapon_combatpistol'] = "Combat Pistol", - ['weapon_doubleaction'] = "Double-Action Revolver", - ['weapon_navyrevolver'] = "Navy Revolver", - ['weapon_flaregun'] = "Flaregun", - ['weapon_gadgetpistol'] = "Gadget Pistol", - ['weapon_heavypistol'] = "Heavy Pistol", - ['weapon_revolver'] = "Heavy Revolver", - ['weapon_revolver_mk2'] = "Heavy Revolver MK2", - ['weapon_marksmanpistol'] = "Marksman Pistol", - ['weapon_pistol'] = "Pistol", - ['weapon_pistol_mk2'] = "Pistol MK2", - ['weapon_pistol50'] = "Pistol .50", - ['weapon_snspistol'] = "SNS Pistol", - ['weapon_snspistol_mk2'] = "SNS Pistol MK2", - ['weapon_stungun'] = "Taser", - ['weapon_raypistol'] = "Up-N-Atomizer", - ['weapon_vintagepistol'] = "Vintage Pistol", + ["weapon_appistol"] = "AP Pistol", + ["weapon_ceramicpistol"] = "Ceramic Pistol", + ["weapon_combatpistol"] = "Combat Pistol", + ["weapon_doubleaction"] = "Double-Action Revolver", + ["weapon_navyrevolver"] = "Navy Revolver", + ["weapon_flaregun"] = "Flaregun", + ["weapon_gadgetpistol"] = "Gadget Pistol", + ["weapon_heavypistol"] = "Heavy Pistol", + ["weapon_revolver"] = "Heavy Revolver", + ["weapon_revolver_mk2"] = "Heavy Revolver MK2", + ["weapon_marksmanpistol"] = "Marksman Pistol", + ["weapon_pistol"] = "Pistol", + ["weapon_pistol_mk2"] = "Pistol MK2", + ["weapon_pistol50"] = "Pistol .50", + ["weapon_snspistol"] = "SNS Pistol", + ["weapon_snspistol_mk2"] = "SNS Pistol MK2", + ["weapon_stungun"] = "Taser", + ["weapon_raypistol"] = "Up-N-Atomizer", + ["weapon_vintagepistol"] = "Vintage Pistol", -- Shotguns - ['weapon_assaultshotgun'] = "Assault Shotgun", - ['weapon_autoshotgun'] = "Auto Shotgun", - ['weapon_bullpupshotgun'] = "Bullpup Shotgun", - ['weapon_combatshotgun'] = "Combat Shotgun", - ['weapon_dbshotgun'] = "Double Barrel Shotgun", - ['weapon_heavyshotgun'] = "Heavy Shotgun", - ['weapon_musket'] = "Musket", - ['weapon_pumpshotgun'] = "Pump Shotgun", - ['weapon_pumpshotgun_mk2'] = "Pump Shotgun MK2", - ['weapon_sawnoffshotgun'] = "Sawed Off Shotgun", + ["weapon_assaultshotgun"] = "Assault Shotgun", + ["weapon_autoshotgun"] = "Auto Shotgun", + ["weapon_bullpupshotgun"] = "Bullpup Shotgun", + ["weapon_combatshotgun"] = "Combat Shotgun", + ["weapon_dbshotgun"] = "Double Barrel Shotgun", + ["weapon_heavyshotgun"] = "Heavy Shotgun", + ["weapon_musket"] = "Musket", + ["weapon_pumpshotgun"] = "Pump Shotgun", + ["weapon_pumpshotgun_mk2"] = "Pump Shotgun MK2", + ["weapon_sawnoffshotgun"] = "Sawed Off Shotgun", -- SMG & LMG - ['weapon_assaultsmg'] = "Assault SMG", - ['weapon_combatmg'] = "Combat MG", - ['weapon_combatmg_mk2'] = "Combat MG MK2", - ['weapon_combatpdw'] = "Combat PDW", - ['weapon_gusenberg'] = "Gusenberg Sweeper", - ['weapon_machinepistol'] = "Machine Pistol", - ['weapon_mg'] = "MG", - ['weapon_microsmg'] = "Micro SMG", - ['weapon_minismg'] = "Mini SMG", - ['weapon_smg'] = "SMG", - ['weapon_smg_mk2'] = "SMG MK2", - ['weapon_raycarbine'] = "Unholy Hellbringer", + ["weapon_assaultsmg"] = "Assault SMG", + ["weapon_combatmg"] = "Combat MG", + ["weapon_combatmg_mk2"] = "Combat MG MK2", + ["weapon_combatpdw"] = "Combat PDW", + ["weapon_gusenberg"] = "Gusenberg Sweeper", + ["weapon_machinepistol"] = "Machine Pistol", + ["weapon_mg"] = "MG", + ["weapon_microsmg"] = "Micro SMG", + ["weapon_minismg"] = "Mini SMG", + ["weapon_smg"] = "SMG", + ["weapon_smg_mk2"] = "SMG MK2", + ["weapon_raycarbine"] = "Unholy Hellbringer", -- Rifles - ['weapon_advancedrifle'] = "Advanced Rifle", - ['weapon_assaultrifle'] = "Assault Rifle", - ['weapon_assaultrifle_mk2'] = "Assault Rifle MK2", - ['weapon_bullpuprifle'] = "Bullpup Rifle", - ['weapon_bullpuprifle_mk2'] = "Bullpup Rifle MK2", - ['weapon_carbinerifle'] = "Carbine Rifle", - ['weapon_carbinerifle_mk2'] = "Carbine Rifle MK2", - ['weapon_compactrifle'] = "Compact Rifle", - ['weapon_militaryrifle'] = "Military Rifle", - ['weapon_specialcarbine'] = "Special Carbine", - ['weapon_specialcarbine_mk2'] = "Special Carbine MK2", + ["weapon_advancedrifle"] = "Advanced Rifle", + ["weapon_assaultrifle"] = "Assault Rifle", + ["weapon_assaultrifle_mk2"] = "Assault Rifle MK2", + ["weapon_bullpuprifle"] = "Bullpup Rifle", + ["weapon_bullpuprifle_mk2"] = "Bullpup Rifle MK2", + ["weapon_carbinerifle"] = "Carbine Rifle", + ["weapon_carbinerifle_mk2"] = "Carbine Rifle MK2", + ["weapon_compactrifle"] = "Compact Rifle", + ["weapon_militaryrifle"] = "Military Rifle", + ["weapon_specialcarbine"] = "Special Carbine", + ["weapon_specialcarbine_mk2"] = "Special Carbine MK2", -- Sniper - ['weapon_heavysniper'] = "Heavy Sniper", - ['weapon_heavysniper_mk2'] = "Heavy Sniper MK2", - ['weapon_marksmanrifle'] = "Marksman Rifle", - ['weapon_marksmanrifle_mk2'] = "Marksman Rifle MK2", - ['weapon_sniperrifle'] = "Sniper Rifle", + ["weapon_heavysniper"] = "Heavy Sniper", + ["weapon_heavysniper_mk2"] = "Heavy Sniper MK2", + ["weapon_marksmanrifle"] = "Marksman Rifle", + ["weapon_marksmanrifle_mk2"] = "Marksman Rifle MK2", + ["weapon_sniperrifle"] = "Sniper Rifle", -- Heavy / Launchers - ['weapon_compactlauncher'] = "Compact Launcher", - ['weapon_firework'] = "Firework Launcher", - ['weapon_grenadelauncher'] = "Grenade Launcher", - ['weapon_hominglauncher'] = "Homing Launcher", - ['weapon_minigun'] = "Minigun", - ['weapon_railgun'] = "Railgun", - ['weapon_rpg'] = "Rocket Launcher", - ['weapon_rayminigun'] = "Widowmaker", + ["weapon_compactlauncher"] = "Compact Launcher", + ["weapon_firework"] = "Firework Launcher", + ["weapon_grenadelauncher"] = "Grenade Launcher", + ["weapon_hominglauncher"] = "Homing Launcher", + ["weapon_minigun"] = "Minigun", + ["weapon_railgun"] = "Railgun", + ["weapon_rpg"] = "Rocket Launcher", + ["weapon_rayminigun"] = "Widowmaker", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = "Metal Detector", - ['weapon_precisionrifle'] = "Precision Rifle", - ['weapon_tactilerifle'] = "Service Carbine", + ["weapon_metaldetector"] = "Metal Detector", + ["weapon_precisionrifle"] = "Precision Rifle", + ["weapon_tactilerifle"] = "Service Carbine", -- Thrown - ['weapon_ball'] = "Baseball", - ['weapon_bzgas'] = "BZ Gas", - ['weapon_flare'] = "Flare", - ['weapon_grenade'] = "Grenade", - ['weapon_petrolcan'] = "Jerrycan", - ['weapon_hazardcan'] = "Hazardous Jerrycan", - ['weapon_molotov'] = "Molotov Cocktail", - ['weapon_proxmine'] = "Proximity Mine", - ['weapon_pipebomb'] = "Pipe Bomb", - ['weapon_snowball'] = "Snowball", - ['weapon_stickybomb'] = "Sticky Bomb", - ['weapon_smokegrenade'] = "Tear Gas", + ["weapon_ball"] = "Baseball", + ["weapon_bzgas"] = "BZ Gas", + ["weapon_flare"] = "Flare", + ["weapon_grenade"] = "Grenade", + ["weapon_petrolcan"] = "Jerrycan", + ["weapon_hazardcan"] = "Hazardous Jerrycan", + ["weapon_molotov"] = "Molotov Cocktail", + ["weapon_proxmine"] = "Proximity Mine", + ["weapon_pipebomb"] = "Pipe Bomb", + ["weapon_snowball"] = "Snowball", + ["weapon_stickybomb"] = "Sticky Bomb", + ["weapon_smokegrenade"] = "Tear Gas", -- Special - ['weapon_fireextinguisher'] = "Fire Extinguisher", - ['weapon_digiscanner'] = "Digital Scanner", - ['weapon_garbagebag'] = "Garbage Bag", - ['weapon_handcuffs'] = "Handcuffs", - ['gadget_nightvision'] = "Night Vision", - ['gadget_parachute'] = "parachute", + ["weapon_fireextinguisher"] = "Fire Extinguisher", + ["weapon_digiscanner"] = "Digital Scanner", + ["weapon_garbagebag"] = "Garbage Bag", + ["weapon_handcuffs"] = "Handcuffs", + ["gadget_nightvision"] = "Night Vision", + ["gadget_parachute"] = "parachute", -- Weapon Components - ['component_knuckle_base'] = "base Model", - ['component_knuckle_pimp'] = "the Pimp", - ['component_knuckle_ballas'] = "the Ballas", - ['component_knuckle_dollar'] = "the Hustler", - ['component_knuckle_diamond'] = "the Rock", - ['component_knuckle_hate'] = "the Hater", - ['component_knuckle_love'] = "the Lover", - ['component_knuckle_player'] = "the Player", - ['component_knuckle_king'] = "the King", - ['component_knuckle_vagos'] = "the Vagos", + ["component_knuckle_base"] = "base Model", + ["component_knuckle_pimp"] = "the Pimp", + ["component_knuckle_ballas"] = "the Ballas", + ["component_knuckle_dollar"] = "the Hustler", + ["component_knuckle_diamond"] = "the Rock", + ["component_knuckle_hate"] = "the Hater", + ["component_knuckle_love"] = "the Lover", + ["component_knuckle_player"] = "the Player", + ["component_knuckle_king"] = "the King", + ["component_knuckle_vagos"] = "the Vagos", - ['component_luxary_finish'] = "luxary Weapon Finish", + ["component_luxary_finish"] = "luxary Weapon Finish", - ['component_handle_default'] = "default Handle", - ['component_handle_vip'] = "vIP Handle", - ['component_handle_bodyguard'] = "bodyguard Handle", + ["component_handle_default"] = "default Handle", + ["component_handle_vip"] = "vIP Handle", + ["component_handle_bodyguard"] = "bodyguard Handle", - ['component_vip_finish'] = "vIP Finish", - ['component_bodyguard_finish'] = "bodyguard Finish", + ["component_vip_finish"] = "vIP Finish", + ["component_bodyguard_finish"] = "bodyguard Finish", - ['component_camo_finish'] = "digital Camo", - ['component_camo_finish2'] = "brushstroke Camo", - ['component_camo_finish3'] = "woodland Camo", - ['component_camo_finish4'] = "skull Camo", - ['component_camo_finish5'] = "sessanta Nove Camo", - ['component_camo_finish6'] = "perseus Camo", - ['component_camo_finish7'] = "leopard Camo", - ['component_camo_finish8'] = "zebra Camo", - ['component_camo_finish9'] = "geometric Camo", - ['component_camo_finish10'] = "boom Camo", - ['component_camo_finish11'] = "patriotic Camo", + ["component_camo_finish"] = "digital Camo", + ["component_camo_finish2"] = "brushstroke Camo", + ["component_camo_finish3"] = "woodland Camo", + ["component_camo_finish4"] = "skull Camo", + ["component_camo_finish5"] = "sessanta Nove Camo", + ["component_camo_finish6"] = "perseus Camo", + ["component_camo_finish7"] = "leopard Camo", + ["component_camo_finish8"] = "zebra Camo", + ["component_camo_finish9"] = "geometric Camo", + ["component_camo_finish10"] = "boom Camo", + ["component_camo_finish11"] = "patriotic Camo", - ['component_camo_slide_finish'] = "digital Slide Camo", - ['component_camo_slide_finish2'] = "brushstroke Slide Camo", - ['component_camo_slide_finish3'] = "woodland Slide Camo", - ['component_camo_slide_finish4'] = "skull Slide Camo", - ['component_camo_slide_finish5'] = "sessanta Nove Slide Camo", - ['component_camo_slide_finish6'] = "perseus Slide Camo", - ['component_camo_slide_finish7'] = "leopard Slide Camo", - ['component_camo_slide_finish8'] = "zebra Slide Camo", - ['component_camo_slide_finish9'] = "geometric Slide Camo", - ['component_camo_slide_finish10'] = "boom Slide Camo", - ['component_camo_slide_finish11'] = "patriotic Slide Camo", + ["component_camo_slide_finish"] = "digital Slide Camo", + ["component_camo_slide_finish2"] = "brushstroke Slide Camo", + ["component_camo_slide_finish3"] = "woodland Slide Camo", + ["component_camo_slide_finish4"] = "skull Slide Camo", + ["component_camo_slide_finish5"] = "sessanta Nove Slide Camo", + ["component_camo_slide_finish6"] = "perseus Slide Camo", + ["component_camo_slide_finish7"] = "leopard Slide Camo", + ["component_camo_slide_finish8"] = "zebra Slide Camo", + ["component_camo_slide_finish9"] = "geometric Slide Camo", + ["component_camo_slide_finish10"] = "boom Slide Camo", + ["component_camo_slide_finish11"] = "patriotic Slide Camo", - ['component_clip_default'] = "default Magazine", - ['component_clip_extended'] = "extended Magazine", - ['component_clip_drum'] = "drum Magazine", - ['component_clip_box'] = "box Magazine", + ["component_clip_default"] = "default Magazine", + ["component_clip_extended"] = "extended Magazine", + ["component_clip_drum"] = "drum Magazine", + ["component_clip_box"] = "box Magazine", - ['component_scope_holo'] = "holographic Scope", - ['component_scope_small'] = "small Scope", - ['component_scope_medium'] = "medium Scope", - ['component_scope_large'] = "large Scope", - ['component_scope'] = "mounted Scope", - ['component_scope_advanced'] = "advanced Scope", - ['component_ironsights'] = "ironsights", + ["component_scope_holo"] = "holographic Scope", + ["component_scope_small"] = "small Scope", + ["component_scope_medium"] = "medium Scope", + ["component_scope_large"] = "large Scope", + ["component_scope"] = "mounted Scope", + ["component_scope_advanced"] = "advanced Scope", + ["component_ironsights"] = "ironsights", - ['component_suppressor'] = "suppressor", - ['component_compensator'] = "compensator", + ["component_suppressor"] = "suppressor", + ["component_compensator"] = "compensator", - ['component_muzzle_flat'] = "flat Muzzle Brake", - ['component_muzzle_tactical'] = "tactical Muzzle Brake", - ['component_muzzle_fat'] = "fat-End Muzzle Brake", - ['component_muzzle_precision'] = "precision Muzzle Brake", - ['component_muzzle_heavy'] = "heavy Duty Muzzle Brake", - ['component_muzzle_slanted'] = "slanted Muzzle Brake", - ['component_muzzle_split'] = "split-End Muzzle Brake", - ['component_muzzle_squared'] = "squared Muzzle Brake", + ["component_muzzle_flat"] = "flat Muzzle Brake", + ["component_muzzle_tactical"] = "tactical Muzzle Brake", + ["component_muzzle_fat"] = "fat-End Muzzle Brake", + ["component_muzzle_precision"] = "precision Muzzle Brake", + ["component_muzzle_heavy"] = "heavy Duty Muzzle Brake", + ["component_muzzle_slanted"] = "slanted Muzzle Brake", + ["component_muzzle_split"] = "split-End Muzzle Brake", + ["component_muzzle_squared"] = "squared Muzzle Brake", - ['component_flashlight'] = "flashlight", - ['component_grip'] = "grip", + ["component_flashlight"] = "flashlight", + ["component_grip"] = "grip", - ['component_barrel_default'] = "default Barrel", - ['component_barrel_heavy'] = "heavy Barrel", + ["component_barrel_default"] = "default Barrel", + ["component_barrel_heavy"] = "heavy Barrel", - ['component_ammo_tracer'] = "tracer Ammo", - ['component_ammo_incendiary'] = "incendiary Ammo", - ['component_ammo_hollowpoint'] = "hollowpoint Ammo", - ['component_ammo_fmj'] = "fMJ Ammo", - ['component_ammo_armor'] = "armor Piercing Ammo", - ['component_ammo_explosive'] = "armor Piercing Incendiary Ammo", + ["component_ammo_tracer"] = "tracer Ammo", + ["component_ammo_incendiary"] = "incendiary Ammo", + ["component_ammo_hollowpoint"] = "hollowpoint Ammo", + ["component_ammo_fmj"] = "fMJ Ammo", + ["component_ammo_armor"] = "armor Piercing Ammo", + ["component_ammo_explosive"] = "armor Piercing Incendiary Ammo", - ['component_shells_default'] = "default Shells", - ['component_shells_incendiary'] = "dragons Breath Shells", - ['component_shells_armor'] = "steel Buckshot Shells", - ['component_shells_hollowpoint'] = "flechette Shells", - ['component_shells_explosive'] = "explosive Slug Shells", + ["component_shells_default"] = "default Shells", + ["component_shells_incendiary"] = "dragons Breath Shells", + ["component_shells_armor"] = "steel Buckshot Shells", + ["component_shells_hollowpoint"] = "flechette Shells", + ["component_shells_explosive"] = "explosive Slug Shells", -- Weapon Ammo - ['ammo_rounds'] = "round(s)", - ['ammo_shells'] = "shell(s)", - ['ammo_charge'] = "charge", - ['ammo_petrol'] = "gallons of fuel", - ['ammo_firework'] = "firework(s)", - ['ammo_rockets'] = "rocket(s)", - ['ammo_grenadelauncher'] = "grenade(s)", - ['ammo_grenade'] = "grenade(s)", - ['ammo_stickybomb'] = "bomb(s)", - ['ammo_pipebomb'] = "bomb(s)", - ['ammo_smokebomb'] = "bomb(s)", - ['ammo_molotov'] = "cocktail(s)", - ['ammo_proxmine'] = "mine(s)", - ['ammo_bzgas'] = "can(s)", - ['ammo_ball'] = "ball(s)", - ['ammo_snowball'] = "snowball(s)", - ['ammo_flare'] = "flare(s)", - ['ammo_flaregun'] = "flare(s)", + ["ammo_rounds"] = "round(s)", + ["ammo_shells"] = "shell(s)", + ["ammo_charge"] = "charge", + ["ammo_petrol"] = "gallons of fuel", + ["ammo_firework"] = "firework(s)", + ["ammo_rockets"] = "rocket(s)", + ["ammo_grenadelauncher"] = "grenade(s)", + ["ammo_grenade"] = "grenade(s)", + ["ammo_stickybomb"] = "bomb(s)", + ["ammo_pipebomb"] = "bomb(s)", + ["ammo_smokebomb"] = "bomb(s)", + ["ammo_molotov"] = "cocktail(s)", + ["ammo_proxmine"] = "mine(s)", + ["ammo_bzgas"] = "can(s)", + ["ammo_ball"] = "ball(s)", + ["ammo_snowball"] = "snowball(s)", + ["ammo_flare"] = "flare(s)", + ["ammo_flaregun"] = "flare(s)", -- Weapon Tints - ['tint_default'] = "default skin", - ['tint_green'] = "green skin", - ['tint_gold'] = "gold skin", - ['tint_pink'] = "pink skin", - ['tint_army'] = "army skin", - ['tint_lspd'] = "blue skin", - ['tint_orange'] = "orange skin", - ['tint_platinum'] = "platinum skin", + ["tint_default"] = "default skin", + ["tint_green"] = "green skin", + ["tint_gold"] = "gold skin", + ["tint_pink"] = "pink skin", + ["tint_army"] = "army skin", + ["tint_lspd"] = "blue skin", + ["tint_orange"] = "orange skin", + ["tint_platinum"] = "platinum skin", } diff --git a/[core]/es_extended/locales/zh-cn.lua b/[core]/es_extended/locales/zh-cn.lua index a8e0fb9c..388e5d2c 100644 --- a/[core]/es_extended/locales/zh-cn.lua +++ b/[core]/es_extended/locales/zh-cn.lua @@ -1,365 +1,365 @@ -Locales['zh-cn'] = { +Locales["zh-cn"] = { -- Inventory - ['inventory'] = "背包 %s / %s", - ['use'] = "使用", - ['give'] = "给予", - ['remove'] = "赠送", - ['return'] = "返回", - ['give_to'] = "赠给", - ['amount'] = "数量", - ['giveammo'] = "赠送弹药", - ['amountammo'] = "弹药量", - ['noammo'] = "您没有足够的弹药!", - ['gave_item'] = "您将 %sx %s 赠送给 %s", - ['received_item'] = "您收到 %sx %s, 来自于 %s 的赠送", - ['gave_weapon'] = "您把 %s 赠送给 %s", - ['gave_weapon_ammo'] = "您把 ~o~%sx %s %s 赠送给 %s", - ['gave_weapon_withammo'] = "您把 %s 和 ~o~%sx %s 赠送给 %s", - ['gave_weapon_hasalready'] = "%s 已持有 %s", - ['gave_weapon_noweapon'] = "%s 暂无该类型武器", - ['received_weapon'] = "您收到了 %s, 来自于 %s 的赠送", - ['received_weapon_ammo'] = "您收到了 ~o~%sx %s (%s),来自于%s的赠送", - ['received_weapon_withammo'] = "您收到了 %s 和~o~%sx %s,来自于%s的赠送", - ['received_weapon_hasalready'] = "%s 试图给您 %s,但您已持有", - ['received_weapon_noweapon'] = "%s 试图给您 %s 发子弹,但是您沒有该类型武器", - ['gave_account_money'] = "您将 $%s (%s) 赠送给 %s", - ['received_account_money'] = "您收到了 $%s (%s) 来自 %s 的赠送", - ['amount_invalid'] = "无效数量", - ['players_nearby'] = "附近没有玩家", - ['ex_inv_lim'] = "操作失败, 超过 %s 背包物品的上限", - ['imp_invalid_quantity'] = "操作失败,无效数量输入", - ['imp_invalid_amount'] = "操作失败,无效金额输入", - ['threw_standard'] = "您丢弃了 %sx %s", - ['threw_account'] = "您丢弃了 $%s %s", - ['threw_weapon'] = "您丢弃了 %s", - ['threw_weapon_ammo'] = "您丢弃了 %s 和 ~o~%sx %s", - ['threw_weapon_already'] = "您已持有相同武器!", - ['threw_cannot_pickup'] = "背包容量已满, 无法持有更多该物品!", - ['threw_pickup_prompt'] = "键下 [E] 捡起", + ["inventory"] = "背包 %s / %s", + ["use"] = "使用", + ["give"] = "给予", + ["remove"] = "赠送", + ["return"] = "返回", + ["give_to"] = "赠给", + ["amount"] = "数量", + ["giveammo"] = "赠送弹药", + ["amountammo"] = "弹药量", + ["noammo"] = "您没有足够的弹药!", + ["gave_item"] = "您将 %sx %s 赠送给 %s", + ["received_item"] = "您收到 %sx %s, 来自于 %s 的赠送", + ["gave_weapon"] = "您把 %s 赠送给 %s", + ["gave_weapon_ammo"] = "您把 ~o~%sx %s %s 赠送给 %s", + ["gave_weapon_withammo"] = "您把 %s 和 ~o~%sx %s 赠送给 %s", + ["gave_weapon_hasalready"] = "%s 已持有 %s", + ["gave_weapon_noweapon"] = "%s 暂无该类型武器", + ["received_weapon"] = "您收到了 %s, 来自于 %s 的赠送", + ["received_weapon_ammo"] = "您收到了 ~o~%sx %s (%s),来自于%s的赠送", + ["received_weapon_withammo"] = "您收到了 %s 和~o~%sx %s,来自于%s的赠送", + ["received_weapon_hasalready"] = "%s 试图给您 %s,但您已持有", + ["received_weapon_noweapon"] = "%s 试图给您 %s 发子弹,但是您沒有该类型武器", + ["gave_account_money"] = "您将 $%s (%s) 赠送给 %s", + ["received_account_money"] = "您收到了 $%s (%s) 来自 %s 的赠送", + ["amount_invalid"] = "无效数量", + ["players_nearby"] = "附近没有玩家", + ["ex_inv_lim"] = "操作失败, 超过 %s 背包物品的上限", + ["imp_invalid_quantity"] = "操作失败,无效数量输入", + ["imp_invalid_amount"] = "操作失败,无效金额输入", + ["threw_standard"] = "您丢弃了 %sx %s", + ["threw_account"] = "您丢弃了 $%s %s", + ["threw_weapon"] = "您丢弃了 %s", + ["threw_weapon_ammo"] = "您丢弃了 %s 和 ~o~%sx %s", + ["threw_weapon_already"] = "您已持有相同武器!", + ["threw_cannot_pickup"] = "背包容量已满, 无法持有更多该物品!", + ["threw_pickup_prompt"] = "键下 [E] 捡起", -- Key mapping - ['keymap_showinventory'] = "显示背包", + ["keymap_showinventory"] = "显示背包", -- Salary related - ['received_salary'] = "您收到了您的工资: $%s", - ['received_help'] = "您领取到了您的无业性低保: $%s", - ['company_nomoney'] = "您受雇的公司太穷了,无法清算您的工资.", - ['received_paycheck'] = "收到转账", - ['bank'] = "花园银行", - ['account_bank'] = "银行", - ['account_black_money'] = "赃款", - ['account_money'] = "现金", + ["received_salary"] = "您收到了您的工资: $%s", + ["received_help"] = "您领取到了您的无业性低保: $%s", + ["company_nomoney"] = "您受雇的公司太穷了,无法清算您的工资.", + ["received_paycheck"] = "收到转账", + ["bank"] = "花园银行", + ["account_bank"] = "银行", + ["account_black_money"] = "赃款", + ["account_money"] = "现金", - ['act_imp'] = "操作失败", - ['in_vehicle'] = "请离开当前载具", + ["act_imp"] = "操作失败", + ["in_vehicle"] = "请离开当前载具", -- Commands - ['command_bring'] = "传送玩家到您身边", - ['command_car'] = "生成载具", - ['command_car_car'] = "生成载具的模型名称或哈希值", - ['command_cardel'] = "删除附近载具", - ['command_cardel_radius'] = "可选,删除指定半径内的所有载具", - ['command_clear'] = "清除聊天记录", - ['command_clearall'] = "清除所有玩家的聊天记录", - ['command_clearinventory'] = "清除玩家库存", - ['command_clearloadout'] = "清除玩家武器栏", - ['command_freeze'] = "冻结玩家", - ['command_unfreeze'] = "解冻玩家", - ['command_giveaccountmoney'] = "给予任意账户资金", - ['command_giveaccountmoney_account'] = "有效的帐户类型", - ['command_giveaccountmoney_amount'] = "添加的金额数量", - ['command_giveaccountmoney_invalid'] = "无效的帐户类型", - ['command_giveitem'] = "给予玩家一件物品", - ['command_giveitem_item'] = "物品代码", - ['command_giveitem_count'] = "物品数目", - ['command_giveweapon'] = "给予玩家一把武器", - ['command_giveweapon_weapon'] = "武器代码", - ['command_giveweapon_ammo'] = "弹药数目", - ['command_giveweapon_hasalready'] = "该玩家已拥有该武器", - ['command_giveweaponcomponent'] = "给予武器改装件", - ['command_giveweaponcomponent_component'] = "改装件代码", - ['command_giveweaponcomponent_invalid'] = "无效的武器改装件", - ['command_giveweaponcomponent_hasalready'] = "玩家已拥有该武器改装件", - ['command_giveweaponcomponent_missingweapon'] = "该玩家暂无该类型改装件的武器", - ['command_goto'] = "传送至一名玩家身旁", - ['command_kill'] = "击杀一名玩家", - ['command_save'] = "保存玩家数据至数据库", - ['command_saveall'] = "保存所有玩家数据至数据库", - ['command_setaccountmoney'] = "设置玩家帐户内资金", - ['command_setaccountmoney_amount'] = "账户资金金额", - ['command_setcoords'] = "传送至XYZ坐标", - ['command_setcoords_x'] = "X 轴", - ['command_setcoords_y'] = "Y 轴", - ['command_setcoords_z'] = "Z 轴", - ['command_setjob'] = "配置该玩家职业", - ['command_setjob_job'] = "职业代码", - ['command_setjob_grade'] = "职业等级", - ['command_setjob_invalid'] = "职业代码、等级或输入数据无效!", - ['command_setgroup'] = "设置玩家用户组", - ['command_setgroup_group'] = "用户组代码", - ['commanderror_argumentmismatch'] = "参数计数不匹配 (该类型为 %s, 需要传输 %s)", - ['commanderror_argumentmismatch_number'] = "参数 #%s 类型不匹配 (该类型为字符串,需要传递数字类型)", - ['commanderror_invaliditem'] = "无效的物品代码", - ['commanderror_invalidweapon'] = "无效的武器代码", - ['commanderror_console'] = "控制台无法执行此命令!", - ['commanderror_invalidcommand'] = "/%s 不是有效的命令!", - ['commanderror_invalidplayerid'] = "无效的玩家服务器ID", - ['commandgeneric_playerid'] = "玩家服务器ID", - ['command_giveammo_noweapon_found'] = "%s 为无效的武器代码!", - ['command_giveammo_weapon'] = "武器代码", - ['command_giveammo_ammo'] = "弹药数量", - ['tpm_nowaypoint'] = "尚未配置导航点!", - ['tpm_success'] = "已传送至该导航点", + ["command_bring"] = "传送玩家到您身边", + ["command_car"] = "生成载具", + ["command_car_car"] = "生成载具的模型名称或哈希值", + ["command_cardel"] = "删除附近载具", + ["command_cardel_radius"] = "可选,删除指定半径内的所有载具", + ["command_clear"] = "清除聊天记录", + ["command_clearall"] = "清除所有玩家的聊天记录", + ["command_clearinventory"] = "清除玩家库存", + ["command_clearloadout"] = "清除玩家武器栏", + ["command_freeze"] = "冻结玩家", + ["command_unfreeze"] = "解冻玩家", + ["command_giveaccountmoney"] = "给予任意账户资金", + ["command_giveaccountmoney_account"] = "有效的帐户类型", + ["command_giveaccountmoney_amount"] = "添加的金额数量", + ["command_giveaccountmoney_invalid"] = "无效的帐户类型", + ["command_giveitem"] = "给予玩家一件物品", + ["command_giveitem_item"] = "物品代码", + ["command_giveitem_count"] = "物品数目", + ["command_giveweapon"] = "给予玩家一把武器", + ["command_giveweapon_weapon"] = "武器代码", + ["command_giveweapon_ammo"] = "弹药数目", + ["command_giveweapon_hasalready"] = "该玩家已拥有该武器", + ["command_giveweaponcomponent"] = "给予武器改装件", + ["command_giveweaponcomponent_component"] = "改装件代码", + ["command_giveweaponcomponent_invalid"] = "无效的武器改装件", + ["command_giveweaponcomponent_hasalready"] = "玩家已拥有该武器改装件", + ["command_giveweaponcomponent_missingweapon"] = "该玩家暂无该类型改装件的武器", + ["command_goto"] = "传送至一名玩家身旁", + ["command_kill"] = "击杀一名玩家", + ["command_save"] = "保存玩家数据至数据库", + ["command_saveall"] = "保存所有玩家数据至数据库", + ["command_setaccountmoney"] = "设置玩家帐户内资金", + ["command_setaccountmoney_amount"] = "账户资金金额", + ["command_setcoords"] = "传送至XYZ坐标", + ["command_setcoords_x"] = "X 轴", + ["command_setcoords_y"] = "Y 轴", + ["command_setcoords_z"] = "Z 轴", + ["command_setjob"] = "配置该玩家职业", + ["command_setjob_job"] = "职业代码", + ["command_setjob_grade"] = "职业等级", + ["command_setjob_invalid"] = "职业代码、等级或输入数据无效!", + ["command_setgroup"] = "设置玩家用户组", + ["command_setgroup_group"] = "用户组代码", + ["commanderror_argumentmismatch"] = "参数计数不匹配 (该类型为 %s, 需要传输 %s)", + ["commanderror_argumentmismatch_number"] = "参数 #%s 类型不匹配 (该类型为字符串,需要传递数字类型)", + ["commanderror_invaliditem"] = "无效的物品代码", + ["commanderror_invalidweapon"] = "无效的武器代码", + ["commanderror_console"] = "控制台无法执行此命令!", + ["commanderror_invalidcommand"] = "/%s 不是有效的命令!", + ["commanderror_invalidplayerid"] = "无效的玩家服务器ID", + ["commandgeneric_playerid"] = "玩家服务器ID", + ["command_giveammo_noweapon_found"] = "%s 为无效的武器代码!", + ["command_giveammo_weapon"] = "武器代码", + ["command_giveammo_ammo"] = "弹药数量", + ["tpm_nowaypoint"] = "尚未配置导航点!", + ["tpm_success"] = "已传送至该导航点", - ['noclip_message'] = "飞行模式已被激活 %s", - ['enabled'] = "~g~已开启~s~", - ['disabled'] = "~r~已关闭~s~", + ["noclip_message"] = "飞行模式已被激活 %s", + ["enabled"] = "~g~已开启~s~", + ["disabled"] = "~r~已关闭~s~", -- Locale settings - ['locale_digit_grouping_symbol'] = ",", - ['locale_currency'] = "$%s", + ["locale_digit_grouping_symbol"] = ",", + ["locale_currency"] = "$%s", -- Weapons -- Melee - ['weapon_dagger'] = "古骑兵匕首", - ['weapon_bat'] = "棒球棍", - ['weapon_battleaxe'] = "战斧", - ['weapon_bottle'] = "碎酒瓶", - ['weapon_crowbar'] = "撬棍", - ['weapon_flashlight'] = "手电筒", - ['weapon_golfclub'] = "高尔夫球杆", - ['weapon_hammer'] = "铁锤", - ['weapon_hatchet'] = "手斧", - ['weapon_knife'] = "小刀", - ['weapon_knuckle'] = "手指虎", - ['weapon_machete'] = "开山刀", - ['weapon_nightstick'] = "警棍", - ['weapon_wrench'] = "管钳扳手", - ['weapon_poolcue'] = "台球杆", - ['weapon_stone_hatchet'] = "石斧", - ['weapon_switchblade'] = "弹簧刀", + ["weapon_dagger"] = "古骑兵匕首", + ["weapon_bat"] = "棒球棍", + ["weapon_battleaxe"] = "战斧", + ["weapon_bottle"] = "碎酒瓶", + ["weapon_crowbar"] = "撬棍", + ["weapon_flashlight"] = "手电筒", + ["weapon_golfclub"] = "高尔夫球杆", + ["weapon_hammer"] = "铁锤", + ["weapon_hatchet"] = "手斧", + ["weapon_knife"] = "小刀", + ["weapon_knuckle"] = "手指虎", + ["weapon_machete"] = "开山刀", + ["weapon_nightstick"] = "警棍", + ["weapon_wrench"] = "管钳扳手", + ["weapon_poolcue"] = "台球杆", + ["weapon_stone_hatchet"] = "石斧", + ["weapon_switchblade"] = "弹簧刀", -- Handguns - ['weapon_appistol'] = "穿甲手枪", - ['weapon_ceramicpistol'] = "陶瓷手枪", - ['weapon_combatpistol'] = "战斗手枪", - ['weapon_doubleaction'] = "双动式左轮手枪", - ['weapon_navyrevolver'] = "海军左轮手枪", - ['weapon_flaregun'] = "信号枪", - ['weapon_gadgetpistol'] = "佩里克手枪", - ['weapon_heavypistol'] = "重型手枪", - ['weapon_revolver'] = "重型左轮手枪", - ['weapon_revolver_mk2'] = "重型左轮手枪-MK2", - ['weapon_marksmanpistol'] = "射手手枪", - ['weapon_pistol'] = "手枪", - ['weapon_pistol_mk2'] = "手枪-MK2", - ['weapon_pistol50'] = "0.5-口径手枪", - ['weapon_snspistol'] = "劣质手枪", - ['weapon_snspistol_mk2'] = "劣质手枪-MK2", - ['weapon_stungun'] = "电击枪", - ['weapon_raypistol'] = "原子堡手枪", - ['weapon_vintagepistol'] = "老式手枪", + ["weapon_appistol"] = "穿甲手枪", + ["weapon_ceramicpistol"] = "陶瓷手枪", + ["weapon_combatpistol"] = "战斗手枪", + ["weapon_doubleaction"] = "双动式左轮手枪", + ["weapon_navyrevolver"] = "海军左轮手枪", + ["weapon_flaregun"] = "信号枪", + ["weapon_gadgetpistol"] = "佩里克手枪", + ["weapon_heavypistol"] = "重型手枪", + ["weapon_revolver"] = "重型左轮手枪", + ["weapon_revolver_mk2"] = "重型左轮手枪-MK2", + ["weapon_marksmanpistol"] = "射手手枪", + ["weapon_pistol"] = "手枪", + ["weapon_pistol_mk2"] = "手枪-MK2", + ["weapon_pistol50"] = "0.5-口径手枪", + ["weapon_snspistol"] = "劣质手枪", + ["weapon_snspistol_mk2"] = "劣质手枪-MK2", + ["weapon_stungun"] = "电击枪", + ["weapon_raypistol"] = "原子堡手枪", + ["weapon_vintagepistol"] = "老式手枪", -- Shotguns - ['weapon_assaultshotgun'] = "突击霰弹枪", - ['weapon_autoshotgun'] = "半自动霰弹枪", - ['weapon_bullpupshotgun'] = "无托式霰弹枪", - ['weapon_combatshotgun'] = "战斗霰弹枪", - ['weapon_dbshotgun'] = "双管霰弹枪", - ['weapon_heavyshotgun'] = "重型霰弹枪", - ['weapon_musket'] = "老式火枪", - ['weapon_pumpshotgun'] = "泵动式霰弹枪", - ['weapon_pumpshotgun_mk2'] = "泵动式霰弹枪-MK2", - ['weapon_sawnoffshotgun'] = "短管霰弹枪", + ["weapon_assaultshotgun"] = "突击霰弹枪", + ["weapon_autoshotgun"] = "半自动霰弹枪", + ["weapon_bullpupshotgun"] = "无托式霰弹枪", + ["weapon_combatshotgun"] = "战斗霰弹枪", + ["weapon_dbshotgun"] = "双管霰弹枪", + ["weapon_heavyshotgun"] = "重型霰弹枪", + ["weapon_musket"] = "老式火枪", + ["weapon_pumpshotgun"] = "泵动式霰弹枪", + ["weapon_pumpshotgun_mk2"] = "泵动式霰弹枪-MK2", + ["weapon_sawnoffshotgun"] = "短管霰弹枪", -- SMG & LMG - ['weapon_assaultsmg'] = "突击冲锋枪", - ['weapon_combatmg'] = "战斗机枪", - ['weapon_combatmg_mk2'] = "战斗机枪-MK2", - ['weapon_combatpdw'] = "作战自卫冲锋枪", - ['weapon_gusenberg'] = "古森柏冲锋枪", - ['weapon_machinepistol'] = "冲锋手枪", - ['weapon_mg'] = "机枪", - ['weapon_microsmg'] = "微型冲锋枪", - ['weapon_minismg'] = "迷你冲锋枪", - ['weapon_smg'] = "冲锋枪", - ['weapon_smg_mk2'] = "冲锋枪-MK2", - ['weapon_raycarbine'] = "不洁使者", + ["weapon_assaultsmg"] = "突击冲锋枪", + ["weapon_combatmg"] = "战斗机枪", + ["weapon_combatmg_mk2"] = "战斗机枪-MK2", + ["weapon_combatpdw"] = "作战自卫冲锋枪", + ["weapon_gusenberg"] = "古森柏冲锋枪", + ["weapon_machinepistol"] = "冲锋手枪", + ["weapon_mg"] = "机枪", + ["weapon_microsmg"] = "微型冲锋枪", + ["weapon_minismg"] = "迷你冲锋枪", + ["weapon_smg"] = "冲锋枪", + ["weapon_smg_mk2"] = "冲锋枪-MK2", + ["weapon_raycarbine"] = "不洁使者", -- Rifles - ['weapon_advancedrifle'] = "高级步枪", - ['weapon_assaultrifle'] = "突击步枪", - ['weapon_assaultrifle_mk2'] = "突击步枪-MK2", - ['weapon_bullpuprifle'] = "无托式步枪", - ['weapon_bullpuprifle_mk2'] = "无托式步枪-MK2", - ['weapon_carbinerifle'] = "卡宾步枪", - ['weapon_carbinerifle_mk2'] = "卡宾步枪-MK2", - ['weapon_compactrifle'] = "紧凑型步枪", - ['weapon_militaryrifle'] = "军用步枪", - ['weapon_specialcarbine'] = "特制卡宾步枪", - ['weapon_specialcarbine_mk2'] = "特制卡宾步枪-MK2", + ["weapon_advancedrifle"] = "高级步枪", + ["weapon_assaultrifle"] = "突击步枪", + ["weapon_assaultrifle_mk2"] = "突击步枪-MK2", + ["weapon_bullpuprifle"] = "无托式步枪", + ["weapon_bullpuprifle_mk2"] = "无托式步枪-MK2", + ["weapon_carbinerifle"] = "卡宾步枪", + ["weapon_carbinerifle_mk2"] = "卡宾步枪-MK2", + ["weapon_compactrifle"] = "紧凑型步枪", + ["weapon_militaryrifle"] = "军用步枪", + ["weapon_specialcarbine"] = "特制卡宾步枪", + ["weapon_specialcarbine_mk2"] = "特制卡宾步枪-MK2", -- Sniper - ['weapon_heavysniper'] = "重型狙击步枪", - ['weapon_heavysniper_mk2'] = "重型狙击步枪-MK2", - ['weapon_marksmanrifle'] = "射手步枪", - ['weapon_marksmanrifle_mk2'] = "射手步枪-MK2", - ['weapon_sniperrifle'] = "狙击步枪", + ["weapon_heavysniper"] = "重型狙击步枪", + ["weapon_heavysniper_mk2"] = "重型狙击步枪-MK2", + ["weapon_marksmanrifle"] = "射手步枪", + ["weapon_marksmanrifle_mk2"] = "射手步枪-MK2", + ["weapon_sniperrifle"] = "狙击步枪", -- Heavy / Launchers - ['weapon_compactlauncher'] = "紧凑型榴弹发射器", - ['weapon_firework'] = "烟花发射器", - ['weapon_grenadelauncher'] = "榴弹发射器", - ['weapon_hominglauncher'] = "制导火箭发射器", - ['weapon_minigun'] = "火神机枪", - ['weapon_railgun'] = "电磁轨道炮", - ['weapon_rpg'] = "火箭炮", - ['weapon_rayminigun'] = "寡妇制造者", + ["weapon_compactlauncher"] = "紧凑型榴弹发射器", + ["weapon_firework"] = "烟花发射器", + ["weapon_grenadelauncher"] = "榴弹发射器", + ["weapon_hominglauncher"] = "制导火箭发射器", + ["weapon_minigun"] = "火神机枪", + ["weapon_railgun"] = "电磁轨道炮", + ["weapon_rpg"] = "火箭炮", + ["weapon_rayminigun"] = "寡妇制造者", -- Criminal Enterprises DLC - ['weapon_metaldetector'] = "金属探测器", - ['weapon_precisionrifle'] = "精确步枪", - ['weapon_tactilerifle'] = "制式卡宾步枪", + ["weapon_metaldetector"] = "金属探测器", + ["weapon_precisionrifle"] = "精确步枪", + ["weapon_tactilerifle"] = "制式卡宾步枪", -- Thrown - ['weapon_ball'] = "棒球", - ['weapon_bzgas'] = "毒气弹", - ['weapon_flare'] = "信号棒", - ['weapon_grenade'] = "手榴弹", - ['weapon_petrolcan'] = "汽油桶", - ['weapon_hazardcan'] = "有害汽油桶", - ['weapon_molotov'] = "汽油弹", - ['weapon_proxmine'] = "感应式地雷", - ['weapon_pipebomb'] = "土製炸彈", - ['weapon_snowball'] = "雪球", - ['weapon_stickybomb'] = "黏弹", - ['weapon_smokegrenade'] = "烟雾弹", + ["weapon_ball"] = "棒球", + ["weapon_bzgas"] = "毒气弹", + ["weapon_flare"] = "信号棒", + ["weapon_grenade"] = "手榴弹", + ["weapon_petrolcan"] = "汽油桶", + ["weapon_hazardcan"] = "有害汽油桶", + ["weapon_molotov"] = "汽油弹", + ["weapon_proxmine"] = "感应式地雷", + ["weapon_pipebomb"] = "土製炸彈", + ["weapon_snowball"] = "雪球", + ["weapon_stickybomb"] = "黏弹", + ["weapon_smokegrenade"] = "烟雾弹", -- Special - ['weapon_fireextinguisher'] = "灭火器", - ['weapon_digiscanner'] = "数位扫描仪", - ['weapon_garbagebag'] = "垃圾袋", - ['weapon_handcuffs'] = "手铐", - ['gadget_nightvision'] = "夜视仪", - ['gadget_parachute'] = "降落伞", + ["weapon_fireextinguisher"] = "灭火器", + ["weapon_digiscanner"] = "数位扫描仪", + ["weapon_garbagebag"] = "垃圾袋", + ["weapon_handcuffs"] = "手铐", + ["gadget_nightvision"] = "夜视仪", + ["gadget_parachute"] = "降落伞", -- Weapon Components - ['component_knuckle_base'] = "基本样式", - ['component_knuckle_pimp'] = "皮条客", - ['component_knuckle_ballas'] = "巴拉斯帮", - ['component_knuckle_dollar'] = "江湖骗子", - ['component_knuckle_diamond'] = "摇滚朋克", - ['component_knuckle_hate'] = "怨气冤家", - ['component_knuckle_love'] = "甜蜜情人", - ['component_knuckle_player'] = "花花公子", - ['component_knuckle_king'] = "霸者之风", - ['component_knuckle_vagos'] = "维戈斯帮", + ["component_knuckle_base"] = "基本样式", + ["component_knuckle_pimp"] = "皮条客", + ["component_knuckle_ballas"] = "巴拉斯帮", + ["component_knuckle_dollar"] = "江湖骗子", + ["component_knuckle_diamond"] = "摇滚朋克", + ["component_knuckle_hate"] = "怨气冤家", + ["component_knuckle_love"] = "甜蜜情人", + ["component_knuckle_player"] = "花花公子", + ["component_knuckle_king"] = "霸者之风", + ["component_knuckle_vagos"] = "维戈斯帮", - ['component_luxary_finish'] = "奢华涂饰", + ["component_luxary_finish"] = "奢华涂饰", - ['component_handle_default'] = "默认刀柄", - ['component_handle_vip'] = "贵宾样式", - ['component_handle_bodyguard'] = "保镖款式", + ["component_handle_default"] = "默认刀柄", + ["component_handle_vip"] = "贵宾样式", + ["component_handle_bodyguard"] = "保镖款式", - ['component_vip_finish'] = "贵宾样式", - ['component_bodyguard_finish'] = "保镖款式", + ["component_vip_finish"] = "贵宾样式", + ["component_bodyguard_finish"] = "保镖款式", - ['component_camo_finish'] = "数码迷彩", - ['component_camo_finish2'] = "笔刷迷彩", - ['component_camo_finish3'] = "林地迷彩", - ['component_camo_finish4'] = "骷髅头", - ['component_camo_finish5'] = "希斯提·耐", - ['component_camo_finish6'] = "神之子", - ['component_camo_finish7'] = "猎豹纹理", - ['component_camo_finish8'] = "斑马纹理", - ['component_camo_finish9'] = "几何图形", - ['component_camo_finish10'] = "BOOM!", - ['component_camo_finish11'] = "爱国者", + ["component_camo_finish"] = "数码迷彩", + ["component_camo_finish2"] = "笔刷迷彩", + ["component_camo_finish3"] = "林地迷彩", + ["component_camo_finish4"] = "骷髅头", + ["component_camo_finish5"] = "希斯提·耐", + ["component_camo_finish6"] = "神之子", + ["component_camo_finish7"] = "猎豹纹理", + ["component_camo_finish8"] = "斑马纹理", + ["component_camo_finish9"] = "几何图形", + ["component_camo_finish10"] = "BOOM!", + ["component_camo_finish11"] = "爱国者", - ['component_camo_slide_finish'] = "数码迷涂装", - ['component_camo_slide_finish2'] = "笔刷迷彩涂装", - ['component_camo_slide_finish3'] = "林地迷彩涂装", - ['component_camo_slide_finish4'] = "骷髅头涂装", - ['component_camo_slide_finish5'] = "希斯提·耐涂装", - ['component_camo_slide_finish6'] = "神之子涂装", - ['component_camo_slide_finish7'] = "猎豹纹理涂装", - ['component_camo_slide_finish8'] = "斑马纹理涂装", - ['component_camo_slide_finish9'] = "几何图形涂装", - ['component_camo_slide_finish10'] = "BOOM涂装", - ['component_camo_slide_finish11'] = "爱国者涂装", + ["component_camo_slide_finish"] = "数码迷涂装", + ["component_camo_slide_finish2"] = "笔刷迷彩涂装", + ["component_camo_slide_finish3"] = "林地迷彩涂装", + ["component_camo_slide_finish4"] = "骷髅头涂装", + ["component_camo_slide_finish5"] = "希斯提·耐涂装", + ["component_camo_slide_finish6"] = "神之子涂装", + ["component_camo_slide_finish7"] = "猎豹纹理涂装", + ["component_camo_slide_finish8"] = "斑马纹理涂装", + ["component_camo_slide_finish9"] = "几何图形涂装", + ["component_camo_slide_finish10"] = "BOOM涂装", + ["component_camo_slide_finish11"] = "爱国者涂装", - ['component_clip_default'] = "默认弹夹", - ['component_clip_extended'] = "扩容弹夹", - ['component_clip_drum'] = "鼓式弹夹", - ['component_clip_box'] = "盒型弹匣", + ["component_clip_default"] = "默认弹夹", + ["component_clip_extended"] = "扩容弹夹", + ["component_clip_drum"] = "鼓式弹夹", + ["component_clip_box"] = "盒型弹匣", - ['component_scope_holo'] = "全息式瞄准镜", - ['component_scope_small'] = "小型瞄准镜", - ['component_scope_medium'] = "中型瞄准镜", - ['component_scope_large'] = "大型瞄准镜", - ['component_scope'] = "瞄准镜", - ['component_scope_advanced'] = "高级瞄准镜", - ['component_ironsights'] = "铁式瞄具", + ["component_scope_holo"] = "全息式瞄准镜", + ["component_scope_small"] = "小型瞄准镜", + ["component_scope_medium"] = "中型瞄准镜", + ["component_scope_large"] = "大型瞄准镜", + ["component_scope"] = "瞄准镜", + ["component_scope_advanced"] = "高级瞄准镜", + ["component_ironsights"] = "铁式瞄具", - ['component_suppressor'] = "消音器", - ['component_compensator'] = "补偿器", + ["component_suppressor"] = "消音器", + ["component_compensator"] = "补偿器", - ['component_muzzle_flat'] = "扁型枪口制动器", - ['component_muzzle_tactical'] = "战术枪口制动器", - ['component_muzzle_fat'] = "宽尾型枪口制动器", - ['component_muzzle_precision'] = "精準枪口制动器", - ['component_muzzle_heavy'] = "耐用型枪口制动器", - ['component_muzzle_slanted'] = "倾斜型枪口制动器", - ['component_muzzle_split'] = "分岔型枪口制动器", - ['component_muzzle_squared'] = "方形枪口制动器", + ["component_muzzle_flat"] = "扁型枪口制动器", + ["component_muzzle_tactical"] = "战术枪口制动器", + ["component_muzzle_fat"] = "宽尾型枪口制动器", + ["component_muzzle_precision"] = "精準枪口制动器", + ["component_muzzle_heavy"] = "耐用型枪口制动器", + ["component_muzzle_slanted"] = "倾斜型枪口制动器", + ["component_muzzle_split"] = "分岔型枪口制动器", + ["component_muzzle_squared"] = "方形枪口制动器", - ['component_flashlight'] = "手电筒", - ['component_grip'] = "握把", + ["component_flashlight"] = "手电筒", + ["component_grip"] = "握把", - ['component_barrel_default'] = "默认枪管", - ['component_barrel_heavy'] = "重型枪管", + ["component_barrel_default"] = "默认枪管", + ["component_barrel_heavy"] = "重型枪管", - ['component_ammo_tracer'] = "曳光弹", - ['component_ammo_incendiary'] = "燃烧弹", - ['component_ammo_hollowpoint'] = "被甲空尖弹", - ['component_ammo_fmj'] = "全金属包裹弹", - ['component_ammo_armor'] = "穿甲弹", - ['component_ammo_explosive'] = "爆炸蛋弹", + ["component_ammo_tracer"] = "曳光弹", + ["component_ammo_incendiary"] = "燃烧弹", + ["component_ammo_hollowpoint"] = "被甲空尖弹", + ["component_ammo_fmj"] = "全金属包裹弹", + ["component_ammo_armor"] = "穿甲弹", + ["component_ammo_explosive"] = "爆炸蛋弹", - ['component_shells_default'] = "默认弹药", - ['component_shells_incendiary'] = "燃烧弹", - ['component_shells_armor'] = "钢式猎鹿蛋", - ['component_shells_hollowpoint'] = "被甲空尖弹", - ['component_shells_explosive'] = "爆裂弹", + ["component_shells_default"] = "默认弹药", + ["component_shells_incendiary"] = "燃烧弹", + ["component_shells_armor"] = "钢式猎鹿蛋", + ["component_shells_hollowpoint"] = "被甲空尖弹", + ["component_shells_explosive"] = "爆裂弹", -- Weapon Ammo - ['ammo_rounds'] = "发(子弹)", - ['ammo_shells'] = "发(子弹)", - ['ammo_charge'] = "喷", - ['ammo_petrol'] = "加仑(燃料)", - ['ammo_firework'] = "发(烟花弹)", - ['ammo_rockets'] = "枚(火箭弹)", - ['ammo_grenadelauncher'] = "发(榴弹)", - ['ammo_grenade'] = "枚(手榴弹)", - ['ammo_stickybomb'] = "枚(炸弹)", - ['ammo_pipebomb'] = "枚(炸弹)", - ['ammo_smokebomb'] = "枚(炸彈)", - ['ammo_molotov'] = "瓶(燃烧瓶)", - ['ammo_proxmine'] = "个(地雷)", - ['ammo_bzgas'] = "罐", - ['ammo_ball'] = "个(棒球)", - ['ammo_snowball'] = "个(雪球)", - ['ammo_flare'] = "根(信号棒)", - ['ammo_flaregun'] = "发(信号弹)", + ["ammo_rounds"] = "发(子弹)", + ["ammo_shells"] = "发(子弹)", + ["ammo_charge"] = "喷", + ["ammo_petrol"] = "加仑(燃料)", + ["ammo_firework"] = "发(烟花弹)", + ["ammo_rockets"] = "枚(火箭弹)", + ["ammo_grenadelauncher"] = "发(榴弹)", + ["ammo_grenade"] = "枚(手榴弹)", + ["ammo_stickybomb"] = "枚(炸弹)", + ["ammo_pipebomb"] = "枚(炸弹)", + ["ammo_smokebomb"] = "枚(炸彈)", + ["ammo_molotov"] = "瓶(燃烧瓶)", + ["ammo_proxmine"] = "个(地雷)", + ["ammo_bzgas"] = "罐", + ["ammo_ball"] = "个(棒球)", + ["ammo_snowball"] = "个(雪球)", + ["ammo_flare"] = "根(信号棒)", + ["ammo_flaregun"] = "发(信号弹)", -- Weapon Tints - ['tint_default'] = "默认色调", - ['tint_green'] = "绿色调", - ['tint_gold'] = "金色调", - ['tint_pink'] = "粉色调", - ['tint_army'] = "军用色调", - ['tint_lspd'] = "洛圣都警局色调", - ['tint_orange'] = "橙色调", - ['tint_platinum'] = "铂金色调", + ["tint_default"] = "默认色调", + ["tint_green"] = "绿色调", + ["tint_gold"] = "金色调", + ["tint_pink"] = "粉色调", + ["tint_army"] = "军用色调", + ["tint_lspd"] = "洛圣都警局色调", + ["tint_orange"] = "橙色调", + ["tint_platinum"] = "铂金色调", } diff --git a/[core]/esx_identity/locales/cs.lua b/[core]/esx_identity/locales/cs.lua index fe62e78a..88858b5e 100644 --- a/[core]/esx_identity/locales/cs.lua +++ b/[core]/esx_identity/locales/cs.lua @@ -1,11 +1,11 @@ -Locales['cs'] = { - ['show_registration'] = "zobrazit registracni menu", - ['show_active_character'] = "zobrazit aktivni postavy", - ['delete_character'] = "smazat svou stavajici postavu a vytvorit novou", - ['deleted_character'] = "vase postava byla smazana.", - ['not_registered'] = "nemas zaregistrovanou postavu.", - ['active_character'] = "aktivni postava: %s %s", - ['already_registered'] = "jiz mas zaregistrovanou postavu.", - ['failed_identity'] = "nastaveni vasi postavy selhalo, zkus to prosim znovu pozdeji nebo kontaktuj majitele serveru!", - ['create_a_character'] = "aby jsi mohl/a hrat, tak se musis registrovat.", +Locales["cs"] = { + ["show_registration"] = "zobrazit registracni menu", + ["show_active_character"] = "zobrazit aktivni postavy", + ["delete_character"] = "smazat svou stavajici postavu a vytvorit novou", + ["deleted_character"] = "vase postava byla smazana.", + ["not_registered"] = "nemas zaregistrovanou postavu.", + ["active_character"] = "aktivni postava: %s %s", + ["already_registered"] = "jiz mas zaregistrovanou postavu.", + ["failed_identity"] = "nastaveni vasi postavy selhalo, zkus to prosim znovu pozdeji nebo kontaktuj majitele serveru!", + ["create_a_character"] = "aby jsi mohl/a hrat, tak se musis registrovat.", } diff --git a/[core]/esx_identity/locales/da.lua b/[core]/esx_identity/locales/da.lua index 48680926..68a4f5c4 100644 --- a/[core]/esx_identity/locales/da.lua +++ b/[core]/esx_identity/locales/da.lua @@ -1,39 +1,39 @@ -Locales['da'] = { - ['show_active_character'] = "Vis aktiv karakter", - ['active_character'] = "Aktiv karakter: %s", - ['error_active_character'] = "Der opstod en fejl under indhentning af dine data.", - ['delete_character'] = "Slet din nuværende karakter.", - ['deleted_character'] = "Karakter slettet", - ['error_delete_character'] = "Der opstod et problem med at slette din karakter.", - ['thank_you_for_registering'] = "Registreringen lykkedes. God fornøjelse!", - ['debug_xPlayer_get_first_name'] = "Returnerer dit fornavn", - ['debug_xPlayer_get_last_name'] = "Returnerer dit efternavn", - ['debug_xPlayer_get_full_name'] = "Returnerer dit fulde navn", - ['debug_xPlayer_get_sex'] = "Returnerer dit køn", - ['debug_xPlayer_get_dob'] = "Returnerer din fødselsdato", - ['debug_xPlayer_get_height'] = "Giver din højde tilbage", - ['error_debug_xPlayer_get_first_name'] = "Der opstod et problem med at få dit fornavn.", - ['error_debug_xPlayer_get_last_name'] = "Der opstod et problem med at få dit efternavn.", - ['error_debug_xPlayer_get_full_name'] = "Der opstod et problem under indhentning af dit fulde navn.", - ['error_debug_xPlayer_get_sex'] = "Der var et problem med at få dit sex.", - ['error_debug_xPlayer_get_dob'] = "Der var et problem med at få din fødselsdato.", - ['error_debug_xPlayer_get_height'] = "Der var et problem med at få din højde.", - ['return_debug_xPlayer_get_first_name'] = "Fornavn: %s", - ['return_debug_xPlayer_get_last_name'] = "Efternavn: %s", - ['return_debug_xPlayer_get_full_name'] = "Fulde Navn: %s", - ['return_debug_xPlayer_get_sex'] = "Køn: %s", - ['return_debug_xPlayer_get_dob'] = "Fødselsdato: %s", - ['return_debug_xPlayer_get_height'] = "Højde: %s Tommer", - ['data_incorrect'] = "Ugyldige data. Prøv venligst igen.", - ['invalid_format'] = "Ugyldigt dataformat. Prøv venligst igen.", - ['no_identifier'] = "[ESX Identitet]\nDer var et problem under indlæsning af din karakter!\nFejlkode: identifikator mangler\n\nDette skyldes, at din identifikator mangler. Venligst vend tilbage senere eller rapporter dette problem til serverejeren.", - ['missing_identity'] = "[ESX Identitet]\nDer var et problem med at indlæse din karakter!\nFejlkode: identitet mangler\n\nDet ser ud til, at din identitet mangler, prøv at oprette forbindelse igen.", - ['deleted_identity'] = "Tegn slettet. Tilmeld dig igen for at oprette en ny karakter.", - ['already_registered'] = "Du har allerede tilmeldt dig.", - ['invalid_firstname_format'] = "Ugyldigt format (fornavn): Prøv venligst igen.", - ['invalid_lastname_format'] = "Ugyldigt format (efternavn): Prøv igen.", - ['invalid_dob_format'] = "Ugyldigt format (DOB): Prøv venligst igen.", - ['invalid_sex_format'] = "Ugyldigt format (køn): Prøv venligst igen.", - ['invalid_height_format'] = "Ugyldigt format (højde): Prøv venligst igen.", +Locales["da"] = { + ["show_active_character"] = "Vis aktiv karakter", + ["active_character"] = "Aktiv karakter: %s", + ["error_active_character"] = "Der opstod en fejl under indhentning af dine data.", + ["delete_character"] = "Slet din nuværende karakter.", + ["deleted_character"] = "Karakter slettet", + ["error_delete_character"] = "Der opstod et problem med at slette din karakter.", + ["thank_you_for_registering"] = "Registreringen lykkedes. God fornøjelse!", + ["debug_xPlayer_get_first_name"] = "Returnerer dit fornavn", + ["debug_xPlayer_get_last_name"] = "Returnerer dit efternavn", + ["debug_xPlayer_get_full_name"] = "Returnerer dit fulde navn", + ["debug_xPlayer_get_sex"] = "Returnerer dit køn", + ["debug_xPlayer_get_dob"] = "Returnerer din fødselsdato", + ["debug_xPlayer_get_height"] = "Giver din højde tilbage", + ["error_debug_xPlayer_get_first_name"] = "Der opstod et problem med at få dit fornavn.", + ["error_debug_xPlayer_get_last_name"] = "Der opstod et problem med at få dit efternavn.", + ["error_debug_xPlayer_get_full_name"] = "Der opstod et problem under indhentning af dit fulde navn.", + ["error_debug_xPlayer_get_sex"] = "Der var et problem med at få dit sex.", + ["error_debug_xPlayer_get_dob"] = "Der var et problem med at få din fødselsdato.", + ["error_debug_xPlayer_get_height"] = "Der var et problem med at få din højde.", + ["return_debug_xPlayer_get_first_name"] = "Fornavn: %s", + ["return_debug_xPlayer_get_last_name"] = "Efternavn: %s", + ["return_debug_xPlayer_get_full_name"] = "Fulde Navn: %s", + ["return_debug_xPlayer_get_sex"] = "Køn: %s", + ["return_debug_xPlayer_get_dob"] = "Fødselsdato: %s", + ["return_debug_xPlayer_get_height"] = "Højde: %s Tommer", + ["data_incorrect"] = "Ugyldige data. Prøv venligst igen.", + ["invalid_format"] = "Ugyldigt dataformat. Prøv venligst igen.", + ["no_identifier"] = "[ESX Identitet]\nDer var et problem under indlæsning af din karakter!\nFejlkode: identifikator mangler\n\nDette skyldes, at din identifikator mangler. Venligst vend tilbage senere eller rapporter dette problem til serverejeren.", + ["missing_identity"] = "[ESX Identitet]\nDer var et problem med at indlæse din karakter!\nFejlkode: identitet mangler\n\nDet ser ud til, at din identitet mangler, prøv at oprette forbindelse igen.", + ["deleted_identity"] = "Tegn slettet. Tilmeld dig igen for at oprette en ny karakter.", + ["already_registered"] = "Du har allerede tilmeldt dig.", + ["invalid_firstname_format"] = "Ugyldigt format (fornavn): Prøv venligst igen.", + ["invalid_lastname_format"] = "Ugyldigt format (efternavn): Prøv igen.", + ["invalid_dob_format"] = "Ugyldigt format (DOB): Prøv venligst igen.", + ["invalid_sex_format"] = "Ugyldigt format (køn): Prøv venligst igen.", + ["invalid_height_format"] = "Ugyldigt format (højde): Prøv venligst igen.", } diff --git a/[core]/esx_identity/locales/en.lua b/[core]/esx_identity/locales/en.lua index c3d17b69..c2f405fa 100644 --- a/[core]/esx_identity/locales/en.lua +++ b/[core]/esx_identity/locales/en.lua @@ -1,38 +1,38 @@ -Locales['en'] = { - ['show_active_character'] = "Show Active Character", - ['active_character'] = "Active Character: %s", - ['error_active_character'] = "There was an error obtaining your data.", - ['delete_character'] = "Delete Your Current Character.", - ['deleted_character'] = "Character Deleted", - ['error_delete_character'] = "There was a problem deleting your character.", - ['thank_you_for_registering'] = "Registration Successful. Enjoy!", - ['debug_xPlayer_get_first_name'] = "Returns Your First Name", - ['debug_xPlayer_get_last_name'] = "Returns Your Last Name", - ['debug_xPlayer_get_full_name'] = "Returns Your Full Name", - ['debug_xPlayer_get_sex'] = "Returns Your Sex", - ['debug_xPlayer_get_dob'] = "Returns Your DOB", - ['debug_xPlayer_get_height'] = "Returns Your Height", - ['error_debug_xPlayer_get_first_name'] = "There was an issue while obtaining your first name.", - ['error_debug_xPlayer_get_last_name'] = "There was an issue while obtaining your last name.", - ['error_debug_xPlayer_get_full_name'] = "There was an issue while obtaining your full name.", - ['error_debug_xPlayer_get_sex'] = "There was an issue while obtaining your sex.", - ['error_debug_xPlayer_get_dob'] = "There was an issue while obtaining your date of birth.", - ['error_debug_xPlayer_get_height'] = "There was an issue while obtaining your height.", - ['return_debug_xPlayer_get_first_name'] = "First Name: %s", - ['return_debug_xPlayer_get_last_name'] = "Last Name: %s", - ['return_debug_xPlayer_get_full_name'] = "Name: %s", - ['return_debug_xPlayer_get_sex'] = "Sex: %s", - ['return_debug_xPlayer_get_dob'] = "DOB: %s", - ['return_debug_xPlayer_get_height'] = "Height: %s Inches", - ['data_incorrect'] = "Invalid Data, Please try again.", - ['invalid_format'] = "Invalid Data Format, Please try again.", - ['no_identifier'] = "[ESX Identity]\nThere was an issue while loading your character!\nError Code: identifier-missing\n\nThis is caused by your identifier being missing. Please come back later or report this problem to the Server Owner.", - ['missing_identity'] = "[ESX Identity]\nThere was an issue loading your character!\nError Code: identity-missing\n\nIt seems like your identity is missing, try connecting again.", - ['deleted_identity'] = "Character deleted. Please rejoin to create a new character.", - ['already_registered'] = "You have already registered.", - ['invalid_firstname_format'] = "Invalid Format (First Name): Please try again.", - ['invalid_lastname_format'] = "Invalid Format (Last Name): Please try again.", - ['invalid_dob_format'] = "Invalid Format (DOB): Please try again.", - ['invalid_sex_format'] = "Invalid Format (Sex): Please try again.", - ['invalid_height_format'] = "Invalid Format (Height): Please try again.", +Locales["en"] = { + ["show_active_character"] = "Show Active Character", + ["active_character"] = "Active Character: %s", + ["error_active_character"] = "There was an error obtaining your data.", + ["delete_character"] = "Delete Your Current Character.", + ["deleted_character"] = "Character Deleted", + ["error_delete_character"] = "There was a problem deleting your character.", + ["thank_you_for_registering"] = "Registration Successful. Enjoy!", + ["debug_xPlayer_get_first_name"] = "Returns Your First Name", + ["debug_xPlayer_get_last_name"] = "Returns Your Last Name", + ["debug_xPlayer_get_full_name"] = "Returns Your Full Name", + ["debug_xPlayer_get_sex"] = "Returns Your Sex", + ["debug_xPlayer_get_dob"] = "Returns Your DOB", + ["debug_xPlayer_get_height"] = "Returns Your Height", + ["error_debug_xPlayer_get_first_name"] = "There was an issue while obtaining your first name.", + ["error_debug_xPlayer_get_last_name"] = "There was an issue while obtaining your last name.", + ["error_debug_xPlayer_get_full_name"] = "There was an issue while obtaining your full name.", + ["error_debug_xPlayer_get_sex"] = "There was an issue while obtaining your sex.", + ["error_debug_xPlayer_get_dob"] = "There was an issue while obtaining your date of birth.", + ["error_debug_xPlayer_get_height"] = "There was an issue while obtaining your height.", + ["return_debug_xPlayer_get_first_name"] = "First Name: %s", + ["return_debug_xPlayer_get_last_name"] = "Last Name: %s", + ["return_debug_xPlayer_get_full_name"] = "Name: %s", + ["return_debug_xPlayer_get_sex"] = "Sex: %s", + ["return_debug_xPlayer_get_dob"] = "DOB: %s", + ["return_debug_xPlayer_get_height"] = "Height: %s Inches", + ["data_incorrect"] = "Invalid Data, Please try again.", + ["invalid_format"] = "Invalid Data Format, Please try again.", + ["no_identifier"] = "[ESX Identity]\nThere was an issue while loading your character!\nError Code: identifier-missing\n\nThis is caused by your identifier being missing. Please come back later or report this problem to the Server Owner.", + ["missing_identity"] = "[ESX Identity]\nThere was an issue loading your character!\nError Code: identity-missing\n\nIt seems like your identity is missing, try connecting again.", + ["deleted_identity"] = "Character deleted. Please rejoin to create a new character.", + ["already_registered"] = "You have already registered.", + ["invalid_firstname_format"] = "Invalid Format (First Name): Please try again.", + ["invalid_lastname_format"] = "Invalid Format (Last Name): Please try again.", + ["invalid_dob_format"] = "Invalid Format (DOB): Please try again.", + ["invalid_sex_format"] = "Invalid Format (Sex): Please try again.", + ["invalid_height_format"] = "Invalid Format (Height): Please try again.", } diff --git a/[core]/esx_identity/locales/es.lua b/[core]/esx_identity/locales/es.lua index 6e3dd9ee..018ee8a2 100644 --- a/[core]/esx_identity/locales/es.lua +++ b/[core]/esx_identity/locales/es.lua @@ -1,38 +1,38 @@ -Locales['es'] = { -['show_active_character'] = "Mostrar personaje actual", -['active_character'] = "Personaje actual: %s", -['error_active_character'] = "Se produjo un error al recuperar tu nombre. Por favor contacta con un administrador", -['delete_character'] = "Elimina tu personaje y crea uno nuevo", -['deleted_character'] = "Tu personaje ha sido eliminado", -['error_delete_character'] = "Se produjo un error al eliminar tu personaje. Por favor contacta con un administrador", -['thank_you_for_registering'] = "Gracias por registrarte. Bienvenido a la ciudad", -['debug_xPlayer_get_first_name'] = "Devuelve tu nombre", -['debug_xPlayer_get_last_name'] = "Devuelve tu apellido", -['debug_xPlayer_get_full_name'] = "Devuelve tu nombre completo", -['debug_xPlayer_get_sex'] = "Devuelve tu sexo", -['debug_xPlayer_get_dob'] = "Devuelve tu fecha de nacimiento", -['debug_xPlayer_get_height'] = "Devuelve tu altura", -['error_debug_xPlayer_get_first_name'] = "Se produjo un error al recuperar tu nombre", -['error_debug_xPlayer_get_last_name'] = "Se produjo un error al recuperar tu apellido", -['error_debug_xPlayer_get_full_name'] = "Se produjo un error al recuperar tu nombre completo", -['error_debug_xPlayer_get_sex'] = "Se produjo un error al recuperar tu sexo", -['error_debug_xPlayer_get_dob'] = "Se produjo un error al recuperar tu fecha de nacimiento", -['error_debug_xPlayer_get_height'] = "Se produjo un error al recuperar tu altura", -['return_debug_xPlayer_get_first_name'] = "Nombre: %s", -['return_debug_xPlayer_get_last_name'] = "Apellido: %s", -['return_debug_xPlayer_get_full_name'] = "Nombre completo: %s", -['return_debug_xPlayer_get_sex'] = "Sexo: %s", -['return_debug_xPlayer_get_dob'] = "Fecha de nacimiento: %s", -['return_debug_xPlayer_get_height'] = "Altura: %s centímetros", -['data_incorrect'] = "Datos introducidos de forma incorrecta. Inténtalo de nuevo", -['invalid_format'] = "Datos con formato incorrecto. Inténtalo de nuevo", -['no_identifier'] = "¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identifier-missing\n\nSe desconoce la causa de este error, no se pudo encontrar su identificador. Intentalo más tarde o informa de este problema al equipo administrativo del servidor", -['missing_identity'] = "¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identity-missing\n\nParece que falta su identidad, intenta conectarte nuevamente", -['deleted_identity'] = "Tu personaje ha sido borrado. Vuelva a iniciar sesión para crear un nuevo personaje", -['already_registered'] = "Ya estás registrado.", -['invalid_firstname_format'] = "Formato Inválido (Nombre): Inténtalo de nuevo.", -['invalid_lastname_format'] = "Formato Inválido (Apellido): Inténtalo de nuevo.", -['invalid_dob_format'] = "Formato Inválido (Fec. Nac.): Inténtalo de nuevo.", -['invalid_sex_format'] = "Formato Inválido (Sexo): Inténtalo de nuevo.", -['invalid_height_format'] = "Formato Inválido (Altura): Inténtalo de nuevo.", +Locales["es"] = { +["show_active_character"] = "Mostrar personaje actual", +["active_character"] = "Personaje actual: %s", +["error_active_character"] = "Se produjo un error al recuperar tu nombre. Por favor contacta con un administrador", +["delete_character"] = "Elimina tu personaje y crea uno nuevo", +["deleted_character"] = "Tu personaje ha sido eliminado", +["error_delete_character"] = "Se produjo un error al eliminar tu personaje. Por favor contacta con un administrador", +["thank_you_for_registering"] = "Gracias por registrarte. Bienvenido a la ciudad", +["debug_xPlayer_get_first_name"] = "Devuelve tu nombre", +["debug_xPlayer_get_last_name"] = "Devuelve tu apellido", +["debug_xPlayer_get_full_name"] = "Devuelve tu nombre completo", +["debug_xPlayer_get_sex"] = "Devuelve tu sexo", +["debug_xPlayer_get_dob"] = "Devuelve tu fecha de nacimiento", +["debug_xPlayer_get_height"] = "Devuelve tu altura", +["error_debug_xPlayer_get_first_name"] = "Se produjo un error al recuperar tu nombre", +["error_debug_xPlayer_get_last_name"] = "Se produjo un error al recuperar tu apellido", +["error_debug_xPlayer_get_full_name"] = "Se produjo un error al recuperar tu nombre completo", +["error_debug_xPlayer_get_sex"] = "Se produjo un error al recuperar tu sexo", +["error_debug_xPlayer_get_dob"] = "Se produjo un error al recuperar tu fecha de nacimiento", +["error_debug_xPlayer_get_height"] = "Se produjo un error al recuperar tu altura", +["return_debug_xPlayer_get_first_name"] = "Nombre: %s", +["return_debug_xPlayer_get_last_name"] = "Apellido: %s", +["return_debug_xPlayer_get_full_name"] = "Nombre completo: %s", +["return_debug_xPlayer_get_sex"] = "Sexo: %s", +["return_debug_xPlayer_get_dob"] = "Fecha de nacimiento: %s", +["return_debug_xPlayer_get_height"] = "Altura: %s centímetros", +["data_incorrect"] = "Datos introducidos de forma incorrecta. Inténtalo de nuevo", +["invalid_format"] = "Datos con formato incorrecto. Inténtalo de nuevo", +["no_identifier"] = "¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identifier-missing\n\nSe desconoce la causa de este error, no se pudo encontrar su identificador. Intentalo más tarde o informa de este problema al equipo administrativo del servidor", +["missing_identity"] = "¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identity-missing\n\nParece que falta su identidad, intenta conectarte nuevamente", +["deleted_identity"] = "Tu personaje ha sido borrado. Vuelva a iniciar sesión para crear un nuevo personaje", +["already_registered"] = "Ya estás registrado.", +["invalid_firstname_format"] = "Formato Inválido (Nombre): Inténtalo de nuevo.", +["invalid_lastname_format"] = "Formato Inválido (Apellido): Inténtalo de nuevo.", +["invalid_dob_format"] = "Formato Inválido (Fec. Nac.): Inténtalo de nuevo.", +["invalid_sex_format"] = "Formato Inválido (Sexo): Inténtalo de nuevo.", +["invalid_height_format"] = "Formato Inválido (Altura): Inténtalo de nuevo.", } diff --git a/[core]/esx_identity/locales/fi.lua b/[core]/esx_identity/locales/fi.lua index 3738da51..8b70edc3 100644 --- a/[core]/esx_identity/locales/fi.lua +++ b/[core]/esx_identity/locales/fi.lua @@ -1,33 +1,33 @@ -Locales['fi'] = { - ['show_active_character'] = "Näytä nykyinen hahmosi", - ['active_character'] = "Nykyinen hahmosi: %s", - ['error_active_character'] = "Hahmosi hakemisessa ilmeni ongelma. Ota yhteyttä ylläpitoon.", - ['delete_character'] = "Poista hahmosi ja luo uusi.", - ['deleted_character'] = "Hahmosi on poistetu.", - ['error_delete_character'] = "Hahmosi poistossa ilmeni ongelma. Ota yhteyttä ylläpitoon.", - ['thank_you_for_registering'] = "Kiitos registeröitymisestä. Pidä hauskaa!", - ['registration_error'] = "Registeröinnissä ilmeni ongelma. Ota yhteyttä ylläpitoon.", - ['debug_xPlayer_get_first_name'] = "Palauta etunimi", - ['debug_xPlayer_get_last_name'] = "Palauta sukunimi", - ['debug_xPlayer_get_full_name'] = "Palauta kokonimi", - ['debug_xPlayer_get_sex'] = "Palauta sukupuoli", - ['debug_xPlayer_get_dob'] = "Palauta syntymäpäivä", - ['debug_xPlayer_get_height'] = "Palauta pituus", - ['error_debug_xPlayer_get_first_name'] = "Hahmosi etunimen haussa ilmeni ongelma.", - ['error_debug_xPlayer_get_last_name'] = "Hahmosi sukunimen haussa ilmeni ongelma.", - ['error_debug_xPlayer_get_full_name'] = "Hahmosi kokonimen haussa ilmeni ongelma.", - ['error_debug_xPlayer_get_sex'] = "Hahmosi sukupuolen haussa ilmeni ongelma.", - ['error_debug_xPlayer_get_dob'] = "Hahmosi syntymäpäivän haussa ilmeni ongelma.", - ['error_debug_xPlayer_get_height'] = "Hahmosi pituuden haussa ilmeni ongelma.", - ['return_debug_xPlayer_get_first_name'] = "Etunimi: %s", - ['return_debug_xPlayer_get_last_name'] = "Sukunimi: %s", - ['return_debug_xPlayer_get_full_name'] = "Kokonimi: %s", - ['return_debug_xPlayer_get_sex'] = "Sukupuoli: %s", - ['return_debug_xPlayer_get_dob'] = "Syntymäpäivä: %s", - ['return_debug_xPlayer_get_height'] = "Pituus: %s CM", - ['data_incorrect'] = "Data syötetty väärin. Yritä uudelleen.", - ['invalid_format'] = "Data syötetty väärässä muodossa. Yritä uudelleen.", - ['no_identifier'] = "Hahmosi lataamisessa ilmeni ongelma!\nVirhekoodi: identifier-missing\n\nVirhekoodin syytä ei tiedetä, joten ota yhteyttä ylläpitoon.", - ['missing_identity'] = "Hahmosi lataamisessa ilmeni ongelma!\nVirhekoodi: identity-missing\n\nNäyttää siltä että hahmoasi ei ole olemassa. Kokeile yhdistää uudelleen tai ota yhteyttä ylläpitoon", - ['deleted_identity'] = "Hahmosi on poistetu. Yhdistä palvelimelle uudestaan luodaksesi uusi hahmo.", +Locales["fi"] = { + ["show_active_character"] = "Näytä nykyinen hahmosi", + ["active_character"] = "Nykyinen hahmosi: %s", + ["error_active_character"] = "Hahmosi hakemisessa ilmeni ongelma. Ota yhteyttä ylläpitoon.", + ["delete_character"] = "Poista hahmosi ja luo uusi.", + ["deleted_character"] = "Hahmosi on poistetu.", + ["error_delete_character"] = "Hahmosi poistossa ilmeni ongelma. Ota yhteyttä ylläpitoon.", + ["thank_you_for_registering"] = "Kiitos registeröitymisestä. Pidä hauskaa!", + ["registration_error"] = "Registeröinnissä ilmeni ongelma. Ota yhteyttä ylläpitoon.", + ["debug_xPlayer_get_first_name"] = "Palauta etunimi", + ["debug_xPlayer_get_last_name"] = "Palauta sukunimi", + ["debug_xPlayer_get_full_name"] = "Palauta kokonimi", + ["debug_xPlayer_get_sex"] = "Palauta sukupuoli", + ["debug_xPlayer_get_dob"] = "Palauta syntymäpäivä", + ["debug_xPlayer_get_height"] = "Palauta pituus", + ["error_debug_xPlayer_get_first_name"] = "Hahmosi etunimen haussa ilmeni ongelma.", + ["error_debug_xPlayer_get_last_name"] = "Hahmosi sukunimen haussa ilmeni ongelma.", + ["error_debug_xPlayer_get_full_name"] = "Hahmosi kokonimen haussa ilmeni ongelma.", + ["error_debug_xPlayer_get_sex"] = "Hahmosi sukupuolen haussa ilmeni ongelma.", + ["error_debug_xPlayer_get_dob"] = "Hahmosi syntymäpäivän haussa ilmeni ongelma.", + ["error_debug_xPlayer_get_height"] = "Hahmosi pituuden haussa ilmeni ongelma.", + ["return_debug_xPlayer_get_first_name"] = "Etunimi: %s", + ["return_debug_xPlayer_get_last_name"] = "Sukunimi: %s", + ["return_debug_xPlayer_get_full_name"] = "Kokonimi: %s", + ["return_debug_xPlayer_get_sex"] = "Sukupuoli: %s", + ["return_debug_xPlayer_get_dob"] = "Syntymäpäivä: %s", + ["return_debug_xPlayer_get_height"] = "Pituus: %s CM", + ["data_incorrect"] = "Data syötetty väärin. Yritä uudelleen.", + ["invalid_format"] = "Data syötetty väärässä muodossa. Yritä uudelleen.", + ["no_identifier"] = "Hahmosi lataamisessa ilmeni ongelma!\nVirhekoodi: identifier-missing\n\nVirhekoodin syytä ei tiedetä, joten ota yhteyttä ylläpitoon.", + ["missing_identity"] = "Hahmosi lataamisessa ilmeni ongelma!\nVirhekoodi: identity-missing\n\nNäyttää siltä että hahmoasi ei ole olemassa. Kokeile yhdistää uudelleen tai ota yhteyttä ylläpitoon", + ["deleted_identity"] = "Hahmosi on poistetu. Yhdistä palvelimelle uudestaan luodaksesi uusi hahmo.", } diff --git a/[core]/esx_identity/locales/fr.lua b/[core]/esx_identity/locales/fr.lua index 1c5e8ef2..b35b227d 100644 --- a/[core]/esx_identity/locales/fr.lua +++ b/[core]/esx_identity/locales/fr.lua @@ -1,38 +1,38 @@ -Locales['fr'] = { - ['show_active_character'] = "Afficher le personnage actif", - ['active_character'] = "Personnage actif: %s", - ['error_active_character'] = "Une erreur s'est produite lors de l'obtention de vos données.", - ['delete_character'] = "Supprimez votre personnage actuel.", - ['deleted_character'] = "Caractère supprimé", - ['error_delete_character'] = "Un problème est survenu lors de la suppression de votre personnage.", - ['thank_you_for_registering'] = "Inscription réussi. Profitez!", - ['debug_xPlayer_get_first_name'] = "Renvoie votre prénom", - ['debug_xPlayer_get_last_name'] = "Renvoie votre nom de famille", - ['debug_xPlayer_get_full_name'] = "Renvoie votre nom complet", - ['debug_xPlayer_get_sex'] = "Renvoie votre sexe", - ['debug_xPlayer_get_dob'] = "Renvoie votre date de naissance", - ['debug_xPlayer_get_height'] = "Renvoie votre taille", - ['error_debug_xPlayer_get_first_name'] = "Un problème est survenu lors de l'obtention de votre prénom.", - ['error_debug_xPlayer_get_last_name'] = "Un problème est survenu lors de l'obtention de votre nom de famille.", - ['error_debug_xPlayer_get_full_name'] = "Un problème est survenu lors de l'obtention de votre nom complet.", - ['error_debug_xPlayer_get_sex'] = "Il y a eu un problème lors de l'obtention de votre sexe.", - ['error_debug_xPlayer_get_dob'] = "Un problème est survenu lors de l'obtention de votre date de naissance.", - ['error_debug_xPlayer_get_height'] = "Un problème est survenu lors de l'obtention de votre taille.", - ['return_debug_xPlayer_get_first_name'] = "Prénom: %s", - ['return_debug_xPlayer_get_last_name'] = "Nom de famille: %s", - ['return_debug_xPlayer_get_full_name'] = "Nom: %s", - ['return_debug_xPlayer_get_sex'] = "Sexe: %s", - ['return_debug_xPlayer_get_dob'] = "Date de naissance: %s", - ['return_debug_xPlayer_get_height'] = "Hauteur: %s pouces", - ['data_incorrect'] = "Données non valides, veuillez réessayer.", - ['invalid_format'] = "Format de données non valide, veuillez réessayer.", - ['no_identifier'] = "[ESX Identity]\nIl y a eu un problème lors du chargement de votre personnage !\nCode d'erreur : identifiant manquant\n\nCela est dû au fait que votre identifiant est manquant. Veuillez revenir plus tard ou signaler ce problème au propriétaire du serveur.", - ['missing_identity'] = "[ESX Identity]Un problème est survenu lors du chargement de votre personnage !Code d'erreur : identité manquante\n\nIl semble que votre identité soit manquante, essayez de vous reconnecter.", - ['deleted_identity'] = "Personnage supprimé. Veuillez vous réinscrire pour créer un nouveau personnage.", - ['already_registered'] = "Vous êtes déjà inscrit.", - ['invalid_firstname_format'] = "Format non valide (prénom) : veuillez réessayer.", - ['invalid_lastname_format'] = "Format non valide (nom de famille) : veuillez réessayer.", - ['invalid_dob_format'] = "Format non valide (DDN) : veuillez réessayer.", - ['invalid_sex_format'] = "Format non valide (sexe) : veuillez réessayer.", - ['invalid_height_format'] = "Format non valide (hauteur) : veuillez réessayer.", +Locales["fr"] = { + ["show_active_character"] = "Afficher le personnage actif", + ["active_character"] = "Personnage actif: %s", + ["error_active_character"] = "Une erreur s'est produite lors de l'obtention de vos données.", + ["delete_character"] = "Supprimez votre personnage actuel.", + ["deleted_character"] = "Caractère supprimé", + ["error_delete_character"] = "Un problème est survenu lors de la suppression de votre personnage.", + ["thank_you_for_registering"] = "Inscription réussi. Profitez!", + ["debug_xPlayer_get_first_name"] = "Renvoie votre prénom", + ["debug_xPlayer_get_last_name"] = "Renvoie votre nom de famille", + ["debug_xPlayer_get_full_name"] = "Renvoie votre nom complet", + ["debug_xPlayer_get_sex"] = "Renvoie votre sexe", + ["debug_xPlayer_get_dob"] = "Renvoie votre date de naissance", + ["debug_xPlayer_get_height"] = "Renvoie votre taille", + ["error_debug_xPlayer_get_first_name"] = "Un problème est survenu lors de l'obtention de votre prénom.", + ["error_debug_xPlayer_get_last_name"] = "Un problème est survenu lors de l'obtention de votre nom de famille.", + ["error_debug_xPlayer_get_full_name"] = "Un problème est survenu lors de l'obtention de votre nom complet.", + ["error_debug_xPlayer_get_sex"] = "Il y a eu un problème lors de l'obtention de votre sexe.", + ["error_debug_xPlayer_get_dob"] = "Un problème est survenu lors de l'obtention de votre date de naissance.", + ["error_debug_xPlayer_get_height"] = "Un problème est survenu lors de l'obtention de votre taille.", + ["return_debug_xPlayer_get_first_name"] = "Prénom: %s", + ["return_debug_xPlayer_get_last_name"] = "Nom de famille: %s", + ["return_debug_xPlayer_get_full_name"] = "Nom: %s", + ["return_debug_xPlayer_get_sex"] = "Sexe: %s", + ["return_debug_xPlayer_get_dob"] = "Date de naissance: %s", + ["return_debug_xPlayer_get_height"] = "Hauteur: %s pouces", + ["data_incorrect"] = "Données non valides, veuillez réessayer.", + ["invalid_format"] = "Format de données non valide, veuillez réessayer.", + ["no_identifier"] = "[ESX Identity]\nIl y a eu un problème lors du chargement de votre personnage !\nCode d'erreur : identifiant manquant\n\nCela est dû au fait que votre identifiant est manquant. Veuillez revenir plus tard ou signaler ce problème au propriétaire du serveur.", + ["missing_identity"] = "[ESX Identity]Un problème est survenu lors du chargement de votre personnage !Code d'erreur : identité manquante\n\nIl semble que votre identité soit manquante, essayez de vous reconnecter.", + ["deleted_identity"] = "Personnage supprimé. Veuillez vous réinscrire pour créer un nouveau personnage.", + ["already_registered"] = "Vous êtes déjà inscrit.", + ["invalid_firstname_format"] = "Format non valide (prénom) : veuillez réessayer.", + ["invalid_lastname_format"] = "Format non valide (nom de famille) : veuillez réessayer.", + ["invalid_dob_format"] = "Format non valide (DDN) : veuillez réessayer.", + ["invalid_sex_format"] = "Format non valide (sexe) : veuillez réessayer.", + ["invalid_height_format"] = "Format non valide (hauteur) : veuillez réessayer.", } diff --git a/[core]/esx_identity/locales/it.lua b/[core]/esx_identity/locales/it.lua index 7b6aaf07..84d61412 100644 --- a/[core]/esx_identity/locales/it.lua +++ b/[core]/esx_identity/locales/it.lua @@ -1,38 +1,38 @@ -Locales['it'] = { - ['show_active_character'] = "Mostra Personaggio Attivo", - ['active_character'] = "Personaggio Attivo: %s", - ['error_active_character'] = "Errore nel recuperare i tuoi dati.", - ['delete_character'] = "Elimina Personaggio Attuale.", - ['deleted_character'] = "Personaggio Eliminato", - ['error_delete_character'] = "Errore nell' eliminazione del personaggio.", - ['thank_you_for_registering'] = "Registrazione effettuata. Divertiti!", - ['debug_xPlayer_get_first_name'] = "Ritorna il tuo nome", - ['debug_xPlayer_get_last_name'] = "Ritorna il tuo cognome", - ['debug_xPlayer_get_full_name'] = "Ritorna il tuo nome completo", - ['debug_xPlayer_get_sex'] = "Ritorna il tuo sesso", - ['debug_xPlayer_get_dob'] = "Ritorna la tua data di nascita", - ['debug_xPlayer_get_height'] = "Ritorna la tua altezza", - ['error_debug_xPlayer_get_first_name'] = "Errore nell' ottenere il tuo nome.", - ['error_debug_xPlayer_get_last_name'] = "Errore nell' ottenere il tuo cognome.", - ['error_debug_xPlayer_get_full_name'] = "Errore nell' ottenere il tuo nome completo.", - ['error_debug_xPlayer_get_sex'] = "Errore nell' ottenere il tuo sesso.", - ['error_debug_xPlayer_get_dob'] = "Errore nell' ottenere la tua data di nascita.", - ['error_debug_xPlayer_get_height'] = "Errore nell' ottenere la tua altezza.", - ['return_debug_xPlayer_get_first_name'] = "Nome: %s", - ['return_debug_xPlayer_get_last_name'] = "Cognome: %s", - ['return_debug_xPlayer_get_full_name'] = "Nome Completo: %s", - ['return_debug_xPlayer_get_sex'] = "Sesso: %s", - ['return_debug_xPlayer_get_dob'] = "Data di nascita: %s", - ['return_debug_xPlayer_get_height'] = "Altezza: %s Pollici", - ['data_incorrect'] = "Dati errati, riprova.", - ['invalid_format'] = "Formato dati errato, riprova.", - ['no_identifier'] = "[ESX Identity]\nErrore nel caricare il tuo personaggio!\nCodice Errore: identificativo-mancante\n\nQuesto è causato dalla mancanza del tuo identificativo. Riprova più tardi o segnalalo al proprietario del server.", - ['missing_identity'] = "[ESX Identity]\nErrore nel caricare il tuo personaggio!!\nCodice Errore: identità-mancante\n\nSembra che la tua identità sia mancante, prova a riconnetterti.", - ['deleted_identity'] = "Personaggio eliminato, Rientra per crearne uno nuovo.", - ['already_registered'] = "Sei già registrato.", - ['invalid_firstname_format'] = "Formato non valido (Nome): Riprova.", - ['invalid_lastname_format'] = "Formato non valido (Cognome): Riprova.", - ['invalid_dob_format'] = "Formato non valido (Data di nascita): Riprova.", - ['invalid_sex_format'] = "Formato non valido (Sesso): Riprova.", - ['invalid_height_format'] = "Formato non valido (Altezza): Riprova.", +Locales["it"] = { + ["show_active_character"] = "Mostra Personaggio Attivo", + ["active_character"] = "Personaggio Attivo: %s", + ["error_active_character"] = "Errore nel recuperare i tuoi dati.", + ["delete_character"] = "Elimina Personaggio Attuale.", + ["deleted_character"] = "Personaggio Eliminato", + ["error_delete_character"] = "Errore nell' eliminazione del personaggio.", + ["thank_you_for_registering"] = "Registrazione effettuata. Divertiti!", + ["debug_xPlayer_get_first_name"] = "Ritorna il tuo nome", + ["debug_xPlayer_get_last_name"] = "Ritorna il tuo cognome", + ["debug_xPlayer_get_full_name"] = "Ritorna il tuo nome completo", + ["debug_xPlayer_get_sex"] = "Ritorna il tuo sesso", + ["debug_xPlayer_get_dob"] = "Ritorna la tua data di nascita", + ["debug_xPlayer_get_height"] = "Ritorna la tua altezza", + ["error_debug_xPlayer_get_first_name"] = "Errore nell' ottenere il tuo nome.", + ["error_debug_xPlayer_get_last_name"] = "Errore nell' ottenere il tuo cognome.", + ["error_debug_xPlayer_get_full_name"] = "Errore nell' ottenere il tuo nome completo.", + ["error_debug_xPlayer_get_sex"] = "Errore nell' ottenere il tuo sesso.", + ["error_debug_xPlayer_get_dob"] = "Errore nell' ottenere la tua data di nascita.", + ["error_debug_xPlayer_get_height"] = "Errore nell' ottenere la tua altezza.", + ["return_debug_xPlayer_get_first_name"] = "Nome: %s", + ["return_debug_xPlayer_get_last_name"] = "Cognome: %s", + ["return_debug_xPlayer_get_full_name"] = "Nome Completo: %s", + ["return_debug_xPlayer_get_sex"] = "Sesso: %s", + ["return_debug_xPlayer_get_dob"] = "Data di nascita: %s", + ["return_debug_xPlayer_get_height"] = "Altezza: %s Pollici", + ["data_incorrect"] = "Dati errati, riprova.", + ["invalid_format"] = "Formato dati errato, riprova.", + ["no_identifier"] = "[ESX Identity]\nErrore nel caricare il tuo personaggio!\nCodice Errore: identificativo-mancante\n\nQuesto è causato dalla mancanza del tuo identificativo. Riprova più tardi o segnalalo al proprietario del server.", + ["missing_identity"] = "[ESX Identity]\nErrore nel caricare il tuo personaggio!!\nCodice Errore: identità-mancante\n\nSembra che la tua identità sia mancante, prova a riconnetterti.", + ["deleted_identity"] = "Personaggio eliminato, Rientra per crearne uno nuovo.", + ["already_registered"] = "Sei già registrato.", + ["invalid_firstname_format"] = "Formato non valido (Nome): Riprova.", + ["invalid_lastname_format"] = "Formato non valido (Cognome): Riprova.", + ["invalid_dob_format"] = "Formato non valido (Data di nascita): Riprova.", + ["invalid_sex_format"] = "Formato non valido (Sesso): Riprova.", + ["invalid_height_format"] = "Formato non valido (Altezza): Riprova.", } diff --git a/[core]/esx_identity/locales/nl.lua b/[core]/esx_identity/locales/nl.lua index 3cd08865..b9457a45 100644 --- a/[core]/esx_identity/locales/nl.lua +++ b/[core]/esx_identity/locales/nl.lua @@ -1,38 +1,38 @@ -Locales['nl'] = { - ['show_active_character'] = "Actieve karakter laten zien", - ['active_character'] = "Actief karakter: %s", - ['error_active_character'] = "Er is een probleem opgetreden tijdens het verzamelen van uw data.", - ['delete_character'] = "Dit karakter verwijderen.", - ['deleted_character'] = "Karakter verwijderd", - ['error_delete_character'] = "Er is een probleem opgetreden tijdens het verwijderen van uw karakter.", - ['thank_you_for_registering'] = "Succesvol geregistreerd!", - ['debug_xPlayer_get_first_name'] = "Stuurt je Voornaam", - ['debug_xPlayer_get_last_name'] = "Stuurt je Achternaam", - ['debug_xPlayer_get_full_name'] = "Stuurt je volledige naam", - ['debug_xPlayer_get_sex'] = "Stuurt je Geslacht", - ['debug_xPlayer_get_dob'] = "Stuurt je Geboortedatum ", - ['debug_xPlayer_get_height'] = "Stuurt je lengte", - ['error_debug_xPlayer_get_first_name'] = "Er was een probleem tijdens het ophalen van je Voornaam.", - ['error_debug_xPlayer_get_last_name'] = "Er was een probleem tijdens het ophalen van je achternaam.", - ['error_debug_xPlayer_get_full_name'] = "Er was een probleem tijdens het ophalen van je volle naam.", - ['error_debug_xPlayer_get_sex'] = "Er was een probleem tijdens het ophalen van je Geslacht.", - ['error_debug_xPlayer_get_dob'] = "Er was een probleem tijdens het ophalen van je Geboortedatum.", - ['error_debug_xPlayer_get_height'] = "Er was een probleem tijdens het ophalen van je lengte.", - ['return_debug_xPlayer_get_first_name'] = "Voornaam: %s", - ['return_debug_xPlayer_get_last_name'] = "Achternaam: %s", - ['return_debug_xPlayer_get_full_name'] = "Naam: %s", - ['return_debug_xPlayer_get_sex'] = "Geslacht: %s", - ['return_debug_xPlayer_get_dob'] = "Geboortedatum: %s", - ['return_debug_xPlayer_get_height'] = "Lengte: %s Inches", - ['data_incorrect'] = "Verkeerde data, probeer opnieuw.", - ['invalid_format'] = "Verkeerde volgorde, probeer opnieuw.", - ['no_identifier'] = "[ESX Identity]\nEr was een probleem tijdens het laden van je karakter!\nError Code: identifier-missing\n\nDit komt omdat je identifier mist, contacteer het server beheer.", - ['missing_identity'] = "[ESX Identity]\nEr was een probleem tijdens het laden van je karakter!\nError Code: identity-missing\n\nHet lijkt erop dat je identiteit mist, reconnect met de server.", - ['deleted_identity'] = "Karakter verwijderd, reconnect om een nieuwe te registreren.", - ['already_registered'] = "Je bent al geregistreerd.", - ['invalid_firstname_format'] = "Ongeldige Volgorde (Voornaam): Probeer het nog een keer.", - ['invalid_lastname_format'] = "Ongeldige Volgorde (Achternaam): Probeer het nog een keer.", - ['invalid_dob_format'] = "Ongeldige Volgorde (Geboortedatum): Probeer het nog een keer.", - ['invalid_sex_format'] = "Ongeldige Volgorde (Geslacht): Probeer het nog een keer.", - ['invalid_height_format'] = "Ongeldige Volgorde (Lengte): Probeer het nog een keer.", +Locales["nl"] = { + ["show_active_character"] = "Actieve karakter laten zien", + ["active_character"] = "Actief karakter: %s", + ["error_active_character"] = "Er is een probleem opgetreden tijdens het verzamelen van uw data.", + ["delete_character"] = "Dit karakter verwijderen.", + ["deleted_character"] = "Karakter verwijderd", + ["error_delete_character"] = "Er is een probleem opgetreden tijdens het verwijderen van uw karakter.", + ["thank_you_for_registering"] = "Succesvol geregistreerd!", + ["debug_xPlayer_get_first_name"] = "Stuurt je Voornaam", + ["debug_xPlayer_get_last_name"] = "Stuurt je Achternaam", + ["debug_xPlayer_get_full_name"] = "Stuurt je volledige naam", + ["debug_xPlayer_get_sex"] = "Stuurt je Geslacht", + ["debug_xPlayer_get_dob"] = "Stuurt je Geboortedatum ", + ["debug_xPlayer_get_height"] = "Stuurt je lengte", + ["error_debug_xPlayer_get_first_name"] = "Er was een probleem tijdens het ophalen van je Voornaam.", + ["error_debug_xPlayer_get_last_name"] = "Er was een probleem tijdens het ophalen van je achternaam.", + ["error_debug_xPlayer_get_full_name"] = "Er was een probleem tijdens het ophalen van je volle naam.", + ["error_debug_xPlayer_get_sex"] = "Er was een probleem tijdens het ophalen van je Geslacht.", + ["error_debug_xPlayer_get_dob"] = "Er was een probleem tijdens het ophalen van je Geboortedatum.", + ["error_debug_xPlayer_get_height"] = "Er was een probleem tijdens het ophalen van je lengte.", + ["return_debug_xPlayer_get_first_name"] = "Voornaam: %s", + ["return_debug_xPlayer_get_last_name"] = "Achternaam: %s", + ["return_debug_xPlayer_get_full_name"] = "Naam: %s", + ["return_debug_xPlayer_get_sex"] = "Geslacht: %s", + ["return_debug_xPlayer_get_dob"] = "Geboortedatum: %s", + ["return_debug_xPlayer_get_height"] = "Lengte: %s Inches", + ["data_incorrect"] = "Verkeerde data, probeer opnieuw.", + ["invalid_format"] = "Verkeerde volgorde, probeer opnieuw.", + ["no_identifier"] = "[ESX Identity]\nEr was een probleem tijdens het laden van je karakter!\nError Code: identifier-missing\n\nDit komt omdat je identifier mist, contacteer het server beheer.", + ["missing_identity"] = "[ESX Identity]\nEr was een probleem tijdens het laden van je karakter!\nError Code: identity-missing\n\nHet lijkt erop dat je identiteit mist, reconnect met de server.", + ["deleted_identity"] = "Karakter verwijderd, reconnect om een nieuwe te registreren.", + ["already_registered"] = "Je bent al geregistreerd.", + ["invalid_firstname_format"] = "Ongeldige Volgorde (Voornaam): Probeer het nog een keer.", + ["invalid_lastname_format"] = "Ongeldige Volgorde (Achternaam): Probeer het nog een keer.", + ["invalid_dob_format"] = "Ongeldige Volgorde (Geboortedatum): Probeer het nog een keer.", + ["invalid_sex_format"] = "Ongeldige Volgorde (Geslacht): Probeer het nog een keer.", + ["invalid_height_format"] = "Ongeldige Volgorde (Lengte): Probeer het nog een keer.", } diff --git a/[core]/esx_identity/locales/pl.lua b/[core]/esx_identity/locales/pl.lua index efdb4d5b..15c5cf45 100644 --- a/[core]/esx_identity/locales/pl.lua +++ b/[core]/esx_identity/locales/pl.lua @@ -1,33 +1,33 @@ -Locales['pl'] = { - ['show_active_character'] = "Pokaż aktywną postać", - ['active_character'] = "Aktywna postać: %s", - ['error_active_character'] = "Podczas pobierania Twojego imienia wystąpił błąd. Proszę skontaktować się z administratorem.", - ['delete_character'] = "Usuń swoją postać i stwórz nową", - ['deleted_character'] = "Twoja postać została usunięta.", - ['error_delete_character'] = "Wystąpił błąd podczas usuwania twojej postaci. Proszę skontaktować się z administratorem.", - ['thank_you_for_registering'] = "Dziękujemy za rejestrację. Baw się dobrze.", - ['registration_error'] = "Wystąpił błąd podczas rejestracji. Proszę skontaktować się z administratorem.", - ['debug_xPlayer_get_first_name'] = "Podaj swoje imię", - ['debug_xPlayer_get_last_name'] = "Podaj swoje nazwisko", - ['debug_xPlayer_get_full_name'] = "Podaj swoją pełną nazwę", - ['debug_xPlayer_get_sex'] = "Podaj swoją płeć", - ['debug_xPlayer_get_dob'] = "Podaj swoją datę urodzenia", - ['debug_xPlayer_get_height'] = "Podaj swój wzrost", - ['error_debug_xPlayer_get_first_name'] = "Podczas pobierania twojego imienia wystąpił błąd.", - ['error_debug_xPlayer_get_last_name'] = "Podczas pobierania twojego nazwiska wystąpił błąd.", - ['error_debug_xPlayer_get_full_name'] = "Podczas pobierania twojego pełnego imienia wystąpił błąd.", - ['error_debug_xPlayer_get_sex'] = "Podczas pobierania twojej płci wystąpił błąd.", - ['error_debug_xPlayer_get_dob'] = "Podczas pobierania daty urodzenia wystąpił błąd.", - ['error_debug_xPlayer_get_height'] = "Podczas pobierania wzrostu wystąpił błąd.", - ['return_debug_xPlayer_get_first_name'] = "Imię: %s", - ['return_debug_xPlayer_get_last_name'] = "Nazwisko: %s", - ['return_debug_xPlayer_get_full_name'] = "Pełna nazwa: %s", - ['return_debug_xPlayer_get_sex'] = "Płeć: %s", - ['return_debug_xPlayer_get_dob'] = "Data urodzenia: %s", - ['return_debug_xPlayer_get_height'] = "Wzrost: %s centymetrów", - ['data_incorrect'] = "Data została wprowadzona niepoprawnie. Proszę spróbuj ponownie.", - ['invalid_format'] = "Data została wprowadzona niepoprawnie. Proszę spróbuj ponownie.", - ['no_identifier'] = "Wystąpił błąd podczas ładowania twojej postaci!\nKod błędu: identifier-missing\n\nPrzyczyna tego błędu nie jest znana, nie można znaleźć Twojego identyfikatora. Wróć później lub zgłoś ten problem zespołowi administracyjnemu serwera.", - ['missing_identity'] = "Wystąpił błąd podczas ładowania twojej postaci!\nKod błędu: identity-missing\n\nWygląda na to, że brakuje Twojej tożsamości, spróbuj połączyć się ponownie.", - ['deleted_identity'] = "Twoja postać została usunięta. Dołącz ponownie, aby utworzyć nową postać.", +Locales["pl"] = { + ["show_active_character"] = "Pokaż aktywną postać", + ["active_character"] = "Aktywna postać: %s", + ["error_active_character"] = "Podczas pobierania Twojego imienia wystąpił błąd. Proszę skontaktować się z administratorem.", + ["delete_character"] = "Usuń swoją postać i stwórz nową", + ["deleted_character"] = "Twoja postać została usunięta.", + ["error_delete_character"] = "Wystąpił błąd podczas usuwania twojej postaci. Proszę skontaktować się z administratorem.", + ["thank_you_for_registering"] = "Dziękujemy za rejestrację. Baw się dobrze.", + ["registration_error"] = "Wystąpił błąd podczas rejestracji. Proszę skontaktować się z administratorem.", + ["debug_xPlayer_get_first_name"] = "Podaj swoje imię", + ["debug_xPlayer_get_last_name"] = "Podaj swoje nazwisko", + ["debug_xPlayer_get_full_name"] = "Podaj swoją pełną nazwę", + ["debug_xPlayer_get_sex"] = "Podaj swoją płeć", + ["debug_xPlayer_get_dob"] = "Podaj swoją datę urodzenia", + ["debug_xPlayer_get_height"] = "Podaj swój wzrost", + ["error_debug_xPlayer_get_first_name"] = "Podczas pobierania twojego imienia wystąpił błąd.", + ["error_debug_xPlayer_get_last_name"] = "Podczas pobierania twojego nazwiska wystąpił błąd.", + ["error_debug_xPlayer_get_full_name"] = "Podczas pobierania twojego pełnego imienia wystąpił błąd.", + ["error_debug_xPlayer_get_sex"] = "Podczas pobierania twojej płci wystąpił błąd.", + ["error_debug_xPlayer_get_dob"] = "Podczas pobierania daty urodzenia wystąpił błąd.", + ["error_debug_xPlayer_get_height"] = "Podczas pobierania wzrostu wystąpił błąd.", + ["return_debug_xPlayer_get_first_name"] = "Imię: %s", + ["return_debug_xPlayer_get_last_name"] = "Nazwisko: %s", + ["return_debug_xPlayer_get_full_name"] = "Pełna nazwa: %s", + ["return_debug_xPlayer_get_sex"] = "Płeć: %s", + ["return_debug_xPlayer_get_dob"] = "Data urodzenia: %s", + ["return_debug_xPlayer_get_height"] = "Wzrost: %s centymetrów", + ["data_incorrect"] = "Data została wprowadzona niepoprawnie. Proszę spróbuj ponownie.", + ["invalid_format"] = "Data została wprowadzona niepoprawnie. Proszę spróbuj ponownie.", + ["no_identifier"] = "Wystąpił błąd podczas ładowania twojej postaci!\nKod błędu: identifier-missing\n\nPrzyczyna tego błędu nie jest znana, nie można znaleźć Twojego identyfikatora. Wróć później lub zgłoś ten problem zespołowi administracyjnemu serwera.", + ["missing_identity"] = "Wystąpił błąd podczas ładowania twojej postaci!\nKod błędu: identity-missing\n\nWygląda na to, że brakuje Twojej tożsamości, spróbuj połączyć się ponownie.", + ["deleted_identity"] = "Twoja postać została usunięta. Dołącz ponownie, aby utworzyć nową postać.", } diff --git a/[core]/esx_identity/locales/pt.lua b/[core]/esx_identity/locales/pt.lua index ff1b05dd..0ad97de7 100644 --- a/[core]/esx_identity/locales/pt.lua +++ b/[core]/esx_identity/locales/pt.lua @@ -1,38 +1,38 @@ -Locales['pt'] = { - ['show_active_character'] = "Mostrar personagem ativa", - ['active_character'] = "Personagem ativa: %s", - ['error_active_character'] = "Houve um erro a obter os teus dados.", - ['delete_character'] = "Apagar a tua personagem atual.", - ['deleted_character'] = "Personagem apagada!", - ['error_delete_character'] = "Houve um problema ao apagar a tua personagem.", - ['thank_you_for_registering'] = "Registo concluído. Diverte-te!", - ['debug_xPlayer_get_first_name'] = "Retorna o teu primeiro nome", - ['debug_xPlayer_get_last_name'] = "Retorna o teu último nome", - ['debug_xPlayer_get_full_name'] = "Retorna o teu nome completo", - ['debug_xPlayer_get_sex'] = "Retorna o teu sexo", - ['debug_xPlayer_get_dob'] = "Retorna a tua data de nascimento", - ['debug_xPlayer_get_height'] = "Retorna a tua altura", - ['error_debug_xPlayer_get_first_name'] = "Houve um problema ao obter o teu primeiro nome.", - ['error_debug_xPlayer_get_last_name'] = "Houve um problema ao obter o teu último nome.", - ['error_debug_xPlayer_get_full_name'] = "Houve um problema ao obter o teu nome completo.", - ['error_debug_xPlayer_get_sex'] = "Houve um problema ao obter o teu sexo.", - ['error_debug_xPlayer_get_dob'] = "Houve um problema ao obter a tua data de nascimento.", - ['error_debug_xPlayer_get_height'] = "Houve um problema ao obter a tua altura.", - ['return_debug_xPlayer_get_first_name'] = "Primeiro nome: %s", - ['return_debug_xPlayer_get_last_name'] = "Último nome: %s", - ['return_debug_xPlayer_get_full_name'] = "Nome: %s", - ['return_debug_xPlayer_get_sex'] = "Sexo: %s", - ['return_debug_xPlayer_get_dob'] = "Data de nascimento: %s", - ['return_debug_xPlayer_get_height'] = "Altura: %s cm", - ['data_incorrect'] = "Dados inválidos, tenta novamente.", - ['invalid_format'] = "Formato dos dados inválido, tenta novamente.", - ['no_identifier'] = "[ESX Identity]\nHouve um erro ao carregar a tua personagem!\nCódigo do erro: identifier-missing\n\nEste erro é devido à falta do teu identificador. Porfavor volta mais tarde ou reporta este problema a um Administrador.", - ['missing_identity'] = "[ESX Identity]\nHouve um erro ao carregar a tua personagem!\nCódigo do erro: identity-missing\n\nParece que a tua identidade está em falta, experimenta reentrar no servidor!", - ['deleted_identity'] = "Personagem apagada. Porfavor reentra para criar uma nova personagem.", - ['already_registered'] = "Tu já estás registado.", - ['invalid_firstname_format'] = "Formato inválido (Primeiro nome): Porfavor tenta novamente!", - ['invalid_lastname_format'] = "Formato inválido (Último nome): Porfavor tenta novamente!", - ['invalid_dob_format'] = "Formato inválido (Data de nascimento): Porfavor tenta novamente!", - ['invalid_sex_format'] = "Formato inválido (Sexo): Porfavor tenta novamente!", - ['invalid_height_format'] = "Formato inválido (Altura): Porfavor tenta novamente!", +Locales["pt"] = { + ["show_active_character"] = "Mostrar personagem ativa", + ["active_character"] = "Personagem ativa: %s", + ["error_active_character"] = "Houve um erro a obter os teus dados.", + ["delete_character"] = "Apagar a tua personagem atual.", + ["deleted_character"] = "Personagem apagada!", + ["error_delete_character"] = "Houve um problema ao apagar a tua personagem.", + ["thank_you_for_registering"] = "Registo concluído. Diverte-te!", + ["debug_xPlayer_get_first_name"] = "Retorna o teu primeiro nome", + ["debug_xPlayer_get_last_name"] = "Retorna o teu último nome", + ["debug_xPlayer_get_full_name"] = "Retorna o teu nome completo", + ["debug_xPlayer_get_sex"] = "Retorna o teu sexo", + ["debug_xPlayer_get_dob"] = "Retorna a tua data de nascimento", + ["debug_xPlayer_get_height"] = "Retorna a tua altura", + ["error_debug_xPlayer_get_first_name"] = "Houve um problema ao obter o teu primeiro nome.", + ["error_debug_xPlayer_get_last_name"] = "Houve um problema ao obter o teu último nome.", + ["error_debug_xPlayer_get_full_name"] = "Houve um problema ao obter o teu nome completo.", + ["error_debug_xPlayer_get_sex"] = "Houve um problema ao obter o teu sexo.", + ["error_debug_xPlayer_get_dob"] = "Houve um problema ao obter a tua data de nascimento.", + ["error_debug_xPlayer_get_height"] = "Houve um problema ao obter a tua altura.", + ["return_debug_xPlayer_get_first_name"] = "Primeiro nome: %s", + ["return_debug_xPlayer_get_last_name"] = "Último nome: %s", + ["return_debug_xPlayer_get_full_name"] = "Nome: %s", + ["return_debug_xPlayer_get_sex"] = "Sexo: %s", + ["return_debug_xPlayer_get_dob"] = "Data de nascimento: %s", + ["return_debug_xPlayer_get_height"] = "Altura: %s cm", + ["data_incorrect"] = "Dados inválidos, tenta novamente.", + ["invalid_format"] = "Formato dos dados inválido, tenta novamente.", + ["no_identifier"] = "[ESX Identity]\nHouve um erro ao carregar a tua personagem!\nCódigo do erro: identifier-missing\n\nEste erro é devido à falta do teu identificador. Porfavor volta mais tarde ou reporta este problema a um Administrador.", + ["missing_identity"] = "[ESX Identity]\nHouve um erro ao carregar a tua personagem!\nCódigo do erro: identity-missing\n\nParece que a tua identidade está em falta, experimenta reentrar no servidor!", + ["deleted_identity"] = "Personagem apagada. Porfavor reentra para criar uma nova personagem.", + ["already_registered"] = "Tu já estás registado.", + ["invalid_firstname_format"] = "Formato inválido (Primeiro nome): Porfavor tenta novamente!", + ["invalid_lastname_format"] = "Formato inválido (Último nome): Porfavor tenta novamente!", + ["invalid_dob_format"] = "Formato inválido (Data de nascimento): Porfavor tenta novamente!", + ["invalid_sex_format"] = "Formato inválido (Sexo): Porfavor tenta novamente!", + ["invalid_height_format"] = "Formato inválido (Altura): Porfavor tenta novamente!", } diff --git a/[core]/esx_identity/locales/sl.lua b/[core]/esx_identity/locales/sl.lua index 3621a30b..2499f7c2 100644 --- a/[core]/esx_identity/locales/sl.lua +++ b/[core]/esx_identity/locales/sl.lua @@ -1,38 +1,38 @@ -Locales['sl'] = { - ['show_active_character'] = "Prikazi aktivni Karakter", - ['active_character'] = "Aktivni Karakter: %s", - ['error_active_character'] = "Pri pridobivanju vasih podatkov je prislo do napake.", - ['delete_character'] = "Izbrisi vas trenutni Karakter.", - ['deleted_character'] = "Karakter izbrisan", - ['error_delete_character'] = "Pri brisanju vasega lika je prislo do tezave.", - ['thank_you_for_registering'] = "Registracija uspesna. Uzivajte!", - ['debug_xPlayer_get_first_name'] = "Vrne vase ime", - ['debug_xPlayer_get_last_name'] = "Vrne vas priimek", - ['debug_xPlayer_get_full_name'] = "Vrne vase polno ime", - ['debug_xPlayer_get_sex'] = "Vrne vas spol", - ['debug_xPlayer_get_dob'] = "Vrne vas DOB", - ['debug_xPlayer_get_height'] = "Vrne vaso visino", - ['error_debug_xPlayer_get_first_name'] = "Pri pridobivanju vasega imena je prislo do tezave.", - ['error_debug_xPlayer_get_last_name'] = "Pri pridobivanju vasega priimka je prislo do tezave.", - ['error_debug_xPlayer_get_full_name'] = "Pri pridobivanju vasega polnega imena je prislo do tezave.", - ['error_debug_xPlayer_get_sex'] = "Pri pridobivanju vasega spola je prislo do tezave.", - ['error_debug_xPlayer_get_dob'] = "Pri pridobivanju vasega datuma rojstva je prislo do tezave.", - ['error_debug_xPlayer_get_height'] = "Pri pridobivanju vase visine je prislo do tezave.", - ['return_debug_xPlayer_get_first_name'] = "Ime: %s", - ['return_debug_xPlayer_get_last_name'] = "Priimek: %s", - ['return_debug_xPlayer_get_full_name'] = "Ime: %s", - ['return_debug_xPlayer_get_sex'] = "Spol: %s", - ['return_debug_xPlayer_get_dob'] = "DOB: %s", - ['return_debug_xPlayer_get_height'] = "Visina: %s palcev", - ['data_incorrect'] = "Neveljavni podatki, poskusite znova.", - ['invalid_format'] = "Neveljavna oblika podatkov, poskusite znova.", - ['no_identifier'] = "[ESX Identiteta]\nPri nalaganju vasega lika je prislo do tezave!\nKoda napake: identifikator-manjka\n\nTo je posledica tega, da manjka vas identifikator. Vrnite se pozneje ali prijavite to tezavo lastniku streznika.", - ['missing_identity'] = "[ESX Identity]\nPri nalaganju vasega lika je prislo do tezave!\nKoda napake: identity-missing\n\nVideti je, da vasa identiteta manjka, poskusite znova vzpostaviti povezavo.", - ['deleted_identity'] = "Karakter izbrisan. Ponovno se pridruzite, da ustvarite nov lik.", - ['already_registered'] = "Registrirali ste se ze.", - ['invalid_firstname_format'] = "Neveljavna oblika (ime): Prosimo, poskusite znova.", - ['invalid_lastname_format'] = "Neveljavna oblika (priimek): Poskusite ponovno.", - ['invalid_dob_format'] = "Neveljavna oblika (DOB): Prosimo, poskusite znova.", - ['invalid_sex_format'] = "Neveljavna oblika (spol): Poskusite ponovno.", - ['invalid_height_format'] = "Neveljavna oblika (visina): Prosimo, poskusite znova.", +Locales["sl"] = { + ["show_active_character"] = "Prikazi aktivni Karakter", + ["active_character"] = "Aktivni Karakter: %s", + ["error_active_character"] = "Pri pridobivanju vasih podatkov je prislo do napake.", + ["delete_character"] = "Izbrisi vas trenutni Karakter.", + ["deleted_character"] = "Karakter izbrisan", + ["error_delete_character"] = "Pri brisanju vasega lika je prislo do tezave.", + ["thank_you_for_registering"] = "Registracija uspesna. Uzivajte!", + ["debug_xPlayer_get_first_name"] = "Vrne vase ime", + ["debug_xPlayer_get_last_name"] = "Vrne vas priimek", + ["debug_xPlayer_get_full_name"] = "Vrne vase polno ime", + ["debug_xPlayer_get_sex"] = "Vrne vas spol", + ["debug_xPlayer_get_dob"] = "Vrne vas DOB", + ["debug_xPlayer_get_height"] = "Vrne vaso visino", + ["error_debug_xPlayer_get_first_name"] = "Pri pridobivanju vasega imena je prislo do tezave.", + ["error_debug_xPlayer_get_last_name"] = "Pri pridobivanju vasega priimka je prislo do tezave.", + ["error_debug_xPlayer_get_full_name"] = "Pri pridobivanju vasega polnega imena je prislo do tezave.", + ["error_debug_xPlayer_get_sex"] = "Pri pridobivanju vasega spola je prislo do tezave.", + ["error_debug_xPlayer_get_dob"] = "Pri pridobivanju vasega datuma rojstva je prislo do tezave.", + ["error_debug_xPlayer_get_height"] = "Pri pridobivanju vase visine je prislo do tezave.", + ["return_debug_xPlayer_get_first_name"] = "Ime: %s", + ["return_debug_xPlayer_get_last_name"] = "Priimek: %s", + ["return_debug_xPlayer_get_full_name"] = "Ime: %s", + ["return_debug_xPlayer_get_sex"] = "Spol: %s", + ["return_debug_xPlayer_get_dob"] = "DOB: %s", + ["return_debug_xPlayer_get_height"] = "Visina: %s palcev", + ["data_incorrect"] = "Neveljavni podatki, poskusite znova.", + ["invalid_format"] = "Neveljavna oblika podatkov, poskusite znova.", + ["no_identifier"] = "[ESX Identiteta]\nPri nalaganju vasega lika je prislo do tezave!\nKoda napake: identifikator-manjka\n\nTo je posledica tega, da manjka vas identifikator. Vrnite se pozneje ali prijavite to tezavo lastniku streznika.", + ["missing_identity"] = "[ESX Identity]\nPri nalaganju vasega lika je prislo do tezave!\nKoda napake: identity-missing\n\nVideti je, da vasa identiteta manjka, poskusite znova vzpostaviti povezavo.", + ["deleted_identity"] = "Karakter izbrisan. Ponovno se pridruzite, da ustvarite nov lik.", + ["already_registered"] = "Registrirali ste se ze.", + ["invalid_firstname_format"] = "Neveljavna oblika (ime): Prosimo, poskusite znova.", + ["invalid_lastname_format"] = "Neveljavna oblika (priimek): Poskusite ponovno.", + ["invalid_dob_format"] = "Neveljavna oblika (DOB): Prosimo, poskusite znova.", + ["invalid_sex_format"] = "Neveljavna oblika (spol): Poskusite ponovno.", + ["invalid_height_format"] = "Neveljavna oblika (visina): Prosimo, poskusite znova.", } \ No newline at end of file diff --git a/[core]/esx_identity/locales/sr.lua b/[core]/esx_identity/locales/sr.lua index 99478e24..96e12935 100644 --- a/[core]/esx_identity/locales/sr.lua +++ b/[core]/esx_identity/locales/sr.lua @@ -1,38 +1,38 @@ -Locales['sr'] = { - ['show_active_character'] = "Prikazi karaktere", - ['active_character'] = "Karakteri: %s", - ['error_active_character'] = "Imamo problem sa ucitavanjem karaktera.", - ['delete_character'] = "Obrisite karaktera.", - ['deleted_character'] = "Karakter obrisan", - ['error_delete_character'] = "Doslo je do greske pri brisanju karaktera.", - ['thank_you_for_registering'] = "Registracija uspesna. Uzivajte!", - ['debug_xPlayer_get_first_name'] = "Vraca vase ime", - ['debug_xPlayer_get_last_name'] = "Vraca vase prezime", - ['debug_xPlayer_get_full_name'] = "Vraca vase puno ime", - ['debug_xPlayer_get_sex'] = "Vraca vas pol", - ['debug_xPlayer_get_dob'] = "Vraca vas datum rodjenja", - ['debug_xPlayer_get_height'] = "Vraca vasu visinu", - ['error_debug_xPlayer_get_first_name'] = "Doslo je do greske pri pronalazenju vaseg imena.", - ['error_debug_xPlayer_get_last_name'] = "Doslo je do greske pri pronalazenju vaseg prezimena.", - ['error_debug_xPlayer_get_full_name'] = "Doslo je do greske pri pronalazenju vaseg punog imena.", - ['error_debug_xPlayer_get_sex'] = "Doslo je do greske pri pronalazenju vaseg pola.", - ['error_debug_xPlayer_get_dob'] = "Doslo je do greske pri pronalazenju vaseg datuma rodjenja.", - ['error_debug_xPlayer_get_height'] = "Doslo je do greske pri pronalazenju vase visine.", - ['return_debug_xPlayer_get_first_name'] = "Ime: %s", - ['return_debug_xPlayer_get_last_name'] = "Prezime: %s", - ['return_debug_xPlayer_get_full_name'] = "Ime: %s", - ['return_debug_xPlayer_get_sex'] = "Pol: %s", - ['return_debug_xPlayer_get_dob'] = "Datum rodjenja: %s", - ['return_debug_xPlayer_get_height'] = "Visina: %s", - ['data_incorrect'] = "Nevazeci podatci, pokusajte ponovo.", - ['invalid_format'] = "Nevazeci format podataka, pokusajte ponovo.", - ['no_identifier'] = "[ESX Identity]\nDoslo je do greske pri ucitavanju vaseg karaktera!\nError Code: identifier-missing\n\nUpalite steam pa pokusajte ponovo.", - ['missing_identity'] = "[ESX Identity]\nDoslo je do greske pri ucitavanju vaseg karaktera!\nError Code: identity-missing\n\nIzgleda da je vas steam nepostojeci. Pokusajte ponovo.", - ['deleted_identity'] = "Karakter obrisan. Uradite relog kako bi napravili novog karaktera.", - ['already_registered'] = "Vi ste vec registrovani.", - ['invalid_firstname_format'] = "Nevazeci Format (Ime): Pokusajte ponovo.", - ['invalid_lastname_format'] = "Nevazeci Format (Prezime): Pokusajte ponovo.", - ['invalid_dob_format'] = "Nevazeci Format (Datum Rodjenja): Pokusajte ponovo.", - ['invalid_sex_format'] = "Nevazeci Format (Pol): Pokusajte ponovo.", - ['invalid_height_format'] = "Nevazeci Format (Visina): Pokusajte ponovo.", +Locales["sr"] = { + ["show_active_character"] = "Prikazi karaktere", + ["active_character"] = "Karakteri: %s", + ["error_active_character"] = "Imamo problem sa ucitavanjem karaktera.", + ["delete_character"] = "Obrisite karaktera.", + ["deleted_character"] = "Karakter obrisan", + ["error_delete_character"] = "Doslo je do greske pri brisanju karaktera.", + ["thank_you_for_registering"] = "Registracija uspesna. Uzivajte!", + ["debug_xPlayer_get_first_name"] = "Vraca vase ime", + ["debug_xPlayer_get_last_name"] = "Vraca vase prezime", + ["debug_xPlayer_get_full_name"] = "Vraca vase puno ime", + ["debug_xPlayer_get_sex"] = "Vraca vas pol", + ["debug_xPlayer_get_dob"] = "Vraca vas datum rodjenja", + ["debug_xPlayer_get_height"] = "Vraca vasu visinu", + ["error_debug_xPlayer_get_first_name"] = "Doslo je do greske pri pronalazenju vaseg imena.", + ["error_debug_xPlayer_get_last_name"] = "Doslo je do greske pri pronalazenju vaseg prezimena.", + ["error_debug_xPlayer_get_full_name"] = "Doslo je do greske pri pronalazenju vaseg punog imena.", + ["error_debug_xPlayer_get_sex"] = "Doslo je do greske pri pronalazenju vaseg pola.", + ["error_debug_xPlayer_get_dob"] = "Doslo je do greske pri pronalazenju vaseg datuma rodjenja.", + ["error_debug_xPlayer_get_height"] = "Doslo je do greske pri pronalazenju vase visine.", + ["return_debug_xPlayer_get_first_name"] = "Ime: %s", + ["return_debug_xPlayer_get_last_name"] = "Prezime: %s", + ["return_debug_xPlayer_get_full_name"] = "Ime: %s", + ["return_debug_xPlayer_get_sex"] = "Pol: %s", + ["return_debug_xPlayer_get_dob"] = "Datum rodjenja: %s", + ["return_debug_xPlayer_get_height"] = "Visina: %s", + ["data_incorrect"] = "Nevazeci podatci, pokusajte ponovo.", + ["invalid_format"] = "Nevazeci format podataka, pokusajte ponovo.", + ["no_identifier"] = "[ESX Identity]\nDoslo je do greske pri ucitavanju vaseg karaktera!\nError Code: identifier-missing\n\nUpalite steam pa pokusajte ponovo.", + ["missing_identity"] = "[ESX Identity]\nDoslo je do greske pri ucitavanju vaseg karaktera!\nError Code: identity-missing\n\nIzgleda da je vas steam nepostojeci. Pokusajte ponovo.", + ["deleted_identity"] = "Karakter obrisan. Uradite relog kako bi napravili novog karaktera.", + ["already_registered"] = "Vi ste vec registrovani.", + ["invalid_firstname_format"] = "Nevazeci Format (Ime): Pokusajte ponovo.", + ["invalid_lastname_format"] = "Nevazeci Format (Prezime): Pokusajte ponovo.", + ["invalid_dob_format"] = "Nevazeci Format (Datum Rodjenja): Pokusajte ponovo.", + ["invalid_sex_format"] = "Nevazeci Format (Pol): Pokusajte ponovo.", + ["invalid_height_format"] = "Nevazeci Format (Visina): Pokusajte ponovo.", } diff --git a/[core]/esx_multicharacter/html/locales/hu.js b/[core]/esx_multicharacter/html/locales/hu.js index 3e2b346e..34091a2c 100644 --- a/[core]/esx_multicharacter/html/locales/hu.js +++ b/[core]/esx_multicharacter/html/locales/hu.js @@ -1,8 +1,8 @@ const translate = new Object(); -translate.name = "Név'; -translate.job = "Munka'; -translate.bank = "Bank'; -translate.money = "Készpénz'; -translate.gender = "Nem'; -translate.dob = "Születési idő'; +translate.name = "Név"; +translate.job = "Munka"; +translate.bank = "Bank"; +translate.money = "Készpénz"; +translate.gender = "Nem"; +translate.dob = "Születési idő"; diff --git a/[core]/esx_multicharacter/locales/cs.lua b/[core]/esx_multicharacter/locales/cs.lua index e566f490..28d11207 100644 --- a/[core]/esx_multicharacter/locales/cs.lua +++ b/[core]/esx_multicharacter/locales/cs.lua @@ -1,28 +1,28 @@ -Locales['cs'] = { +Locales["cs"] = { ["male"] = "Muž", ["female"] = "Žena", - ['select_char'] = "Zvolit Postavu", + ["select_char"] = "Zvolit Postavu", ["select_char_description"] = "Zvol si postavu za kterou budeš hrát.", - ['create_char'] = "Vytvořit Novou Postavu", - ['char_play'] = "Hrát za postavu", + ["create_char"] = "Vytvořit Novou Postavu", + ["char_play"] = "Hrát za postavu", ["char_play_description"] = "Pokračovat do města.", - ['char_disabled'] = "Tato postava je zakázána!", + ["char_disabled"] = "Tato postava je zakázána!", ["char_disabled_description"] = "Tuto postavu nemůžeš používat.", - ['char_delete'] = "Vymazat postavu", + ["char_delete"] = "Vymazat postavu", ["char_delete_description"] = "Na vždy smazat tuto postavu.", ["character"] = "Postava: %s", ["return"] = "Zpět", ["return_description"] = "Vrátit se na vybírání postav.", - ['command_setslots'] = "Nastavit sloty pro hráče v multicharacteru", - ['command_remslots'] = "Odebrat sloty pro hráče v multicharacteru", - ['command_enablechar'] = "Povolit zvolený slot hráči", - ['command_disablechar'] = "Zakázat zvolený slot pro hrače", - ['command_charslot'] = "Číslo slotu", - ['command_identifier'] = "Identifier hráče", - ['command_slots'] = "# ze slotu", - ['slotsadd'] = "Nastavil si slot %s hráči %s", - ['slotsrem'] = "Odebral si slot %s", - ['charenabled'] = "Povolil si postavu #%s z %s", - ['chardisabled'] = "Zakázal si postavu #%s z %s", - ['charnotfound'] = "Postava #%s z %s nebyla nalezena/neexistuje", + ["command_setslots"] = "Nastavit sloty pro hráče v multicharacteru", + ["command_remslots"] = "Odebrat sloty pro hráče v multicharacteru", + ["command_enablechar"] = "Povolit zvolený slot hráči", + ["command_disablechar"] = "Zakázat zvolený slot pro hrače", + ["command_charslot"] = "Číslo slotu", + ["command_identifier"] = "Identifier hráče", + ["command_slots"] = "# ze slotu", + ["slotsadd"] = "Nastavil si slot %s hráči %s", + ["slotsrem"] = "Odebral si slot %s", + ["charenabled"] = "Povolil si postavu #%s z %s", + ["chardisabled"] = "Zakázal si postavu #%s z %s", + ["charnotfound"] = "Postava #%s z %s nebyla nalezena/neexistuje", } diff --git a/[core]/esx_multicharacter/locales/es.lua b/[core]/esx_multicharacter/locales/es.lua index 2ba8c928..0f3cc6bf 100644 --- a/[core]/esx_multicharacter/locales/es.lua +++ b/[core]/esx_multicharacter/locales/es.lua @@ -1,28 +1,28 @@ -Locales['es'] = { - ['male'] = "Masculino", - ['female'] = "Femenino", - ['select_char'] = "Seleccionar personaje", - ['select_char_description'] = "Selecciona un personaje para jugar.", - ['create_char'] = "Crear nuevo personaje", - ['char_play'] = "Seleccionar personaje", - ['char_play_description'] = "Ingresar a la ciudad.", - ['char_disabled'] = "Este personaje está deshabilitado", - ['char_disabled_description'] = "Este personaje no se encuentra disponible.", - ['char_delete'] = "Borrar el personaje seleccionado", - ['char_delete_description'] = "Eliminar este personaje.", - ['character'] = "Personaje: %s", - ['return'] = "Volver", - ['return_description'] = "Volver a la selección de personajes.", - ['command_setslots'] = "Establecer el numero de slots de un jugador", - ['command_remslots'] = "Elimina slots de un jugador.", - ['command_enablechar'] = "Activar el personaje de un jugador", - ['command_disablechar'] = "Deshabilitar personaje al jugador.", - ['command_charslot'] = "Número de slot del personaje", - ['command_identifier'] = "Identificador del jugador", - ['command_slots'] = "Nº de slots", - ['slotsadd'] = "Has establecido los slots de %s a %s", - ['slotsrem'] = "Has eliminado un slot a %s", - ['charenabled'] = "Has habilitado el personaje Nº%s de %s", - ['chardisabled'] = "Has deshabilitado el personaje Nº%s de %s", - ['charnotfound'] = "Personaje Nº%s de %s no existe", +Locales["es"] = { + ["male"] = "Masculino", + ["female"] = "Femenino", + ["select_char"] = "Seleccionar personaje", + ["select_char_description"] = "Selecciona un personaje para jugar.", + ["create_char"] = "Crear nuevo personaje", + ["char_play"] = "Seleccionar personaje", + ["char_play_description"] = "Ingresar a la ciudad.", + ["char_disabled"] = "Este personaje está deshabilitado", + ["char_disabled_description"] = "Este personaje no se encuentra disponible.", + ["char_delete"] = "Borrar el personaje seleccionado", + ["char_delete_description"] = "Eliminar este personaje.", + ["character"] = "Personaje: %s", + ["return"] = "Volver", + ["return_description"] = "Volver a la selección de personajes.", + ["command_setslots"] = "Establecer el numero de slots de un jugador", + ["command_remslots"] = "Elimina slots de un jugador.", + ["command_enablechar"] = "Activar el personaje de un jugador", + ["command_disablechar"] = "Deshabilitar personaje al jugador.", + ["command_charslot"] = "Número de slot del personaje", + ["command_identifier"] = "Identificador del jugador", + ["command_slots"] = "Nº de slots", + ["slotsadd"] = "Has establecido los slots de %s a %s", + ["slotsrem"] = "Has eliminado un slot a %s", + ["charenabled"] = "Has habilitado el personaje Nº%s de %s", + ["chardisabled"] = "Has deshabilitado el personaje Nº%s de %s", + ["charnotfound"] = "Personaje Nº%s de %s no existe", } diff --git a/[core]/esx_multicharacter/locales/pt.lua b/[core]/esx_multicharacter/locales/pt.lua index 354f0291..68382b4e 100644 --- a/[core]/esx_multicharacter/locales/pt.lua +++ b/[core]/esx_multicharacter/locales/pt.lua @@ -1,25 +1,25 @@ -Locales['pt'] = { - ['male'] = "Masculino", - ['female'] = "Feminino", - ['delete_label'] = "Excluir %s %s?", - ['select_char'] = "Selecionar personagem", +Locales["pt"] = { + ["male"] = "Masculino", + ["female"] = "Feminino", + ["delete_label"] = "Excluir %s %s?", + ["select_char"] = "Selecionar personagem", ["select_char_description"] = "Select a character to play as.", - ['create_char'] = "Criar novo personagem", - ['char_play'] = "Selecionar", - ['char_disabled'] = "Este personagem está desabilitado", - ['char_delete'] = "Excluir este personagem", - ['cancel'] = "Cancelar", - ['confirm'] = "Confirmar", - ['command_setslots'] = "Definir o número de slots de vários personagens de um jogador", - ['command_remslots'] = "Remover o número de slots de vários personagens de um jogador", - ['command_enablechar'] = "Habilitar um determinado personagem de um jogador", - ['command_disablechar'] = "Desabilitar um determinado personagem de um jogador", - ['command_charslot'] = "Número do slot do personagem", - ['command_identifier'] = "Identificador do jogador", - ['command_slots'] = "# de slots", - ['slotsadd'] = "Você definiu %s slots para %s", - ['slotsrem'] = "Você removeu slots de %s", - ['charenabled'] = "Você ativou o personagem #%s de %s", - ['chardisabled'] = "Você desativou o personagem #%s de %s", - ['charnotfound'] = "Personagem #%s de %s não existe", + ["create_char"] = "Criar novo personagem", + ["char_play"] = "Selecionar", + ["char_disabled"] = "Este personagem está desabilitado", + ["char_delete"] = "Excluir este personagem", + ["cancel"] = "Cancelar", + ["confirm"] = "Confirmar", + ["command_setslots"] = "Definir o número de slots de vários personagens de um jogador", + ["command_remslots"] = "Remover o número de slots de vários personagens de um jogador", + ["command_enablechar"] = "Habilitar um determinado personagem de um jogador", + ["command_disablechar"] = "Desabilitar um determinado personagem de um jogador", + ["command_charslot"] = "Número do slot do personagem", + ["command_identifier"] = "Identificador do jogador", + ["command_slots"] = "# de slots", + ["slotsadd"] = "Você definiu %s slots para %s", + ["slotsrem"] = "Você removeu slots de %s", + ["charenabled"] = "Você ativou o personagem #%s de %s", + ["chardisabled"] = "Você desativou o personagem #%s de %s", + ["charnotfound"] = "Personagem #%s de %s não existe", } diff --git a/[core]/esx_skin/locales/da.lua b/[core]/esx_skin/locales/da.lua index eb438595..3a1963a8 100644 --- a/[core]/esx_skin/locales/da.lua +++ b/[core]/esx_skin/locales/da.lua @@ -1,6 +1,6 @@ -Locales['da'] = { - ['skin_menu'] = "Udseende Menu", - ['use_rotate_view'] = "brug ~INPUT_FRONTEND_LS~ og ~INPUT_CHARACTER_WHEEL~ for at dreje kameraet.", - ['skin'] = "skift udseende", - ['saveskin'] = "gem udseende til en fil", +Locales["da"] = { + ["skin_menu"] = "Udseende Menu", + ["use_rotate_view"] = "brug ~INPUT_FRONTEND_LS~ og ~INPUT_CHARACTER_WHEEL~ for at dreje kameraet.", + ["skin"] = "skift udseende", + ["saveskin"] = "gem udseende til en fil", } \ No newline at end of file diff --git a/[core]/esx_skin/locales/en.lua b/[core]/esx_skin/locales/en.lua index afa7a6d7..ac16f930 100644 --- a/[core]/esx_skin/locales/en.lua +++ b/[core]/esx_skin/locales/en.lua @@ -1,6 +1,6 @@ -Locales['en'] = { - ['skin_menu'] = "Skin Menu", - ['use_rotate_view'] = "use ~INPUT_FRONTEND_LS~ and ~INPUT_CHARACTER_WHEEL~ to rotate the view.", - ['skin'] = "change skin", - ['saveskin'] = "save skin to a file", +Locales["en"] = { + ["skin_menu"] = "Skin Menu", + ["use_rotate_view"] = "use ~INPUT_FRONTEND_LS~ and ~INPUT_CHARACTER_WHEEL~ to rotate the view.", + ["skin"] = "change skin", + ["saveskin"] = "save skin to a file", } diff --git a/[core]/esx_skin/locales/es.lua b/[core]/esx_skin/locales/es.lua index f706107f..16ac42f9 100644 --- a/[core]/esx_skin/locales/es.lua +++ b/[core]/esx_skin/locales/es.lua @@ -1,6 +1,6 @@ -Locales['es'] = { - ['skin_menu'] = "Menú de apariencia", - ['use_rotate_view'] = "Utiliza ~INPUT_FRONTEND_LS~ y ~INPUT_CHARACTER_WHEEL~ para rotar la vista.", - ['skin'] = "Cambiar aspecto", - ['saveskin'] = "Guarda tu aspecto actual", +Locales["es"] = { + ["skin_menu"] = "Menú de apariencia", + ["use_rotate_view"] = "Utiliza ~INPUT_FRONTEND_LS~ y ~INPUT_CHARACTER_WHEEL~ para rotar la vista.", + ["skin"] = "Cambiar aspecto", + ["saveskin"] = "Guarda tu aspecto actual", } diff --git a/[core]/esx_skin/locales/fi.lua b/[core]/esx_skin/locales/fi.lua index 0920de12..43629982 100644 --- a/[core]/esx_skin/locales/fi.lua +++ b/[core]/esx_skin/locales/fi.lua @@ -1,6 +1,6 @@ -Locales['fi'] = { - ['skin_menu'] = "Ulkonäkö", - ['use_rotate_view'] = "Paina ~INPUT_FRONTEND_LS~ tai ~INPUT_CHARACTER_WHEEL~ liikutaaksesi kameraa.", - ['skin'] = "Muokkaa ulkonäköä", - ['saveskin'] = "Tallenna", +Locales["fi"] = { + ["skin_menu"] = "Ulkonäkö", + ["use_rotate_view"] = "Paina ~INPUT_FRONTEND_LS~ tai ~INPUT_CHARACTER_WHEEL~ liikutaaksesi kameraa.", + ["skin"] = "Muokkaa ulkonäköä", + ["saveskin"] = "Tallenna", } diff --git a/[core]/esx_skin/locales/fr.lua b/[core]/esx_skin/locales/fr.lua index a6ff3c39..3e0c9655 100644 --- a/[core]/esx_skin/locales/fr.lua +++ b/[core]/esx_skin/locales/fr.lua @@ -1,6 +1,6 @@ -Locales['fr'] = { - ['skin_menu'] = "menu de Skin", - ['use_rotate_view'] = "utilisez ~INPUT_FRONTEND_LS~ et ~INPUT_CHARACTER_WHEEL~ pour tourner la vue.", - ['skin'] = "changer de skin", - ['saveskin'] = "sauvegarder skin dans un fichier", +Locales["fr"] = { + ["skin_menu"] = "menu de Skin", + ["use_rotate_view"] = "utilisez ~INPUT_FRONTEND_LS~ et ~INPUT_CHARACTER_WHEEL~ pour tourner la vue.", + ["skin"] = "changer de skin", + ["saveskin"] = "sauvegarder skin dans un fichier", } diff --git a/[core]/esx_skin/locales/it.lua b/[core]/esx_skin/locales/it.lua index 2c070462..8a30fe64 100644 --- a/[core]/esx_skin/locales/it.lua +++ b/[core]/esx_skin/locales/it.lua @@ -1,6 +1,6 @@ -Locales['it'] = { - ['skin_menu'] = "Menu Skin", - ['use_rotate_view'] = "usa ~INPUT_FRONTEND_LS~ e ~INPUT_CHARACTER_WHEEL~ per ruotare la visuale.", - ['skin'] = "cambia skin", - ['saveskin'] = "salvare la skin", +Locales["it"] = { + ["skin_menu"] = "Menu Skin", + ["use_rotate_view"] = "usa ~INPUT_FRONTEND_LS~ e ~INPUT_CHARACTER_WHEEL~ per ruotare la visuale.", + ["skin"] = "cambia skin", + ["saveskin"] = "salvare la skin", } diff --git a/[core]/esx_skin/locales/nl.lua b/[core]/esx_skin/locales/nl.lua index 29077de9..c74b4ec0 100644 --- a/[core]/esx_skin/locales/nl.lua +++ b/[core]/esx_skin/locales/nl.lua @@ -1,6 +1,6 @@ -Locales['nl'] = { - ['skin_menu'] = "Kleding Menu", - ['use_rotate_view'] = "gebruik ~INPUT_FRONTEND_LS~ en ~INPUT_CHARACTER_WHEEL~ om de camera te draaien.", - ['skin'] = "verander outfit", - ['saveskin'] = "sla outfit op in je kledingkast.", +Locales["nl"] = { + ["skin_menu"] = "Kleding Menu", + ["use_rotate_view"] = "gebruik ~INPUT_FRONTEND_LS~ en ~INPUT_CHARACTER_WHEEL~ om de camera te draaien.", + ["skin"] = "verander outfit", + ["saveskin"] = "sla outfit op in je kledingkast.", } diff --git a/[core]/esx_skin/locales/pl.lua b/[core]/esx_skin/locales/pl.lua index 43ec2bd3..8484b0a0 100644 --- a/[core]/esx_skin/locales/pl.lua +++ b/[core]/esx_skin/locales/pl.lua @@ -1,6 +1,6 @@ -Locales['pl'] = { - ['skin_menu'] = "menu wyglądu", - ['use_rotate_view'] = "użyj ~INPUT_FRONTEND_LS~ i ~INPUT_CHARACTER_WHEEL~ aby obrócić ekran.", - ['skin'] = "zmień wygląd", - ['saveskin'] = "zapisz wygląd do pliku", +Locales["pl"] = { + ["skin_menu"] = "menu wyglądu", + ["use_rotate_view"] = "użyj ~INPUT_FRONTEND_LS~ i ~INPUT_CHARACTER_WHEEL~ aby obrócić ekran.", + ["skin"] = "zmień wygląd", + ["saveskin"] = "zapisz wygląd do pliku", } diff --git a/[core]/esx_skin/locales/pt.lua b/[core]/esx_skin/locales/pt.lua index a5276489..f35017f7 100644 --- a/[core]/esx_skin/locales/pt.lua +++ b/[core]/esx_skin/locales/pt.lua @@ -1,6 +1,6 @@ -Locales['pt'] = { - ['skin_menu'] = "Menu de Skin", - ['use_rotate_view'] = "Usa ~INPUT_FRONTEND_LS~ e ~INPUT_CHARACTER_WHEEL~ para rodar a câmara.", - ['skin'] = "alterar skin", - ['saveskin'] = "salvar a skin num ficheiro", +Locales["pt"] = { + ["skin_menu"] = "Menu de Skin", + ["use_rotate_view"] = "Usa ~INPUT_FRONTEND_LS~ e ~INPUT_CHARACTER_WHEEL~ para rodar a câmara.", + ["skin"] = "alterar skin", + ["saveskin"] = "salvar a skin num ficheiro", } diff --git a/[core]/esx_skin/locales/sl.lua b/[core]/esx_skin/locales/sl.lua index 9cf62360..a29f809c 100644 --- a/[core]/esx_skin/locales/sl.lua +++ b/[core]/esx_skin/locales/sl.lua @@ -1,6 +1,6 @@ -Locales['sl'] = { - ['skin_menu'] = "Oblacilni menu.", - ['use_rotate_view'] = "Pritisni ~INPUT_FRONTEND_LS~ in ~INPUT_CHARACTER_WHEEL~ da se obracas s pogledom.", - ['skin'] = "Zamenjaj Skin.", - ['saveskin'] = "Shrani skin.", +Locales["sl"] = { + ["skin_menu"] = "Oblacilni menu.", + ["use_rotate_view"] = "Pritisni ~INPUT_FRONTEND_LS~ in ~INPUT_CHARACTER_WHEEL~ da se obracas s pogledom.", + ["skin"] = "Zamenjaj Skin.", + ["saveskin"] = "Shrani skin.", } diff --git a/[core]/esx_skin/locales/sr.lua b/[core]/esx_skin/locales/sr.lua index 68dca624..df468406 100644 --- a/[core]/esx_skin/locales/sr.lua +++ b/[core]/esx_skin/locales/sr.lua @@ -1,6 +1,6 @@ -Locales['sr'] = { - ['skin_menu'] = "Skin Meni", - ['use_rotate_view'] = "koristi ~INPUT_FRONTEND_LS~ i ~INPUT_CHARACTER_WHEEL~ da rotiras kameru.", - ['skin'] = "promeni skin", - ['saveskin'] = "sacuvaj skin u file", +Locales["sr"] = { + ["skin_menu"] = "Skin Meni", + ["use_rotate_view"] = "koristi ~INPUT_FRONTEND_LS~ i ~INPUT_CHARACTER_WHEEL~ da rotiras kameru.", + ["skin"] = "promeni skin", + ["saveskin"] = "sacuvaj skin u file", } diff --git a/[core]/esx_skin/locales/zh-cn.lua b/[core]/esx_skin/locales/zh-cn.lua index 4e3d92ab..858fce10 100644 --- a/[core]/esx_skin/locales/zh-cn.lua +++ b/[core]/esx_skin/locales/zh-cn.lua @@ -1,6 +1,6 @@ -Locales['zh-cn'] = { - ['skin_menu'] = "皮肤选单", - ['use_rotate_view'] = "使用 ~INPUT_FRONTEND_LS~ 和 ~INPUT_CHARACTER_WHEEL~ 旋转镜头视角.", - ['skin'] = "更换皮肤数据", - ['saveskin'] = "保存皮肤数据", +Locales["zh-cn"] = { + ["skin_menu"] = "皮肤选单", + ["use_rotate_view"] = "使用 ~INPUT_FRONTEND_LS~ 和 ~INPUT_CHARACTER_WHEEL~ 旋转镜头视角.", + ["skin"] = "更换皮肤数据", + ["saveskin"] = "保存皮肤数据", } diff --git a/[core]/skinchanger/locales/da.lua b/[core]/skinchanger/locales/da.lua index d966ec2a..6a5e85c6 100644 --- a/[core]/skinchanger/locales/da.lua +++ b/[core]/skinchanger/locales/da.lua @@ -1,100 +1,100 @@ -Locales['da'] = { - ['sex'] = "køn", - ['mom'] = "mors ansigt", - ['dad'] = "fars ansigt", - ['resemblance'] = "lighed", - ['skin_tone'] = "hudfarve", - ['nose_1'] = "næse bredde", - ['nose_2'] = "næsespidshøjde", - ['nose_3'] = "næsespidslængde", - ['nose_4'] = "næseknoglehøjde", - ['nose_5'] = "næsespidssænkning", - ['nose_6'] = "nose bone twist", - ['cheeks_1'] = "kindbens højde", - ['cheeks_2'] = "kindbens bredde", - ['cheeks_3'] = "kind bredde", - ['lip_fullness'] = "læbe fylde", - ['jaw_bone_width'] = "kæbeknoglebredde", - ['jaw_bone_length'] = "kæbebens længde", - ['chin_height'] = "hagehøjde", - ['chin_length'] = "hagelængde", - ['chin_width'] = "hagebredde", - ['chin_hole'] = "chin hole size", - ['neck_thickness'] = "nakke tykkelse", - ['wrinkles'] = "rynker", - ['wrinkle_thickness'] = "rynke tykkelse", - ['beard_type'] = "skæg type", - ['beard_size'] = "skæg størrelse", - ['beard_color_1'] = "skæg farve 1", - ['beard_color_2'] = "skæg farve 2", - ['hair_1'] = "hår 1", - ['hair_2'] = "hår 2", - ['hair_color_1'] = "hårfarve 1", - ['hair_color_2'] = "hårfarve 2", - ['eye_color'] = "øjenfarve", - ['eye_squint'] = "øjet skele", - ['eyebrow_type'] = "øjenbryns type", - ['eyebrow_size'] = "øjenbryns størrelse", - ['eyebrow_color_1'] = "øjenbryn farve 1", - ['eyebrow_color_2'] = "øjenbryn farve 2", - ['eyebrow_depth'] = "øjenbryns dybde", - ['eyebrow_height'] = "øjenbryns højde", - ['makeup_type'] = "makeup type", - ['makeup_thickness'] = "makeup tykkelse", - ['makeup_color_1'] = "makeup farve 1", - ['makeup_color_2'] = "makeup farve 2", - ['lipstick_type'] = "læbestifts type", - ['lipstick_thickness'] = "læbestifts tykkelse", - ['lipstick_color_1'] = "læbestifts farve 1", - ['lipstick_color_2'] = "læbestifts farve 2", - ['ear_accessories'] = "øretilbehør", - ['ear_accessories_color'] = "øretilbehør farve", - ['tshirt_1'] = "t-shirt 1", - ['tshirt_2'] = "t-shirt 2", - ['torso_1'] = "overkrop 1", - ['torso_2'] = "overkrop 2", - ['decals_1'] = "mærkater 1", - ['decals_2'] = "mærkater 2", - ['arms'] = "arme", - ['arms_2'] = "arme 2", - ['pants_1'] = "bukser 1", - ['pants_2'] = "bukser 2", - ['shoes_1'] = "sko 1", - ['shoes_2'] = "sko 2", - ['mask_1'] = "maske 1", - ['mask_2'] = "maske 2", - ['bproof_1'] = "skudsikker vest 1", - ['bproof_2'] = "skudsikker vest 2", - ['chain_1'] = "kæde 1", - ['chain_2'] = "kæde 2", - ['helmet_1'] = "hjelm 1", - ['helmet_2'] = "hjelm 2", - ['watches_1'] = "ure 1", - ['watches_2'] = "ure 2", - ['bracelets_1'] = "armbånd 1", - ['bracelets_2'] = "armbånd 2", - ['glasses_1'] = "briller 1", - ['glasses_2'] = "briller 2", - ['bag'] = "taske", - ['bag_color'] = "taske farve", - ['blemishes'] = "bumser", - ['blemishes_size'] = "bumser tykkelse", - ['ageing'] = "aldring", - ['ageing_1'] = "aldring tykkelse", - ['blush'] = "rødme", - ['blush_1'] = "rødme tykkelse", - ['blush_color'] = "rødme farve", - ['complexion'] = "teint", - ['complexion_1'] = "teint tykkelse", - ['sun'] = "sol", - ['sun_1'] = "soltykkelse", - ['freckles'] = "fregner", - ['freckles_1'] = "fregnernes tykkelse", - ['chest_hair'] = "brysthår", - ['chest_hair_1'] = "brysthårtykkelse", - ['chest_color'] = "brysthårfarve", - ['bodyb'] = "krops pletter", - ['bodyb_size'] = "krops pletter tykkelse", - ['bodyb_extra'] = "pletter kropseffekt", - ['bodyb_extra_thickness'] = "pletter kropseffekt tykkelse", +Locales["da"] = { + ["sex"] = "køn", + ["mom"] = "mors ansigt", + ["dad"] = "fars ansigt", + ["resemblance"] = "lighed", + ["skin_tone"] = "hudfarve", + ["nose_1"] = "næse bredde", + ["nose_2"] = "næsespidshøjde", + ["nose_3"] = "næsespidslængde", + ["nose_4"] = "næseknoglehøjde", + ["nose_5"] = "næsespidssænkning", + ["nose_6"] = "nose bone twist", + ["cheeks_1"] = "kindbens højde", + ["cheeks_2"] = "kindbens bredde", + ["cheeks_3"] = "kind bredde", + ["lip_fullness"] = "læbe fylde", + ["jaw_bone_width"] = "kæbeknoglebredde", + ["jaw_bone_length"] = "kæbebens længde", + ["chin_height"] = "hagehøjde", + ["chin_length"] = "hagelængde", + ["chin_width"] = "hagebredde", + ["chin_hole"] = "chin hole size", + ["neck_thickness"] = "nakke tykkelse", + ["wrinkles"] = "rynker", + ["wrinkle_thickness"] = "rynke tykkelse", + ["beard_type"] = "skæg type", + ["beard_size"] = "skæg størrelse", + ["beard_color_1"] = "skæg farve 1", + ["beard_color_2"] = "skæg farve 2", + ["hair_1"] = "hår 1", + ["hair_2"] = "hår 2", + ["hair_color_1"] = "hårfarve 1", + ["hair_color_2"] = "hårfarve 2", + ["eye_color"] = "øjenfarve", + ["eye_squint"] = "øjet skele", + ["eyebrow_type"] = "øjenbryns type", + ["eyebrow_size"] = "øjenbryns størrelse", + ["eyebrow_color_1"] = "øjenbryn farve 1", + ["eyebrow_color_2"] = "øjenbryn farve 2", + ["eyebrow_depth"] = "øjenbryns dybde", + ["eyebrow_height"] = "øjenbryns højde", + ["makeup_type"] = "makeup type", + ["makeup_thickness"] = "makeup tykkelse", + ["makeup_color_1"] = "makeup farve 1", + ["makeup_color_2"] = "makeup farve 2", + ["lipstick_type"] = "læbestifts type", + ["lipstick_thickness"] = "læbestifts tykkelse", + ["lipstick_color_1"] = "læbestifts farve 1", + ["lipstick_color_2"] = "læbestifts farve 2", + ["ear_accessories"] = "øretilbehør", + ["ear_accessories_color"] = "øretilbehør farve", + ["tshirt_1"] = "t-shirt 1", + ["tshirt_2"] = "t-shirt 2", + ["torso_1"] = "overkrop 1", + ["torso_2"] = "overkrop 2", + ["decals_1"] = "mærkater 1", + ["decals_2"] = "mærkater 2", + ["arms"] = "arme", + ["arms_2"] = "arme 2", + ["pants_1"] = "bukser 1", + ["pants_2"] = "bukser 2", + ["shoes_1"] = "sko 1", + ["shoes_2"] = "sko 2", + ["mask_1"] = "maske 1", + ["mask_2"] = "maske 2", + ["bproof_1"] = "skudsikker vest 1", + ["bproof_2"] = "skudsikker vest 2", + ["chain_1"] = "kæde 1", + ["chain_2"] = "kæde 2", + ["helmet_1"] = "hjelm 1", + ["helmet_2"] = "hjelm 2", + ["watches_1"] = "ure 1", + ["watches_2"] = "ure 2", + ["bracelets_1"] = "armbånd 1", + ["bracelets_2"] = "armbånd 2", + ["glasses_1"] = "briller 1", + ["glasses_2"] = "briller 2", + ["bag"] = "taske", + ["bag_color"] = "taske farve", + ["blemishes"] = "bumser", + ["blemishes_size"] = "bumser tykkelse", + ["ageing"] = "aldring", + ["ageing_1"] = "aldring tykkelse", + ["blush"] = "rødme", + ["blush_1"] = "rødme tykkelse", + ["blush_color"] = "rødme farve", + ["complexion"] = "teint", + ["complexion_1"] = "teint tykkelse", + ["sun"] = "sol", + ["sun_1"] = "soltykkelse", + ["freckles"] = "fregner", + ["freckles_1"] = "fregnernes tykkelse", + ["chest_hair"] = "brysthår", + ["chest_hair_1"] = "brysthårtykkelse", + ["chest_color"] = "brysthårfarve", + ["bodyb"] = "krops pletter", + ["bodyb_size"] = "krops pletter tykkelse", + ["bodyb_extra"] = "pletter kropseffekt", + ["bodyb_extra_thickness"] = "pletter kropseffekt tykkelse", } \ No newline at end of file diff --git a/[core]/skinchanger/locales/en.lua b/[core]/skinchanger/locales/en.lua index 82f8ec63..61e11a3d 100644 --- a/[core]/skinchanger/locales/en.lua +++ b/[core]/skinchanger/locales/en.lua @@ -1,100 +1,100 @@ -Locales['en'] = { - ['sex'] = "sex", - ['mom'] = "mom's face", - ['dad'] = "dad's face", - ['resemblance'] = "resemblance", - ['skin_tone'] = "skin tone", - ['nose_1'] = "nose width", - ['nose_2'] = "nose peak height", - ['nose_3'] = "nose peak length", - ['nose_4'] = "nose bone height", - ['nose_5'] = "nose peak lowering", - ['nose_6'] = "nose bone twist", - ['cheeks_1'] = "cheekbones height", - ['cheeks_2'] = "cheekbones width", - ['cheeks_3'] = "cheeks width", - ['lip_fullness'] = "lip fullness", - ['jaw_bone_width'] = "jaw bone width", - ['jaw_bone_length'] = "jaw bone length", - ['chin_height'] = "chin height", - ['chin_length'] = "chin length", - ['chin_width'] = "chin width", - ['chin_hole'] = "chin hole size", - ['neck_thickness'] = "neck thickness", - ['wrinkles'] = "wrinkles", - ['wrinkle_thickness'] = "wrinkle thickness", - ['beard_type'] = "beard type", - ['beard_size'] = "beard size", - ['beard_color_1'] = "beard color 1", - ['beard_color_2'] = "beard color 2", - ['hair_1'] = "hair 1", - ['hair_2'] = "hair 2", - ['hair_color_1'] = "hair color 1", - ['hair_color_2'] = "hair color 2", - ['eye_color'] = "eye color", - ['eye_squint'] = "eye squint", - ['eyebrow_type'] = "eyebrow type", - ['eyebrow_size'] = "eyebrow size", - ['eyebrow_color_1'] = "eyebrow color 1", - ['eyebrow_color_2'] = "eyebrow color 2", - ['eyebrow_depth'] = "eyebrow depth", - ['eyebrow_height'] = "eyebrow height", - ['makeup_type'] = "makeup type", - ['makeup_thickness'] = "makeup thickness", - ['makeup_color_1'] = "makeup color 1", - ['makeup_color_2'] = "makeup color 2", - ['lipstick_type'] = "lipstick type", - ['lipstick_thickness'] = "lipstick thickness", - ['lipstick_color_1'] = "lipstick color 1", - ['lipstick_color_2'] = "lipstick color 2", - ['ear_accessories'] = "ear accessories", - ['ear_accessories_color'] = "ear accessories color", - ['tshirt_1'] = "t-Shirt 1", - ['tshirt_2'] = "t-Shirt 2", - ['torso_1'] = "torso 1", - ['torso_2'] = "torso 2", - ['decals_1'] = "decals 1", - ['decals_2'] = "decals 2", - ['arms'] = "arms", - ['arms_2'] = "arms 2", - ['pants_1'] = "pants 1", - ['pants_2'] = "pants 2", - ['shoes_1'] = "shoes 1", - ['shoes_2'] = "shoes 2", - ['mask_1'] = "mask 1", - ['mask_2'] = "mask 2", - ['bproof_1'] = "bulletproof vest 1", - ['bproof_2'] = "bulletproof vest 2", - ['chain_1'] = "chain 1", - ['chain_2'] = "chain 2", - ['helmet_1'] = "helmet 1", - ['helmet_2'] = "helmet 2", - ['watches_1'] = "watches 1", - ['watches_2'] = "watches 2", - ['bracelets_1'] = "bracelets 1", - ['bracelets_2'] = "bracelets 2", - ['glasses_1'] = "glasses 1", - ['glasses_2'] = "glasses 2", - ['bag'] = "bag", - ['bag_color'] = "bag color", - ['blemishes'] = "blemishes", - ['blemishes_size'] = "blemishes thickness", - ['ageing'] = "ageing", - ['ageing_1'] = "ageing thickness", - ['blush'] = "blush", - ['blush_1'] = "blush thickness", - ['blush_color'] = "blush color", - ['complexion'] = "complexion", - ['complexion_1'] = "complexion thickness", - ['sun'] = "sun", - ['sun_1'] = "sun thickness", - ['freckles'] = "freckles", - ['freckles_1'] = "freckles thickness", - ['chest_hair'] = "chest hair", - ['chest_hair_1'] = "chest hair thickness", - ['chest_color'] = "chest hair color", - ['bodyb'] = "body blemishes", - ['bodyb_size'] = "body blemishes thickness", - ['bodyb_extra'] = "blemishes body effect", - ['bodyb_extra_thickness'] = "blemishes body effect thickness", +Locales["en"] = { + ["sex"] = "sex", + ["mom"] = "mom's face", + ["dad"] = "dad's face", + ["resemblance"] = "resemblance", + ["skin_tone"] = "skin tone", + ["nose_1"] = "nose width", + ["nose_2"] = "nose peak height", + ["nose_3"] = "nose peak length", + ["nose_4"] = "nose bone height", + ["nose_5"] = "nose peak lowering", + ["nose_6"] = "nose bone twist", + ["cheeks_1"] = "cheekbones height", + ["cheeks_2"] = "cheekbones width", + ["cheeks_3"] = "cheeks width", + ["lip_fullness"] = "lip fullness", + ["jaw_bone_width"] = "jaw bone width", + ["jaw_bone_length"] = "jaw bone length", + ["chin_height"] = "chin height", + ["chin_length"] = "chin length", + ["chin_width"] = "chin width", + ["chin_hole"] = "chin hole size", + ["neck_thickness"] = "neck thickness", + ["wrinkles"] = "wrinkles", + ["wrinkle_thickness"] = "wrinkle thickness", + ["beard_type"] = "beard type", + ["beard_size"] = "beard size", + ["beard_color_1"] = "beard color 1", + ["beard_color_2"] = "beard color 2", + ["hair_1"] = "hair 1", + ["hair_2"] = "hair 2", + ["hair_color_1"] = "hair color 1", + ["hair_color_2"] = "hair color 2", + ["eye_color"] = "eye color", + ["eye_squint"] = "eye squint", + ["eyebrow_type"] = "eyebrow type", + ["eyebrow_size"] = "eyebrow size", + ["eyebrow_color_1"] = "eyebrow color 1", + ["eyebrow_color_2"] = "eyebrow color 2", + ["eyebrow_depth"] = "eyebrow depth", + ["eyebrow_height"] = "eyebrow height", + ["makeup_type"] = "makeup type", + ["makeup_thickness"] = "makeup thickness", + ["makeup_color_1"] = "makeup color 1", + ["makeup_color_2"] = "makeup color 2", + ["lipstick_type"] = "lipstick type", + ["lipstick_thickness"] = "lipstick thickness", + ["lipstick_color_1"] = "lipstick color 1", + ["lipstick_color_2"] = "lipstick color 2", + ["ear_accessories"] = "ear accessories", + ["ear_accessories_color"] = "ear accessories color", + ["tshirt_1"] = "t-Shirt 1", + ["tshirt_2"] = "t-Shirt 2", + ["torso_1"] = "torso 1", + ["torso_2"] = "torso 2", + ["decals_1"] = "decals 1", + ["decals_2"] = "decals 2", + ["arms"] = "arms", + ["arms_2"] = "arms 2", + ["pants_1"] = "pants 1", + ["pants_2"] = "pants 2", + ["shoes_1"] = "shoes 1", + ["shoes_2"] = "shoes 2", + ["mask_1"] = "mask 1", + ["mask_2"] = "mask 2", + ["bproof_1"] = "bulletproof vest 1", + ["bproof_2"] = "bulletproof vest 2", + ["chain_1"] = "chain 1", + ["chain_2"] = "chain 2", + ["helmet_1"] = "helmet 1", + ["helmet_2"] = "helmet 2", + ["watches_1"] = "watches 1", + ["watches_2"] = "watches 2", + ["bracelets_1"] = "bracelets 1", + ["bracelets_2"] = "bracelets 2", + ["glasses_1"] = "glasses 1", + ["glasses_2"] = "glasses 2", + ["bag"] = "bag", + ["bag_color"] = "bag color", + ["blemishes"] = "blemishes", + ["blemishes_size"] = "blemishes thickness", + ["ageing"] = "ageing", + ["ageing_1"] = "ageing thickness", + ["blush"] = "blush", + ["blush_1"] = "blush thickness", + ["blush_color"] = "blush color", + ["complexion"] = "complexion", + ["complexion_1"] = "complexion thickness", + ["sun"] = "sun", + ["sun_1"] = "sun thickness", + ["freckles"] = "freckles", + ["freckles_1"] = "freckles thickness", + ["chest_hair"] = "chest hair", + ["chest_hair_1"] = "chest hair thickness", + ["chest_color"] = "chest hair color", + ["bodyb"] = "body blemishes", + ["bodyb_size"] = "body blemishes thickness", + ["bodyb_extra"] = "blemishes body effect", + ["bodyb_extra_thickness"] = "blemishes body effect thickness", } diff --git a/[core]/skinchanger/locales/es.lua b/[core]/skinchanger/locales/es.lua index c3eeee46..237776e7 100644 --- a/[core]/skinchanger/locales/es.lua +++ b/[core]/skinchanger/locales/es.lua @@ -1,100 +1,100 @@ -Locales['es'] = { - ['sex'] = "Sexo", - ['mom'] = "Herencia de la Madre", - ['dad'] = "Herencia del Padre", - ['resemblance'] = "Parecido", - ['skin_tone'] = "Tono de piel", - ['nose_1'] = "Ancho de la Nariz", - ['nose_2'] = "Altura del pico de la Nariz", - ['nose_3'] = "Longitud del pico de la Nariz", - ['nose_4'] = "Altura del hueso de la Nariz", - ['nose_5'] = "Bajada del pico de la Nariz", - ['nose_6'] = "Torsión del hueso de la Nariz", - ['cheeks_1'] = "Altura de los pómulos", - ['cheeks_2'] = "Anchura de los pómulos", - ['cheeks_3'] = "Ancho de las mejillas", - ['lip_fullness'] = "Relleno de los labios", - ['jaw_bone_width'] = "Anchura del hueso de la mandíbula", - ['jaw_bone_length'] = "Longitud del hueso de la mandíbula", - ['chin_height'] = "Altura de la barbilla", - ['chin_length'] = "Longitud de la barbilla", - ['chin_width'] = "Ancho de la barbilla", - ['chin_hole'] = "Tamaño del agujero de la barbilla", - ['neck_thickness'] = "Grosor del cuello", - ['wrinkles'] = "Arrugas", - ['wrinkle_thickness'] = "Cantidad de arrugas", - ['beard_type'] = "Tipo de barba", - ['beard_size'] = "Tamaño de la barba", - ['beard_color_1'] = "Color de la barba 1", - ['beard_color_2'] = "Color de la barba 2", - ['hair_1'] = "Pelo 1", - ['hair_2'] = "Pelo 2", - ['hair_color_1'] = "Color de pelo 1", - ['hair_color_2'] = "Color de pelo 2", - ['eye_color'] = "Color de ojos", - ['eye_squint'] = "Apertura de ojos", - ['eyebrow_type'] = "Tipo de ceja", - ['eyebrow_size'] = "Tipo de ceja", - ['eyebrow_color_1'] = "Color de ceja 1", - ['eyebrow_color_2'] = "Color de ceja 2", - ['eyebrow_depth'] = "Profundidad de las cejas", - ['eyebrow_height'] = "Altura de las cejas", - ['makeup_type'] = "Tipo de maquillaje", - ['makeup_thickness'] = "Cantidad de maquillaje", - ['makeup_color_1'] = "Color de maquillaje 1", - ['makeup_color_2'] = "Color de maquillaje 2", - ['lipstick_type'] = "Tipo de pintalabios", - ['lipstick_thickness'] = "Cantidad de pintalabios", - ['lipstick_color_1'] = "Color de pintalabios 1", - ['lipstick_color_2'] = "Color de pintalabios 2", - ['ear_accessories'] = "Accesorios de oreja", - ['ear_accessories_color'] = "Color de accesorios", - ['tshirt_1'] = "Camiseta 1", - ['tshirt_2'] = "Camiseta 2", - ['torso_1'] = "Torso 1", - ['torso_2'] = "Torso 2", - ['decals_1'] = "Tatuajes 1", - ['decals_2'] = "Tatuajes 2", - ['arms'] = "Brazos", - ['arms_2'] = "Brazos 2", - ['pants_1'] = "Pantalones 1", - ['pants_2'] = "Pantalones 2", - ['shoes_1'] = "Calzado 1", - ['shoes_2'] = "Calzado 2", - ['mask_1'] = "Mascara 1", - ['mask_2'] = "Mascara 2", - ['bproof_1'] = "Chaleco antibalas 1", - ['bproof_2'] = "Chaleco antibalas 2", - ['chain_1'] = "Cadena 1", - ['chain_2'] = "Cadena 2", - ['helmet_1'] = "Casco 1", - ['helmet_2'] = "Casco 2", - ['watches_1'] = "Reloj 1", - ['watches_2'] = "Reloj 2", - ['bracelets_1'] = "Pulseras 1", - ['bracelets_2'] = "Pulseras 2", - ['glasses_1'] = "Gafas 1", - ['glasses_2'] = "Gafas 2", - ['bag'] = "Mochila", - ['bag_color'] = "Color mochila", - ['blemishes'] = "Manchas", - ['blemishes_size'] = "Cantidad de manchas", - ['ageing'] = "Envejecimiento", - ['ageing_1'] = "Cantidad de envejecimiento", - ['blush'] = "Colorete", - ['blush_1'] = "Cantidad de colorete", - ['blush_color'] = "Color de colorete", - ['complexion'] = "Complexión", - ['complexion_1'] = "Cantidad de complexión", - ['sun'] = "Bronceado", - ['sun_1'] = "Cantidad de bronceado", - ['freckles'] = "Pecas", - ['freckles_1'] = "Cantidad de pecas", - ['chest_hair'] = "Vello corporal", - ['chest_hair_1'] = "Cantidad de vello corporal", - ['chest_color'] = "Color de vello corporal", - ['bodyb'] = "Manchas en el cuerpo", - ['bodyb_size'] = "Tipo de manchas en el cuerpo", - ['bodyb_extra'] = "Efecto de manchas en el cuerpo", - ['bodyb_extra_thickness'] = "Espesor de manchas efecto cuerpo", +Locales["es"] = { + ["sex"] = "Sexo", + ["mom"] = "Herencia de la Madre", + ["dad"] = "Herencia del Padre", + ["resemblance"] = "Parecido", + ["skin_tone"] = "Tono de piel", + ["nose_1"] = "Ancho de la Nariz", + ["nose_2"] = "Altura del pico de la Nariz", + ["nose_3"] = "Longitud del pico de la Nariz", + ["nose_4"] = "Altura del hueso de la Nariz", + ["nose_5"] = "Bajada del pico de la Nariz", + ["nose_6"] = "Torsión del hueso de la Nariz", + ["cheeks_1"] = "Altura de los pómulos", + ["cheeks_2"] = "Anchura de los pómulos", + ["cheeks_3"] = "Ancho de las mejillas", + ["lip_fullness"] = "Relleno de los labios", + ["jaw_bone_width"] = "Anchura del hueso de la mandíbula", + ["jaw_bone_length"] = "Longitud del hueso de la mandíbula", + ["chin_height"] = "Altura de la barbilla", + ["chin_length"] = "Longitud de la barbilla", + ["chin_width"] = "Ancho de la barbilla", + ["chin_hole"] = "Tamaño del agujero de la barbilla", + ["neck_thickness"] = "Grosor del cuello", + ["wrinkles"] = "Arrugas", + ["wrinkle_thickness"] = "Cantidad de arrugas", + ["beard_type"] = "Tipo de barba", + ["beard_size"] = "Tamaño de la barba", + ["beard_color_1"] = "Color de la barba 1", + ["beard_color_2"] = "Color de la barba 2", + ["hair_1"] = "Pelo 1", + ["hair_2"] = "Pelo 2", + ["hair_color_1"] = "Color de pelo 1", + ["hair_color_2"] = "Color de pelo 2", + ["eye_color"] = "Color de ojos", + ["eye_squint"] = "Apertura de ojos", + ["eyebrow_type"] = "Tipo de ceja", + ["eyebrow_size"] = "Tipo de ceja", + ["eyebrow_color_1"] = "Color de ceja 1", + ["eyebrow_color_2"] = "Color de ceja 2", + ["eyebrow_depth"] = "Profundidad de las cejas", + ["eyebrow_height"] = "Altura de las cejas", + ["makeup_type"] = "Tipo de maquillaje", + ["makeup_thickness"] = "Cantidad de maquillaje", + ["makeup_color_1"] = "Color de maquillaje 1", + ["makeup_color_2"] = "Color de maquillaje 2", + ["lipstick_type"] = "Tipo de pintalabios", + ["lipstick_thickness"] = "Cantidad de pintalabios", + ["lipstick_color_1"] = "Color de pintalabios 1", + ["lipstick_color_2"] = "Color de pintalabios 2", + ["ear_accessories"] = "Accesorios de oreja", + ["ear_accessories_color"] = "Color de accesorios", + ["tshirt_1"] = "Camiseta 1", + ["tshirt_2"] = "Camiseta 2", + ["torso_1"] = "Torso 1", + ["torso_2"] = "Torso 2", + ["decals_1"] = "Tatuajes 1", + ["decals_2"] = "Tatuajes 2", + ["arms"] = "Brazos", + ["arms_2"] = "Brazos 2", + ["pants_1"] = "Pantalones 1", + ["pants_2"] = "Pantalones 2", + ["shoes_1"] = "Calzado 1", + ["shoes_2"] = "Calzado 2", + ["mask_1"] = "Mascara 1", + ["mask_2"] = "Mascara 2", + ["bproof_1"] = "Chaleco antibalas 1", + ["bproof_2"] = "Chaleco antibalas 2", + ["chain_1"] = "Cadena 1", + ["chain_2"] = "Cadena 2", + ["helmet_1"] = "Casco 1", + ["helmet_2"] = "Casco 2", + ["watches_1"] = "Reloj 1", + ["watches_2"] = "Reloj 2", + ["bracelets_1"] = "Pulseras 1", + ["bracelets_2"] = "Pulseras 2", + ["glasses_1"] = "Gafas 1", + ["glasses_2"] = "Gafas 2", + ["bag"] = "Mochila", + ["bag_color"] = "Color mochila", + ["blemishes"] = "Manchas", + ["blemishes_size"] = "Cantidad de manchas", + ["ageing"] = "Envejecimiento", + ["ageing_1"] = "Cantidad de envejecimiento", + ["blush"] = "Colorete", + ["blush_1"] = "Cantidad de colorete", + ["blush_color"] = "Color de colorete", + ["complexion"] = "Complexión", + ["complexion_1"] = "Cantidad de complexión", + ["sun"] = "Bronceado", + ["sun_1"] = "Cantidad de bronceado", + ["freckles"] = "Pecas", + ["freckles_1"] = "Cantidad de pecas", + ["chest_hair"] = "Vello corporal", + ["chest_hair_1"] = "Cantidad de vello corporal", + ["chest_color"] = "Color de vello corporal", + ["bodyb"] = "Manchas en el cuerpo", + ["bodyb_size"] = "Tipo de manchas en el cuerpo", + ["bodyb_extra"] = "Efecto de manchas en el cuerpo", + ["bodyb_extra_thickness"] = "Espesor de manchas efecto cuerpo", } diff --git a/[core]/skinchanger/locales/fi.lua b/[core]/skinchanger/locales/fi.lua index 94c2d951..7b902c97 100644 --- a/[core]/skinchanger/locales/fi.lua +++ b/[core]/skinchanger/locales/fi.lua @@ -1,76 +1,76 @@ -Locales['fi'] = { - ['sex'] = "Sukupuoli", - ['face'] = "Kasvot", - ['skin'] = "Iho", - ['wrinkles'] = "Rypyt", - ['wrinkle_thickness'] = "Ryppyjen vahvuus", - ['beard_type'] = "Parta tyyli", - ['beard_size'] = "Parran koko", - ['beard_color_1'] = "Parran väri 1", - ['beard_color_2'] = "Parran väri 2", - ['hair_1'] = "Hiukset 1", - ['hair_2'] = "Hiukset 2", - ['hair_color_1'] = "Hiuksien väri 1", - ['hair_color_2'] = "Hiuksien väri 2", - ['eye_color'] = "Silmien väri", - ['eyebrow_type'] = "Kulmakarva tyyli", - ['eyebrow_size'] = "Kulmakarvojen tiheys", - ['eyebrow_color_1'] = "Kulmakarvojen väri 1", - ['eyebrow_color_2'] = "Kulmakarvojen väri 2", - ['makeup_type'] = "Meikki tyyli", - ['makeup_thickness'] = "Meikin vahvuus", - ['makeup_color_1'] = "Meikin väri 1", - ['makeup_color_2'] = "Meikin väri 2", - ['lipstick_type'] = "Huulipuna tyyli", - ['lipstick_thickness'] = "Huulipunan vahvuus", - ['lipstick_color_1'] = "Huulipunan väri 1", - ['lipstick_color_2'] = "Huulipunan väri 2", - ['ear_accessories'] = "Korvakorut", - ['ear_accessories_color'] = "Korvakorujen väri", - ['tshirt_1'] = "T-paita 1", - ['tshirt_2'] = "T-paita 2", - ['torso_1'] = "Paita 1", - ['torso_2'] = "Paita 2", - ['decals_1'] = "Kerros 1", - ['decals_2'] = "Kerros 2", - ['arms'] = "Kädet", - ['arms_2'] = "Kädet 2", - ['pants_1'] = "Housut 1", - ['pants_2'] = "Housut 2", - ['shoes_1'] = "Kengät 1", - ['shoes_2'] = "Kengät 2", - ['mask_1'] = "Maski 1", - ['mask_2'] = "Maski 2", - ['bproof_1'] = "Luotiliivi 1", - ['bproof_2'] = "Luotiliivi 2", - ['chain_1'] = "Korut 1", - ['chain_2'] = "Korut 2", - ['helmet_1'] = "Kypärät 1", - ['helmet_2'] = "Kypärät 2", - ['watches_1'] = "Kellot 1", - ['watches_2'] = "Kellot 2", - ['bracelets_1'] = "Rannekkeet 1", - ['bracelets_2'] = "Rannekkeet 2", - ['glasses_1'] = "Lasit 1", - ['glasses_2'] = "Lasit 2", - ['bag'] = "Reput", - ['bag_color'] = "Repun väri", - ['blemishes'] = "Pisamat", - ['blemishes_size']= "Pisamien vahvuus", - ['ageing'] = "Ikääntyminen", - ['ageing_1'] = "Ikääntyminen vahvuus", - ['blush'] = "Punastuminen", - ['blush_1'] = "Punastumisen vahvuus", - ['blush_color'] = "Punastumisen väri", - ['complexion'] = "Pigmentti", - ['complexion_1'] = "Pigmentin vahvuus", - ['sun'] = "Rusketus", - ['sun_1'] = "Rusketus vahvuus", - ['freckles'] = "Pilkut", - ['freckles_1'] = "Pilkkujen vahvuus", - ['chest_hair'] = "Rintakarvat", - ['chest_hair_1'] = "Rintakarvojen tiheys", - ['chest_color'] = "Rintakarvojen väri", - ['bodyb'] = "Pisamat kehossa", - ['bodyb_size'] = "Kehopisamien vahvuus", +Locales["fi"] = { + ["sex"] = "Sukupuoli", + ["face"] = "Kasvot", + ["skin"] = "Iho", + ["wrinkles"] = "Rypyt", + ["wrinkle_thickness"] = "Ryppyjen vahvuus", + ["beard_type"] = "Parta tyyli", + ["beard_size"] = "Parran koko", + ["beard_color_1"] = "Parran väri 1", + ["beard_color_2"] = "Parran väri 2", + ["hair_1"] = "Hiukset 1", + ["hair_2"] = "Hiukset 2", + ["hair_color_1"] = "Hiuksien väri 1", + ["hair_color_2"] = "Hiuksien väri 2", + ["eye_color"] = "Silmien väri", + ["eyebrow_type"] = "Kulmakarva tyyli", + ["eyebrow_size"] = "Kulmakarvojen tiheys", + ["eyebrow_color_1"] = "Kulmakarvojen väri 1", + ["eyebrow_color_2"] = "Kulmakarvojen väri 2", + ["makeup_type"] = "Meikki tyyli", + ["makeup_thickness"] = "Meikin vahvuus", + ["makeup_color_1"] = "Meikin väri 1", + ["makeup_color_2"] = "Meikin väri 2", + ["lipstick_type"] = "Huulipuna tyyli", + ["lipstick_thickness"] = "Huulipunan vahvuus", + ["lipstick_color_1"] = "Huulipunan väri 1", + ["lipstick_color_2"] = "Huulipunan väri 2", + ["ear_accessories"] = "Korvakorut", + ["ear_accessories_color"] = "Korvakorujen väri", + ["tshirt_1"] = "T-paita 1", + ["tshirt_2"] = "T-paita 2", + ["torso_1"] = "Paita 1", + ["torso_2"] = "Paita 2", + ["decals_1"] = "Kerros 1", + ["decals_2"] = "Kerros 2", + ["arms"] = "Kädet", + ["arms_2"] = "Kädet 2", + ["pants_1"] = "Housut 1", + ["pants_2"] = "Housut 2", + ["shoes_1"] = "Kengät 1", + ["shoes_2"] = "Kengät 2", + ["mask_1"] = "Maski 1", + ["mask_2"] = "Maski 2", + ["bproof_1"] = "Luotiliivi 1", + ["bproof_2"] = "Luotiliivi 2", + ["chain_1"] = "Korut 1", + ["chain_2"] = "Korut 2", + ["helmet_1"] = "Kypärät 1", + ["helmet_2"] = "Kypärät 2", + ["watches_1"] = "Kellot 1", + ["watches_2"] = "Kellot 2", + ["bracelets_1"] = "Rannekkeet 1", + ["bracelets_2"] = "Rannekkeet 2", + ["glasses_1"] = "Lasit 1", + ["glasses_2"] = "Lasit 2", + ["bag"] = "Reput", + ["bag_color"] = "Repun väri", + ["blemishes"] = "Pisamat", + ["blemishes_size"]= "Pisamien vahvuus", + ["ageing"] = "Ikääntyminen", + ["ageing_1"] = "Ikääntyminen vahvuus", + ["blush"] = "Punastuminen", + ["blush_1"] = "Punastumisen vahvuus", + ["blush_color"] = "Punastumisen väri", + ["complexion"] = "Pigmentti", + ["complexion_1"] = "Pigmentin vahvuus", + ["sun"] = "Rusketus", + ["sun_1"] = "Rusketus vahvuus", + ["freckles"] = "Pilkut", + ["freckles_1"] = "Pilkkujen vahvuus", + ["chest_hair"] = "Rintakarvat", + ["chest_hair_1"] = "Rintakarvojen tiheys", + ["chest_color"] = "Rintakarvojen väri", + ["bodyb"] = "Pisamat kehossa", + ["bodyb_size"] = "Kehopisamien vahvuus", } diff --git a/[core]/skinchanger/locales/fr.lua b/[core]/skinchanger/locales/fr.lua index 5565f326..2887a133 100644 --- a/[core]/skinchanger/locales/fr.lua +++ b/[core]/skinchanger/locales/fr.lua @@ -1,100 +1,100 @@ -Locales['fr'] = { - ['sex'] = "sexe", - ['mom'] = "mère's visage", - ['dad'] = "père's visage", - ['resemblance'] = "ressemblance", - ['skin_tone'] = "teint", - ['nose_1'] = "largeur du nez", - ['nose_2'] = "hauteur du pic du nez", - ['nose_3'] = "longueur du pic du nez", - ['nose_4'] = "hauteur de l'os du nez", - ['nose_5'] = "abaissement du pic du nez", - ['nose_6'] = "torsion de l'os du nez", - ['cheeks_1'] = "hauteur des pommettes", - ['cheeks_2'] = "largeur des pommettes", - ['cheeks_3'] = "largeur des joues", - ['lip_fullness'] = "plénitude des lèvres", - ['jaw_bone_width'] = "largeur de l'os de la mâchoire", - ['jaw_bone_length'] = "longueur de l'os de la mâchoire", - ['chin_height'] = "hauteur du menton", - ['chin_length'] = "longueur du menton", - ['chin_width'] = "largeur du menton", - ['chin_hole'] = "taille du trou du menton", - ['neck_thickness'] = "épaisseur du cou", - ['wrinkles'] = "les rides", - ['wrinkle_thickness'] = "épaisseur des rides", - ['beard_type'] = "type de barbe", - ['beard_size'] = "taille de barbe", - ['beard_color_1'] = "couleur de barbe 1", - ['beard_color_2'] = "couleur de barbe 2", - ['hair_1'] = "cheveux 1", - ['hair_2'] = "cheveux 2", - ['hair_color_1'] = "couleur de cheveux 1", - ['hair_color_2'] = "couleur de cheveux 2", - ['eye_color'] = "couleur des yeux", - ['eye_squint'] = "eye squint", - ['eyebrow_type'] = "type de sourcil", - ['eyebrow_size'] = "taille des sourcils", - ['eyebrow_color_1'] = "couleur des sourcils 1", - ['eyebrow_color_2'] = "couleur des sourcils 2", - ['eyebrow_depth'] = "profondeur des sourcils", - ['eyebrow_height'] = "hauteur des sourcils", - ['makeup_type'] = "type de maquillage", - ['makeup_thickness'] = "épaisseur de maquillage", - ['makeup_color_1'] = "couleur de maquillage 1", - ['makeup_color_2'] = "couleur de maquillage 2", - ['lipstick_type'] = "type de rouge à lèvres", - ['lipstick_thickness'] = "épaisseur du rouge à lèvres", - ['lipstick_color_1'] = "couleur de rouge à lèvres 1", - ['lipstick_color_2'] = "couleur de rouge à lèvres 2", - ['ear_accessories'] = "ear accessories", - ['ear_accessories_color'] = "couleur des accessoires d'oreille", - ['tshirt_1'] = "t-Shirt 1", - ['tshirt_2'] = "t-Shirt 2", - ['torso_1'] = "torse 1", - ['torso_2'] = "torse 2", - ['decals_1'] = "décalcomanies 1", - ['decals_2'] = "décalcomanies 2", - ['arms'] = "bras", - ['arms_2'] = "bras 2", - ['pants_1'] = "pantalon 1", - ['pants_2'] = "pantalon 2", - ['shoes_1'] = "chaussures 1", - ['shoes_2'] = "chaussures 2", - ['mask_1'] = "masque 1", - ['mask_2'] = "masque 2", - ['bproof_1'] = "gilet pare-balles 1", - ['bproof_2'] = "gilet pare-balles 2", - ['chain_1'] = "chaîne 1", - ['chain_2'] = "chaîne 2", - ['helmet_1'] = "casque 1", - ['helmet_2'] = "casque 2", - ['watches_1'] = "montres 1", - ['watches_2'] = "montres 2", - ['bracelets_1'] = "bracelets 1", - ['bracelets_2'] = "bracelets 2", - ['glasses_1'] = "lunettes 1", - ['glasses_2'] = "lunettes 2", - ['bag'] = "sac", - ['bag_color'] = "couleur du sac", - ['blemishes'] = "imperfections", - ['blemishes_size'] = "épaisseur des imperfections", - ['ageing'] = "vieillissement", - ['ageing_1'] = "épaisseur de vieillissement", - ['blush'] = "rougir", - ['blush_1'] = "épaisseur du fard à joues", - ['blush_color'] = "couleur fard à joues", - ['complexion'] = "complexion", - ['complexion_1'] = "épaisseur du teint", - ['sun'] = "soleil", - ['sun_1'] = "épaisseur du soleil", - ['freckles'] = "taches de rousseur", - ['freckles_1'] = "épaisseur des taches de rousseur", - ['chest_hair'] = "les poils du torse", - ['chest_hair_1'] = "épaisseur des poils de la poitrine", - ['chest_color'] = "couleur des cheveux de la poitrine", - ['bodyb'] = "imperfections du corps", - ['bodyb_size'] = "épaisseur des imperfections corporelles", - ['bodyb_extra'] = "effet corps", - ['bodyb_extra_thickness'] = "imperfections effet corps épaisseur", +Locales["fr"] = { + ["sex"] = "sexe", + ["mom"] = "mère's visage", + ["dad"] = "père's visage", + ["resemblance"] = "ressemblance", + ["skin_tone"] = "teint", + ["nose_1"] = "largeur du nez", + ["nose_2"] = "hauteur du pic du nez", + ["nose_3"] = "longueur du pic du nez", + ["nose_4"] = "hauteur de l'os du nez", + ["nose_5"] = "abaissement du pic du nez", + ["nose_6"] = "torsion de l'os du nez", + ["cheeks_1"] = "hauteur des pommettes", + ["cheeks_2"] = "largeur des pommettes", + ["cheeks_3"] = "largeur des joues", + ["lip_fullness"] = "plénitude des lèvres", + ["jaw_bone_width"] = "largeur de l'os de la mâchoire", + ["jaw_bone_length"] = "longueur de l'os de la mâchoire", + ["chin_height"] = "hauteur du menton", + ["chin_length"] = "longueur du menton", + ["chin_width"] = "largeur du menton", + ["chin_hole"] = "taille du trou du menton", + ["neck_thickness"] = "épaisseur du cou", + ["wrinkles"] = "les rides", + ["wrinkle_thickness"] = "épaisseur des rides", + ["beard_type"] = "type de barbe", + ["beard_size"] = "taille de barbe", + ["beard_color_1"] = "couleur de barbe 1", + ["beard_color_2"] = "couleur de barbe 2", + ["hair_1"] = "cheveux 1", + ["hair_2"] = "cheveux 2", + ["hair_color_1"] = "couleur de cheveux 1", + ["hair_color_2"] = "couleur de cheveux 2", + ["eye_color"] = "couleur des yeux", + ["eye_squint"] = "eye squint", + ["eyebrow_type"] = "type de sourcil", + ["eyebrow_size"] = "taille des sourcils", + ["eyebrow_color_1"] = "couleur des sourcils 1", + ["eyebrow_color_2"] = "couleur des sourcils 2", + ["eyebrow_depth"] = "profondeur des sourcils", + ["eyebrow_height"] = "hauteur des sourcils", + ["makeup_type"] = "type de maquillage", + ["makeup_thickness"] = "épaisseur de maquillage", + ["makeup_color_1"] = "couleur de maquillage 1", + ["makeup_color_2"] = "couleur de maquillage 2", + ["lipstick_type"] = "type de rouge à lèvres", + ["lipstick_thickness"] = "épaisseur du rouge à lèvres", + ["lipstick_color_1"] = "couleur de rouge à lèvres 1", + ["lipstick_color_2"] = "couleur de rouge à lèvres 2", + ["ear_accessories"] = "ear accessories", + ["ear_accessories_color"] = "couleur des accessoires d'oreille", + ["tshirt_1"] = "t-Shirt 1", + ["tshirt_2"] = "t-Shirt 2", + ["torso_1"] = "torse 1", + ["torso_2"] = "torse 2", + ["decals_1"] = "décalcomanies 1", + ["decals_2"] = "décalcomanies 2", + ["arms"] = "bras", + ["arms_2"] = "bras 2", + ["pants_1"] = "pantalon 1", + ["pants_2"] = "pantalon 2", + ["shoes_1"] = "chaussures 1", + ["shoes_2"] = "chaussures 2", + ["mask_1"] = "masque 1", + ["mask_2"] = "masque 2", + ["bproof_1"] = "gilet pare-balles 1", + ["bproof_2"] = "gilet pare-balles 2", + ["chain_1"] = "chaîne 1", + ["chain_2"] = "chaîne 2", + ["helmet_1"] = "casque 1", + ["helmet_2"] = "casque 2", + ["watches_1"] = "montres 1", + ["watches_2"] = "montres 2", + ["bracelets_1"] = "bracelets 1", + ["bracelets_2"] = "bracelets 2", + ["glasses_1"] = "lunettes 1", + ["glasses_2"] = "lunettes 2", + ["bag"] = "sac", + ["bag_color"] = "couleur du sac", + ["blemishes"] = "imperfections", + ["blemishes_size"] = "épaisseur des imperfections", + ["ageing"] = "vieillissement", + ["ageing_1"] = "épaisseur de vieillissement", + ["blush"] = "rougir", + ["blush_1"] = "épaisseur du fard à joues", + ["blush_color"] = "couleur fard à joues", + ["complexion"] = "complexion", + ["complexion_1"] = "épaisseur du teint", + ["sun"] = "soleil", + ["sun_1"] = "épaisseur du soleil", + ["freckles"] = "taches de rousseur", + ["freckles_1"] = "épaisseur des taches de rousseur", + ["chest_hair"] = "les poils du torse", + ["chest_hair_1"] = "épaisseur des poils de la poitrine", + ["chest_color"] = "couleur des cheveux de la poitrine", + ["bodyb"] = "imperfections du corps", + ["bodyb_size"] = "épaisseur des imperfections corporelles", + ["bodyb_extra"] = "effet corps", + ["bodyb_extra_thickness"] = "imperfections effet corps épaisseur", } diff --git a/[core]/skinchanger/locales/it.lua b/[core]/skinchanger/locales/it.lua index 7c36b785..78d24850 100644 --- a/[core]/skinchanger/locales/it.lua +++ b/[core]/skinchanger/locales/it.lua @@ -1,100 +1,100 @@ -Locales['it'] = { - ['sex'] = "sesso", - ['mom'] = "viso donna", - ['dad'] = "viso uomo", - ['resemblance'] = "somiglianze", - ['skin_tone'] = "tono della pelle", - ['nose_1'] = "larghezza del naso", - ['nose_2'] = "altezza della punta del naso", - ['nose_3'] = "lunghezza della punta del naso", - ['nose_4'] = "altezza dell'osso del naso", - ['nose_5'] = "abbassamento della punta del naso", - ['nose_6'] = "torsione dell'osso del naso", - ['cheeks_1'] = "altezza degli zigomi", - ['cheeks_2'] = "larghezza degli zigomi", - ['cheeks_3'] = "larghezza delle guance", - ['lip_fullness'] = "spessore delle labbra", - ['jaw_bone_width'] = "larghezza dell'osso mascellare", - ['jaw_bone_length'] = "lunghezza dell'osso mascellare", - ['chin_height'] = "altezza del mento", - ['chin_length'] = "lunghezza del mento", - ['chin_width'] = "larghezza del mento", - ['chin_hole'] = "dimensione del foro del mento", - ['neck_thickness'] = "spessore del collo", - ['wrinkles'] = "rughe", - ['wrinkle_thickness'] = "spessore delle rughe", - ['beard_type'] = "tipo di barba", - ['beard_size'] = "dimensione della barba", - ['beard_color_1'] = "colore della barba 1", - ['beard_color_2'] = "colore della barba 2", - ['hair_1'] = "capelli 1", - ['hair_2'] = "capelli 2", - ['hair_color_1'] = "colore capelli 1", - ['hair_color_2'] = "colore capelli 2", - ['eye_color'] = "colore degli occhi", - ['eye_squint'] = "strabismo degli occhi", - ['eyebrow_type'] = "tipo di sopracciglio", - ['eyebrow_size'] = "dimensione delle sopracciglia", - ['eyebrow_color_1'] = "colore delle sopracciglia 1", - ['eyebrow_color_2'] = "colore delle sopracciglia 2", - ['eyebrow_depth'] = "profondità delle sopracciglia", - ['eyebrow_height'] = "altezza del sopracciglio", - ['makeup_type'] = "tipo di trucco", - ['makeup_thickness'] = "spessore del trucco", - ['makeup_color_1'] = "colore del trucco 1", - ['makeup_color_2'] = "colore del trucco 2", - ['lipstick_type'] = "tipo di rossetto", - ['lipstick_thickness'] = "spessore del rossetto", - ['lipstick_color_1'] = "colore del rossetto 1", - ['lipstick_color_2'] = "colore del rossetto 2", - ['ear_accessories'] = "accessori per le orecchie", - ['ear_accessories_color'] = "colore accessori orecchie", - ['tshirt_1'] = "t-Shirt 1", - ['tshirt_2'] = "t-Shirt 2", - ['torso_1'] = "torso 1", - ['torso_2'] = "torso 2", - ['decals_1'] = "decals 1", - ['decals_2'] = "decals 2", - ['arms'] = "braccia", - ['arms_2'] = "braccia 2", - ['pants_1'] = "pantaloni", - ['pants_2'] = "colore pantaloni", - ['shoes_1'] = "scarpe", - ['shoes_2'] = "colore scarpe", - ['mask_1'] = "maschera 1", - ['mask_2'] = "maschera 2", - ['bproof_1'] = "giubbotto antiproiettile 1", - ['bproof_2'] = "giubbotto antiproiettile2", - ['chain_1'] = "collana 1", - ['chain_2'] = "collana 2", - ['helmet_1'] = "casco 1", - ['helmet_2'] = "casco 2", - ['watches_1'] = "orologi 1", - ['watches_2'] = "orologi 2", - ['bracelets_1'] = "bracciali 1", - ['bracelets_2'] = "bracciali 2", - ['glasses_1'] = "occhiali 1", - ['glasses_2'] = "occhiali 2", - ['bag'] = "zaino", - ['bag_color'] = "colore zaino", - ['blemishes'] = "imperfezioni", - ['blemishes_size'] = "pessore delle imperfezioni", - ['ageing'] = "invecchiamento pelle", - ['ageing_1'] = "spessore invecchiamento", - ['blush'] = "arrossimento", - ['blush_1'] = "spessore del rossore", - ['blush_color'] = "colore rossore", - ['complexion'] = "carnagione", - ['complexion_1'] = "spessore della carnagione", - ['sun'] = "lentiggini", - ['sun_1'] = "spessore lentiggini", - ['freckles'] = "lentiggini", - ['freckles_1'] = "spessore delle lentiggini", - ['chest_hair'] = "peli del petto", - ['chest_hair_1'] = "spessore dei peli del torace", - ['chest_color'] = "colore dei peli del petto", - ['bodyb'] = "inestetismi del corpo", - ['bodyb_size'] = "spessore delle imperfezioni", - ['bodyb_extra'] = "inestetismi del corpo extra", - ['bodyb_extra_thickness'] = "inestetismi del corpo spessore", +Locales["it"] = { + ["sex"] = "sesso", + ["mom"] = "viso donna", + ["dad"] = "viso uomo", + ["resemblance"] = "somiglianze", + ["skin_tone"] = "tono della pelle", + ["nose_1"] = "larghezza del naso", + ["nose_2"] = "altezza della punta del naso", + ["nose_3"] = "lunghezza della punta del naso", + ["nose_4"] = "altezza dell'osso del naso", + ["nose_5"] = "abbassamento della punta del naso", + ["nose_6"] = "torsione dell'osso del naso", + ["cheeks_1"] = "altezza degli zigomi", + ["cheeks_2"] = "larghezza degli zigomi", + ["cheeks_3"] = "larghezza delle guance", + ["lip_fullness"] = "spessore delle labbra", + ["jaw_bone_width"] = "larghezza dell'osso mascellare", + ["jaw_bone_length"] = "lunghezza dell'osso mascellare", + ["chin_height"] = "altezza del mento", + ["chin_length"] = "lunghezza del mento", + ["chin_width"] = "larghezza del mento", + ["chin_hole"] = "dimensione del foro del mento", + ["neck_thickness"] = "spessore del collo", + ["wrinkles"] = "rughe", + ["wrinkle_thickness"] = "spessore delle rughe", + ["beard_type"] = "tipo di barba", + ["beard_size"] = "dimensione della barba", + ["beard_color_1"] = "colore della barba 1", + ["beard_color_2"] = "colore della barba 2", + ["hair_1"] = "capelli 1", + ["hair_2"] = "capelli 2", + ["hair_color_1"] = "colore capelli 1", + ["hair_color_2"] = "colore capelli 2", + ["eye_color"] = "colore degli occhi", + ["eye_squint"] = "strabismo degli occhi", + ["eyebrow_type"] = "tipo di sopracciglio", + ["eyebrow_size"] = "dimensione delle sopracciglia", + ["eyebrow_color_1"] = "colore delle sopracciglia 1", + ["eyebrow_color_2"] = "colore delle sopracciglia 2", + ["eyebrow_depth"] = "profondità delle sopracciglia", + ["eyebrow_height"] = "altezza del sopracciglio", + ["makeup_type"] = "tipo di trucco", + ["makeup_thickness"] = "spessore del trucco", + ["makeup_color_1"] = "colore del trucco 1", + ["makeup_color_2"] = "colore del trucco 2", + ["lipstick_type"] = "tipo di rossetto", + ["lipstick_thickness"] = "spessore del rossetto", + ["lipstick_color_1"] = "colore del rossetto 1", + ["lipstick_color_2"] = "colore del rossetto 2", + ["ear_accessories"] = "accessori per le orecchie", + ["ear_accessories_color"] = "colore accessori orecchie", + ["tshirt_1"] = "t-Shirt 1", + ["tshirt_2"] = "t-Shirt 2", + ["torso_1"] = "torso 1", + ["torso_2"] = "torso 2", + ["decals_1"] = "decals 1", + ["decals_2"] = "decals 2", + ["arms"] = "braccia", + ["arms_2"] = "braccia 2", + ["pants_1"] = "pantaloni", + ["pants_2"] = "colore pantaloni", + ["shoes_1"] = "scarpe", + ["shoes_2"] = "colore scarpe", + ["mask_1"] = "maschera 1", + ["mask_2"] = "maschera 2", + ["bproof_1"] = "giubbotto antiproiettile 1", + ["bproof_2"] = "giubbotto antiproiettile2", + ["chain_1"] = "collana 1", + ["chain_2"] = "collana 2", + ["helmet_1"] = "casco 1", + ["helmet_2"] = "casco 2", + ["watches_1"] = "orologi 1", + ["watches_2"] = "orologi 2", + ["bracelets_1"] = "bracciali 1", + ["bracelets_2"] = "bracciali 2", + ["glasses_1"] = "occhiali 1", + ["glasses_2"] = "occhiali 2", + ["bag"] = "zaino", + ["bag_color"] = "colore zaino", + ["blemishes"] = "imperfezioni", + ["blemishes_size"] = "pessore delle imperfezioni", + ["ageing"] = "invecchiamento pelle", + ["ageing_1"] = "spessore invecchiamento", + ["blush"] = "arrossimento", + ["blush_1"] = "spessore del rossore", + ["blush_color"] = "colore rossore", + ["complexion"] = "carnagione", + ["complexion_1"] = "spessore della carnagione", + ["sun"] = "lentiggini", + ["sun_1"] = "spessore lentiggini", + ["freckles"] = "lentiggini", + ["freckles_1"] = "spessore delle lentiggini", + ["chest_hair"] = "peli del petto", + ["chest_hair_1"] = "spessore dei peli del torace", + ["chest_color"] = "colore dei peli del petto", + ["bodyb"] = "inestetismi del corpo", + ["bodyb_size"] = "spessore delle imperfezioni", + ["bodyb_extra"] = "inestetismi del corpo extra", + ["bodyb_extra_thickness"] = "inestetismi del corpo spessore", } diff --git a/[core]/skinchanger/locales/nl.lua b/[core]/skinchanger/locales/nl.lua index 089006d0..432940c0 100644 --- a/[core]/skinchanger/locales/nl.lua +++ b/[core]/skinchanger/locales/nl.lua @@ -1,100 +1,100 @@ -Locales['nl'] = { - ['sex'] = "geslacht", - ['mom'] = "gezicht moeder", - ['dad'] = "gezicht vader", - ['resemblance'] = "gelijkenis", - ['skin_tone'] = "huidskleur", - ['nose_1'] = "neusbreedte", - ['nose_2'] = "neuspiek hoogte", - ['nose_3'] = "neuspiek lengte", - ['nose_4'] = "neusbeen hoogte", - ['nose_5'] = "neusbeen verlaging", - ['nose_6'] = "neusbeen verdraaiing", - ['cheeks_1'] = "jukbeenderen hoogte", - ['cheeks_2'] = "jukbeenderen breedte", - ['cheeks_3'] = "wangen breedte", - ['lip_fullness'] = "lipvolheid", - ['jaw_bone_width'] = "kaakbeen breedte", - ['jaw_bone_length'] = "kaakbeen lengte", - ['chin_height'] = "kin hoogte", - ['chin_length'] = "kin lengte", - ['chin_width'] = "kin breedte", - ['chin_hole'] = "grootte van het kin-gat", - ['neck_thickness'] = "nek dikte", - ['wrinkles'] = "rimpels", - ['wrinkle_thickness'] = "rimpels dikte", - ['beard_type'] = "baard type", - ['beard_size'] = "baard grootte", - ['beard_color_1'] = "baard kleur 1", - ['beard_color_2'] = "baard kleur 2", - ['hair_1'] = "haar 1", - ['hair_2'] = "haar 2", - ['hair_color_1'] = "haar kleur 1", - ['hair_color_2'] = "haar kleur 2", - ['eye_color'] = "oogkleur", - ['eye_squint'] = "oog scheelte", - ['eyebrow_type'] = "wenkbrauw type", - ['eyebrow_size'] = "wenkbrauw formaat", - ['eyebrow_color_1'] = "wenkbrauw kleur 1", - ['eyebrow_color_2'] = "wenkbrauw kleur 2", - ['eyebrow_depth'] = "wenkbrauw diepte", - ['eyebrow_height'] = "wenkbrauw hoogte", - ['makeup_type'] = "makeup type", - ['makeup_thickness'] = "makeup dikte", - ['makeup_color_1'] = "makeup kleur 1", - ['makeup_color_2'] = "makeup kleur 2", - ['lipstick_type'] = "lippenstift type", - ['lipstick_thickness'] = "lippenstift dikte", - ['lipstick_color_1'] = "lippenstift kleur 1", - ['lipstick_color_2'] = "lippenstift kleur 2", - ['ear_accessories'] = "ooraccessoires", - ['ear_accessories_color'] = "ooraccessoires kleur", - ['tshirt_1'] = "t-shirt 1", - ['tshirt_2'] = "t-shirt 2", - ['torso_1'] = "vest 1", - ['torso_2'] = "vest 2", - ['decals_1'] = "stickers 1", - ['decals_2'] = "stickers 2", - ['arms'] = "armen", - ['arms_2'] = "armen 2", - ['pants_1'] = "broek 1", - ['pants_2'] = "broek 2", - ['shoes_1'] = "shoenen 1", - ['shoes_2'] = "shoenen 2", - ['mask_1'] = "masker 1", - ['mask_2'] = "masker 2", - ['bproof_1'] = "kogelvrij vest 1", - ['bproof_2'] = "kogelvrij vest 2", - ['chain_1'] = "ketting 1", - ['chain_2'] = "ketting 2", - ['helmet_1'] = "helm 1", - ['helmet_2'] = "helm 2", - ['watches_1'] = "horloge 1", - ['watches_2'] = "horloge 2", - ['bracelets_1'] = "armband(en) 1", - ['bracelets_2'] = "armband(en) 2", - ['glasses_1'] = "bril 1", - ['glasses_2'] = "bril 2", - ['bag'] = "rugzak", - ['bag_color'] = "rugzak kleur", - ['blemishes'] = "vlekken", - ['blemishes_size'] = "vlekken dikte", - ['ageing'] = "veroudering", - ['ageing_1'] = "veroudering zichtbaarheid", - ['blush'] = "blozen", - ['blush_1'] = "blozen zichtbaarheid", - ['blush_color'] = "blozen kleur", - ['complexion'] = "gelaatskleur", - ['complexion_1'] = "gelaatskleur 1", - ['sun'] = "zon", - ['sun_1'] = "zon dikte", - ['freckles'] = "sproeten", - ['freckles_1'] = "sproeten dikte", - ['chest_hair'] = "borsthaar", - ['chest_hair_1'] = "borsthaar dikte", - ['chest_color'] = "borsthaar kleur", - ['bodyb'] = "lichaamsvlekken", - ['bodyb_size'] = "lichaamsvlekken zichtbaarheid", - ['bodyb_extra'] = "lichaamsvlekken effect", - ['bodyb_extra_thickness'] = "lichaamsvlekken effect zichtbaarheid", +Locales["nl"] = { + ["sex"] = "geslacht", + ["mom"] = "gezicht moeder", + ["dad"] = "gezicht vader", + ["resemblance"] = "gelijkenis", + ["skin_tone"] = "huidskleur", + ["nose_1"] = "neusbreedte", + ["nose_2"] = "neuspiek hoogte", + ["nose_3"] = "neuspiek lengte", + ["nose_4"] = "neusbeen hoogte", + ["nose_5"] = "neusbeen verlaging", + ["nose_6"] = "neusbeen verdraaiing", + ["cheeks_1"] = "jukbeenderen hoogte", + ["cheeks_2"] = "jukbeenderen breedte", + ["cheeks_3"] = "wangen breedte", + ["lip_fullness"] = "lipvolheid", + ["jaw_bone_width"] = "kaakbeen breedte", + ["jaw_bone_length"] = "kaakbeen lengte", + ["chin_height"] = "kin hoogte", + ["chin_length"] = "kin lengte", + ["chin_width"] = "kin breedte", + ["chin_hole"] = "grootte van het kin-gat", + ["neck_thickness"] = "nek dikte", + ["wrinkles"] = "rimpels", + ["wrinkle_thickness"] = "rimpels dikte", + ["beard_type"] = "baard type", + ["beard_size"] = "baard grootte", + ["beard_color_1"] = "baard kleur 1", + ["beard_color_2"] = "baard kleur 2", + ["hair_1"] = "haar 1", + ["hair_2"] = "haar 2", + ["hair_color_1"] = "haar kleur 1", + ["hair_color_2"] = "haar kleur 2", + ["eye_color"] = "oogkleur", + ["eye_squint"] = "oog scheelte", + ["eyebrow_type"] = "wenkbrauw type", + ["eyebrow_size"] = "wenkbrauw formaat", + ["eyebrow_color_1"] = "wenkbrauw kleur 1", + ["eyebrow_color_2"] = "wenkbrauw kleur 2", + ["eyebrow_depth"] = "wenkbrauw diepte", + ["eyebrow_height"] = "wenkbrauw hoogte", + ["makeup_type"] = "makeup type", + ["makeup_thickness"] = "makeup dikte", + ["makeup_color_1"] = "makeup kleur 1", + ["makeup_color_2"] = "makeup kleur 2", + ["lipstick_type"] = "lippenstift type", + ["lipstick_thickness"] = "lippenstift dikte", + ["lipstick_color_1"] = "lippenstift kleur 1", + ["lipstick_color_2"] = "lippenstift kleur 2", + ["ear_accessories"] = "ooraccessoires", + ["ear_accessories_color"] = "ooraccessoires kleur", + ["tshirt_1"] = "t-shirt 1", + ["tshirt_2"] = "t-shirt 2", + ["torso_1"] = "vest 1", + ["torso_2"] = "vest 2", + ["decals_1"] = "stickers 1", + ["decals_2"] = "stickers 2", + ["arms"] = "armen", + ["arms_2"] = "armen 2", + ["pants_1"] = "broek 1", + ["pants_2"] = "broek 2", + ["shoes_1"] = "shoenen 1", + ["shoes_2"] = "shoenen 2", + ["mask_1"] = "masker 1", + ["mask_2"] = "masker 2", + ["bproof_1"] = "kogelvrij vest 1", + ["bproof_2"] = "kogelvrij vest 2", + ["chain_1"] = "ketting 1", + ["chain_2"] = "ketting 2", + ["helmet_1"] = "helm 1", + ["helmet_2"] = "helm 2", + ["watches_1"] = "horloge 1", + ["watches_2"] = "horloge 2", + ["bracelets_1"] = "armband(en) 1", + ["bracelets_2"] = "armband(en) 2", + ["glasses_1"] = "bril 1", + ["glasses_2"] = "bril 2", + ["bag"] = "rugzak", + ["bag_color"] = "rugzak kleur", + ["blemishes"] = "vlekken", + ["blemishes_size"] = "vlekken dikte", + ["ageing"] = "veroudering", + ["ageing_1"] = "veroudering zichtbaarheid", + ["blush"] = "blozen", + ["blush_1"] = "blozen zichtbaarheid", + ["blush_color"] = "blozen kleur", + ["complexion"] = "gelaatskleur", + ["complexion_1"] = "gelaatskleur 1", + ["sun"] = "zon", + ["sun_1"] = "zon dikte", + ["freckles"] = "sproeten", + ["freckles_1"] = "sproeten dikte", + ["chest_hair"] = "borsthaar", + ["chest_hair_1"] = "borsthaar dikte", + ["chest_color"] = "borsthaar kleur", + ["bodyb"] = "lichaamsvlekken", + ["bodyb_size"] = "lichaamsvlekken zichtbaarheid", + ["bodyb_extra"] = "lichaamsvlekken effect", + ["bodyb_extra_thickness"] = "lichaamsvlekken effect zichtbaarheid", } diff --git a/[core]/skinchanger/locales/pl.lua b/[core]/skinchanger/locales/pl.lua index 75677032..cd7f5cb0 100644 --- a/[core]/skinchanger/locales/pl.lua +++ b/[core]/skinchanger/locales/pl.lua @@ -1,102 +1,102 @@ -Locales['pl'] = { - ['sex'] = "płeć", - ['mom'] = "twarz matki", - ['dad'] = "twarz ojca", - ['resemblance'] = "podobieństwo", - ['skin_tone'] = "kolor skóry", - ['nose_1'] = "szerokość nosa", - ['nose_2'] = "nose peak height", - ['nose_3'] = "wysokość szczytu nosa", - ['nose_4'] = "wysokość kości nosa", - ['nose_5'] = "obniżenie szczytu nosa", - ['nose_6'] = "skręcenie kości nosa", - ['cheeks_1'] = "wysokość kości policzkowych", - ['cheeks_2'] = "szerokość kości policzkowych", - ['cheeks_3'] = "szerokość policzków", - ['lip_fullness'] = "pełne usta", - ['jaw_bone_width'] = "szerokość kości szczęki", - ['jaw_bone_length'] = "długość kości szczęki", - ['chin_height'] = "wysokość podbródka", - ['chin_length'] = "długość podbródka", - ['chin_width'] = "szerokość podbródka", - ['chin_hole'] = "rozmiar dziury w podbródku", - ['neck_thickness'] = "grubość szyi", - ['face'] = "twarz", - ['skin'] = "skóra", - ['wrinkles'] = "zmarszczki", - ['wrinkle_thickness'] = "wielkość zmarszczek", - ['beard_type'] = "styl brody", - ['beard_size'] = "wielkość brody", - ['beard_color_1'] = "kolor brody 1", - ['beard_color_2'] = "kolor brody 2", - ['hair_1'] = "włosy 1", - ['hair_2'] = "włosy 2", - ['hair_color_1'] = "kolor włosów 1", - ['hair_color_2'] = "kolor włosów 2", - ['eye_color'] = "kolor oczu", - ['eye_squint'] = "zmrużenie oczu", - ['eyebrow_type'] = "styl brwi", - ['eyebrow_size'] = "wielkość brwi", - ['eyebrow_color_1'] = "kolor brwi 1", - ['eyebrow_color_2'] = "kolor brwi 2", - ['eyebrow_depth'] = "głębokość brwi", - ['eyebrow_height'] = "wysokość brwi", - ['makeup_type'] = "styl makijażu", - ['makeup_thickness'] = "grubość makijażu", - ['makeup_color_1'] = "kolor makijażu 1", - ['makeup_color_2'] = "kolor makijażu 2", - ['lipstick_type'] = "styl szminki", - ['lipstick_thickness'] = "grubość szminki", - ['lipstick_color_1'] = "kolor szminki 1", - ['lipstick_color_2'] = "kolor szminki 2", - ['ear_accessories'] = "akcesoria do uszu", - ['ear_accessories_color'] = "kolor akcesorii do uszu", - ['tshirt_1'] = "koszulka 1", - ['tshirt_2'] = "koszulka 2", - ['torso_1'] = "tułów 1", - ['torso_2'] = "tułów 2", - ['decals_1'] = "detale 1", - ['decals_2'] = "detale 2", - ['arms'] = "ramiona", - ['arms_2'] = "ramiona 2", - ['pants_1'] = "spodnie 1", - ['pants_2'] = "spodnie 2", - ['shoes_1'] = "buty 1", - ['shoes_2'] = "buty 2", - ['mask_1'] = "maska 1", - ['mask_2'] = "maska 2", - ['bproof_1'] = "kamizelka kuloodporna 1", - ['bproof_2'] = "kamizelka kuloodporna 2", - ['chain_1'] = "łańcuch 1", - ['chain_2'] = "łańcuch 2", - ['helmet_1'] = "hełm 1", - ['helmet_2'] = "hełm 2", - ['watches_1'] = "zegarek 1", - ['watches_2'] = "zegarek 2", - ['bracelets_1'] = "bransoletka 1", - ['bracelets_2'] = "bransoletka 2", - ['glasses_1'] = "okulary 1", - ['glasses_2'] = "okulary 2", - ['bag'] = "torba", - ['bag_color'] = "kolor torby", - ['blemishes'] = "skazy", - ['blemishes_size']= "wielkość skaz", - ['ageing'] = "starzenie", - ['ageing_1'] = "wielkość starzenia", - ['blush'] = "rumieńce", - ['blush_1'] = "grubość rumieni", - ['blush_color'] = "kolor rumieni", - ['complexion'] = "cera", - ['complexion_1'] = "rodzaj cery", - ['sun'] = "opalenie", - ['sun_1'] = "wielkość opalenia", - ['freckles'] = "piegi", - ['freckles_1'] = "rodzaj piegów", - ['chest_hair'] = "włosy na klacie", - ['chest_hair_1'] = "ilość włosów na klacie", - ['chest_color'] = "kolor włosów na klacie", - ['bodyb'] = "skazy ciała", - ['bodyb_size'] = "rodzaj skaz ciała", - ['bodyb_extra'] = "efekt skaz ciała", - ['bodyb_extra_thickness'] = "wielkość skaz ciała", +Locales["pl"] = { + ["sex"] = "płeć", + ["mom"] = "twarz matki", + ["dad"] = "twarz ojca", + ["resemblance"] = "podobieństwo", + ["skin_tone"] = "kolor skóry", + ["nose_1"] = "szerokość nosa", + ["nose_2"] = "nose peak height", + ["nose_3"] = "wysokość szczytu nosa", + ["nose_4"] = "wysokość kości nosa", + ["nose_5"] = "obniżenie szczytu nosa", + ["nose_6"] = "skręcenie kości nosa", + ["cheeks_1"] = "wysokość kości policzkowych", + ["cheeks_2"] = "szerokość kości policzkowych", + ["cheeks_3"] = "szerokość policzków", + ["lip_fullness"] = "pełne usta", + ["jaw_bone_width"] = "szerokość kości szczęki", + ["jaw_bone_length"] = "długość kości szczęki", + ["chin_height"] = "wysokość podbródka", + ["chin_length"] = "długość podbródka", + ["chin_width"] = "szerokość podbródka", + ["chin_hole"] = "rozmiar dziury w podbródku", + ["neck_thickness"] = "grubość szyi", + ["face"] = "twarz", + ["skin"] = "skóra", + ["wrinkles"] = "zmarszczki", + ["wrinkle_thickness"] = "wielkość zmarszczek", + ["beard_type"] = "styl brody", + ["beard_size"] = "wielkość brody", + ["beard_color_1"] = "kolor brody 1", + ["beard_color_2"] = "kolor brody 2", + ["hair_1"] = "włosy 1", + ["hair_2"] = "włosy 2", + ["hair_color_1"] = "kolor włosów 1", + ["hair_color_2"] = "kolor włosów 2", + ["eye_color"] = "kolor oczu", + ["eye_squint"] = "zmrużenie oczu", + ["eyebrow_type"] = "styl brwi", + ["eyebrow_size"] = "wielkość brwi", + ["eyebrow_color_1"] = "kolor brwi 1", + ["eyebrow_color_2"] = "kolor brwi 2", + ["eyebrow_depth"] = "głębokość brwi", + ["eyebrow_height"] = "wysokość brwi", + ["makeup_type"] = "styl makijażu", + ["makeup_thickness"] = "grubość makijażu", + ["makeup_color_1"] = "kolor makijażu 1", + ["makeup_color_2"] = "kolor makijażu 2", + ["lipstick_type"] = "styl szminki", + ["lipstick_thickness"] = "grubość szminki", + ["lipstick_color_1"] = "kolor szminki 1", + ["lipstick_color_2"] = "kolor szminki 2", + ["ear_accessories"] = "akcesoria do uszu", + ["ear_accessories_color"] = "kolor akcesorii do uszu", + ["tshirt_1"] = "koszulka 1", + ["tshirt_2"] = "koszulka 2", + ["torso_1"] = "tułów 1", + ["torso_2"] = "tułów 2", + ["decals_1"] = "detale 1", + ["decals_2"] = "detale 2", + ["arms"] = "ramiona", + ["arms_2"] = "ramiona 2", + ["pants_1"] = "spodnie 1", + ["pants_2"] = "spodnie 2", + ["shoes_1"] = "buty 1", + ["shoes_2"] = "buty 2", + ["mask_1"] = "maska 1", + ["mask_2"] = "maska 2", + ["bproof_1"] = "kamizelka kuloodporna 1", + ["bproof_2"] = "kamizelka kuloodporna 2", + ["chain_1"] = "łańcuch 1", + ["chain_2"] = "łańcuch 2", + ["helmet_1"] = "hełm 1", + ["helmet_2"] = "hełm 2", + ["watches_1"] = "zegarek 1", + ["watches_2"] = "zegarek 2", + ["bracelets_1"] = "bransoletka 1", + ["bracelets_2"] = "bransoletka 2", + ["glasses_1"] = "okulary 1", + ["glasses_2"] = "okulary 2", + ["bag"] = "torba", + ["bag_color"] = "kolor torby", + ["blemishes"] = "skazy", + ["blemishes_size"]= "wielkość skaz", + ["ageing"] = "starzenie", + ["ageing_1"] = "wielkość starzenia", + ["blush"] = "rumieńce", + ["blush_1"] = "grubość rumieni", + ["blush_color"] = "kolor rumieni", + ["complexion"] = "cera", + ["complexion_1"] = "rodzaj cery", + ["sun"] = "opalenie", + ["sun_1"] = "wielkość opalenia", + ["freckles"] = "piegi", + ["freckles_1"] = "rodzaj piegów", + ["chest_hair"] = "włosy na klacie", + ["chest_hair_1"] = "ilość włosów na klacie", + ["chest_color"] = "kolor włosów na klacie", + ["bodyb"] = "skazy ciała", + ["bodyb_size"] = "rodzaj skaz ciała", + ["bodyb_extra"] = "efekt skaz ciała", + ["bodyb_extra_thickness"] = "wielkość skaz ciała", } diff --git a/[core]/skinchanger/locales/pt.lua b/[core]/skinchanger/locales/pt.lua index 2668be79..268c2373 100644 --- a/[core]/skinchanger/locales/pt.lua +++ b/[core]/skinchanger/locales/pt.lua @@ -1,100 +1,100 @@ -Locales['pt'] = { - ['sex'] = "sexo", - ['mom'] = "cara da mãe", - ['dad'] = "cara do pai", - ['resemblance'] = "semelhanças", - ['skin_tone'] = "tom de pele", - ['nose_1'] = "largura do nariz", - ['nose_2'] = "altura da ponta do nariz", - ['nose_3'] = "tamanho da ponta do nariz", - ['nose_4'] = "altura do nariz", - ['nose_5'] = "reduzir ponta do nariz", - ['nose_6'] = "torcer o nariz", - ['cheeks_1'] = "altura das maçãs do rosto", - ['cheeks_2'] = "largura das maçãs do rosto", - ['cheeks_3'] = "largura das bochechas", - ['lip_fullness'] = "preenchimento labial", - ['jaw_bone_width'] = "largura do maxilar", - ['jaw_bone_length'] = "comprimento do maxilar", - ['chin_height'] = "altura do queixo", - ['chin_length'] = "comprimento do queixo", - ['chin_width'] = "largura do queixo", - ['chin_hole'] = "tamanho do buraco do queixo", - ['neck_thickness'] = "espessura do pescoço", - ['wrinkles'] = "rugas", - ['wrinkle_thickness'] = "espessura das rugas", - ['beard_type'] = "tipo de barba", - ['beard_size'] = "tamanho da barba", - ['beard_color_1'] = "cor da barba 1", - ['beard_color_2'] = "cor da barba 2", - ['hair_1'] = "cabelo 1", - ['hair_2'] = "cabelo 2", - ['hair_color_1'] = "cor do cabelo 1", - ['hair_color_2'] = "cor do cabelo 2", - ['eye_color'] = "cor dos olhos", - ['eye_squint'] = "estrabismo", - ['eyebrow_type'] = "tipo de sobrancelha", - ['eyebrow_size'] = "tamanho da sobrancelha", - ['eyebrow_color_1'] = "cor da sobrancelha 1", - ['eyebrow_color_2'] = "cor da sobrancelha 2", - ['eyebrow_depth'] = "profundidade da sobrancelha", - ['eyebrow_height'] = "altura da sobrancelha", - ['makeup_type'] = "tipo de maquiagem", - ['makeup_thickness'] = "espessura da maquiagem", - ['makeup_color_1'] = "cor da maquiagem 1", - ['makeup_color_2'] = "cor da maquiagem 2", - ['lipstick_type'] = "tipo de batom", - ['lipstick_thickness'] = "espessura do batom", - ['lipstick_color_1'] = "cor do batom 1", - ['lipstick_color_2'] = "cor do batom 2", - ['ear_accessories'] = "acessórios de ouvido", - ['ear_accessories_color'] = "cor dos acessórios de ouvido", - ['tshirt_1'] = "t-Shirt 1", - ['tshirt_2'] = "t-Shirt 2", - ['torso_1'] = "casaco 1", - ['torso_2'] = "casaco 2", - ['decals_1'] = "autocolantes 1", - ['decals_2'] = "autocolantes 2", - ['arms'] = "braços", - ['arms_2'] = "braços 2", - ['pants_1'] = "calças 1", - ['pants_2'] = "calças 2", - ['shoes_1'] = "sapatos 1", - ['shoes_2'] = "sapatos 2", - ['mask_1'] = "máscara 1", - ['mask_2'] = "máscara 2", - ['bproof_1'] = "colete 1", - ['bproof_2'] = "colete 2", - ['chain_1'] = "colar 1", - ['chain_2'] = "colar 2", - ['helmet_1'] = "capacete 1", - ['helmet_2'] = "capacete 2", - ['watches_1'] = "relógio 1", - ['watches_2'] = "relógio 2", - ['bracelets_1'] = "pulseiras 1", - ['bracelets_2'] = "pulseiras 2", - ['glasses_1'] = "óculos 1", - ['glasses_2'] = "óculos 2", - ['bag'] = "mochila", - ['bag_color'] = "cor da mochila", - ['blemishes'] = "manchas", - ['blemishes_size'] = "espessura de manchas", - ['ageing'] = "envelhecimento", - ['ageing_1'] = "espessura de envelhecimento", - ['blush'] = "corar", - ['blush_1'] = "espessura do blush", - ['blush_color'] = "cor de blush", - ['complexion'] = "aparência", - ['complexion_1'] = "aparência 2", - ['sun'] = "sol", - ['sun_1'] = "espessura do sol", - ['freckles'] = "sardas", - ['freckles_1'] = "espessura das sardas", - ['chest_hair'] = "pelos no peito", - ['chest_hair_1'] = "espessura dos pelos do peito", - ['chest_color'] = "cor dos pelos dos peitos", - ['bodyb'] = "manchas no corpo", - ['bodyb_size'] = "espessura das manchas no corpo", - ['bodyb_extra'] = "extra das manchas no corpo", - ['bodyb_extra_thickness'] = "cor do extra das manchas no corpo", +Locales["pt"] = { + ["sex"] = "sexo", + ["mom"] = "cara da mãe", + ["dad"] = "cara do pai", + ["resemblance"] = "semelhanças", + ["skin_tone"] = "tom de pele", + ["nose_1"] = "largura do nariz", + ["nose_2"] = "altura da ponta do nariz", + ["nose_3"] = "tamanho da ponta do nariz", + ["nose_4"] = "altura do nariz", + ["nose_5"] = "reduzir ponta do nariz", + ["nose_6"] = "torcer o nariz", + ["cheeks_1"] = "altura das maçãs do rosto", + ["cheeks_2"] = "largura das maçãs do rosto", + ["cheeks_3"] = "largura das bochechas", + ["lip_fullness"] = "preenchimento labial", + ["jaw_bone_width"] = "largura do maxilar", + ["jaw_bone_length"] = "comprimento do maxilar", + ["chin_height"] = "altura do queixo", + ["chin_length"] = "comprimento do queixo", + ["chin_width"] = "largura do queixo", + ["chin_hole"] = "tamanho do buraco do queixo", + ["neck_thickness"] = "espessura do pescoço", + ["wrinkles"] = "rugas", + ["wrinkle_thickness"] = "espessura das rugas", + ["beard_type"] = "tipo de barba", + ["beard_size"] = "tamanho da barba", + ["beard_color_1"] = "cor da barba 1", + ["beard_color_2"] = "cor da barba 2", + ["hair_1"] = "cabelo 1", + ["hair_2"] = "cabelo 2", + ["hair_color_1"] = "cor do cabelo 1", + ["hair_color_2"] = "cor do cabelo 2", + ["eye_color"] = "cor dos olhos", + ["eye_squint"] = "estrabismo", + ["eyebrow_type"] = "tipo de sobrancelha", + ["eyebrow_size"] = "tamanho da sobrancelha", + ["eyebrow_color_1"] = "cor da sobrancelha 1", + ["eyebrow_color_2"] = "cor da sobrancelha 2", + ["eyebrow_depth"] = "profundidade da sobrancelha", + ["eyebrow_height"] = "altura da sobrancelha", + ["makeup_type"] = "tipo de maquiagem", + ["makeup_thickness"] = "espessura da maquiagem", + ["makeup_color_1"] = "cor da maquiagem 1", + ["makeup_color_2"] = "cor da maquiagem 2", + ["lipstick_type"] = "tipo de batom", + ["lipstick_thickness"] = "espessura do batom", + ["lipstick_color_1"] = "cor do batom 1", + ["lipstick_color_2"] = "cor do batom 2", + ["ear_accessories"] = "acessórios de ouvido", + ["ear_accessories_color"] = "cor dos acessórios de ouvido", + ["tshirt_1"] = "t-Shirt 1", + ["tshirt_2"] = "t-Shirt 2", + ["torso_1"] = "casaco 1", + ["torso_2"] = "casaco 2", + ["decals_1"] = "autocolantes 1", + ["decals_2"] = "autocolantes 2", + ["arms"] = "braços", + ["arms_2"] = "braços 2", + ["pants_1"] = "calças 1", + ["pants_2"] = "calças 2", + ["shoes_1"] = "sapatos 1", + ["shoes_2"] = "sapatos 2", + ["mask_1"] = "máscara 1", + ["mask_2"] = "máscara 2", + ["bproof_1"] = "colete 1", + ["bproof_2"] = "colete 2", + ["chain_1"] = "colar 1", + ["chain_2"] = "colar 2", + ["helmet_1"] = "capacete 1", + ["helmet_2"] = "capacete 2", + ["watches_1"] = "relógio 1", + ["watches_2"] = "relógio 2", + ["bracelets_1"] = "pulseiras 1", + ["bracelets_2"] = "pulseiras 2", + ["glasses_1"] = "óculos 1", + ["glasses_2"] = "óculos 2", + ["bag"] = "mochila", + ["bag_color"] = "cor da mochila", + ["blemishes"] = "manchas", + ["blemishes_size"] = "espessura de manchas", + ["ageing"] = "envelhecimento", + ["ageing_1"] = "espessura de envelhecimento", + ["blush"] = "corar", + ["blush_1"] = "espessura do blush", + ["blush_color"] = "cor de blush", + ["complexion"] = "aparência", + ["complexion_1"] = "aparência 2", + ["sun"] = "sol", + ["sun_1"] = "espessura do sol", + ["freckles"] = "sardas", + ["freckles_1"] = "espessura das sardas", + ["chest_hair"] = "pelos no peito", + ["chest_hair_1"] = "espessura dos pelos do peito", + ["chest_color"] = "cor dos pelos dos peitos", + ["bodyb"] = "manchas no corpo", + ["bodyb_size"] = "espessura das manchas no corpo", + ["bodyb_extra"] = "extra das manchas no corpo", + ["bodyb_extra_thickness"] = "cor do extra das manchas no corpo", } diff --git a/[core]/skinchanger/locales/sl.lua b/[core]/skinchanger/locales/sl.lua index 9d8b76dd..d75f827a 100644 --- a/[core]/skinchanger/locales/sl.lua +++ b/[core]/skinchanger/locales/sl.lua @@ -1,100 +1,100 @@ -Locales['sl'] = { - ['sex'] = "Spol", - ['mom'] = "mom's face", - ['dad'] = "dad's face", - ['resemblance'] = "resemblance", - ['skin_tone'] = "skin tone", - ['nose_1'] = "nose width", - ['nose_2'] = "nose peak height", - ['nose_3'] = "nose peak length", - ['nose_4'] = "nose bone height", - ['nose_5'] = "nose peak lowering", - ['nose_6'] = "nose bone twist", - ['cheeks_1'] = "cheekbones height", - ['cheeks_2'] = "cheekbones width", - ['cheeks_3'] = "cheeks width", - ['lip_fullness'] = "lip fullness", - ['jaw_bone_width'] = "jaw bone width", - ['jaw_bone_length'] = "jaw bone length", - ['chin_height'] = "chin height", - ['chin_length'] = "chin length", - ['chin_width'] = "chin width", - ['chin_hole'] = "chin hole size", - ['neck_thickness'] = "neck thickness", - ['wrinkles'] = "wrinkles", - ['wrinkle_thickness'] = "wrinkle thickness", - ['beard_type'] = "beard type", - ['beard_size'] = "beard size", - ['beard_color_1'] = "beard color 1", - ['beard_color_2'] = "beard color 2", - ['hair_1'] = "hair 1", - ['hair_2'] = "hair 2", - ['hair_color_1'] = "hair color 1", - ['hair_color_2'] = "hair color 2", - ['eye_color'] = "eye color", - ['eye_squint'] = "eye squint", - ['eyebrow_type'] = "eyebrow type", - ['eyebrow_size'] = "eyebrow size", - ['eyebrow_color_1'] = "eyebrow color 1", - ['eyebrow_color_2'] = "eyebrow color 2", - ['eyebrow_depth'] = "eyebrow depth", - ['eyebrow_height'] = "eyebrow height", - ['makeup_type'] = "makeup type", - ['makeup_thickness'] = "makeup thickness", - ['makeup_color_1'] = "makeup color 1", - ['makeup_color_2'] = "makeup color 2", - ['lipstick_type'] = "lipstick type", - ['lipstick_thickness'] = "lipstick thickness", - ['lipstick_color_1'] = "lipstick color 1", - ['lipstick_color_2'] = "lipstick color 2", - ['ear_accessories'] = "ear accessories", - ['ear_accessories_color'] = "ear accessories color", - ['tshirt_1'] = "t-Shirt 1", - ['tshirt_2'] = "t-Shirt 2", - ['torso_1'] = "torso 1", - ['torso_2'] = "torso 2", - ['decals_1'] = "decals 1", - ['decals_2'] = "decals 2", - ['arms'] = "arms", - ['arms_2'] = "arms 2", - ['pants_1'] = "pants 1", - ['pants_2'] = "pants 2", - ['shoes_1'] = "shoes 1", - ['shoes_2'] = "shoes 2", - ['mask_1'] = "mask 1", - ['mask_2'] = "mask 2", - ['bproof_1'] = "bulletproof vest 1", - ['bproof_2'] = "bulletproof vest 2", - ['chain_1'] = "chain 1", - ['chain_2'] = "chain 2", - ['helmet_1'] = "helmet 1", - ['helmet_2'] = "helmet 2", - ['watches_1'] = "watches 1", - ['watches_2'] = "watches 2", - ['bracelets_1'] = "bracelets 1", - ['bracelets_2'] = "bracelets 2", - ['glasses_1'] = "glasses 1", - ['glasses_2'] = "glasses 2", - ['bag'] = "bag", - ['bag_color'] = "bag color", - ['blemishes'] = "blemishes", - ['blemishes_size'] = "blemishes thickness", - ['ageing'] = "ageing", - ['ageing_1'] = "ageing thickness", - ['blush'] = "blush", - ['blush_1'] = "blush thickness", - ['blush_color'] = "blush color", - ['complexion'] = "complexion", - ['complexion_1'] = "complexion thickness", - ['sun'] = "sun", - ['sun_1'] = "sun thickness", - ['freckles'] = "freckles", - ['freckles_1'] = "freckles thickness", - ['chest_hair'] = "chest hair", - ['chest_hair_1'] = "chest hair thickness", - ['chest_color'] = "chest hair color", - ['bodyb'] = "body blemishes", - ['bodyb_size'] = "body blemishes thickness", - ['bodyb_extra'] = "blemishes body effect", - ['bodyb_extra_thickness'] = "blemishes body effect thickness", +Locales["sl"] = { + ["sex"] = "Spol", + ["mom"] = "mom's face", + ["dad"] = "dad's face", + ["resemblance"] = "resemblance", + ["skin_tone"] = "skin tone", + ["nose_1"] = "nose width", + ["nose_2"] = "nose peak height", + ["nose_3"] = "nose peak length", + ["nose_4"] = "nose bone height", + ["nose_5"] = "nose peak lowering", + ["nose_6"] = "nose bone twist", + ["cheeks_1"] = "cheekbones height", + ["cheeks_2"] = "cheekbones width", + ["cheeks_3"] = "cheeks width", + ["lip_fullness"] = "lip fullness", + ["jaw_bone_width"] = "jaw bone width", + ["jaw_bone_length"] = "jaw bone length", + ["chin_height"] = "chin height", + ["chin_length"] = "chin length", + ["chin_width"] = "chin width", + ["chin_hole"] = "chin hole size", + ["neck_thickness"] = "neck thickness", + ["wrinkles"] = "wrinkles", + ["wrinkle_thickness"] = "wrinkle thickness", + ["beard_type"] = "beard type", + ["beard_size"] = "beard size", + ["beard_color_1"] = "beard color 1", + ["beard_color_2"] = "beard color 2", + ["hair_1"] = "hair 1", + ["hair_2"] = "hair 2", + ["hair_color_1"] = "hair color 1", + ["hair_color_2"] = "hair color 2", + ["eye_color"] = "eye color", + ["eye_squint"] = "eye squint", + ["eyebrow_type"] = "eyebrow type", + ["eyebrow_size"] = "eyebrow size", + ["eyebrow_color_1"] = "eyebrow color 1", + ["eyebrow_color_2"] = "eyebrow color 2", + ["eyebrow_depth"] = "eyebrow depth", + ["eyebrow_height"] = "eyebrow height", + ["makeup_type"] = "makeup type", + ["makeup_thickness"] = "makeup thickness", + ["makeup_color_1"] = "makeup color 1", + ["makeup_color_2"] = "makeup color 2", + ["lipstick_type"] = "lipstick type", + ["lipstick_thickness"] = "lipstick thickness", + ["lipstick_color_1"] = "lipstick color 1", + ["lipstick_color_2"] = "lipstick color 2", + ["ear_accessories"] = "ear accessories", + ["ear_accessories_color"] = "ear accessories color", + ["tshirt_1"] = "t-Shirt 1", + ["tshirt_2"] = "t-Shirt 2", + ["torso_1"] = "torso 1", + ["torso_2"] = "torso 2", + ["decals_1"] = "decals 1", + ["decals_2"] = "decals 2", + ["arms"] = "arms", + ["arms_2"] = "arms 2", + ["pants_1"] = "pants 1", + ["pants_2"] = "pants 2", + ["shoes_1"] = "shoes 1", + ["shoes_2"] = "shoes 2", + ["mask_1"] = "mask 1", + ["mask_2"] = "mask 2", + ["bproof_1"] = "bulletproof vest 1", + ["bproof_2"] = "bulletproof vest 2", + ["chain_1"] = "chain 1", + ["chain_2"] = "chain 2", + ["helmet_1"] = "helmet 1", + ["helmet_2"] = "helmet 2", + ["watches_1"] = "watches 1", + ["watches_2"] = "watches 2", + ["bracelets_1"] = "bracelets 1", + ["bracelets_2"] = "bracelets 2", + ["glasses_1"] = "glasses 1", + ["glasses_2"] = "glasses 2", + ["bag"] = "bag", + ["bag_color"] = "bag color", + ["blemishes"] = "blemishes", + ["blemishes_size"] = "blemishes thickness", + ["ageing"] = "ageing", + ["ageing_1"] = "ageing thickness", + ["blush"] = "blush", + ["blush_1"] = "blush thickness", + ["blush_color"] = "blush color", + ["complexion"] = "complexion", + ["complexion_1"] = "complexion thickness", + ["sun"] = "sun", + ["sun_1"] = "sun thickness", + ["freckles"] = "freckles", + ["freckles_1"] = "freckles thickness", + ["chest_hair"] = "chest hair", + ["chest_hair_1"] = "chest hair thickness", + ["chest_color"] = "chest hair color", + ["bodyb"] = "body blemishes", + ["bodyb_size"] = "body blemishes thickness", + ["bodyb_extra"] = "blemishes body effect", + ["bodyb_extra_thickness"] = "blemishes body effect thickness", } diff --git a/[core]/skinchanger/locales/sr.lua b/[core]/skinchanger/locales/sr.lua index 9887aeba..71b7f30c 100644 --- a/[core]/skinchanger/locales/sr.lua +++ b/[core]/skinchanger/locales/sr.lua @@ -1,100 +1,100 @@ -Locales['sr'] = { - ['sex'] = "pol", - ['mom'] = "mamina faca", - ['dad'] = "tatina faca", - ['resemblance'] = "sličnost", - ['skin_tone'] = "ten", - ['nose_1'] = "širina nosa", - ['nose_2'] = "visina vrha nosa", - ['nose_3'] = "dužina vrha nosa", - ['nose_4'] = "visina nosne kosti", - ['nose_5'] = "spuštanje vrha nosa", - ['nose_6'] = "uvrtanje nosne kosti", - ['cheeks_1'] = "visina jagodica", - ['cheeks_2'] = "širina jagodica", - ['cheeks_3'] = "širina obraza", - ['lip_fullness'] = "punoća usana", - ['jaw_bone_width'] = "širina kostiju vilice", - ['jaw_bone_length'] = "dužina kostiju vilice", - ['chin_height'] = "visina brade", - ['chin_length'] = "dužina brade", - ['chin_width'] = "širina brade", - ['chin_hole'] = "veličina rupe za bradu", - ['neck_thickness'] = "debljina vrata", - ['wrinkles'] = "bore", - ['wrinkle_thickness'] = "debljina bora", - ['beard_type'] = "tip brade", - ['beard_size'] = "veličina brade", - ['beard_color_1'] = "boja brade 1", - ['beard_color_2'] = "boja brade 2", - ['hair_1'] = "kosa 1", - ['hair_2'] = "kosa 2", - ['hair_color_1'] = "boja kose 1", - ['hair_color_2'] = "boja kose 2", - ['eye_color'] = "boja očiju", - ['eye_squint'] = "raširenost oka", - ['eyebrow_type'] = "tip obrva", - ['eyebrow_size'] = "veličina obrva", - ['eyebrow_color_1'] = "boja obrva 1", - ['eyebrow_color_2'] = "boja obrva 2", - ['eyebrow_depth'] = "dubina obrva", - ['eyebrow_height'] = "visina obrva", - ['makeup_type'] = "šminka", - ['makeup_thickness'] = "debljina šminke", - ['makeup_color_1'] = "boja šminke 1", - ['makeup_color_2'] = "boja šminke 2", - ['lipstick_type'] = "tip karmina", - ['lipstick_thickness'] = "debljina karmina", - ['lipstick_color_1'] = "boja karmina 1", - ['lipstick_color_2'] = "boja karmina 2", - ['ear_accessories'] = "naušnice", - ['ear_accessories_color'] = "boja naušnica", - ['tshirt_1'] = "majica ", - ['tshirt_2'] = "boja majice", - ['torso_1'] = "gornjak", - ['torso_2'] = "boja gornjaka", - ['decals_1'] = "detalji", - ['decals_2'] = "boja detalja", - ['arms'] = "ruke", - ['arms_2'] = "boja rukavica", - ['pants_1'] = "pantalone", - ['pants_2'] = "boja pantalona", - ['shoes_1'] = "patike", - ['shoes_2'] = "boja patika", - ['mask_1'] = "maska", - ['mask_2'] = "boja maske", - ['bproof_1'] = "pancir", - ['bproof_2'] = "boja pancira", - ['chain_1'] = "lanac", - ['chain_2'] = "boja lanca", - ['helmet_1'] = "kaciga", - ['helmet_2'] = "boja kacige", - ['watches_1'] = "sat", - ['watches_2'] = "boja sata", - ['bracelets_1'] = "narukvice", - ['bracelets_2'] = "boja narukvice", - ['glasses_1'] = "naočare", - ['glasses_2'] = "boja naočara", - ['bag'] = "torba", - ['bag_color'] = "boja torbe", - ['blemishes'] = "mrlje", - ['blemishes_size'] = "debljina mrlja", - ['ageing'] = "starenje", - ['ageing_1'] = "debljina starenja", - ['blush'] = "rumenilo", - ['blush_1'] = "debljina rumenila", - ['blush_color'] = "boja rumenila", - ['complexion'] = "ten", - ['complexion_1'] = "debljina tena", - ['sun'] = "sunce", - ['sun_1'] = "debljina sunca", - ['freckles'] = "pege", - ['freckles_1'] = "debljina pega", - ['chest_hair'] = "dlake na grudima", - ['chest_hair_1'] = "debljina dlaka na grudima", - ['chest_color'] = "boja dlaka na grudima", - ['bodyb'] = "mrlje na telu", - ['bodyb_size'] = "debljina mrlja na telu", - ['bodyb_extra'] = "efekat mrlja na telu", - ['bodyb_extra_thickness'] = "mrlje telo efekat debljine", +Locales["sr"] = { + ["sex"] = "pol", + ["mom"] = "mamina faca", + ["dad"] = "tatina faca", + ["resemblance"] = "sličnost", + ["skin_tone"] = "ten", + ["nose_1"] = "širina nosa", + ["nose_2"] = "visina vrha nosa", + ["nose_3"] = "dužina vrha nosa", + ["nose_4"] = "visina nosne kosti", + ["nose_5"] = "spuštanje vrha nosa", + ["nose_6"] = "uvrtanje nosne kosti", + ["cheeks_1"] = "visina jagodica", + ["cheeks_2"] = "širina jagodica", + ["cheeks_3"] = "širina obraza", + ["lip_fullness"] = "punoća usana", + ["jaw_bone_width"] = "širina kostiju vilice", + ["jaw_bone_length"] = "dužina kostiju vilice", + ["chin_height"] = "visina brade", + ["chin_length"] = "dužina brade", + ["chin_width"] = "širina brade", + ["chin_hole"] = "veličina rupe za bradu", + ["neck_thickness"] = "debljina vrata", + ["wrinkles"] = "bore", + ["wrinkle_thickness"] = "debljina bora", + ["beard_type"] = "tip brade", + ["beard_size"] = "veličina brade", + ["beard_color_1"] = "boja brade 1", + ["beard_color_2"] = "boja brade 2", + ["hair_1"] = "kosa 1", + ["hair_2"] = "kosa 2", + ["hair_color_1"] = "boja kose 1", + ["hair_color_2"] = "boja kose 2", + ["eye_color"] = "boja očiju", + ["eye_squint"] = "raširenost oka", + ["eyebrow_type"] = "tip obrva", + ["eyebrow_size"] = "veličina obrva", + ["eyebrow_color_1"] = "boja obrva 1", + ["eyebrow_color_2"] = "boja obrva 2", + ["eyebrow_depth"] = "dubina obrva", + ["eyebrow_height"] = "visina obrva", + ["makeup_type"] = "šminka", + ["makeup_thickness"] = "debljina šminke", + ["makeup_color_1"] = "boja šminke 1", + ["makeup_color_2"] = "boja šminke 2", + ["lipstick_type"] = "tip karmina", + ["lipstick_thickness"] = "debljina karmina", + ["lipstick_color_1"] = "boja karmina 1", + ["lipstick_color_2"] = "boja karmina 2", + ["ear_accessories"] = "naušnice", + ["ear_accessories_color"] = "boja naušnica", + ["tshirt_1"] = "majica ", + ["tshirt_2"] = "boja majice", + ["torso_1"] = "gornjak", + ["torso_2"] = "boja gornjaka", + ["decals_1"] = "detalji", + ["decals_2"] = "boja detalja", + ["arms"] = "ruke", + ["arms_2"] = "boja rukavica", + ["pants_1"] = "pantalone", + ["pants_2"] = "boja pantalona", + ["shoes_1"] = "patike", + ["shoes_2"] = "boja patika", + ["mask_1"] = "maska", + ["mask_2"] = "boja maske", + ["bproof_1"] = "pancir", + ["bproof_2"] = "boja pancira", + ["chain_1"] = "lanac", + ["chain_2"] = "boja lanca", + ["helmet_1"] = "kaciga", + ["helmet_2"] = "boja kacige", + ["watches_1"] = "sat", + ["watches_2"] = "boja sata", + ["bracelets_1"] = "narukvice", + ["bracelets_2"] = "boja narukvice", + ["glasses_1"] = "naočare", + ["glasses_2"] = "boja naočara", + ["bag"] = "torba", + ["bag_color"] = "boja torbe", + ["blemishes"] = "mrlje", + ["blemishes_size"] = "debljina mrlja", + ["ageing"] = "starenje", + ["ageing_1"] = "debljina starenja", + ["blush"] = "rumenilo", + ["blush_1"] = "debljina rumenila", + ["blush_color"] = "boja rumenila", + ["complexion"] = "ten", + ["complexion_1"] = "debljina tena", + ["sun"] = "sunce", + ["sun_1"] = "debljina sunca", + ["freckles"] = "pege", + ["freckles_1"] = "debljina pega", + ["chest_hair"] = "dlake na grudima", + ["chest_hair_1"] = "debljina dlaka na grudima", + ["chest_color"] = "boja dlaka na grudima", + ["bodyb"] = "mrlje na telu", + ["bodyb_size"] = "debljina mrlja na telu", + ["bodyb_extra"] = "efekat mrlja na telu", + ["bodyb_extra_thickness"] = "mrlje telo efekat debljine", } From 40c22f5685209e42407f0017fddefa8af57a646b Mon Sep 17 00:00:00 2001 From: thesysadmindev Date: Tue, 16 May 2023 10:16:35 +1000 Subject: [PATCH 123/236] Added logging to Discord for sensitive commands 1. Added config variable to config.lua to enable/disable admin logging. 2. Added ESX.DiscordLogFields function to a number of sensitive admin commands (such as /setaccountmoney and /giveweapon). --- [core]/es_extended/config.lua | 2 + [core]/es_extended/server/commands.lua | 174 +++++++++++++++++++++++-- 2 files changed, 164 insertions(+), 12 deletions(-) diff --git a/[core]/es_extended/config.lua b/[core]/es_extended/config.lua index 62b38a21..70e2280d 100644 --- a/[core]/es_extended/config.lua +++ b/[core]/es_extended/config.lua @@ -34,6 +34,8 @@ Config.Multichar = GetResourceState("esx_multicharacter") ~= "mis Config.Identity = true -- Select a characters identity data before they have loaded in (this happens by default with multichar) Config.DistanceGive = 4.0 -- Max distance when giving items, weapons etc. +Config.AdminLogging = false -- Logs the usage of certain commands by those with group.admin ace permissions (default is false) + Config.DisableHealthRegeneration = false -- Player will no longer regenerate health Config.DisableVehicleRewards = false -- Disables Player Recieving weapons from vehicles Config.DisableNPCDrops = false -- stops NPCs from dropping weapons on death diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index 5573b56b..cae042f7 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -1,5 +1,14 @@ ESX.RegisterCommand('setcoords', 'admin', function(xPlayer, args, showError) xPlayer.setCoords({x = args.x, y = args.y, z = args.z}) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Set Coordinates /setcoords Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "X Coord", value = args.x, inline = true}, + {name = "Y Coord", value = args.y, inline = true}, + {name = "Z Coord", value = args.z, inline = true}, + }) + end end, false, {help = TranslateCap('command_setcoords'), validate = true, arguments = { {name = 'x', help = TranslateCap('command_setcoords_x'), type = 'number'}, {name = 'y', help = TranslateCap('command_setcoords_y'), type = 'number'}, @@ -9,16 +18,18 @@ end, false, {help = TranslateCap('command_setcoords'), validate = true, argument ESX.RegisterCommand('setjob', 'admin', function(xPlayer, args, showError) if ESX.DoesJobExist(args.job, args.grade) then args.playerId.setJob(args.job, args.grade) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Set Job /setjob Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Job", value = args.playerId, inline = true}, + {name = "Grade", value = args.playerId, inline = true}, + }) + end else showError(TranslateCap('command_setjob_invalid')) end - - ESX.DiscordLogFields("UserActions", "/setjob Triggered", "pink", { - {name = "Executor", value = xPlayer and xPlayer.name or 'Console', inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Job", value = args.job, inline = true}, - {name = "Grade", value = args.grade, inline = true} - }) end, true, {help = TranslateCap('command_setjob'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, {name = 'job', help = TranslateCap('command_setjob_job'), type = 'string'}, @@ -54,11 +65,13 @@ ESX.RegisterCommand('car', 'admin', function(xPlayer, args, showError) DeleteEntity(playerVehicle) end - ESX.DiscordLogFields("UserActions", "/car Triggered", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Vehicle", value = args.car, inline = true} - }) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Spawn Car /car Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Vehicle", value = args.car, inline = true} + }) + end ESX.OneSync.SpawnVehicle(args.car, playerCoords, playerHeading, upgrades, function(networkId) if networkId then @@ -92,6 +105,12 @@ ESX.RegisterCommand({'cardel', 'dv'}, 'admin', function(xPlayer, args, showError DeleteEntity(Vehicle) end end + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Delete Vehicle /dv Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + }) + end end, false, {help = TranslateCap('command_cardel'), validate = false, arguments = { {name = 'radius',validate = false, help = TranslateCap('command_cardel_radius'), type = 'number'} }}) @@ -99,6 +118,15 @@ end, false, {help = TranslateCap('command_cardel'), validate = false, arguments ESX.RegisterCommand('setaccountmoney', 'admin', function(xPlayer, args, showError) if args.playerId.getAccount(args.account) then args.playerId.setAccountMoney(args.account, args.amount, "Government Grant") + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Set Account Money /setaccountmoney Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Account", value = args.account, inline = true}, + {name = "Amount", value = args.amount, inline = true}, + }) + end else showError(TranslateCap('command_giveaccountmoney_invalid')) end @@ -111,6 +139,15 @@ end, true, {help = TranslateCap('command_setaccountmoney'), validate = true, arg ESX.RegisterCommand('giveaccountmoney', 'admin', function(xPlayer, args, showError) if args.playerId.getAccount(args.account) then args.playerId.addAccountMoney(args.account, args.amount, "Government Grant") + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Give Account Money /giveaccountmoney Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Account", value = args.account, inline = true}, + {name = "Amount", value = args.amount, inline = true}, + }) + end else showError(TranslateCap('command_giveaccountmoney_invalid')) end @@ -123,6 +160,15 @@ end, true, {help = TranslateCap('command_giveaccountmoney'), validate = true, ar if not Config.OxInventory then ESX.RegisterCommand('giveitem', 'admin', function(xPlayer, args, showError) args.playerId.addInventoryItem(args.item, args.count) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Give Item /giveitem Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Item", value = args.item, inline = true}, + {name = "Quantity", value = args.count, inline = true}, + }) + end end, true, {help = TranslateCap('command_giveitem'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, {name = 'item', help = TranslateCap('command_giveitem_item'), type = 'item'}, @@ -134,6 +180,15 @@ if not Config.OxInventory then showError(TranslateCap('command_giveweapon_hasalready')) else args.playerId.addWeapon(args.weapon, args.ammo) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Give Weapon /giveweapon Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Weapon", value = args.weapon, inline = true}, + {name = "Ammo", value = args.ammo, inline = true}, + }) + end end end, true, {help = TranslateCap('command_giveweapon'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, @@ -144,6 +199,15 @@ if not Config.OxInventory then ESX.RegisterCommand('giveammo', 'admin', function(xPlayer, args, showError) if args.playerId.hasWeapon(args.weapon) then args.playerId.addWeaponAmmo(args.weapon, args.ammo) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Give Ammunition /giveammo Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Weapon", value = args.weapon, inline = true}, + {name = "Ammo", value = args.ammo, inline = true}, + }) + end else showError(TranslateCap("command_giveammo_noweapon_found")) end @@ -162,6 +226,15 @@ if not Config.OxInventory then showError(TranslateCap('command_giveweaponcomponent_hasalready')) else args.playerId.addWeaponComponent(args.weaponName, args.componentName) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Give Weapon Component /giveweaponcomponent Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Weapon", value = args.weaponName, inline = true}, + {name = "Component", value = args.componentName, inline = true}, + }) + end end else showError(TranslateCap('command_giveweaponcomponent_invalid')) @@ -182,6 +255,12 @@ end, false, {help = TranslateCap('command_clear')}) ESX.RegisterCommand({'clearall', 'clsall'}, 'admin', function(xPlayer, args, showError) TriggerClientEvent('chat:clear', -1) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Clear Chat /clearall Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + }) + end end, true, {help = TranslateCap('command_clearall')}) ESX.RegisterCommand("refreshjobs", 'admin', function(xPlayer, args, showError) @@ -196,6 +275,13 @@ if not Config.OxInventory then end end TriggerEvent('esx:playerInventoryCleared',args.playerId) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Clear Inventory /clearinventory Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + }) + end end, true, {help = TranslateCap('command_clearinventory'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) @@ -205,6 +291,13 @@ if not Config.OxInventory then args.playerId.removeWeapon(args.playerId.loadout[i].name) end TriggerEvent('esx:playerLoadoutCleared',args.playerId) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "/clearloadout Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + }) + end end, true, {help = TranslateCap('command_clearloadout'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) @@ -214,6 +307,14 @@ ESX.RegisterCommand('setgroup', 'admin', function(xPlayer, args, showError) if not args.playerId then args.playerId = xPlayer.source end if args.group == "superadmin" then args.group = "admin" print("[^3WARNING^7] ^5Superadmin^7 detected, setting group to ^5admin^7") end args.playerId.setGroup(args.group) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "/setgroup Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Group", value = args.group, inline = true}, + }) + end end, true, {help = TranslateCap('command_setgroup'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, {name = 'group', help = TranslateCap('command_setgroup_group'), type = 'string'}, @@ -254,11 +355,25 @@ end, true) ESX.RegisterCommand('tpm', "admin", function(xPlayer, args, showError) xPlayer.triggerEvent("esx:tpm") + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Admin Teleport /tpm Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + }) + end end, true) ESX.RegisterCommand('goto', "admin", function(xPlayer, args, showError) local targetCoords = args.playerId.getCoords() xPlayer.setCoords(targetCoords) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Admin Teleport /goto Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Target Coords", value = targetCoords, inline = true}, + }) + end end, true, {help = TranslateCap('command_goto'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) @@ -266,30 +381,65 @@ end, true, {help = TranslateCap('command_goto'), validate = true, arguments = { ESX.RegisterCommand('bring', "admin", function(xPlayer, args, showError) local playerCoords = xPlayer.getCoords() args.playerId.setCoords(playerCoords) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Admin Teleport /bring Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Target Coords", value = targetCoords, inline = true}, + }) + end end, true, {help = TranslateCap('command_bring'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) ESX.RegisterCommand('kill', "admin", function(xPlayer, args, showError) args.playerId.triggerEvent("esx:killPlayer") + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Kill Command /kill Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + }) + end end, true, {help = TranslateCap('command_kill'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) ESX.RegisterCommand('freeze', "admin", function(xPlayer, args, showError) args.playerId.triggerEvent('esx:freezePlayer', "freeze") + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Admin Freeze /freeze Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + }) + end end, true, {help = TranslateCap('command_freeze'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) ESX.RegisterCommand('unfreeze', "admin", function(xPlayer, args, showError) args.playerId.triggerEvent('esx:freezePlayer', "unfreeze") + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Admin UnFreeze /unfreeze Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + }) + end end, true, {help = TranslateCap('command_unfreeze'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) ESX.RegisterCommand("noclip", 'admin', function(xPlayer, args, showError) xPlayer.triggerEvent('esx:noclip') + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Admin NoClip /noclip Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + }) + end end, false) ESX.RegisterCommand('players', "admin", function(xPlayer, args, showError) From bfd0d9ef5ea25dde6e5469f82ac212f6e93edb54 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Fri, 19 May 2023 14:47:22 +0200 Subject: [PATCH 124/236] refactor(Admin Check): refactor admin checking --- [core]/es_extended/config.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/[core]/es_extended/config.lua b/[core]/es_extended/config.lua index 70e2280d..701028bf 100644 --- a/[core]/es_extended/config.lua +++ b/[core]/es_extended/config.lua @@ -18,6 +18,11 @@ Config.Accounts = { Config.StartingAccountMoney = {bank = 50000} +Config.AdminGroups = { + ['owner'] = true, + ['admin'] = true +} + Config.DefaultSpawn = {x = -269.4, y = -955.3, z = 31.2, heading = 205.8} Config.EnablePaycheck = true -- enable paycheck From 939958542384eedd404e3c9e784f235d41ebc985 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Fri, 19 May 2023 14:48:31 +0200 Subject: [PATCH 125/236] refactor(Admin Check): refactor admin checking --- [core]/es_extended/server/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 76f9e2c4..31b0c1a9 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -454,7 +454,7 @@ function Core.IsPlayerAdmin(playerId) local xPlayer = ESX.Players[playerId] if xPlayer then - if xPlayer.group == 'admin' then + if Config.AdminGroups[xPlayer.group] then return true end end From 03a79177027cea96e98b4d681d927f3f693b6e6e Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Fri, 19 May 2023 15:00:42 +0200 Subject: [PATCH 126/236] refactor(client/functions): refactor code --- [core]/es_extended/client/functions.lua | 32 ++++++++++--------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index 5a381fa9..d42fbd44 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -401,8 +401,8 @@ function ESX.Game.DeleteObject(object) DeleteObject(object) end -function ESX.Game.SpawnVehicle(vehicle, coords, heading, cb, networked) - local model = type(vehicle) == 'number' and vehicle or joaat(vehicle) +function ESX.Game.SpawnVehicle(model, coords, heading, cb, networked) + local model = type(model) == 'number' and model or joaat(model) local vector = type(coords) == "vector3" and coords or vec(coords.x, coords.y, coords.z) networked = networked == nil and true or networked @@ -1087,17 +1087,11 @@ function ESX.ShowInventory() local weaponHash = joaat(v.name) if HasPedGotWeapon(playerPed, weaponHash, false) then - local ammo, label = GetAmmoInPedWeapon(playerPed, weaponHash) - - if v.ammo then - label = ('%s - %s %s'):format(v.label, ammo, v.ammo.label) - else - label = v.label - end + local ammo = GetAmmoInPedWeapon(playerPed, weaponHash) elements[#elements+1] = { icon = 'fas fa-gun', - title = label, + title = v.ammo and ('%s - %s %s'):format(v.label, ammo, v.ammo.label) or v.label, count = 1, type = 'item_weapon', value = v.name, @@ -1118,10 +1112,10 @@ function ESX.ShowInventory() ESX.CloseContext() - ESX.OpenContext("right", elements, function(menu,element) + ESX.OpenContext("right", elements, function(_, element) local player, distance = ESX.Game.GetClosestPlayer() - elements2 = {} + local elements2 = {} if element.usable then elements2[#elements2+1] = { @@ -1169,7 +1163,7 @@ function ESX.ShowInventory() action = 'return' } - ESX.OpenContext("right", elements2, function(menu2,element2) + ESX.OpenContext("right", elements2, function(_, element2) local item, type = element2.value, element2.type if element2.action == "give" then @@ -1177,7 +1171,7 @@ function ESX.ShowInventory() if #playersNearby > 0 then local players = {} - elements3 = { + local elements3 = { {unselectable = true, icon = "fas fa-users", title = "Nearby Players"} } @@ -1194,7 +1188,7 @@ function ESX.ShowInventory() } end - ESX.OpenContext("right", elements3, function(menu3,element3) + ESX.OpenContext("right", elements3, function(_, element3) local selectedPlayer, selectedPlayerId = GetPlayerFromServerId(element3.playerId), element3.playerId playersNearby = ESX.Game.GetPlayersInArea(GetEntityCoords(playerPed), 3.0) playersNearby = ESX.Table.Set(playersNearby) @@ -1213,7 +1207,7 @@ function ESX.ShowInventory() {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} } - ESX.OpenContext("right", elementsG, function(menuG,elementG) + ESX.OpenContext("right", elementsG, function(menuG, _) local quantity = tonumber(menuG.eles[2].inputValue) if quantity and quantity > 0 and element.count >= quantity then @@ -1252,7 +1246,7 @@ function ESX.ShowInventory() {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} } - ESX.OpenContext("right", elementsR, function(menuR,elementR) + ESX.OpenContext("right", elementsR, function(menuR, _) local quantity = tonumber(menuR.eles[2].inputValue) if quantity and quantity > 0 and element.count >= quantity then @@ -1287,7 +1281,7 @@ function ESX.ShowInventory() {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} } - ESX.OpenContext("right", elementsGA, function(menuGA,elementGA) + ESX.OpenContext("right", elementsGA, function(menuGA, _) local quantity = tonumber(menuGA.eles[2].inputValue) if quantity and quantity > 0 then @@ -1352,4 +1346,4 @@ function ESX.GetVehicleType(model) } return types[vehicleType] or "automobile" -end \ No newline at end of file +end From 353d9df9f77953795ec2f0319892287eca32fd1e Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Fri, 19 May 2023 15:06:32 +0200 Subject: [PATCH 127/236] refactor(client/main): refactor code --- [core]/es_extended/client/main.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/[core]/es_extended/client/main.lua b/[core]/es_extended/client/main.lua index 436c2056..1ddc15be 100644 --- a/[core]/es_extended/client/main.lua +++ b/[core]/es_extended/client/main.lua @@ -76,7 +76,7 @@ AddEventHandler('esx:playerLoaded', function(xPlayer, isNew, skin) end if Config.DisableVehicleSeatShuff then - AddEventHandler('esx:enteredVehicle', function(vehicle, plate, seat) + AddEventHandler('esx:enteredVehicle', function(vehicle, _, seat) if seat == 0 then SetPedIntoVehicle(ESX.PlayerData.ped, vehicle, 0) SetPedConfigFlag(ESX.PlayerData.ped, 184, true) @@ -241,7 +241,7 @@ AddEventHandler('esx:restoreLoadout', function() end) -- Credit: https://github.com/LukeWasTakenn, https://github.com/LukeWasTakenn/luke_garages/blob/master/client/client.lua#L331-L352 -AddStateBagChangeHandler('VehicleProperties', nil, function(bagName, key, value) +AddStateBagChangeHandler('VehicleProperties', nil, function(bagName, _, value) if not value then return end @@ -254,12 +254,12 @@ AddStateBagChangeHandler('VehicleProperties', nil, function(bagName, key, value) return end end - + local vehicle = NetToVeh(tonumber(netId)) - local timer = GetGameTimer() + local timer2 = GetGameTimer() while NetworkGetEntityOwner(vehicle) ~= PlayerId() do Wait(0) - if GetGameTimer() - timer > 10000 then + if GetGameTimer() - timer2 > 10000 then return end end @@ -707,4 +707,4 @@ end RegisterNetEvent('esx:updatePlayerData', function(key, val) ESX.SetPlayerData(key, val) -end) \ No newline at end of file +end) From ff3ee5843e7746e8f86fa75fbfa03dab919b7e27 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Fri, 19 May 2023 15:12:45 +0200 Subject: [PATCH 128/236] fix(client/functions): shadowing upvalue --- [core]/es_extended/client/functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index d42fbd44..4319769d 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -401,8 +401,8 @@ function ESX.Game.DeleteObject(object) DeleteObject(object) end -function ESX.Game.SpawnVehicle(model, coords, heading, cb, networked) - local model = type(model) == 'number' and model or joaat(model) +function ESX.Game.SpawnVehicle(vehicleModel, coords, heading, cb, networked) + local model = type(vehicleModel) == 'number' and vehicleModel or joaat(vehicleModel) local vector = type(coords) == "vector3" and coords or vec(coords.x, coords.y, coords.z) networked = networked == nil and true or networked From bb526ea0bc16ff17528bbbce05244f969be9da9b Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Fri, 19 May 2023 15:19:00 +0200 Subject: [PATCH 129/236] refactor(common/modules/table): small refactor --- [core]/es_extended/common/modules/table.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/[core]/es_extended/common/modules/table.lua b/[core]/es_extended/common/modules/table.lua index 0d5c0002..c582d59b 100644 --- a/[core]/es_extended/common/modules/table.lua +++ b/[core]/es_extended/common/modules/table.lua @@ -119,12 +119,11 @@ function ESX.Table.Concat(t1, t2) end function ESX.Table.Join(t, sep) - local sep = sep or ',' local str = '' for i = 1, #t, 1 do if i > 1 then - str = str .. sep + str = str .. (sep or ',') end str = str .. t[i] From 648147f99e6a8c23ec6d08668ebcd2966ca675ab Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Fri, 19 May 2023 15:24:07 +0200 Subject: [PATCH 130/236] refactor(overrides/oxinventory): unused args --- .../server/classes/overrides/oxinventory.lua | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/[core]/es_extended/server/classes/overrides/oxinventory.lua b/[core]/es_extended/server/classes/overrides/oxinventory.lua index 0bc5fe67..4b4aa349 100644 --- a/[core]/es_extended/server/classes/overrides/oxinventory.lua +++ b/[core]/es_extended/server/classes/overrides/oxinventory.lua @@ -36,7 +36,7 @@ Core.PlayerFunctionOverrides.OxInventory = { end end, - getLoadout = function(self) + getLoadout = function(_) return function() return {} end @@ -144,49 +144,49 @@ Core.PlayerFunctionOverrides.OxInventory = { end end, - addWeapon = function(self) + addWeapon = function(_) return function() end end, - addWeaponComponent = function(self) + addWeaponComponent = function(_) return function() end end, - addWeaponAmmo = function(self) + addWeaponAmmo = function(_) return function() end end, - updateWeaponAmmo = function(self) + updateWeaponAmmo = function(_) return function() end end, - setWeaponTint = function(self) + setWeaponTint = function(_) return function() end end, - getWeaponTint = function(self) + getWeaponTint = function(_) return function() end end, - removeWeapon = function(self) + removeWeapon = function(_) return function() end end, - removeWeaponComponent = function(self) + removeWeaponComponent = function(_) return function() end end, - removeWeaponAmmo = function(self) + removeWeaponAmmo = function(_) return function() end end, - hasWeaponComponent = function(self) + hasWeaponComponent = function(_) return function() return false end end, - hasWeapon = function(self) + hasWeapon = function(_) return function() return false end @@ -198,7 +198,7 @@ Core.PlayerFunctionOverrides.OxInventory = { end end, - getWeapon = function(self) + getWeapon = function(_) return function() end end, From fec1a9d8aaa8381c616806f11c6d45a80f9ed52e Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Fri, 19 May 2023 15:53:16 +0200 Subject: [PATCH 131/236] refactor(server/commands): refactor code --- [core]/es_extended/server/commands.lua | 176 ++++++++++++------------- 1 file changed, 86 insertions(+), 90 deletions(-) diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index cae042f7..4cedd62f 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -1,4 +1,4 @@ -ESX.RegisterCommand('setcoords', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('setcoords', 'admin', function(xPlayer, args, _) xPlayer.setCoords({x = args.x, y = args.y, z = args.z}) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Set Coordinates /setcoords Triggered!", "pink", { @@ -16,19 +16,19 @@ end, false, {help = TranslateCap('command_setcoords'), validate = true, argument }}) ESX.RegisterCommand('setjob', 'admin', function(xPlayer, args, showError) - if ESX.DoesJobExist(args.job, args.grade) then - args.playerId.setJob(args.job, args.grade) - if Config.AdminLogging then - ESX.DiscordLogFields("UserActions", "Set Job /setjob Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Job", value = args.playerId, inline = true}, - {name = "Grade", value = args.playerId, inline = true}, - }) - end - else - showError(TranslateCap('command_setjob_invalid')) + if not ESX.DoesJobExist(args.job, args.grade) then + return showError(TranslateCap('command_setjob_invalid')) + end + + args.playerId.setJob(args.job, args.grade) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Set Job /setjob Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Job", value = args.playerId, inline = true}, + {name = "Grade", value = args.playerId, inline = true}, + }) end end, true, {help = TranslateCap('command_setjob'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, @@ -49,7 +49,7 @@ local upgrades = Config.SpawnVehMaxUpgrades and ESX.RegisterCommand('car', 'admin', function(xPlayer, args, showError) if not xPlayer then - return print('[^1ERROR^7] The xPlayer value is nil') + return showError('[^1ERROR^7] The xPlayer value is nil') end local playerPed = GetPlayerPed(xPlayer.source) @@ -85,7 +85,7 @@ ESX.RegisterCommand('car', 'admin', function(xPlayer, args, showError) end end if GetVehiclePedIsIn(playerPed, false) ~= vehicle then - print('[^1ERROR^7] The player could not be seated in the vehicle') + showError('[^1ERROR^7] The player could not be seated in the vehicle') end end end) @@ -93,13 +93,13 @@ end, false, {help = TranslateCap('command_car'), validate = false, arguments = { {name = 'car',validate = false, help = TranslateCap('command_car_car'), type = 'string'} }}) -ESX.RegisterCommand({'cardel', 'dv'}, 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand({'cardel', 'dv'}, 'admin', function(xPlayer, args, _) local PedVehicle = GetVehiclePedIsIn(GetPlayerPed(xPlayer.source), false) if DoesEntityExist(PedVehicle) then DeleteEntity(PedVehicle) end local Vehicles = ESX.OneSync.GetVehiclesInArea(GetEntityCoords(GetPlayerPed(xPlayer.source)), tonumber(args.radius) or 5.0) - for i = 1, #Vehicles do + for i = 1, #Vehicles do local Vehicle = NetworkGetEntityFromNetworkId(Vehicles[i]) if DoesEntityExist(Vehicle) then DeleteEntity(Vehicle) @@ -116,19 +116,18 @@ end, false, {help = TranslateCap('command_cardel'), validate = false, arguments }}) ESX.RegisterCommand('setaccountmoney', 'admin', function(xPlayer, args, showError) - if args.playerId.getAccount(args.account) then - args.playerId.setAccountMoney(args.account, args.amount, "Government Grant") - if Config.AdminLogging then - ESX.DiscordLogFields("UserActions", "Set Account Money /setaccountmoney Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Account", value = args.account, inline = true}, - {name = "Amount", value = args.amount, inline = true}, - }) - end - else - showError(TranslateCap('command_giveaccountmoney_invalid')) + if not args.playerId.getAccount(args.account) then + return showError(TranslateCap('command_giveaccountmoney_invalid')) + end + args.playerId.setAccountMoney(args.account, args.amount, "Government Grant") + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Set Account Money /setaccountmoney Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Account", value = args.account, inline = true}, + {name = "Amount", value = args.amount, inline = true}, + }) end end, true, {help = TranslateCap('command_setaccountmoney'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, @@ -137,19 +136,18 @@ end, true, {help = TranslateCap('command_setaccountmoney'), validate = true, arg }}) ESX.RegisterCommand('giveaccountmoney', 'admin', function(xPlayer, args, showError) - if args.playerId.getAccount(args.account) then - args.playerId.addAccountMoney(args.account, args.amount, "Government Grant") - if Config.AdminLogging then - ESX.DiscordLogFields("UserActions", "Give Account Money /giveaccountmoney Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Account", value = args.account, inline = true}, - {name = "Amount", value = args.amount, inline = true}, - }) - end - else - showError(TranslateCap('command_giveaccountmoney_invalid')) + if not args.playerId.getAccount(args.account) then + return showError(TranslateCap('command_giveaccountmoney_invalid')) + end + args.playerId.addAccountMoney(args.account, args.amount, "Government Grant") + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Give Account Money /giveaccountmoney Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Account", value = args.account, inline = true}, + {name = "Amount", value = args.amount, inline = true}, + }) end end, true, {help = TranslateCap('command_giveaccountmoney'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, @@ -158,7 +156,7 @@ end, true, {help = TranslateCap('command_giveaccountmoney'), validate = true, ar }}) if not Config.OxInventory then - ESX.RegisterCommand('giveitem', 'admin', function(xPlayer, args, showError) + ESX.RegisterCommand('giveitem', 'admin', function(xPlayer, args, _) args.playerId.addInventoryItem(args.item, args.count) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Give Item /giveitem Triggered!", "pink", { @@ -177,18 +175,17 @@ if not Config.OxInventory then ESX.RegisterCommand('giveweapon', 'admin', function(xPlayer, args, showError) if args.playerId.hasWeapon(args.weapon) then - showError(TranslateCap('command_giveweapon_hasalready')) - else - args.playerId.addWeapon(args.weapon, args.ammo) - if Config.AdminLogging then - ESX.DiscordLogFields("UserActions", "Give Weapon /giveweapon Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Weapon", value = args.weapon, inline = true}, - {name = "Ammo", value = args.ammo, inline = true}, - }) - end + return showError(TranslateCap('command_giveweapon_hasalready')) + end + args.playerId.addWeapon(args.weapon, args.ammo) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Give Weapon /giveweapon Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Weapon", value = args.weapon, inline = true}, + {name = "Ammo", value = args.ammo, inline = true}, + }) end end, true, {help = TranslateCap('command_giveweapon'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, @@ -197,19 +194,18 @@ if not Config.OxInventory then }}) ESX.RegisterCommand('giveammo', 'admin', function(xPlayer, args, showError) - if args.playerId.hasWeapon(args.weapon) then - args.playerId.addWeaponAmmo(args.weapon, args.ammo) - if Config.AdminLogging then - ESX.DiscordLogFields("UserActions", "Give Ammunition /giveammo Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Weapon", value = args.weapon, inline = true}, - {name = "Ammo", value = args.ammo, inline = true}, - }) - end - else - showError(TranslateCap("command_giveammo_noweapon_found")) + if not args.playerId.hasWeapon(args.weapon) then + return showError(TranslateCap("command_giveammo_noweapon_found")) + end + args.playerId.addWeaponAmmo(args.weapon, args.ammo) + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Give Ammunition /giveammo Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Weapon", value = args.weapon, inline = true}, + {name = "Ammo", value = args.ammo, inline = true}, + }) end end, true, {help = TranslateCap('command_giveweapon'), validate = false, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, @@ -249,11 +245,11 @@ if not Config.OxInventory then }}) end -ESX.RegisterCommand({'clear', 'cls'}, 'user', function(xPlayer, args, showError) +ESX.RegisterCommand({'clear', 'cls'}, 'user', function(xPlayer, _, _) xPlayer.triggerEvent('chat:clear') end, false, {help = TranslateCap('command_clear')}) -ESX.RegisterCommand({'clearall', 'clsall'}, 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand({'clearall', 'clsall'}, 'admin', function(xPlayer, _, _) TriggerClientEvent('chat:clear', -1) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Clear Chat /clearall Triggered!", "pink", { @@ -263,12 +259,12 @@ ESX.RegisterCommand({'clearall', 'clsall'}, 'admin', function(xPlayer, args, sho end end, true, {help = TranslateCap('command_clearall')}) -ESX.RegisterCommand("refreshjobs", 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand("refreshjobs", 'admin', function(xPlayer, _, _) ESX.RefreshJobs() end, true, {help = TranslateCap('command_clearall')}) if not Config.OxInventory then - ESX.RegisterCommand('clearinventory', 'admin', function(xPlayer, args, showError) + ESX.RegisterCommand('clearinventory', 'admin', function(xPlayer, args, _) for k, v in ipairs(args.playerId.inventory) do if v.count > 0 then args.playerId.setInventoryItem(v.name, 0) @@ -286,7 +282,7 @@ if not Config.OxInventory then {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) - ESX.RegisterCommand('clearloadout', 'admin', function(xPlayer, args, showError) + ESX.RegisterCommand('clearloadout', 'admin', function(xPlayer, args, _) for i=#args.playerId.loadout, 1, -1 do args.playerId.removeWeapon(args.playerId.loadout[i].name) end @@ -303,7 +299,7 @@ if not Config.OxInventory then }}) end -ESX.RegisterCommand('setgroup', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('setgroup', 'admin', function(xPlayer, args, _) if not args.playerId then args.playerId = xPlayer.source end if args.group == "superadmin" then args.group = "admin" print("[^3WARNING^7] ^5Superadmin^7 detected, setting group to ^5admin^7") end args.playerId.setGroup(args.group) @@ -320,32 +316,32 @@ end, true, {help = TranslateCap('command_setgroup'), validate = true, arguments {name = 'group', help = TranslateCap('command_setgroup_group'), type = 'string'}, }}) -ESX.RegisterCommand('save', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('save', 'admin', function(xPlayer, args, _) Core.SavePlayer(args.playerId) print("[^2Info^0] Saved Player - ^5".. args.playerId.source .. "^0") end, true, {help = TranslateCap('command_save'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) -ESX.RegisterCommand('saveall', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('saveall', 'admin', function(xPlayer, args, _) Core.SavePlayers() end, true, {help = TranslateCap('command_saveall')}) -ESX.RegisterCommand('group', {"user", "admin"}, function(xPlayer, args, showError) +ESX.RegisterCommand('group', {"user", "admin"}, function(xPlayer, _, _) print(xPlayer.getName()..", You are currently: ^5".. xPlayer.getGroup() .. "^0") end, true) -ESX.RegisterCommand('job', {"user", "admin"}, function(xPlayer, args, showError) +ESX.RegisterCommand('job', {"user", "admin"}, function(xPlayer, _, _) print(xPlayer.getName()..", You are currently: ^5".. xPlayer.getJob().name.. "^0 - ^5".. xPlayer.getJob().grade_label .. "^0") end, true) -ESX.RegisterCommand('info', {"user", "admin"}, function(xPlayer, args, showError) +ESX.RegisterCommand('info', {"user", "admin"}, function(xPlayer, _, _) local job = xPlayer.getJob().name local jobgrade = xPlayer.getJob().grade_name print("^2ID : ^5"..xPlayer.source.." ^0| ^2Name:^5"..xPlayer.getName().." ^0 | ^2Group:^5"..xPlayer.getGroup().."^0 | ^2Job:^5".. job.."^0") end, true) -ESX.RegisterCommand('coords', "admin", function(xPlayer, args, showError) +ESX.RegisterCommand('coords', "admin", function(xPlayer, _, _) local ped = GetPlayerPed(xPlayer.source) local coords = GetEntityCoords(ped, false) local heading = GetEntityHeading(ped) @@ -353,7 +349,7 @@ ESX.RegisterCommand('coords', "admin", function(xPlayer, args, showError) print("Coords - Vector4: ^5".. vector4(coords.x, coords.y, coords.z, heading) .. "^0") end, true) -ESX.RegisterCommand('tpm', "admin", function(xPlayer, args, showError) +ESX.RegisterCommand('tpm', "admin", function(xPlayer, _ _) xPlayer.triggerEvent("esx:tpm") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin Teleport /tpm Triggered!", "pink", { @@ -363,7 +359,7 @@ ESX.RegisterCommand('tpm', "admin", function(xPlayer, args, showError) end end, true) -ESX.RegisterCommand('goto', "admin", function(xPlayer, args, showError) +ESX.RegisterCommand('goto', "admin", function(xPlayer, args, _) local targetCoords = args.playerId.getCoords() xPlayer.setCoords(targetCoords) if Config.AdminLogging then @@ -378,7 +374,7 @@ end, true, {help = TranslateCap('command_goto'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) -ESX.RegisterCommand('bring', "admin", function(xPlayer, args, showError) +ESX.RegisterCommand('bring', "admin", function(xPlayer, args, _) local playerCoords = xPlayer.getCoords() args.playerId.setCoords(playerCoords) if Config.AdminLogging then @@ -393,7 +389,7 @@ end, true, {help = TranslateCap('command_bring'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) -ESX.RegisterCommand('kill', "admin", function(xPlayer, args, showError) +ESX.RegisterCommand('kill', "admin", function(xPlayer, args, _) args.playerId.triggerEvent("esx:killPlayer") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Kill Command /kill Triggered!", "pink", { @@ -406,7 +402,7 @@ end, true, {help = TranslateCap('command_kill'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) -ESX.RegisterCommand('freeze', "admin", function(xPlayer, args, showError) +ESX.RegisterCommand('freeze', "admin", function(xPlayer, args, _) args.playerId.triggerEvent('esx:freezePlayer', "freeze") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin Freeze /freeze Triggered!", "pink", { @@ -419,7 +415,7 @@ end, true, {help = TranslateCap('command_freeze'), validate = true, arguments = {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) -ESX.RegisterCommand('unfreeze', "admin", function(xPlayer, args, showError) +ESX.RegisterCommand('unfreeze', "admin", function(xPlayer, args, _) args.playerId.triggerEvent('esx:freezePlayer', "unfreeze") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin UnFreeze /unfreeze Triggered!", "pink", { @@ -432,7 +428,7 @@ end, true, {help = TranslateCap('command_unfreeze'), validate = true, arguments {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) -ESX.RegisterCommand("noclip", 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand("noclip", 'admin', function(xPlayer, _, _) xPlayer.triggerEvent('esx:noclip') if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin NoClip /noclip Triggered!", "pink", { @@ -442,7 +438,7 @@ ESX.RegisterCommand("noclip", 'admin', function(xPlayer, args, showError) end end, false) -ESX.RegisterCommand('players', "admin", function(xPlayer, args, showError) +ESX.RegisterCommand('players', "admin", function(xPlayer, _, _) local xPlayers = ESX.GetExtendedPlayers() -- Returns all xPlayers print("^5"..#xPlayers.." ^2online player(s)^0") for i = 1, #(xPlayers) do From 6b54644ce41503d9da1316f85e3b00bb3c6224e6 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Fri, 19 May 2023 15:55:35 +0200 Subject: [PATCH 132/236] fix(server/commands): typo --- [core]/es_extended/server/commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index 4cedd62f..156f688f 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -349,7 +349,7 @@ ESX.RegisterCommand('coords', "admin", function(xPlayer, _, _) print("Coords - Vector4: ^5".. vector4(coords.x, coords.y, coords.z, heading) .. "^0") end, true) -ESX.RegisterCommand('tpm', "admin", function(xPlayer, _ _) +ESX.RegisterCommand('tpm', "admin", function(xPlayer, _, _) xPlayer.triggerEvent("esx:tpm") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin Teleport /tpm Triggered!", "pink", { From b1f879fd2a0b98fc89c30405b37b8c70bc1b900a Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 21 May 2023 10:53:56 +0200 Subject: [PATCH 133/236] Remove .editorconfig --- [core]/es_extended/.editorconfig | 9 --------- [core]/esx_menu_dialog/.editorconfig | 9 --------- [core]/esx_menu_list/.editorconfig | 9 --------- [core]/esx_skin/.editorconfig | 9 --------- 4 files changed, 36 deletions(-) delete mode 100644 [core]/es_extended/.editorconfig delete mode 100644 [core]/esx_menu_dialog/.editorconfig delete mode 100644 [core]/esx_menu_list/.editorconfig delete mode 100644 [core]/esx_skin/.editorconfig diff --git a/[core]/es_extended/.editorconfig b/[core]/es_extended/.editorconfig deleted file mode 100644 index 9b425256..00000000 --- a/[core]/es_extended/.editorconfig +++ /dev/null @@ -1,9 +0,0 @@ -root = true - -[*] -indent_size = 4 -indent_style = tab -end_of_line = crlf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true \ No newline at end of file diff --git a/[core]/esx_menu_dialog/.editorconfig b/[core]/esx_menu_dialog/.editorconfig deleted file mode 100644 index 9b425256..00000000 --- a/[core]/esx_menu_dialog/.editorconfig +++ /dev/null @@ -1,9 +0,0 @@ -root = true - -[*] -indent_size = 4 -indent_style = tab -end_of_line = crlf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true \ No newline at end of file diff --git a/[core]/esx_menu_list/.editorconfig b/[core]/esx_menu_list/.editorconfig deleted file mode 100644 index 9b425256..00000000 --- a/[core]/esx_menu_list/.editorconfig +++ /dev/null @@ -1,9 +0,0 @@ -root = true - -[*] -indent_size = 4 -indent_style = tab -end_of_line = crlf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true \ No newline at end of file diff --git a/[core]/esx_skin/.editorconfig b/[core]/esx_skin/.editorconfig deleted file mode 100644 index 9b425256..00000000 --- a/[core]/esx_skin/.editorconfig +++ /dev/null @@ -1,9 +0,0 @@ -root = true - -[*] -indent_size = 4 -indent_style = tab -end_of_line = crlf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true \ No newline at end of file From 6be5fd547830f50e8704809b76a83bd7c8f58b9c Mon Sep 17 00:00:00 2001 From: Cyzxin Date: Mon, 22 May 2023 09:47:07 +0100 Subject: [PATCH 134/236] Fixed Translation For RefreshJob Command Added /refreshitems To Update The ESX.Items Table --- [core]/es_extended/locales/en.lua | 2 ++ [core]/es_extended/server/commands.lua | 6 +++++- [core]/es_extended/server/functions.lua | 8 ++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/[core]/es_extended/locales/en.lua b/[core]/es_extended/locales/en.lua index e480153f..8355c378 100644 --- a/[core]/es_extended/locales/en.lua +++ b/[core]/es_extended/locales/en.lua @@ -108,6 +108,8 @@ Locales['en'] = { ['command_giveammo_noweapon_found'] = '%s does not have that weapon', ['command_giveammo_weapon'] = 'Weapon name', ['command_giveammo_ammo'] = 'Ammo Quantity', + ['command_refreshjobs'] = 'Refresh The ESX Jobs Table', + ['command_refreshitems'] = 'Refresh The ESX Items Table', ['tpm_nowaypoint'] = 'No Waypoint Set.', ['tpm_success'] = 'Successfully Teleported', diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index b89ae36a..ad1cf9e8 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -184,7 +184,11 @@ end, true, {help = TranslateCap('command_clearall')}) ESX.RegisterCommand("refreshjobs", 'admin', function(xPlayer, args, showError) ESX.RefreshJobs() -end, true, {help = TranslateCap('command_clearall')}) +end, true, {help = TranslateCap('command_refreshjobs')}) + +ESX.RegisterCommand("refreshitems", 'admin', function(xPlayer, args, showError) + ESX.RefreshItems() +end, true, {help = TranslateCap('command_refreshitems')}) if not Config.OxInventory then ESX.RegisterCommand('clearinventory', 'admin', function(xPlayer, args, showError) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 202e1b5e..2ed4b802 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -348,6 +348,14 @@ function ESX.RefreshJobs() end end +function ESX.RefreshItems() + if Config.OxInventory then return end + local items = MySQL.query.await('SELECT * FROM items') + for k, v in ipairs(items) do + ESX.Items[v.name] = {label = v.label, weight = v.weight, rare = v.rare, canRemove = v.can_remove} + end +end + function ESX.RegisterUsableItem(item, cb) Core.UsableItemsCallbacks[item] = cb end From de416d59a983eaca58ad2b11b520e2077807546a Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Mon, 22 May 2023 23:47:50 +0200 Subject: [PATCH 135/236] fix(Weapons): typo --- [core]/es_extended/config.weapons.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/[core]/es_extended/config.weapons.lua b/[core]/es_extended/config.weapons.lua index b7c63cd1..aef2af7d 100644 --- a/[core]/es_extended/config.weapons.lua +++ b/[core]/es_extended/config.weapons.lua @@ -977,7 +977,6 @@ Config.Weapons = { } }, {name = 'WEAPON_METALDETECTOR', label = TranslateCap('weapon_metaldetector'), components = {}}, - , {name = 'WEAPON_PISTOLXM3', label = TranslateCap('weapon_pistolxm3'), ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}, tints = Config.DefaultWeaponTints, components = { {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_PISTOLXM3_CLIP_01`}, From f442b53276a2c5daa1bca8fe6baa46675183970b Mon Sep 17 00:00:00 2001 From: Thekuca Date: Mon, 22 May 2023 23:58:00 +0200 Subject: [PATCH 136/236] feat(Locales): add new locales for dlc weapons --- [core]/es_extended/locales/hu.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/[core]/es_extended/locales/hu.lua b/[core]/es_extended/locales/hu.lua index d4b1bd6f..da859972 100644 --- a/[core]/es_extended/locales/hu.lua +++ b/[core]/es_extended/locales/hu.lua @@ -223,10 +223,10 @@ Locales["hu"] = { ["weapon_tactilerifle"] = "Service Carbine", -- Drug Wars DLC - ['weapon_candycane'] = 'Candy Cane', - ['weapon_acidpackage'] = 'Acid Package', - ['weapon_pistolxm3'] = 'WM 29 Pistol', - ['weapon_railgunxm3'] = 'Railgun', + ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_acidpackage'] = 'Acid Package', -- not translated + ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated -- Thrown ["weapon_ball"] = "Baseball", From 5245de9e089ba06af3e74d08fff0b73c4ea06c96 Mon Sep 17 00:00:00 2001 From: Thekuca Date: Mon, 22 May 2023 23:59:34 +0200 Subject: [PATCH 137/236] feat(Locales): add new translations for dlc weapons --- [core]/es_extended/locales/cs.lua | 6 ++++++ [core]/es_extended/locales/da.lua | 6 ++++++ [core]/es_extended/locales/de.lua | 6 ++++++ [core]/es_extended/locales/en.lua | 6 ++++++ [core]/es_extended/locales/es.lua | 6 ++++++ [core]/es_extended/locales/fi.lua | 6 ++++++ [core]/es_extended/locales/fr.lua | 6 ++++++ [core]/es_extended/locales/it.lua | 6 ++++++ [core]/es_extended/locales/nl.lua | 6 ++++++ [core]/es_extended/locales/pl.lua | 6 ++++++ [core]/es_extended/locales/sl.lua | 6 ++++++ [core]/es_extended/locales/sr.lua | 6 ++++++ [core]/es_extended/locales/zh-cn.lua | 6 ++++++ 13 files changed, 78 insertions(+) diff --git a/[core]/es_extended/locales/cs.lua b/[core]/es_extended/locales/cs.lua index 417ee851..67744f15 100644 --- a/[core]/es_extended/locales/cs.lua +++ b/[core]/es_extended/locales/cs.lua @@ -216,6 +216,12 @@ Locales['cs'] = { ['weapon_precisionrifle'] = 'Precision Rifle', ['weapon_tactilerifle'] = 'Service Carbine', + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_acidpackage'] = 'Acid Package', -- not translated + ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated + -- Thrown ['weapon_ball'] = 'Míček', ['weapon_bzgas'] = 'Smrtící slzný plyn', diff --git a/[core]/es_extended/locales/da.lua b/[core]/es_extended/locales/da.lua index a5e5548f..c5a7a771 100644 --- a/[core]/es_extended/locales/da.lua +++ b/[core]/es_extended/locales/da.lua @@ -222,6 +222,12 @@ Locales['da'] = { ['weapon_precisionrifle'] = 'Precision Rifle', ['weapon_tactilerifle'] = 'Service Carbine', + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_acidpackage'] = 'Acid Package', -- not translated + ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated + -- Thrown ['weapon_ball'] = 'Baseball', ['weapon_bzgas'] = 'BZ Gas', diff --git a/[core]/es_extended/locales/de.lua b/[core]/es_extended/locales/de.lua index 6ea003dd..635d9a75 100644 --- a/[core]/es_extended/locales/de.lua +++ b/[core]/es_extended/locales/de.lua @@ -222,6 +222,12 @@ Locales['de'] = { ['weapon_precisionrifle'] = 'Präzisionsgewehr', ['weapon_tactilerifle'] = 'Service Karabiner', + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_acidpackage'] = 'Acid Package', -- not translated + ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated + -- Thrown ['weapon_ball'] = 'Baseball', ['weapon_bzgas'] = 'BZ Gas', diff --git a/[core]/es_extended/locales/en.lua b/[core]/es_extended/locales/en.lua index ec590def..9e5ee8aa 100644 --- a/[core]/es_extended/locales/en.lua +++ b/[core]/es_extended/locales/en.lua @@ -222,6 +222,12 @@ Locales['en'] = { ['weapon_precisionrifle'] = 'Precision Rifle', ['weapon_tactilerifle'] = 'Service Carbine', + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_acidpackage'] = 'Acid Package', -- not translated + ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated + -- Thrown ['weapon_ball'] = 'Baseball', ['weapon_bzgas'] = 'BZ Gas', diff --git a/[core]/es_extended/locales/es.lua b/[core]/es_extended/locales/es.lua index dc9c57bb..efd3d1c6 100644 --- a/[core]/es_extended/locales/es.lua +++ b/[core]/es_extended/locales/es.lua @@ -115,6 +115,12 @@ Locales['es'] = { -- Weapons + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_acidpackage'] = 'Acid Package', -- not translated + ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated + -- Melee ['weapon_dagger'] = 'Daga', ['weapon_bat'] = 'Bate', diff --git a/[core]/es_extended/locales/fi.lua b/[core]/es_extended/locales/fi.lua index 9e169caf..1a8e8e09 100644 --- a/[core]/es_extended/locales/fi.lua +++ b/[core]/es_extended/locales/fi.lua @@ -108,6 +108,12 @@ Locales['fi'] = { ['locale_digit_grouping_symbol'] = '', ['locale_currency'] = '$%s', + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_acidpackage'] = 'Acid Package', -- not translated + ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated + -- Weapons ['weapon_knife'] = 'Veitsi', ['weapon_nightstick'] = 'Pamppu', diff --git a/[core]/es_extended/locales/fr.lua b/[core]/es_extended/locales/fr.lua index f21a4ed5..74e105a8 100644 --- a/[core]/es_extended/locales/fr.lua +++ b/[core]/es_extended/locales/fr.lua @@ -196,6 +196,12 @@ Locales['fr'] = { ['component_grip'] = 'poignée', ['component_luxary_finish'] = 'finition de luxe', + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_acidpackage'] = 'Acid Package', -- not translated + ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated + -- Weapon Ammo ['ammo_rounds'] = 'cartouche(s)', ['ammo_shells'] = 'obus', diff --git a/[core]/es_extended/locales/it.lua b/[core]/es_extended/locales/it.lua index 621b350f..daff7efd 100644 --- a/[core]/es_extended/locales/it.lua +++ b/[core]/es_extended/locales/it.lua @@ -222,6 +222,12 @@ Locales['it'] = { ['weapon_precisionrifle'] = 'Fucile di precisione', ['weapon_tactilerifle'] = 'Carabina di servizio', + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_acidpackage'] = 'Acid Package', -- not translated + ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated + -- Thrown ['weapon_ball'] = 'Palla', ['weapon_bzgas'] = 'BZ Gas', diff --git a/[core]/es_extended/locales/nl.lua b/[core]/es_extended/locales/nl.lua index 86e8ed34..85998877 100644 --- a/[core]/es_extended/locales/nl.lua +++ b/[core]/es_extended/locales/nl.lua @@ -221,6 +221,12 @@ Locales['nl'] = { ['weapon_metaldetector'] = 'Metaal Detector', ['weapon_precisionrifle'] = 'Precisiegeweer', ['weapon_tactilerifle'] = 'Service Carbine', + + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_acidpackage'] = 'Acid Package', -- not translated + ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated -- Thrown ['weapon_ball'] = 'Honkbal', diff --git a/[core]/es_extended/locales/pl.lua b/[core]/es_extended/locales/pl.lua index c3acb5bd..96e543c5 100644 --- a/[core]/es_extended/locales/pl.lua +++ b/[core]/es_extended/locales/pl.lua @@ -195,6 +195,12 @@ Locales['pl'] = { ['component_grip'] = 'uchwyt', ['component_luxary_finish'] = 'luksusowe wykończenie broni', + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_acidpackage'] = 'Acid Package', -- not translated + ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated + -- Weapon Ammo ['ammo_rounds'] = 'nabój/oi', ['ammo_shells'] = 'pocisk(ów)', diff --git a/[core]/es_extended/locales/sl.lua b/[core]/es_extended/locales/sl.lua index 0a0b234c..880ef536 100644 --- a/[core]/es_extended/locales/sl.lua +++ b/[core]/es_extended/locales/sl.lua @@ -221,6 +221,12 @@ Locales['sl'] = { ['weapon_metaldetector'] = 'Metal Detector', ['weapon_precisionrifle'] = 'Precision Rifle', ['weapon_tactilerifle'] = 'Service Carbine', + + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_acidpackage'] = 'Acid Package', -- not translated + ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated -- Thrown ['weapon_ball'] = 'Baseball', diff --git a/[core]/es_extended/locales/sr.lua b/[core]/es_extended/locales/sr.lua index 69a589b1..e3fe777c 100644 --- a/[core]/es_extended/locales/sr.lua +++ b/[core]/es_extended/locales/sr.lua @@ -222,6 +222,12 @@ Locales['sr'] = { ['weapon_precisionrifle'] = 'Precision Rifle', ['weapon_tactilerifle'] = 'Service Carbine', + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_acidpackage'] = 'Acid Package', -- not translated + ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated + -- Thrown ['weapon_ball'] = 'Baseball', ['weapon_bzgas'] = 'BZ Gas', diff --git a/[core]/es_extended/locales/zh-cn.lua b/[core]/es_extended/locales/zh-cn.lua index 7671a230..c9951bc7 100644 --- a/[core]/es_extended/locales/zh-cn.lua +++ b/[core]/es_extended/locales/zh-cn.lua @@ -222,6 +222,12 @@ Locales['zh-cn'] = { ['weapon_precisionrifle'] = '精确步枪', ['weapon_tactilerifle'] = '制式卡宾步枪', + -- Drug Wars DLC + ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_acidpackage'] = 'Acid Package', -- not translated + ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated + -- Thrown ['weapon_ball'] = '棒球', ['weapon_bzgas'] = '毒气弹', From fab8f3aa741ceb740eb0371808502e49032069be Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Tue, 23 May 2023 11:28:09 +0200 Subject: [PATCH 138/236] Update functions.lua --- [core]/es_extended/server/functions.lua | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 094f3162..0591e8db 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -357,11 +357,23 @@ function ESX.RefreshJobs() end function ESX.RefreshItems() - if Config.OxInventory then return end - local items = MySQL.query.await('SELECT * FROM items') - for k, v in ipairs(items) do - ESX.Items[v.name] = {label = v.label, weight = v.weight, rare = v.rare, canRemove = v.can_remove} - end + if not Config.OxInventory then + ESX.Items = {} + local items = MySQL.query.await('SELECT * FROM items') + for k, v in ipairs(items) do + ESX.Items[v.name] = {label = v.label, weight = v.weight, rare = v.rare, canRemove = v.can_remove} + end + else + TriggerEvent('__cfx_export_ox_inventory_Items', function(ref) + if ref then + ESX.Items = ref() + end + end) + + AddEventHandler('ox_inventory:itemList', function(items) + ESX.Items = items + end) + end end function ESX.RegisterUsableItem(item, cb) From 9ee4bcddf1b2fb5f644cfdcf65409b99665ec1e7 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Tue, 23 May 2023 11:29:50 +0200 Subject: [PATCH 139/236] Update common.lua --- [core]/es_extended/server/common.lua | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/[core]/es_extended/server/common.lua b/[core]/es_extended/server/common.lua index 7e3d3ebb..63b9fb9e 100644 --- a/[core]/es_extended/server/common.lua +++ b/[core]/es_extended/server/common.lua @@ -40,25 +40,11 @@ end MySQL.ready(function() Core.DatabaseConnected = true - if not Config.OxInventory then - local items = MySQL.query.await('SELECT * FROM items') - for k, v in ipairs(items) do - ESX.Items[v.name] = {label = v.label, weight = v.weight, rare = v.rare, canRemove = v.can_remove} - end - else - TriggerEvent('__cfx_export_ox_inventory_Items', function(ref) - if ref then - ESX.Items = ref() - end - end) - AddEventHandler('ox_inventory:itemList', function(items) - ESX.Items = items - end) + ESX.RefreshItems() - while not next(ESX.Items) do - Wait(0) - end + while not next(ESX.Items) do + Wait(0) end ESX.RefreshJobs() From de0d33b2f6f674245ac1e4af53b527a713e5dcf2 Mon Sep 17 00:00:00 2001 From: Cyzxin Date: Thu, 25 May 2023 08:57:50 +0100 Subject: [PATCH 140/236] feat(es_extended): /removeaccountmoney --- [core]/es_extended/locales/en.lua | 4 ++++ [core]/es_extended/server/commands.lua | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/[core]/es_extended/locales/en.lua b/[core]/es_extended/locales/en.lua index eeb2f135..749eb13a 100644 --- a/[core]/es_extended/locales/en.lua +++ b/[core]/es_extended/locales/en.lua @@ -69,6 +69,10 @@ Locales['en'] = { ['command_giveaccountmoney_account'] = 'Account to add to', ['command_giveaccountmoney_amount'] = 'Amount to add', ['command_giveaccountmoney_invalid'] = 'Account Name Invalid', + ['command_removeaccountmoney'] = 'Remove Money from a specified Account', + ['command_removeaccountmoney_account'] = 'Account to remove from', + ['command_removeaccountmoney_amount'] = 'Amount to remove', + ['command_removeaccountmoney_invalid'] = 'Account Name Invalid', ['command_giveitem'] = 'Give Player an item', ['command_giveitem_item'] = 'Item name', ['command_giveitem_count'] = 'Quantity', diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index a9f5054b..8418f151 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -155,6 +155,26 @@ end, true, {help = TranslateCap('command_giveaccountmoney'), validate = true, ar {name = 'amount', help = TranslateCap('command_giveaccountmoney_amount'), type = 'number'} }}) +ESX.RegisterCommand('removeaccountmoney', 'admin', function(xPlayer, args, showError) + if not args.playerId.getAccount(args.account) then + return showError(TranslateCap('command_removeaccountmoney_invalid')) + end + args.playerId.removeaccountmoney(args.account, args.amount, "Government Tax") + if Config.AdminLogging then + ESX.DiscordLogFields("UserActions", "Remove Account Money /removeaccountmoney Triggered!", "pink", { + {name = "Player", value = xPlayer.name, inline = true}, + {name = "ID", value = xPlayer.source, inline = true}, + {name = "Target", value = args.playerId.name, inline = true}, + {name = "Account", value = args.account, inline = true}, + {name = "Amount", value = args.amount, inline = true}, + }) + end +end, true, {help = TranslateCap('command_removeaccountmoney'), validate = true, arguments = { + {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, + {name = 'account', help = TranslateCap('command_removeaccountmoney_account'), type = 'string'}, + {name = 'amount', help = TranslateCap('command_removeaccountmoney_amount'), type = 'number'} +}}) + if not Config.OxInventory then ESX.RegisterCommand('giveitem', 'admin', function(xPlayer, args, _) args.playerId.addInventoryItem(args.item, args.count) From c2772dbd560f7bb000cff68d85f0cd71a2ef1d69 Mon Sep 17 00:00:00 2001 From: thesysadmindev Date: Thu, 25 May 2023 20:17:39 +1000 Subject: [PATCH 141/236] feat(es_extended) Added in randomisation of default spawn coordinates Replaced Config.DefaultSpawn in [core]\es_extended\config.lua:L21 with a table of default spawn coordinates, and updated [core]\es_extended\server\main.lua:L254 to use new coordinates table. --- [core]/es_extended/config.lua | 8 +++++++- [core]/es_extended/server/main.lua | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/[core]/es_extended/config.lua b/[core]/es_extended/config.lua index 70e2280d..9262e27b 100644 --- a/[core]/es_extended/config.lua +++ b/[core]/es_extended/config.lua @@ -18,7 +18,13 @@ Config.Accounts = { Config.StartingAccountMoney = {bank = 50000} -Config.DefaultSpawn = {x = -269.4, y = -955.3, z = 31.2, heading = 205.8} +Config.Spawns = { -- Default spawn locations are currently set to locations on San Andreas Avenue near the intersection of Strawberry Avenue at Legion Square + {x = 222.2027, y = -864.0162, z = 30.2922, heading = 1.0}, + {x = 224.9865, y = -865.0871, z = 30.2922, heading = 1.0}, + {x = 227.8436, y = -866.0400, z = 30.2922, heading = 1.0}, + {x = 230.6051, y = -867.1450, z = 30.2922, heading = 1.0}, + {x = 233.5459, y = -868.2626, z = 30.2922, heading = 1.0} +} Config.EnablePaycheck = true -- enable paycheck Config.LogPaycheck = false -- Logs paychecks to a nominated Discord channel via webhook (default is false) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 889e9c94..2c85305b 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -251,7 +251,7 @@ function loadESXPlayer(identifier, playerId, isNew) end -- Position - userData.coords = json.decode(result.position) or Config.DefaultSpawn + userData.coords = json.decode(result.position) or Config.Spawns[math.random(#Config.Spawns)] -- Skin if result.skin and result.skin ~= '' then From e406a2b6c31ac643b6edc0ab837838760ebf9331 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Thu, 25 May 2023 13:02:06 +0200 Subject: [PATCH 142/236] Update commands.lua --- [core]/es_extended/server/commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index 8418f151..142a7af1 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -159,7 +159,7 @@ ESX.RegisterCommand('removeaccountmoney', 'admin', function(xPlayer, args, showE if not args.playerId.getAccount(args.account) then return showError(TranslateCap('command_removeaccountmoney_invalid')) end - args.playerId.removeaccountmoney(args.account, args.amount, "Government Tax") + args.playerId.removeAccountMoney(args.account, args.amount, "Government Tax") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Remove Account Money /removeaccountmoney Triggered!", "pink", { {name = "Player", value = xPlayer.name, inline = true}, From b740fa187a536c1e10f18185819b3db9d2870acc Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 25 May 2023 15:12:22 +0200 Subject: [PATCH 143/236] Hmm --- [core]/es_extended/config.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/[core]/es_extended/config.lua b/[core]/es_extended/config.lua index 0608fbbf..9eac7f6d 100644 --- a/[core]/es_extended/config.lua +++ b/[core]/es_extended/config.lua @@ -19,12 +19,12 @@ Config.Accounts = { Config.StartingAccountMoney = {bank = 50000} -Config.Spawns = { -- Default spawn locations are currently set to locations on San Andreas Avenue near the intersection of Strawberry Avenue at Legion Square +Config.Spawns = { -- If you want to have more spawn positions and select them randomly uncomment commented code or add more locations {x = 222.2027, y = -864.0162, z = 30.2922, heading = 1.0}, - {x = 224.9865, y = -865.0871, z = 30.2922, heading = 1.0}, - {x = 227.8436, y = -866.0400, z = 30.2922, heading = 1.0}, - {x = 230.6051, y = -867.1450, z = 30.2922, heading = 1.0}, - {x = 233.5459, y = -868.2626, z = 30.2922, heading = 1.0} + --{x = 224.9865, y = -865.0871, z = 30.2922, heading = 1.0}, + --{x = 227.8436, y = -866.0400, z = 30.2922, heading = 1.0}, + --{x = 230.6051, y = -867.1450, z = 30.2922, heading = 1.0}, + --{x = 233.5459, y = -868.2626, z = 30.2922, heading = 1.0} } Config.AdminGroups = { From 3b06d8cf59d7a3dc17debb939888b178a1739da5 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 25 May 2023 15:12:59 +0200 Subject: [PATCH 144/236] DefaultSpawns --- [core]/es_extended/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/config.lua b/[core]/es_extended/config.lua index 9eac7f6d..a4245685 100644 --- a/[core]/es_extended/config.lua +++ b/[core]/es_extended/config.lua @@ -19,7 +19,7 @@ Config.Accounts = { Config.StartingAccountMoney = {bank = 50000} -Config.Spawns = { -- If you want to have more spawn positions and select them randomly uncomment commented code or add more locations +Config.DefaultSpawns = { -- If you want to have more spawn positions and select them randomly uncomment commented code or add more locations {x = 222.2027, y = -864.0162, z = 30.2922, heading = 1.0}, --{x = 224.9865, y = -865.0871, z = 30.2922, heading = 1.0}, --{x = 227.8436, y = -866.0400, z = 30.2922, heading = 1.0}, From 86270a3b1c59b2bef61e67f411ccaa378a340a59 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 25 May 2023 15:13:21 +0200 Subject: [PATCH 145/236] Forgot --- [core]/es_extended/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 2c85305b..87958fed 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -251,7 +251,7 @@ function loadESXPlayer(identifier, playerId, isNew) end -- Position - userData.coords = json.decode(result.position) or Config.Spawns[math.random(#Config.Spawns)] + userData.coords = json.decode(result.position) or Config.DefaultSpawns[math.random(#Config.DefaultSpawns)] -- Skin if result.skin and result.skin ~= '' then From 5842f3086583de4eb7bdf835a20aa526eb01481a Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 28 May 2023 13:29:18 +0200 Subject: [PATCH 146/236] revert "a969785d3697a384132202a07d4b357afb668048" --- [core]/es_extended/server/commands.lua | 6 +----- [core]/es_extended/server/common.lua | 20 +++++++++++++++++--- [core]/es_extended/server/functions.lua | 20 -------------------- 3 files changed, 18 insertions(+), 28 deletions(-) diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index 142a7af1..c20edf68 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -281,11 +281,7 @@ end, true, {help = TranslateCap('command_clearall')}) ESX.RegisterCommand("refreshjobs", 'admin', function(xPlayer, _, _) ESX.RefreshJobs() -end, true, {help = TranslateCap('command_refreshjobs')}) - -ESX.RegisterCommand("refreshitems", 'admin', function(xPlayer, args, showError) - ESX.RefreshItems() -end, true, {help = TranslateCap('command_refreshitems')}) +end, true, {help = TranslateCap('command_clearall')}) if not Config.OxInventory then ESX.RegisterCommand('clearinventory', 'admin', function(xPlayer, args, _) diff --git a/[core]/es_extended/server/common.lua b/[core]/es_extended/server/common.lua index 63b9fb9e..7e3d3ebb 100644 --- a/[core]/es_extended/server/common.lua +++ b/[core]/es_extended/server/common.lua @@ -40,11 +40,25 @@ end MySQL.ready(function() Core.DatabaseConnected = true + if not Config.OxInventory then + local items = MySQL.query.await('SELECT * FROM items') + for k, v in ipairs(items) do + ESX.Items[v.name] = {label = v.label, weight = v.weight, rare = v.rare, canRemove = v.can_remove} + end + else + TriggerEvent('__cfx_export_ox_inventory_Items', function(ref) + if ref then + ESX.Items = ref() + end + end) - ESX.RefreshItems() + AddEventHandler('ox_inventory:itemList', function(items) + ESX.Items = items + end) - while not next(ESX.Items) do - Wait(0) + while not next(ESX.Items) do + Wait(0) + end end ESX.RefreshJobs() diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 0591e8db..31b0c1a9 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -356,26 +356,6 @@ function ESX.RefreshJobs() end end -function ESX.RefreshItems() - if not Config.OxInventory then - ESX.Items = {} - local items = MySQL.query.await('SELECT * FROM items') - for k, v in ipairs(items) do - ESX.Items[v.name] = {label = v.label, weight = v.weight, rare = v.rare, canRemove = v.can_remove} - end - else - TriggerEvent('__cfx_export_ox_inventory_Items', function(ref) - if ref then - ESX.Items = ref() - end - end) - - AddEventHandler('ox_inventory:itemList', function(items) - ESX.Items = items - end) - end -end - function ESX.RegisterUsableItem(item, cb) Core.UsableItemsCallbacks[item] = cb end From 8cd2f750124208f93c9c07d5d68a568d784058aa Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 28 May 2023 13:30:27 +0200 Subject: [PATCH 147/236] revert "a969785d3697a384132202a07d4b357afb668048" --- [core]/es_extended/locales/en.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/[core]/es_extended/locales/en.lua b/[core]/es_extended/locales/en.lua index 749eb13a..50de5d0e 100644 --- a/[core]/es_extended/locales/en.lua +++ b/[core]/es_extended/locales/en.lua @@ -112,8 +112,6 @@ Locales['en'] = { ['command_giveammo_noweapon_found'] = '%s does not have that weapon', ['command_giveammo_weapon'] = 'Weapon name', ['command_giveammo_ammo'] = 'Ammo Quantity', - ['command_refreshjobs'] = 'Refresh The ESX Jobs Table', - ['command_refreshitems'] = 'Refresh The ESX Items Table', ['tpm_nowaypoint'] = 'No Waypoint Set.', ['tpm_success'] = 'Successfully Teleported', @@ -368,4 +366,4 @@ Locales['en'] = { ['tint_lspd'] = 'blue skin', ['tint_orange'] = 'orange skin', ['tint_platinum'] = 'platinum skin', -} \ No newline at end of file +} From d8b4de8f05d1d3e17916f134619bfe858f6d09ee Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 4 Jun 2023 00:17:26 +0200 Subject: [PATCH 148/236] revert(server/callback): revert old code --- .../es_extended/server/modules/callback.lua | 53 ++++--------------- 1 file changed, 10 insertions(+), 43 deletions(-) diff --git a/[core]/es_extended/server/modules/callback.lua b/[core]/es_extended/server/modules/callback.lua index b615be21..f517531e 100644 --- a/[core]/es_extended/server/modules/callback.lua +++ b/[core]/es_extended/server/modules/callback.lua @@ -21,54 +21,21 @@ RegisterNetEvent('esx:triggerServerCallback', function(eventName, requestId, inv end, ...) end) -ESX.TriggerClientCallback = setmetatable({ - ---@param player number? - ---@param eventName string - ---@param ... any - Await = function(player, eventName, ...) - player = tonumber(player) +---@param player number playerId +---@param eventName string +---@param callback function +---@param ... any +ESX.TriggerClientCallback = function(player, eventName, callback, ...) + clientRequests[RequestId] = callback - assert(player, 'Argument 1 `player` is not a number!') - assert(type(eventName) == 'string', 'Argument 2 `eventName` is not a string!') + TriggerClientEvent('esx:triggerClientCallback', player, eventName, RequestId, GetInvokingResource() or "unknown", ...) - local p = promise.new() - - clientRequests[RequestId] = p - - TriggerClientEvent('esx:triggerClientCallback', player, eventName, RequestId, GetInvokingResource() or "unknown", ...) - - RequestId = RequestId + 1 - - return Citizen.Await(p) - end -}, { - ---@param player number? playerId - ---@param eventName string - ---@param callback function - ---@param ... any - __call = function(_, player, eventName, callback, ...) - player = tonumber(player) - - assert(player, 'Argument 1 `player` is not a number!') - assert(type(eventName) == 'string', 'Argument 2 `eventName` is not a string!') - assert(type(callback) == 'function', 'Argument 3 `callback` is not a function!') - - clientRequests[RequestId] = callback - - TriggerClientEvent('esx:triggerClientCallback', player, eventName, RequestId, GetInvokingResource() or "unknown", ...) - - RequestId = RequestId + 1 - end -}) + RequestId = RequestId + 1 +end RegisterNetEvent('esx:clientCallback', function(requestId, invoker, ...) if not clientRequests[requestId] then - return print(('[^1ERROR^7] Client Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker)) - end - - if type(clientRequests[requestId]) == 'table' then - clientRequests[requestId]:resolve(...) - return + return print(('[^1ERROR^7] Client Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker)) end clientRequests[requestId](...) From b32ac5aed2790d30a43322d9952aee52687ae958 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 4 Jun 2023 00:20:33 +0200 Subject: [PATCH 149/236] revert(client/callbacks): revert old code --- .../es_extended/client/modules/callback.lua | 43 ++++--------------- 1 file changed, 9 insertions(+), 34 deletions(-) diff --git a/[core]/es_extended/client/modules/callback.lua b/[core]/es_extended/client/modules/callback.lua index 3d9ac88a..dfeae8fa 100644 --- a/[core]/es_extended/client/modules/callback.lua +++ b/[core]/es_extended/client/modules/callback.lua @@ -3,47 +3,22 @@ local serverRequests = {} local clientCallbacks = {} -ESX.TriggerServerCallback = setmetatable({ - ---@param eventName string - ---@param ... any - Await = function(eventName, ...) - assert(type(eventName) == 'string', 'Argument 1 `eventName` is not a string!') - local p = promise.new() +---@param eventName string +---@param callback function +---@param ... any +ESX.TriggerServerCallback = function(eventName, callback, ...) + serverRequests[RequestId] = callback + + TriggerServerEvent('esx:triggerServerCallback', eventName, RequestId, GetInvokingResource() or "unknown", ...) - serverRequests[RequestId] = p - - TriggerServerEvent('esx:triggerServerCallback', eventName, RequestId, GetInvokingResource() or "unknown", ...) - - RequestId = RequestId + 1 - - return Citizen.Await(p) - end -}, { - ---@param eventName string - ---@param callback function - ---@param ... any - __call = function(_, eventName, callback, ...) - assert(type(eventName) == 'string', 'Argument 1 `eventName` is not a string!') - assert(type(callback) == 'function', 'Argument 2 `callback` is not a function!') - - serverRequests[RequestId] = callback - - TriggerServerEvent('esx:triggerServerCallback', eventName, RequestId, GetInvokingResource() or "unknown", ...) - - RequestId = RequestId + 1 - end -}) + RequestId = RequestId + 1 +end RegisterNetEvent('esx:serverCallback', function(requestId, invoker, ...) if not serverRequests[requestId] then return print(('[^1ERROR^7] Server Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker)) end - if type(serverRequests[requestId]) == 'table' then - serverRequests[requestId]:resolve(...) - return - end - serverRequests[requestId](...) serverRequests[requestId] = nil end) From cdfe4ddf438052a2c9455b0381dfbae9e2093f69 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Sun, 4 Jun 2023 00:32:37 +0200 Subject: [PATCH 150/236] revert(client/main): revert to old callbacks --- [core]/es_extended/client/main.lua | 155 +++++++++++++++-------------- 1 file changed, 78 insertions(+), 77 deletions(-) diff --git a/[core]/es_extended/client/main.lua b/[core]/es_extended/client/main.lua index 1ddc15be..3fe61e8e 100644 --- a/[core]/es_extended/client/main.lua +++ b/[core]/es_extended/client/main.lua @@ -522,82 +522,82 @@ AddEventHandler("esx:tpm", function() local GetBlipInfoIdCoord = GetBlipInfoIdCoord local GetVehiclePedIsIn = GetVehiclePedIsIn - local admin = ESX.TriggerServerCallback.Await("esx:isUserAdmin") - if not admin then - return - end - - local blipMarker = GetFirstBlipInfoId(8) - if not DoesBlipExist(blipMarker) then - ESX.ShowNotification(TranslateCap('tpm_nowaypoint'), true, false, 140) - return 'marker' - end - - -- Fade screen to hide how clients get teleported. - DoScreenFadeOut(650) - while not IsScreenFadedOut() do - Wait(0) - end - - local ped, coords = ESX.PlayerData.ped, GetBlipInfoIdCoord(blipMarker) - local vehicle = GetVehiclePedIsIn(ped, false) - local oldCoords = GetEntityCoords(ped) - - -- Unpack coords instead of having to unpack them while iterating. - -- 825.0 seems to be the max a player can reach while 0.0 being the lowest. - local x, y, groundZ, Z_START = coords['x'], coords['y'], 850.0, 950.0 - local found = false - FreezeEntityPosition(vehicle > 0 and vehicle or ped, true) - - for i = Z_START, 0, -25.0 do - local z = i - if (i % 2) ~= 0 then - z = Z_START - i + ESX.TriggerServerCallback("esx:isUserAdmin", function(admin) + if not admin then + return + end + local blipMarker = GetFirstBlipInfoId(8) + if not DoesBlipExist(blipMarker) then + ESX.ShowNotification(TranslateCap('tpm_nowaypoint'), true, false, 140) + return 'marker' end - NewLoadSceneStart(x, y, z, x, y, z, 50.0, 0) - local curTime = GetGameTimer() - while IsNetworkLoadingScene() do - if GetGameTimer() - curTime > 1000 then - break - end + -- Fade screen to hide how clients get teleported. + DoScreenFadeOut(650) + while not IsScreenFadedOut() do Wait(0) end - NewLoadSceneStop() - SetPedCoordsKeepVehicle(ped, x, y, z) - while not HasCollisionLoadedAroundEntity(ped) do - RequestCollisionAtCoord(x, y, z) - if GetGameTimer() - curTime > 1000 then + local ped, coords = ESX.PlayerData.ped, GetBlipInfoIdCoord(blipMarker) + local vehicle = GetVehiclePedIsIn(ped, false) + local oldCoords = GetEntityCoords(ped) + + -- Unpack coords instead of having to unpack them while iterating. + -- 825.0 seems to be the max a player can reach while 0.0 being the lowest. + local x, y, groundZ, Z_START = coords['x'], coords['y'], 850.0, 950.0 + local found = false + FreezeEntityPosition(vehicle > 0 and vehicle or ped, true) + + for i = Z_START, 0, -25.0 do + local z = i + if (i % 2) ~= 0 then + z = Z_START - i + end + + NewLoadSceneStart(x, y, z, x, y, z, 50.0, 0) + local curTime = GetGameTimer() + while IsNetworkLoadingScene() do + if GetGameTimer() - curTime > 1000 then + break + end + Wait(0) + end + NewLoadSceneStop() + SetPedCoordsKeepVehicle(ped, x, y, z) + + while not HasCollisionLoadedAroundEntity(ped) do + RequestCollisionAtCoord(x, y, z) + if GetGameTimer() - curTime > 1000 then + break + end + Wait(0) + end + + -- Get ground coord. As mentioned in the natives, this only works if the client is in render distance. + found, groundZ = GetGroundZFor_3dCoord(x, y, z, false) + if found then + Wait(0) + SetPedCoordsKeepVehicle(ped, x, y, groundZ) break end Wait(0) end - -- Get ground coord. As mentioned in the natives, this only works if the client is in render distance. - found, groundZ = GetGroundZFor_3dCoord(x, y, z, false) - if found then - Wait(0) - SetPedCoordsKeepVehicle(ped, x, y, groundZ) - break + -- Remove black screen once the loop has ended. + DoScreenFadeIn(650) + FreezeEntityPosition(vehicle > 0 and vehicle or ped, false) + + if not found then + -- If we can't find the coords, set the coords to the old ones. + -- We don't unpack them before since they aren't in a loop and only called once. + SetPedCoordsKeepVehicle(ped, oldCoords['x'], oldCoords['y'], oldCoords['z'] - 1.0) + ESX.ShowNotification(TranslateCap('tpm_success'), true, false, 140) end - Wait(0) - end - -- Remove black screen once the loop has ended. - DoScreenFadeIn(650) - FreezeEntityPosition(vehicle > 0 and vehicle or ped, false) - - if not found then - -- If we can't find the coords, set the coords to the old ones. - -- We don't unpack them before since they aren't in a loop and only called once. - SetPedCoordsKeepVehicle(ped, oldCoords['x'], oldCoords['y'], oldCoords['z'] - 1.0) + -- If Z coord was found, set coords in found coords. + SetPedCoordsKeepVehicle(ped, x, y, groundZ) ESX.ShowNotification(TranslateCap('tpm_success'), true, false, 140) - end - - -- If Z coord was found, set coords in found coords. - SetPedCoordsKeepVehicle(ped, x, y, groundZ) - ESX.ShowNotification(TranslateCap('tpm_success'), true, false, 140) + end) end) local noclip = false @@ -646,23 +646,24 @@ local function noclipThread() end RegisterNetEvent("esx:noclip") -AddEventHandler("esx:noclip", function() - local admin = ESX.TriggerServerCallback.Await("esx:isUserAdmin") - if not admin then - return - end +AddEventHandler("esx:noclip", function(input) + ESX.TriggerServerCallback("esx:isUserAdmin", function(admin) + if not admin then + return + end - if not noclip then - noclip_pos = GetEntityCoords(ESX.PlayerData.ped, false) - heading = GetEntityHeading(ESX.PlayerData.ped) - end + if not noclip then + noclip_pos = GetEntityCoords(ESX.PlayerData.ped, false) + heading = GetEntityHeading(ESX.PlayerData.ped) + end - noclip = not noclip - if noclip then - CreateThread(noclipThread) - end + noclip = not noclip + if noclip then + CreateThread(noclipThread) + end - ESX.ShowNotification(TranslateCap('noclip_message', noclip and "enabled" or "disabled"), true, false, 140) + ESX.ShowNotification(TranslateCap('noclip_message', noclip and "enabled" or "disabled"), true, false, 140) + end) end) RegisterNetEvent("esx:killPlayer") From d680d5ac4f6fab2d986b3d64d458bfc59ec67535 Mon Sep 17 00:00:00 2001 From: r3ps4J <40723838+r3ps4J@users.noreply.github.com> Date: Tue, 6 Jun 2023 08:18:17 +0000 Subject: [PATCH 151/236] fix(es_extended/server/classes/player.lua): Fix showNotification function parameters to correspond with esx:showNotification event --- [core]/es_extended/server/classes/player.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index 9249c984..9c22be27 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -572,8 +572,8 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end end - function self.showNotification(msg) - self.triggerEvent('esx:showNotification', msg) + function self.showNotification(msg, type, length) + self.triggerEvent('esx:showNotification', msg, type, length) end function self.showHelpNotification(msg, thisFrame, beep, duration) From 4ebb5fbd72a0ceed1437d61f877b5dd1e7d3833f Mon Sep 17 00:00:00 2001 From: r3ps4J <40723838+r3ps4J@users.noreply.github.com> Date: Tue, 6 Jun 2023 08:22:33 +0000 Subject: [PATCH 152/236] feat(es_extended/server/classes/player.lua): Add showAdvancedNotification function --- [core]/es_extended/server/classes/player.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index 9249c984..9632501e 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -576,6 +576,10 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, self.triggerEvent('esx:showNotification', msg) end + function self.showAdvancedNotification(sender, subject, msg, textureDict, iconType, flash, saveToBrief, hudColorIndex) + self.triggerEvent('esx:showAdvancedNotification', sender, subject, msg, textureDict, iconType, flash, saveToBrief, hudColorIndex) + end + function self.showHelpNotification(msg, thisFrame, beep, duration) self.triggerEvent('esx:showHelpNotification', msg, thisFrame, beep, duration) end From f2e0441538faf566490cefd4c4e7b5aec79c19da Mon Sep 17 00:00:00 2001 From: Hubert Date: Wed, 7 Jun 2023 21:53:45 +0200 Subject: [PATCH 153/236] Optimized saving of player position The changes I applied to the code regarding self.getCoords(), changing the conditions when joining the server at coordinates to userData.coords and getting rid of the self.updateCoords() function. I believe that my changes when saving are more efficient, because the player's position is not overwritten unnecessarily every second if he changes his position, but the position is saved when leaving the server to the database, and then loaded when entering the server. --- [core]/es_extended/server/classes/player.lua | 31 ++++++-------------- [core]/es_extended/server/main.lua | 4 +-- 2 files changed, 11 insertions(+), 24 deletions(-) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index e0788424..b22cd2ff 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -47,31 +47,18 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, SetEntityHeading(Ped, vector.w) end - function self.updateCoords() - SetTimeout(1000,function() - local Ped = GetPlayerPed(self.source) - if DoesEntityExist(Ped) then - local coords = GetEntityCoords(Ped) - local distance = #(coords - vector3(self.coords.x, self.coords.y, self.coords.z)) - if distance > 1.5 then - local heading = GetEntityHeading(Ped) - self.coords = { - x = coords.x, - y = coords.y, - z = coords.z, - heading = heading or 0.0 - } - end - end - self.updateCoords() - end) - end - function self.getCoords(vector) + local ped = GetPlayerPed(self.source) + local coords = GetEntityCoords(ped) + if vector then - return vector3(self.coords.x, self.coords.y, self.coords.z) + return coords else - return self.coords + return { + x = coords.x, + y = coords.y, + z = coords.z, + } end end diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 892b5a5e..87b8ef7a 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -309,7 +309,7 @@ function loadESXPlayer(identifier, playerId, isNew) xPlayer.triggerEvent('esx:playerLoaded', { accounts = xPlayer.getAccounts(), - coords = xPlayer.getCoords(), + coords = userData.coords, identifier = xPlayer.getIdentifier(), inventory = xPlayer.getInventory(), job = xPlayer.getJob(), @@ -331,7 +331,7 @@ function loadESXPlayer(identifier, playerId, isNew) else exports.ox_inventory:setPlayerInventory(xPlayer, userData.inventory) end - xPlayer.updateCoords() + xPlayer.triggerEvent('esx:registerSuggestions', Core.RegisteredCommands) print(('[^2INFO^0] Player ^5"%s"^0 has connected to the server. ID: ^5%s^7'):format(xPlayer.getName(), playerId)) end From 1b918cca3f315f39053eeb02cf412b881b90eead Mon Sep 17 00:00:00 2001 From: Hubert Date: Thu, 8 Jun 2023 13:47:44 +0200 Subject: [PATCH 154/236] Added showAdvancedNotification for xPlayer --- [core]/es_extended/server/classes/player.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index b22cd2ff..fc5a3e54 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -562,6 +562,10 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, self.triggerEvent('esx:showNotification', msg) end + function self.showAdvancedNotification(sender, subject, msg, textureDict, iconType, flash, saveToBrief, hudColorIndex) + self.triggerEvent('esx:showAdvancedNotification', sender, subject, msg, textureDict, iconType, flash, saveToBrief, hudColorIndex) + end + function self.showHelpNotification(msg, thisFrame, beep, duration) self.triggerEvent('esx:showHelpNotification', msg, thisFrame, beep, duration) end From ab527c6df189a53f230b699562400eb1b173c3d9 Mon Sep 17 00:00:00 2001 From: KeyTur Date: Fri, 9 Jun 2023 11:38:35 +0200 Subject: [PATCH 155/236] Save Custom Wheels --- [core]/es_extended/client/functions.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index 90191138..b7d238aa 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -715,6 +715,7 @@ function ESX.Game.GetVehicleProperties(vehicle) modXenon = IsToggleModOn(vehicle, 22), modFrontWheels = GetVehicleMod(vehicle, 23), + modCustomWheels = GetVehicleModVariation(vehicle, 23), modBackWheels = GetVehicleMod(vehicle, 24), modPlateHolder = GetVehicleMod(vehicle, 25), @@ -897,6 +898,9 @@ function ESX.Game.SetVehicleProperties(vehicle, props) end if props.modFrontWheels ~= nil then SetVehicleMod(vehicle, 23, props.modFrontWheels, false) + end + if props.modCustomWheels ~= nil then + SetVehicleMod(vehicle, 23, props.modFrontWheels, true) end if props.modBackWheels ~= nil then SetVehicleMod(vehicle, 24, props.modBackWheels, false) @@ -1342,4 +1346,4 @@ function ESX.GetVehicleType(model) } return types[vehicleType] or "automobile" -end \ No newline at end of file +end From 8144e80f8caf38c7ba93b2892accae8a157a7a22 Mon Sep 17 00:00:00 2001 From: Lockwood Date: Fri, 9 Jun 2023 19:46:21 +0100 Subject: [PATCH 156/236] feat(multichar): multiple spawns --- [core]/esx_multicharacter/client/main.lua | 25 +++++++++++++---------- [core]/esx_multicharacter/config.lua | 4 +++- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/[core]/esx_multicharacter/client/main.lua b/[core]/esx_multicharacter/client/main.lua index 4cb35486..7cc94907 100644 --- a/[core]/esx_multicharacter/client/main.lua +++ b/[core]/esx_multicharacter/client/main.lua @@ -1,5 +1,8 @@ local mp_m_freemode_01 = `mp_m_freemode_01` local mp_f_freemode_01 = `mp_f_freemode_01` + +local SpawnCoords = Config.Spawn[math.random(#Config.Spawn)] + if ESX.GetConfig().Multichar then CreateThread(function() @@ -28,14 +31,14 @@ if ESX.GetConfig().Multichar then spawned = false cam = CreateCam("DEFAULT_SCRIPTED_CAMERA", true) local playerPed = PlayerPedId() - SetEntityCoords(playerPed, Config.Spawn.x, Config.Spawn.y, Config.Spawn.z, true, false, false, false) - SetEntityHeading(playerPed, Config.Spawn.w) + SetEntityCoords(playerPed, SpawnCoords.x, SpawnCoords.y, SpawnCoords.z, true, false, false, false) + SetEntityHeading(playerPed, SpawnCoords.w) local offset = GetOffsetFromEntityInWorldCoords(playerPed, 0, 1.7, 0.4) DoScreenFadeOut(0) SetCamActive(cam, true) RenderScriptCams(true, false, 1, true, true) SetCamCoord(cam, offset.x, offset.y, offset.z) - PointCamAtCoord(cam, Config.Spawn.x, Config.Spawn.y, Config.Spawn.z + 1.3) + PointCamAtCoord(cam, SpawnCoords.x, SpawnCoords.y, SpawnCoords.z + 1.3) StartLoop() ShutdownLoadingScreen() ShutdownLoadingScreenNui() @@ -98,10 +101,10 @@ if ESX.GetConfig().Multichar then SetupCharacter = function(index) if not spawned then exports.spawnmanager:spawnPlayer({ - x = Config.Spawn.x, - y = Config.Spawn.y, - z = Config.Spawn.z, - heading = Config.Spawn.w, + x = SpawnCoords.x, + y = SpawnCoords.y, + z = SpawnCoords.z, + heading = SpawnCoords.w, model = Characters[index].model or mp_m_freemode_01, skipFade = true }, function() @@ -242,10 +245,10 @@ if ESX.GetConfig().Multichar then action = "closeui" }) exports.spawnmanager:spawnPlayer({ - x = Config.Spawn.x, - y = Config.Spawn.y, - z = Config.Spawn.z, - heading = Config.Spawn.w, + x = SpawnCoords.x, + y = SpawnCoords.y, + z = SpawnCoords.z, + heading = SpawnCoords.w, model = mp_m_freemode_01, skipFade = true }, function() diff --git a/[core]/esx_multicharacter/config.lua b/[core]/esx_multicharacter/config.lua index 9a2cb18f..f8256d38 100644 --- a/[core]/esx_multicharacter/config.lua +++ b/[core]/esx_multicharacter/config.lua @@ -16,7 +16,9 @@ if IsDuplicityVersion() then else -- Sets the location for the character selection scene -- To set the spawn location for new characters, modify the default value in the users SQL table - Config.Spawn = vector4(-284.2856, 562.4627, 172.9182, 19.9895) + Config.Spawn = { + {x = -284.2856, y = 562.4627, z = 172.9182, heading = 19.9895}, + } -------------------- -- Do not use unless you are prepared to adjust your resources to correctly reset data From 85da00f4246fc171c9fbcc7f395d3e93b44cdef0 Mon Sep 17 00:00:00 2001 From: mx developement <62698394+TrymTube@users.noreply.github.com> Date: Mon, 12 Jun 2023 21:39:09 +0200 Subject: [PATCH 157/236] Update main.lua --- [core]/es_extended/server/main.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 892b5a5e..89f0eade 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -330,6 +330,14 @@ function loadESXPlayer(identifier, playerId, isNew) xPlayer.triggerEvent('esx:createMissingPickups', Core.Pickups) else exports.ox_inventory:setPlayerInventory(xPlayer, userData.inventory) + + if isNew then + for account, money in pairs(Config.StartingAccountMoney) do + if account == 'money' or account == 'black_money' then + exports.ox_inventory:AddItem(playerId, account, money) + end + end + end end xPlayer.updateCoords() xPlayer.triggerEvent('esx:registerSuggestions', Core.RegisteredCommands) From 0e871043519a68c8a1ed6f7c90fa592daacc94e1 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Tue, 13 Jun 2023 14:41:35 +0200 Subject: [PATCH 158/236] Update functions.lua --- [core]/es_extended/server/functions.lua | 37 ++++++++++++------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 5c02683f..ef1a4234 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -313,38 +313,35 @@ function ESX.DiscordLogFields(name, title, color, fields) }) end -function ESX.CreateJob(tb) - -- tb (table) containing: name (string), label (string) and grades (table) - -- grades (table) contains: grade (int), name (string), label (string), salary (int) - - if tb == nil or next(tb) == nil then - return print('[^3WARNING^7] paramter must be a table.') +--- Create Job at Runtime +--- @param name string +--- @param label string +--- @param grades table +function ESX.CreateJob(name, label, grades) + if not name then + return print('[^3WARNING^7] missing argument `name(string)` while creating a job') end - if tb.name == nil then - return print('[^3WARNING^7] table must contain name(string) for the job name') + if not label then + return print('[^3WARNING^7] missing argument `label(string)` while creating a job') end - if tb.label == nil then - return print('[^3WARNING^7] table must contain label(string) for the job name label') - end - - if tb.grades == nil or next(tb.grades) == nil then - return print('[^3WARNING^7] table must contain grades(table)!') + if not grades or not next(grades) then + return print('[^3WARNING^7] missing argument `grades(table)` while creating a job!') end local parameters = {} - local job = {name = tb.name, label = tb.label, grades = {}} + local job = {name = name, label = label, grades = {}} - for k,v in pairs(tb.grades) do - job.grades[tostring(v.grade)] = {job_name = tb.name, grade = v.grade, name = v.name, label = v.label, salary = v.salary, skin_male = {}, skin_female = {}} - parameters[#parameters + 1] = { tb.name, v.grade, v.name, v.label, v.salary} + for k,v in pairs(grades) do + job.grades[tostring(v.grade)] = {job_name = name, grade = v.grade, name = v.name, label = v.label, salary = v.salary, skin_male = {}, skin_female = {}} + parameters[#parameters + 1] = { name, v.grade, v.name, v.label, v.salary} end - MySQL.insert('INSERT IGNORE INTO jobs (name, label) VALUES (?, ?)', {tb.name, tb.label}) + MySQL.insert('INSERT IGNORE INTO jobs (name, label) VALUES (?, ?)', {name, label}) MySQL.prepare('INSERT INTO job_grades (job_name, grade, name, label, salary) VALUES (?, ?, ?, ?, ?)', parameters) - ESX.Jobs[tb.name] = job + ESX.Jobs[name] = job end function ESX.RefreshJobs() From c8a7e5500e1f31259dccc18810c1fe83fab3e5dd Mon Sep 17 00:00:00 2001 From: CENSOR_1337 Date: Wed, 14 Jun 2023 07:46:29 +0700 Subject: [PATCH 159/236] refactor: print an error getMeta when debug enabled --- [core]/es_extended/server/classes/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index 54ff75b5..2d73e0eb 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -615,7 +615,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, return self.metadata[index] else - return + return Config.EnableDebug and print(("[^1ERROR^7] xPlayer.getMeta ^5%s^7 not exist!"):format(index)) or nil end end From 31a952eda523eaa400969622d319160326bea395 Mon Sep 17 00:00:00 2001 From: CENSOR_1337 Date: Wed, 14 Jun 2023 16:51:26 +0700 Subject: [PATCH 160/236] refactor: maintenance code flow of `getMeta` * recursive function call on table sub index --- [core]/es_extended/server/classes/player.lua | 60 +++++++++----------- 1 file changed, 27 insertions(+), 33 deletions(-) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index 2d73e0eb..786e2df7 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -579,49 +579,43 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, self.triggerEvent('esx:showHelpNotification', msg, thisFrame, beep, duration) end - function self.getMeta(index, subIndex) - if index then + function self.getMeta(index, subIndex) + if not (index) then return self.metadata end - if type(index) ~= "string" then - return print("[^1ERROR^7] xPlayer.getMeta ^5index^7 should be ^5string^7!") - end + if type(index) ~= "string" then + return print("[^1ERROR^7] xPlayer.getMeta ^5index^7 should be ^5string^7!") + end - if self.metadata[index] then + local metadata = self.metadata[index] + if (metadata == nil) then + return Config.EnableDebug and print(("[^1ERROR^7] xPlayer.getMeta ^5%s^7 not exist!"):format(index)) or nil + end - if subIndex and type(self.metadata[index]) == "table" then - local _type = type(subIndex) + if (subIndex and type(metadata) == "table") then + local _type = type(subIndex) - if _type == "string" then - if self.metadata[index][subIndex] then - return self.metadata[index][subIndex] - end - return - end + if (_type == "string") then + local value = metadata[subIndex] + return value or nil + end - if _type == "table" then - local returnValues = {} - for i = 1, #subIndex do - if self.metadata[index][subIndex[i]] then - returnValues[subIndex[i]] = self.metadata[index][subIndex[i]] - else - print(("[^1ERROR^7] xPlayer.getMeta ^5%s^7 not esxist on ^5%s^7!"):format(subIndex[i], index)) - end - end + if (_type == "table") then + local returnValues = {} - return returnValues - end + for i = 1, #subIndex do + local key = subIndex[i] + returnValues[key] = self.getMeta(index, key) + end - end + return returnValues + end - return self.metadata[index] - else - return Config.EnableDebug and print(("[^1ERROR^7] xPlayer.getMeta ^5%s^7 not exist!"):format(index)) or nil - end + return print(("[^1ERROR^7] xPlayer.getMeta subIndexshould be ^5string^7 or ^5table^7!, received ^5%s^7!"):format(_type)) + end - end + return metadata + end - return self.metadata - end function self.setMeta(index, value, subValue) if not index then From 5d77ed304d07316fe9c9e3d5f04f800f595c4f74 Mon Sep 17 00:00:00 2001 From: CENSOR_1337 Date: Wed, 14 Jun 2023 16:59:19 +0700 Subject: [PATCH 161/236] typo: --- [core]/es_extended/server/classes/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index 786e2df7..30e4cb65 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -610,7 +610,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, return returnValues end - return print(("[^1ERROR^7] xPlayer.getMeta subIndexshould be ^5string^7 or ^5table^7!, received ^5%s^7!"):format(_type)) + return print(("[^1ERROR^7] xPlayer.getMeta subIndex should be ^5string^7 or ^5table^7!, received ^5%s^7!"):format(_type)) end return metadata From 2c36f7a03935376fea5f5ceb6d078b07357ae517 Mon Sep 17 00:00:00 2001 From: CENSOR_1337 Date: Thu, 15 Jun 2023 01:12:15 +0700 Subject: [PATCH 162/236] refactor: simple return value --- [core]/es_extended/server/classes/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index 30e4cb65..ebad67e2 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -596,7 +596,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, if (_type == "string") then local value = metadata[subIndex] - return value or nil + return value end if (_type == "table") then From fa82e7e64897b29533c7c73685ecd03cbd3c2971 Mon Sep 17 00:00:00 2001 From: CENSOR_1337 Date: Thu, 15 Jun 2023 01:15:07 +0700 Subject: [PATCH 163/236] refactor: subIndex will only handle string --- [core]/es_extended/server/classes/player.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index ebad67e2..3c269cc4 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -604,7 +604,11 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, for i = 1, #subIndex do local key = subIndex[i] - returnValues[key] = self.getMeta(index, key) + if (type(key) == "string") then + returnValues[key] = self.getMeta(index, key) + else + print(("[^1ERROR^7] xPlayer.getMeta subIndex should be ^5string^7 or ^5table^7! that contains ^5string^7, received ^5%s^7!, skipping..."):format(type(key))) + end end return returnValues From 8a544383ba0bf8a478046e4efb110302a1376e38 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Fri, 16 Jun 2023 19:37:32 +0200 Subject: [PATCH 164/236] formatting --- [core]/es_extended/server/main.lua | 409 +++++++++++++++-------------- 1 file changed, 211 insertions(+), 198 deletions(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index e1cf1fa3..bb8b1c34 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -121,239 +121,252 @@ if not Config.Multichar then end function loadESXPlayer(identifier, playerId, isNew) -local userData = { accounts = {}, inventory = {}, job = {}, loadout = {}, playerName = GetPlayerName(playerId), - weight = 0, metadata = {} } -local result = MySQL.prepare.await(loadPlayer, { identifier }) -local job, grade, jobObject, gradeObject = result.job, tostring(result.job_grade) -local foundAccounts, foundItems = {}, {} - --- Accounts -if result.accounts and result.accounts ~= '' then - local accounts = json.decode(result.accounts) - - for account, money in pairs(accounts) do - foundAccounts[account] = money - end -end - -for account, data in pairs(Config.Accounts) do - if data.round == nil then - data.round = true - end - local index = #userData.accounts + 1 - userData.accounts[index] = { - name = account, - money = foundAccounts[account] or Config.StartingAccountMoney[account] or 0, - label = data.label, - round = data.round, - index = index + local userData = { + accounts = {}, + inventory = {}, + job = {}, + loadout = {}, + playerName = GetPlayerName(playerId), + weight = 0, + metadata = {} } -end + local result = MySQL.prepare.await(loadPlayer, { identifier }) + local job, grade, jobObject, gradeObject = result.job, tostring(result.job_grade) + local foundAccounts, foundItems = {}, {} --- Job -if ESX.DoesJobExist(job, grade) then - jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] -else - print(('[^3WARNING^7] Ignoring invalid job for ^5%s^7 [job: ^5%s^7, grade: ^5%s^7]'):format(identifier, job, grade)) - job, grade = 'unemployed', '0' - jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] -end + -- Accounts + if result.accounts and result.accounts ~= '' then + local accounts = json.decode(result.accounts) -userData.job.id = jobObject.id -userData.job.name = jobObject.name -userData.job.label = jobObject.label - -userData.job.grade = tonumber(grade) -userData.job.grade_name = gradeObject.name -userData.job.grade_label = gradeObject.label -userData.job.grade_salary = gradeObject.salary - -userData.job.skin_male = {} -userData.job.skin_female = {} - -if gradeObject.skin_male then - userData.job.skin_male = json.decode(gradeObject.skin_male) -end -if gradeObject.skin_female then - userData.job.skin_female = json.decode(gradeObject.skin_female) -end - --- Inventory -if not Config.OxInventory then - if result.inventory and result.inventory ~= '' then - local inventory = json.decode(result.inventory) - - for name, count in pairs(inventory) do - local item = ESX.Items[name] - - if item then - foundItems[name] = count - else - print(('[^3WARNING^7] Ignoring invalid item ^5"%s"^7 for ^5"%s^7"'):format(name, identifier)) - end + for account, money in pairs(accounts) do + foundAccounts[account] = money end end - for name, item in pairs(ESX.Items) do - local count = foundItems[name] or 0 - if count > 0 then - userData.weight = userData.weight + (item.weight * count) + for account, data in pairs(Config.Accounts) do + if data.round == nil then + data.round = true end - - table.insert(userData.inventory, - { - name = name, - count = count, - label = item.label, - weight = item.weight, - usable = Core.UsableItemsCallbacks[name] ~= nil, - rare = item.rare, - canRemove = item.canRemove - }) + local index = #userData.accounts + 1 + userData.accounts[index] = { + name = account, + money = foundAccounts[account] or Config.StartingAccountMoney[account] or 0, + label = data.label, + round = data.round, + index = index + } end - table.sort(userData.inventory, function(a, b) - return a.label < b.label - end) -else - if result.inventory and result.inventory ~= '' then - userData.inventory = json.decode(result.inventory) + -- Job + if ESX.DoesJobExist(job, grade) then + jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] else - userData.inventory = {} + print(('[^3WARNING^7] Ignoring invalid job for ^5%s^7 [job: ^5%s^7, grade: ^5%s^7]'):format(identifier, job, + grade)) + job, grade = 'unemployed', '0' + jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] end -end --- Group -if result.group then - if result.group == "superadmin" then - userData.group = "admin" - print("[^3WARNING^7] ^5Superadmin^7 detected, setting group to ^5admin^7") - else - userData.group = result.group + userData.job.id = jobObject.id + userData.job.name = jobObject.name + userData.job.label = jobObject.label + + userData.job.grade = tonumber(grade) + userData.job.grade_name = gradeObject.name + userData.job.grade_label = gradeObject.label + userData.job.grade_salary = gradeObject.salary + + userData.job.skin_male = {} + userData.job.skin_female = {} + + if gradeObject.skin_male then + userData.job.skin_male = json.decode(gradeObject.skin_male) + end + if gradeObject.skin_female then + userData.job.skin_female = json.decode(gradeObject.skin_female) end -else - userData.group = 'user' -end --- Loadout -if not Config.OxInventory then - if result.loadout and result.loadout ~= '' then - local loadout = json.decode(result.loadout) + -- Inventory + if not Config.OxInventory then + if result.inventory and result.inventory ~= '' then + local inventory = json.decode(result.inventory) - for name, weapon in pairs(loadout) do - local label = ESX.GetWeaponLabel(name) + for name, count in pairs(inventory) do + local item = ESX.Items[name] - if label then - if not weapon.components then - weapon.components = {} + if item then + foundItems[name] = count + else + print(('[^3WARNING^7] Ignoring invalid item ^5"%s"^7 for ^5"%s^7"'):format(name, identifier)) end - if not weapon.tintIndex then - weapon.tintIndex = 0 - end - - table.insert(userData.loadout, - { name = name, ammo = weapon.ammo, label = label, components = weapon.components, - tintIndex = weapon.tintIndex }) end end - end -end --- Position -userData.coords = json.decode(result.position) or Config.DefaultSpawns[math.random(#Config.DefaultSpawns)] + for name, item in pairs(ESX.Items) do + local count = foundItems[name] or 0 + if count > 0 then + userData.weight = userData.weight + (item.weight * count) + end --- Skin -if result.skin and result.skin ~= '' then - userData.skin = json.decode(result.skin) -else - if userData.sex == 'f' then - userData.skin = { sex = 1 } + table.insert(userData.inventory, + { + name = name, + count = count, + label = item.label, + weight = item.weight, + usable = Core.UsableItemsCallbacks[name] ~= nil, + rare = item.rare, + canRemove = item.canRemove + }) + end + + table.sort(userData.inventory, function(a, b) + return a.label < b.label + end) else - userData.skin = { sex = 0 } + if result.inventory and result.inventory ~= '' then + userData.inventory = json.decode(result.inventory) + else + userData.inventory = {} + end end -end --- Identity -if result.firstname and result.firstname ~= '' then - userData.firstname = result.firstname - userData.lastname = result.lastname - userData.playerName = userData.firstname .. ' ' .. userData.lastname - if result.dateofbirth then - userData.dateofbirth = result.dateofbirth + -- Group + if result.group then + if result.group == "superadmin" then + userData.group = "admin" + print("[^3WARNING^7] ^5Superadmin^7 detected, setting group to ^5admin^7") + else + userData.group = result.group + end + else + userData.group = 'user' end - if result.sex then - userData.sex = result.sex - end - if result.height then - userData.height = result.height - end -end -if result.metadata and result.metadata ~= '' then - local metadata = json.decode(result.metadata) - userData.metadata = metadata -end + -- Loadout + if not Config.OxInventory then + if result.loadout and result.loadout ~= '' then + local loadout = json.decode(result.loadout) -local xPlayer = CreateExtendedPlayer(playerId, identifier, userData.group, userData.accounts, userData.inventory, - userData.weight, userData.job, - userData.loadout, userData.playerName, userData.coords, userData.metadata) -ESX.Players[playerId] = xPlayer -Core.playersByIdentifier[identifier] = xPlayer + for name, weapon in pairs(loadout) do + local label = ESX.GetWeaponLabel(name) -if userData.firstname then - xPlayer.set('firstName', userData.firstname) - xPlayer.set('lastName', userData.lastname) - if userData.dateofbirth then - xPlayer.set('dateofbirth', userData.dateofbirth) - end - if userData.sex then - xPlayer.set('sex', userData.sex) - end - if userData.height then - xPlayer.set('height', userData.height) - end -end + if label then + if not weapon.components then + weapon.components = {} + end + if not weapon.tintIndex then + weapon.tintIndex = 0 + end -TriggerEvent('esx:playerLoaded', playerId, xPlayer, isNew) - -xPlayer.triggerEvent('esx:playerLoaded', - { - accounts = xPlayer.getAccounts(), - coords = userData.coords, - identifier = xPlayer.getIdentifier(), - inventory = xPlayer.getInventory(), - job = xPlayer.getJob(), - loadout = xPlayer.getLoadout(), - maxWeight = xPlayer.getMaxWeight(), - money = xPlayer.getMoney(), - sex = xPlayer.get("sex") or "m", - firstName = xPlayer.get("firstName") or "John", - lastName = xPlayer.get("lastName") or "Doe", - dateofbirth = xPlayer.get("dateofbirth") or "01/01/2000", - height = xPlayer.get("height") or 120, - dead = false, - metadata = xPlayer.getMeta() - }, isNew, - userData.skin) - -if not Config.OxInventory then - xPlayer.triggerEvent('esx:createMissingPickups', Core.Pickups) -else - exports.ox_inventory:setPlayerInventory(xPlayer, userData.inventory) - - if isNew then - for account, money in pairs(Config.StartingAccountMoney) do - if account == 'money' or account == 'black_money' then - exports.ox_inventory:AddItem(playerId, account, money) + table.insert(userData.loadout, + { + name = name, + ammo = weapon.ammo, + label = label, + components = weapon.components, + tintIndex = weapon.tintIndex + }) + end end end end -end -xPlayer.triggerEvent('esx:registerSuggestions', Core.RegisteredCommands) -print(('[^2INFO^0] Player ^5"%s"^0 has connected to the server. ID: ^5%s^7'):format(xPlayer.getName(), playerId)) + -- Position + userData.coords = json.decode(result.position) or Config.DefaultSpawns[math.random(#Config.DefaultSpawns)] + + -- Skin + if result.skin and result.skin ~= '' then + userData.skin = json.decode(result.skin) + else + if userData.sex == 'f' then + userData.skin = { sex = 1 } + else + userData.skin = { sex = 0 } + end + end + + -- Identity + if result.firstname and result.firstname ~= '' then + userData.firstname = result.firstname + userData.lastname = result.lastname + userData.playerName = userData.firstname .. ' ' .. userData.lastname + if result.dateofbirth then + userData.dateofbirth = result.dateofbirth + end + if result.sex then + userData.sex = result.sex + end + if result.height then + userData.height = result.height + end + end + + if result.metadata and result.metadata ~= '' then + local metadata = json.decode(result.metadata) + userData.metadata = metadata + end + + local xPlayer = CreateExtendedPlayer(playerId, identifier, userData.group, userData.accounts, userData.inventory, + userData.weight, userData.job, + userData.loadout, userData.playerName, userData.coords, userData.metadata) + ESX.Players[playerId] = xPlayer + Core.playersByIdentifier[identifier] = xPlayer + + if userData.firstname then + xPlayer.set('firstName', userData.firstname) + xPlayer.set('lastName', userData.lastname) + if userData.dateofbirth then + xPlayer.set('dateofbirth', userData.dateofbirth) + end + if userData.sex then + xPlayer.set('sex', userData.sex) + end + if userData.height then + xPlayer.set('height', userData.height) + end + end + + TriggerEvent('esx:playerLoaded', playerId, xPlayer, isNew) + + xPlayer.triggerEvent('esx:playerLoaded', + { + accounts = xPlayer.getAccounts(), + coords = userData.coords, + identifier = xPlayer.getIdentifier(), + inventory = xPlayer.getInventory(), + job = xPlayer.getJob(), + loadout = xPlayer.getLoadout(), + maxWeight = xPlayer.getMaxWeight(), + money = xPlayer.getMoney(), + sex = xPlayer.get("sex") or "m", + firstName = xPlayer.get("firstName") or "John", + lastName = xPlayer.get("lastName") or "Doe", + dateofbirth = xPlayer.get("dateofbirth") or "01/01/2000", + height = xPlayer.get("height") or 120, + dead = false, + metadata = xPlayer.getMeta() + }, isNew, + userData.skin) + + if not Config.OxInventory then + xPlayer.triggerEvent('esx:createMissingPickups', Core.Pickups) + else + exports.ox_inventory:setPlayerInventory(xPlayer, userData.inventory) + + if isNew then + for account, money in pairs(Config.StartingAccountMoney) do + if account == 'money' or account == 'black_money' then + exports.ox_inventory:AddItem(playerId, account, money) + end + end + end + end + xPlayer.triggerEvent('esx:registerSuggestions', Core.RegisteredCommands) + print(('[^2INFO^0] Player ^5"%s"^0 has connected to the server. ID: ^5%s^7'):format(xPlayer.getName(), playerId)) end + AddEventHandler('chatMessage', function(playerId, author, message) local xPlayer = ESX.GetPlayerFromId(playerId) if message:sub(1, 1) == '/' and playerId > 0 then From 74b3ccd9d9fbf65985ef9c698c6073ce8462ad6b Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Fri, 16 Jun 2023 19:39:13 +0200 Subject: [PATCH 165/236] formatting v2 --- [core]/es_extended/server/main.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index bb8b1c34..14105ce7 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -161,8 +161,7 @@ function loadESXPlayer(identifier, playerId, isNew) if ESX.DoesJobExist(job, grade) then jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] else - print(('[^3WARNING^7] Ignoring invalid job for ^5%s^7 [job: ^5%s^7, grade: ^5%s^7]'):format(identifier, job, - grade)) + print(('[^3WARNING^7] Ignoring invalid job for ^5%s^7 [job: ^5%s^7, grade: ^5%s^7]'):format(identifier, job, grade)) job, grade = 'unemployed', '0' jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] end @@ -307,9 +306,7 @@ function loadESXPlayer(identifier, playerId, isNew) userData.metadata = metadata end - local xPlayer = CreateExtendedPlayer(playerId, identifier, userData.group, userData.accounts, userData.inventory, - userData.weight, userData.job, - userData.loadout, userData.playerName, userData.coords, userData.metadata) + local xPlayer = CreateExtendedPlayer(playerId, identifier, userData.group, userData.accounts, userData.inventory, userData.weight, userData.job, userData.loadout, userData.playerName, userData.coords, userData.metadata) ESX.Players[playerId] = xPlayer Core.playersByIdentifier[identifier] = xPlayer From cf0d1aaa9b9ef379437ae05113cb6cb03a2d8aa2 Mon Sep 17 00:00:00 2001 From: Lenny <84620158+Lenny822@users.noreply.github.com> Date: Sat, 17 Jun 2023 11:37:19 +0200 Subject: [PATCH 166/236] Update de.lua Because mine wasnt uploaded or something, this is the newer and updated one. --- [core]/es_extended/locales/de.lua | 483 +++++++++++++++++++----------- 1 file changed, 310 insertions(+), 173 deletions(-) diff --git a/[core]/es_extended/locales/de.lua b/[core]/es_extended/locales/de.lua index 9a6ea35c..77626408 100644 --- a/[core]/es_extended/locales/de.lua +++ b/[core]/es_extended/locales/de.lua @@ -1,205 +1,342 @@ Locales['de'] = { -- Inventory - ['inventory'] = 'Inventar %s / %s', - ['use'] = 'benutzen', - ['give'] = 'geben', - ['remove'] = 'entfernen', - ['return'] = 'zurück', - ['give_to'] = 'geben an', - ['amount'] = 'Betrag', + ['inventory'] = 'Inventar ( Gewicht %s / %s )', + ['use'] = 'Benutzen', + ['give'] = 'Geben', + ['remove'] = 'Entsorgen', + ['return'] = 'Zurück', + ['give_to'] = 'Geben an', + ['amount'] = 'Anzahl', ['giveammo'] = 'Munition geben', - ['amountammo'] = 'Anzahl der Munition', - ['noammo'] = 'du hast keine Munition!', - ['gave_item'] = 'du gibst %sx %s an %s', - ['received_item'] = 'du empfängst %sx %s von %s', - ['gave_weapon'] = 'du gibst %s an %s', - ['gave_weapon_ammo'] = 'du gibst ~o~%sx %s von %s an %s', - ['gave_weapon_withammo'] = 'du gibst %s mit ~o~%sx %s an %s', - ['gave_weapon_hasalready'] = '%s hat bereits eine(n) %s', + ['amountammo'] = 'Munitions Anzahl', + ['noammo'] = 'Nicht Genug!', + ['gave_item'] = 'Du gibst %sx %s an %s', + ['received_item'] = 'Du bekommst %sx %s von %s', + ['gave_weapon'] = 'Du gibst %s an %s', + ['gave_weapon_ammo'] = 'Du gibst ~o~%sx %s für %s an %s', + ['gave_weapon_withammo'] = 'Du gibst %s mit ~o~%sx %s an %s', + ['gave_weapon_hasalready'] = '%s hat bereits %s', ['gave_weapon_noweapon'] = '%s hat diese Waffe nicht', - ['received_weapon'] = 'du erhälst %s von %s', - ['received_weapon_ammo'] = 'du erhälst %sx %s für dein %s von %s', - ['received_weapon_withammo'] = 'du erhälst %s mit %sx %s von %s', - ['received_weapon_hasalready'] = '%s hat versucht dir eine(n) %s zu geben, aber du hast bereits eine(n)', - ['received_weapon_noweapon'] = '%s hat versucht dir Munition für eine(n) %s, aber du besitzt diese Waffe nicht', - ['gave_account_money'] = 'du gibst $%s (%s) an %s', - ['received_account_money'] = 'du empfängst $%s (%s) von %s', - ['amount_invalid'] = 'ungültiger Betrag', - ['players_nearby'] = 'keine Spieler in der Nähe', - ['ex_inv_lim'] = 'Aktion nicht möglich, Inventarlimit überschritten für %s', - ['imp_invalid_quantity'] = 'Aktion nicht möglich, ungültige Anzahl', - ['imp_invalid_amount'] = 'Aktion nicht möglich, ungültiger Betrag', - ['threw_standard'] = 'du wirfst %sx %s', - ['threw_account'] = 'du wirfst $%s %s weg', - ['threw_weapon'] = 'du wirfst %s weg', - ['threw_weapon_ammo'] = 'du wirfst %s mit %sx %s weg', - ['threw_weapon_already'] = 'Du hast bereits diese Waffe', - ['threw_cannot_pickup'] = 'Du kannst das nicht aufheben, da dein Inventar voll ist', - ['threw_pickup_prompt'] = 'drücke E um aufzuheben', + ['received_weapon'] = 'Du bekommst %s von %s', + ['received_weapon_ammo'] = 'Du bekommst ~o~%sx %s für deine %s von %s', + ['received_weapon_withammo'] = 'Du bekommst %s mit ~o~%sx %s von %s', + ['received_weapon_hasalready'] = '%s hat versucht dir eine %s zu geben, jedoch hast du diese Waffe bereits!', + ['received_weapon_noweapon'] = '%s hat versucht dir Munition für eine %s zu geben, jedoch hast du diese Waffe bereits!', + ['gave_account_money'] = 'Du gibst %s€ (%s) an %s', + ['received_account_money'] = 'Du bekommst %s€ (%s) von %s', + ['amount_invalid'] = 'Ungültige Anzahl', + ['players_nearby'] = 'Keine Personen in der Nähe!', + ['ex_inv_lim'] = 'Du kannst diese Aktion nicht ausführen!, Inventarlimit für %s überschritten.', + ['imp_invalid_quantity'] = 'Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl!', + ['imp_invalid_amount'] = 'Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl', + ['threw_standard'] = 'Du entsorgst %sx %s', + ['threw_account'] = 'Du Entsorgst %s€ %s', + ['threw_weapon'] = 'Du entsorgst %s', + ['threw_weapon_ammo'] = 'Du entsorgst %s mit ~o~%sx %s', + ['threw_weapon_already'] = 'Du hast diese Waffe bereits!', + ['threw_cannot_pickup'] = 'Inventar ist voll! Du kannst dies nicht aufheben', + ['threw_pickup_prompt'] = 'Drücke [E] zum aufheben', -- Key mapping - ['keymap_showinventory'] = 'Inventar anzeigen', + ['keymap_showinventory'] = 'Inventar Anzeigen', -- Salary related - ['received_salary'] = 'du hast dein Gehalt erhalten: $%s', - ['received_help'] = 'du hast deine Sozialhilfe erhalten: $%s', - ['company_nomoney'] = 'die Firma in der du angestellt bist, ist zu arm um dir dein Gehalt zu zahlen', - ['received_paycheck'] = 'erhaltener Gehaltsscheck', - ['bank'] = 'Bank', + ['received_salary'] = 'Dein Gehaltscheck ist angekommen!: %s€', + ['received_help'] = 'Deine Sozialhilfe ist angekommen: %s€', + ['company_nomoney'] = 'Die Firma an der du Angestellt bist, ist leider Arm und kann dich nicht bezahlen :(', + ['received_paycheck'] = 'Gehaltscheck erhalten', + ['bank'] = 'Sparkasse', ['account_bank'] = 'Bank', ['account_black_money'] = 'Schwarzgeld', - ['account_money'] = 'Geld', + ['account_money'] = 'Bargeld', - ['act_imp'] = 'Aktion nicht möglich', - ['in_vehicle'] = 'du kannst keine Items in einem Fahrzeug weitergeben', + ['act_imp'] = 'Du kannst diese Aktion nicht ausführen!', + ['in_vehicle'] = 'Du kannst diese Aktion nicht ausführen! Person ist in einem Fahrzeug', -- Commands - ['command_car'] = 'Fahrzeug spawnen', - ['command_car_car'] = 'Fahrzeug spawnname oder hash', - ['command_cardel'] = 'Fahrzeuge in der nähe löschen', - ['command_cardel_radius'] = 'Optional, jedes Fahrzeug innerhalb des angegebenen Radius löschen', - ['command_clear'] = 'Chat leeren', - ['command_clearall'] = 'Chat leeren für alle spieler', - ['command_clearinventory'] = 'Spielerinventar leeren', - ['command_clearloadout'] = 'Spielerausstattung löschen', - ['command_giveaccountmoney'] = 'Geld aufs Konto laden', - ['command_giveaccountmoney_account'] = 'gültiger Kontoname', + ['command_bring'] = 'Person zu dir bringen', + ['command_car'] = 'Fahrzeug Spawnen', + ['command_car_car'] = 'Fahrzeug Model oder Hash', + ['command_cardel'] = 'Fahrzeuge entfernen', + ['command_cardel_radius'] = 'Entfernt alle Fahrzeuge in einem bestimmten Radius', + ['command_clear'] = 'Textchat leeren', + ['command_clearall'] = 'Textchat leeren für alle Spieler leeren', + ['command_clearinventory'] = 'Alle Items von dem Inventar eines Spielers entfernen', + ['command_clearloadout'] = 'Alle waffen von dem Spieler Loadout entfernen', + ['command_freeze'] = 'Spieler Freezen', + ['command_unfreeze'] = 'Spieler Entfreezen', + ['command_giveaccountmoney'] = 'Geld an einen bestimmten Account geben', + ['command_giveaccountmoney_account'] = 'Account wohin das Geld hinzugefügt werden soll', ['command_giveaccountmoney_amount'] = 'Anzahl zum hinzufügen', - ['command_giveaccountmoney_invalid'] = 'Ungültiger Kontoname', - ['command_giveitem'] = 'Item an Spieler geben', - ['command_giveitem_item'] = 'Itemname', - ['command_giveitem_count'] = 'item Anzahl', + ['command_giveaccountmoney_invalid'] = 'Accountname Ungültig', + ['command_giveitem'] = 'Spieler ein item geben', + ['command_giveitem_item'] = 'Item Name', + ['command_giveitem_count'] = 'Anzahl', ['command_giveweapon'] = 'Spieler eine Waffe geben', ['command_giveweapon_weapon'] = 'Waffenname', ['command_giveweapon_ammo'] = 'Munitionsanzahl', - ['command_giveweapon_hasalready'] = 'Spieler bereits im Besitz dieser Waffe', - ['command_giveweaponcomponent'] = 'Spieler Waffenaufsatz geben', - ['command_giveweaponcomponent_component'] = 'Waffenaufsatz Name', - ['command_giveweaponcomponent_invalid'] = 'ungültiger Waffenaufsatz', - ['command_giveweaponcomponent_hasalready'] = 'Spieler hat bereits diesen Waffenaufsatz', - ['command_giveweaponcomponent_missingweapon'] = 'Der Spieler besitzt diese Waffe nicht', - ['command_save'] = 'Spieler in der Datenbank sichern', - ['command_saveall'] = 'Sichern von allen Spielern auf der Datenbank', - ['command_setaccountmoney'] = 'Kontosumme des Spielers setzen', - ['command_setaccountmoney_amount'] = 'Summe', - ['command_setcoords'] = 'Zu den Koordinaten Teleportieren', - ['command_setcoords_x'] = 'x Position', - ['command_setcoords_y'] = 'y Position', - ['command_setcoords_z'] = 'z Position', - ['command_setjob'] = 'Dem Spieler einen Job setzen', - ['command_setjob_job'] = 'Name des Jobs', - ['command_setjob_grade'] = 'Rang des Jobs', - ['command_setjob_invalid'] = 'Der Rang oder der Job ist nicht gültigt.', - ['command_setgroup'] = 'Spielergruppe setzen', - ['command_setgroup_group'] = 'Gruppenname', - ['commanderror_argumentmismatch'] = 'Die Anzahl der Argumente stimmen nicht überein (übergeben %s, gesucht %s)', - ['commanderror_argumentmismatch_number'] = 'argument #%s typ stimmt nicht überein (übergeben string, gewünscht zahl)', - ['commanderror_invaliditem'] = 'falscher Itemname', - ['commanderror_invalidweapon'] = 'ungültige Waffe', - ['commanderror_console'] = 'Der Befehl kann nicht in der Konsole genutzt werden', - ['commanderror_invalidcommand'] = '/%s ist kein verfügbarer Befehl!', - ['commanderror_invalidplayerid'] = 'Kein Spieler mit dieser ID scheint online zu sein', - ['commandgeneric_playerid'] = 'Spieler ID', + ['command_giveweapon_hasalready'] = 'Spieler hat bereits diese Waffe', + ['command_giveweaponcomponent'] = 'Waffenkomponent an einen Spieler geben', + ['command_giveweaponcomponent_component'] = 'Komponent Name', + ['command_giveweaponcomponent_invalid'] = 'Ungültiger Komponent Name', + ['command_giveweaponcomponent_hasalready'] = 'Spieler hat bereits diesen Komponent', + ['command_giveweaponcomponent_missingweapon'] = 'Spieler hat diese Waffe nicht', + ['command_goto'] = 'Teleportiere dich zu einem Spieler', + ['command_kill'] = 'Spieler Töten', + ['command_save'] = 'Von einem bestimmten Spieler die Spielerdaten Speichern', + ['command_saveall'] = 'Von allen Spielern die Spielerdaten Speichern', + ['command_setaccountmoney'] = 'Geld auf einem bestimmten Account setzen', + ['command_setaccountmoney_amount'] = 'Anzahl', + ['command_setcoords'] = 'Zu den bestimmten Koordinaten teleportieren', + ['command_setcoords_x'] = 'X Koordinate', + ['command_setcoords_y'] = 'Y Koordinate', + ['command_setcoords_z'] = 'Z Koordinate', + ['command_setjob'] = 'Job eines Spielers setzen', + ['command_setjob_job'] = 'Name', + ['command_setjob_grade'] = 'Job Grad', + ['command_setjob_invalid'] = 'Der Job Grad oder beides sind ungültig', + ['command_setgroup'] = 'Setzt eine Berechtigungs Gruppe für einen User', + ['command_setgroup_group'] = 'Name der Gruppe', + ['commanderror_argumentmismatch'] = 'Ungültiger Argument (gegeben %s, gewollt %s)', + ['commanderror_argumentmismatch_number'] = 'Ungültiges Argument #%s daten typ (string gegeben, gewollte nummer)', + ['commanderror_invaliditem'] = 'Ungültiges Item', + ['commanderror_invalidweapon'] = 'Ungültige Waffe', + ['commanderror_console'] = 'Befehl kann nicht von der Konsole aus ausgeführt werden', + ['commanderror_invalidcommand'] = 'Ungültiger Befehl - /%s', + ['commanderror_invalidplayerid'] = 'Angegebener Spieler ist nicht online!', + ['commandgeneric_playerid'] = 'Spieler`s ID', ['command_giveammo_noweapon_found'] = '%s besitzt diese Waffe nicht', ['command_giveammo_weapon'] = 'Waffenname', ['command_giveammo_ammo'] = 'Munitionsanzahl', + ['tpm_nowaypoint'] = 'Kein Wegpunkt gesetzt.', + ['tpm_success'] = 'Erfolgreich teleportiert', + + ['noclip_message'] = 'Noclip wurde %s', + ['enabled'] = '~g~Aktiviert~s~', + ['disabled'] = '~r~Deaktiviert~s~', -- Locale settings - ['locale_digit_grouping_symbol'] = ' ', - ['locale_currency'] = '$%s', + ['locale_digit_grouping_symbol'] = ',', + ['locale_currency'] = '%s€', -- Weapons - ['weapon_knife'] = 'Messer', - ['weapon_nightstick'] = 'Schlagstock', - ['weapon_hammer'] = 'Hammer', - ['weapon_bat'] = 'Schläger', - ['weapon_golfclub'] = 'Golfschläger', - ['weapon_crowbar'] = 'Brecheisen', - ['weapon_pistol'] = 'Pistole', - ['weapon_combatpistol'] = 'Kampfpistole', - ['weapon_appistol'] = 'AP Pistole', - ['weapon_pistol50'] = 'Pistole .50', - ['weapon_microsmg'] = 'Mikro SMG', - ['weapon_smg'] = 'SMG', - ['weapon_assaultsmg'] = 'Kampf SMG', - ['weapon_assaultrifle'] = 'Kampfgewehr', - ['weapon_carbinerifle'] = 'Karabinergewehr', - ['weapon_advancedrifle'] = 'Advancedgewehr', - ['weapon_mg'] = 'MG', - ['weapon_combatmg'] = 'Kampf MG', - ['weapon_pumpshotgun'] = 'Pumpgun', - ['weapon_sawnoffshotgun'] = 'Abgesägte Schrotflinte', - ['weapon_assaultshotgun'] = 'Kampf Schrotflinte', - ['weapon_bullpupshotgun'] = 'Bullpup Schrotflinte', - ['weapon_stungun'] = 'Tazer', - ['weapon_sniperrifle'] = 'Scharfschützengewehr', - ['weapon_heavysniper'] = 'Schweres Sniper', - ['weapon_grenadelauncher'] = 'Granatwerfer', - ['weapon_rpg'] = 'RPG', - ['weapon_minigun'] = 'Minigun', - ['weapon_grenade'] = 'Granate', - ['weapon_stickybomb'] = 'Haftbombe', - ['weapon_smokegrenade'] = 'Rauchgranate', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_molotov'] = 'Molotov Cocktail', - ['weapon_fireextinguisher'] = 'Feuerlöscher', - ['weapon_petrolcan'] = 'Benzinkanister', - ['weapon_ball'] = 'Ball', - ['weapon_snspistol'] = 'SNS Pistole', - ['weapon_bottle'] = 'Flasche', - ['weapon_gusenberg'] = 'Gusenberg', - ['weapon_specialcarbine'] = 'Spezialkarabiner', - ['weapon_heavypistol'] = 'Schwere Pistole', - ['weapon_bullpuprifle'] = 'Bullpupgewehr', + + -- Melee ['weapon_dagger'] = 'Dolch', - ['weapon_vintagepistol'] = 'Vintage Pistole', - ['weapon_firework'] = 'Feuerwerk', - ['weapon_musket'] = 'Muskete', - ['weapon_heavyshotgun'] = 'Schwere Schrotflinte', - ['weapon_marksmanrifle'] = 'Marksmangewehr', - ['weapon_hominglauncher'] = 'Homing Launcher', - ['weapon_proxmine'] = 'Annäherungsmine', - ['weapon_snowball'] = 'Schneeball', - ['weapon_flaregun'] = 'Leuchtpistole', - ['weapon_combatpdw'] = 'Kampf PDW', - ['weapon_marksmanpistol'] = 'Marksman Pistole', - ['weapon_knuckle'] = 'Schlagring', - ['weapon_hatchet'] = 'Axt', - ['weapon_railgun'] = 'Railgun', - ['weapon_machete'] = 'Machete', - ['weapon_machinepistol'] = 'Maschinenpistole', - ['weapon_switchblade'] = 'Klappmesser', - ['weapon_revolver'] = 'Schwerer Revolver', - ['weapon_dbshotgun'] = 'Doppelläufige Schrotflinte', - ['weapon_compactrifle'] = 'Kampfgewehr', - ['weapon_autoshotgun'] = 'Auto Schrotflinte', + ['weapon_bat'] = 'Baseballschläger', ['weapon_battleaxe'] = 'Kampfaxt', - ['weapon_compactlauncher'] = 'Kompakt Granatwerfer', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_pipebomb'] = 'Rohrbombe', - ['weapon_poolcue'] = 'Billiard-Kö', - ['weapon_wrench'] = 'Rohrzange', + ['weapon_bottle'] = 'Flasche', + ['weapon_crowbar'] = 'Brechstange', ['weapon_flashlight'] = 'Taschenlampe', + ['weapon_golfclub'] = 'Golfschläger', + ['weapon_hammer'] = 'Hammer', + ['weapon_hatchet'] = 'Beil', + ['weapon_knife'] = 'Messer', + ['weapon_knuckle'] = 'Schlagring', + ['weapon_machete'] = 'Machete', + ['weapon_nightstick'] = 'Schlagstock', + ['weapon_wrench'] = 'Rohrzange', + ['weapon_poolcue'] = 'Billiardstange', + ['weapon_stone_hatchet'] = 'Steinbeil', + ['weapon_switchblade'] = 'Springmesser', + + -- Handguns + ['weapon_appistol'] = 'AP Pistole', + ['weapon_ceramicpistol'] = 'Keramikpistole', + ['weapon_combatpistol'] = 'Kampfpistole', + ['weapon_doubleaction'] = 'Double-Action Revolver', + ['weapon_navyrevolver'] = 'Navy Revolver', + ['weapon_flaregun'] = 'Flaregun', + ['weapon_gadgetpistol'] = 'Gadgetpistole', + ['weapon_heavypistol'] = 'Schwere Pistole', + ['weapon_revolver'] = 'Schwerer Revolver', + ['weapon_revolver_mk2'] = 'Schwerer Revolver MK2', + ['weapon_marksmanpistol'] = 'Scharfschützen Pistole', + ['weapon_pistol'] = 'Pistole', + ['weapon_pistol_mk2'] = 'Pistole MK2', + ['weapon_pistol50'] = 'Pistole 50 Kaliber', + ['weapon_snspistol'] = 'SNS Pistol', + ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', + ['weapon_stungun'] = 'Taser', + ['weapon_raypistol'] = 'Up-N-Atomizer', + ['weapon_vintagepistol'] = 'Vintagepistole', + + -- Shotguns + ['weapon_assaultshotgun'] = 'Sturmschrotflinte', + ['weapon_autoshotgun'] = 'Automatische Schrotflinte', + ['weapon_bullpupshotgun'] = 'Bullpup-Schrotflinte', + ['weapon_combatshotgun'] = 'Kampfschrotfline', + ['weapon_dbshotgun'] = 'Doppelbarrel Schrotflinte', + ['weapon_heavyshotgun'] = 'Schwere Schrotflinte', + ['weapon_musket'] = 'Muskete', + ['weapon_pumpshotgun'] = 'Pump Schrotflinte', + ['weapon_pumpshotgun_mk2'] = 'Pump Schrotflinte MK2', + ['weapon_sawnoffshotgun'] = 'Abgesägte Schrotflinte', + + -- SMG & LMG + ['weapon_assaultsmg'] = 'Sturm SMG', + ['weapon_combatmg'] = 'Kampf MG', + ['weapon_combatmg_mk2'] = 'Kampf MG MK2', + ['weapon_combatpdw'] = 'Kampf PDW', + ['weapon_gusenberg'] = 'Gusenberg Sweeper', + ['weapon_machinepistol'] = 'Maschinenpistole', + ['weapon_mg'] = 'MG', + ['weapon_microsmg'] = 'Mikro SMG', + ['weapon_minismg'] = 'Mini SMG', + ['weapon_smg'] = 'SMG', + ['weapon_smg_mk2'] = 'SMG MK2', + ['weapon_raycarbine'] = 'Unheiliger Höllenbringer', + + -- Rifles + ['weapon_advancedrifle'] = 'Fortgeschrittenes Gewehr', + ['weapon_assaultrifle'] = 'Sturmgewehr', + ['weapon_assaultrifle_mk2'] = 'Sturmgewehr MK2', + ['weapon_bullpuprifle'] = 'Bullpup Gewehr', + ['weapon_bullpuprifle_mk2'] = 'Bullpup Gewehr MK2', + ['weapon_carbinerifle'] = 'Karabinergewehr', + ['weapon_carbinerifle_mk2'] = 'Karabinergewehr MK2', + ['weapon_compactrifle'] = 'Kompaktesgewehr', + ['weapon_militaryrifle'] = 'Militärgewehr', + ['weapon_specialcarbine'] = 'Spezialkarabiner', + ['weapon_specialcarbine_mk2'] = 'Spezialkarabiner MK2', + + -- Sniper + ['weapon_heavysniper'] = 'Schwere Sniper', + ['weapon_heavysniper_mk2'] = 'Schwere Sniper MK2', + ['weapon_marksmanrifle'] = 'Scharfschützengewehr', + ['weapon_marksmanrifle_mk2'] = 'Scharfschützengewehr MK2', + ['weapon_sniperrifle'] = 'Sniper', + + -- Heavy / Launchers + ['weapon_compactlauncher'] = 'Kompaktlauncher', + ['weapon_firework'] = 'Feuerwerklauncher', + ['weapon_grenadelauncher'] = 'Granatwerfer', + ['weapon_hominglauncher'] = 'Lenkraketenwerfer', + ['weapon_minigun'] = 'Minigun', + ['weapon_railgun'] = 'Railgun', + ['weapon_rpg'] = 'Raketenwerfer', + ['weapon_rayminigun'] = 'Witwenmacher', + + -- Criminal Enterprises DLC + ['weapon_metaldetector'] = 'Metalldetektor', + ['weapon_precisionrifle'] = 'Präzisionsgewehr', + ['weapon_tactilerifle'] = 'Service Karabiner', + + -- Thrown + ['weapon_ball'] = 'Baseball', + ['weapon_bzgas'] = 'BZ Gas', + ['weapon_flare'] = 'Leuchtfackel', + ['weapon_grenade'] = 'Granate', + ['weapon_petrolcan'] = 'Benzinkanister', + ['weapon_hazardcan'] = 'Gefährliche Kanister', + ['weapon_molotov'] = 'Molotov Cocktail', + ['weapon_proxmine'] = 'Annährungsmine', + ['weapon_pipebomb'] = 'Rohrbombe', + ['weapon_snowball'] = 'Schneeball', + ['weapon_stickybomb'] = 'Haftbombe', + ['weapon_smokegrenade'] = 'Tränengas', + + -- Special + ['weapon_fireextinguisher'] = 'Feuerlöscher', + ['weapon_digiscanner'] = 'Digitalscanner', + ['weapon_garbagebag'] = 'Müllsack', + ['weapon_handcuffs'] = 'Handschelle', + ['gadget_nightvision'] = 'Nachtsicht', ['gadget_parachute'] = 'Fallschirm', - ['weapon_flare'] = 'Leuchtpistole', - ['weapon_doubleaction'] = 'double-Action Revolver', -- Weapon Components - ['component_clip_default'] = 'standart Magazin', - ['component_clip_extended'] = 'erweiterters Magazin', + ['component_knuckle_base'] = 'Basismodell', + ['component_knuckle_pimp'] = 'Der Pimp', + ['component_knuckle_ballas'] = 'Die Ballas', + ['component_knuckle_dollar'] = 'Der Hustler', + ['component_knuckle_diamond'] = 'Der Stein', + ['component_knuckle_hate'] = 'Der Hater', + ['component_knuckle_love'] = 'Der Lover', + ['component_knuckle_player'] = 'Der Player', + ['component_knuckle_king'] = 'Der King', + ['component_knuckle_vagos'] = 'Die Vagos', + + ['component_luxary_finish'] = 'Luxuswaffenlackierung', + + ['component_handle_default'] = 'Normaler Handgriff', + ['component_handle_vip'] = 'VIP Handgriff', + ['component_handle_bodyguard'] = 'Bodyguard Handgriff', + + ['component_vip_finish'] = 'VIP Lackierung', + ['component_bodyguard_finish'] = 'Bodyguard Lackierung', + + ['component_camo_finish'] = 'Digitales Camouflage', + ['component_camo_finish2'] = 'Pinselstrich Camouflage', + ['component_camo_finish3'] = 'Holzland Camouflage', + ['component_camo_finish4'] = 'Kopf Camouflage', + ['component_camo_finish5'] = 'Sessebta-Nove Camouflage', + ['component_camo_finish6'] = 'Perseus Camouflage', + ['component_camo_finish7'] = 'Leopard Camouflage', + ['component_camo_finish8'] = 'Zebra Camouflage', + ['component_camo_finish9'] = 'Geometrisch Camouflage', + ['component_camo_finish10'] = 'BOOM Camouflage', + ['component_camo_finish11'] = 'Patriotisch Camouflage', + + ['component_camo_slide_finish'] = 'Digital Rutschen Camouflage', + ['component_camo_slide_finish2'] = 'Pinselstrich Rutschen Camouflage', + ['component_camo_slide_finish3'] = 'Holzland Rutschen Camouflage', + ['component_camo_slide_finish4'] = 'Kopf Rutschen Camouflage', + ['component_camo_slide_finish5'] = 'Sessebta-Nove Nove Rutschen Camouflage', + ['component_camo_slide_finish6'] = 'Perseus Rutschen Camouflage', + ['component_camo_slide_finish7'] = 'Leopard Rutschen Camouflage', + ['component_camo_slide_finish8'] = 'Zebra Rutschen Camouflage', + ['component_camo_slide_finish9'] = 'Geometrisch Rutschen Camouflage', + ['component_camo_slide_finish10'] = 'BOOM Rutschen Camouflage', + ['component_camo_slide_finish11'] = 'Patriotisch Rutschen Camouflage', + + ['component_clip_default'] = 'Standart Magazin', + ['component_clip_extended'] = 'Erweiterters Magazin', ['component_clip_drum'] = 'Trommelmagazin', ['component_clip_box'] = 'Kastenmagazin', + + ['component_scope_holo'] = 'Holographisches Zielfernrohr', + ['component_scope_small'] = 'Kleines Zielfernrohr', + ['component_scope_medium'] = 'Mittleres Zielfernrohr', + ['component_scope_large'] = 'Großes Zielfernrohr', + ['component_scope'] = 'Montiertes Zielfernrohr', + ['component_scope_advanced'] = 'Fortgeschrittenes Zielfernrohr', + ['component_ironsights'] = 'Ironsights', + + ['component_suppressor'] = 'Entstörer', + ['component_compensator'] = 'Kompensator', + + ['component_muzzle_flat'] = 'Flache Mündung', + ['component_muzzle_tactical'] = 'Taktische Mündung', + ['component_muzzle_fat'] = 'Fettes-Ende Mündung', + ['component_muzzle_precision'] = 'Präzision Mündung', + ['component_muzzle_heavy'] = 'Schwere Mündung', + ['component_muzzle_slanted'] = 'Schräge Mündung', + ['component_muzzle_split'] = 'Geteiletes-Ende Mündung', + ['component_muzzle_squared'] = 'Quadratische Mündung', + ['component_flashlight'] = 'Taschenlampe', - ['component_scope'] = 'Zielfernrohr', - ['component_scope_advanced'] = 'erweitertes Zielfernrohr', - ['component_suppressor'] = 'Schalldämpfer', - ['component_grip'] = 'Griff', - ['component_luxary_finish'] = 'luxus Waffendesign', + ['component_grip'] = 'Grip', + + ['component_barrel_default'] = 'Normales Fass', + ['component_barrel_heavy'] = 'Schweres Fass', + + ['component_ammo_tracer'] = 'Tracer Munition', + ['component_ammo_incendiary'] = 'Aufruhr Munition', + ['component_ammo_hollowpoint'] = 'Hohlspitze Munition', + ['component_ammo_fmj'] = 'FMJ Munition', + ['component_ammo_armor'] = 'Panzerbrechende Munition', + ['component_ammo_explosive'] = 'Panzerbrechende brennende Munition', + + ['component_shells_default'] = 'Normale Hülsen', + ['component_shells_incendiary'] = 'Drachenatem Hülsen', + ['component_shells_armor'] = 'Stahlschrot Hülsen', + ['component_shells_hollowpoint'] = 'Flechette Hülsen', + ['component_shells_explosive'] = 'Explosives Geschoss Hülsen', -- Weapon Ammo ['ammo_rounds'] = 'Kugel(n)', ['ammo_shells'] = 'Schrotpatrone(n)', - ['ammo_charge'] = 'Ladung', + ['ammo_charge'] = 'Nachladen', ['ammo_petrol'] = 'Benzinkanister', ['ammo_firework'] = 'Feuerwerksrakete(n)', ['ammo_rockets'] = 'Rakete(n)', @@ -217,12 +354,12 @@ Locales['de'] = { ['ammo_flaregun'] = 'Signalfackeln(munition)', -- Weapon Tints - ['tint_default'] = 'standard', - ['tint_green'] = 'grün', - ['tint_gold'] = 'gold', - ['tint_pink'] = 'pink', - ['tint_army'] = 'camouflage', - ['tint_lspd'] = 'blau', - ['tint_orange'] = 'orange', - ['tint_platinum'] = 'platin', + ['tint_default'] = 'Standard', + ['tint_green'] = 'Grün', + ['tint_gold'] = 'Gold', + ['tint_pink'] = 'Pink', + ['tint_army'] = 'Camouflage', + ['tint_lspd'] = 'Blau', + ['tint_orange'] = 'Orange', + ['tint_platinum'] = 'Platin', } From f8b9455a86c1044d4d569d7632aee0049b80c24e Mon Sep 17 00:00:00 2001 From: Gellipapa Date: Sat, 17 Jun 2023 18:42:25 +0200 Subject: [PATCH 167/236] Revert "Update de.lua" --- [core]/es_extended/locales/de.lua | 365 ------------------------------ 1 file changed, 365 deletions(-) diff --git a/[core]/es_extended/locales/de.lua b/[core]/es_extended/locales/de.lua index 892e4dc9..635d9a75 100644 --- a/[core]/es_extended/locales/de.lua +++ b/[core]/es_extended/locales/de.lua @@ -1,368 +1,4 @@ Locales['de'] = { - -- Inventory - ['inventory'] = 'Inventar ( Gewicht %s / %s )', - ['use'] = 'Benutzen', - ['give'] = 'Geben', - ['remove'] = 'Entsorgen', - ['return'] = 'Zurück', - ['give_to'] = 'Geben an', - ['amount'] = 'Anzahl', - ['giveammo'] = 'Munition geben', - ['amountammo'] = 'Munitions Anzahl', - ['noammo'] = 'Nicht Genug!', - ['gave_item'] = 'Du gibst %sx %s an %s', - ['received_item'] = 'Du bekommst %sx %s von %s', - ['gave_weapon'] = 'Du gibst %s an %s', - ['gave_weapon_ammo'] = 'Du gibst ~o~%sx %s für %s an %s', - ['gave_weapon_withammo'] = 'Du gibst %s mit ~o~%sx %s an %s', - ['gave_weapon_hasalready'] = '%s hat bereits %s', - ['gave_weapon_noweapon'] = '%s hat diese Waffe nicht', - ['received_weapon'] = 'Du bekommst %s von %s', - ['received_weapon_ammo'] = 'Du bekommst ~o~%sx %s für deine %s von %s', - ['received_weapon_withammo'] = 'Du bekommst %s mit ~o~%sx %s von %s', - ['received_weapon_hasalready'] = '%s hat versucht dir eine %s zu geben, jedoch hast du diese Waffe bereits!', - ['received_weapon_noweapon'] = '%s hat versucht dir Munition für eine %s zu geben, jedoch hast du diese Waffe bereits!', - ['gave_account_money'] = 'Du gibst %s€ (%s) an %s', - ['received_account_money'] = 'Du bekommst %s€ (%s) von %s', - ['amount_invalid'] = 'Ungültige Anzahl', - ['players_nearby'] = 'Keine Personen in der Nähe!', - ['ex_inv_lim'] = 'Du kannst diese Aktion nicht ausführen!, Inventarlimit für %s überschritten.', - ['imp_invalid_quantity'] = 'Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl!', - ['imp_invalid_amount'] = 'Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl', - ['threw_standard'] = 'Du entsorgst %sx %s', - ['threw_account'] = 'Du Entsorgst %s€ %s', - ['threw_weapon'] = 'Du entsorgst %s', - ['threw_weapon_ammo'] = 'Du entsorgst %s mit ~o~%sx %s', - ['threw_weapon_already'] = 'Du hast diese Waffe bereits!', - ['threw_cannot_pickup'] = 'Inventar ist voll! Du kannst dies nicht aufheben', - ['threw_pickup_prompt'] = 'Drücke [E] zum aufheben', - - -- Key mapping - ['keymap_showinventory'] = 'Inventar Anzeigen', - - -- Salary related - ['received_salary'] = 'Dein Gehaltscheck ist angekommen!: %s€', - ['received_help'] = 'Deine Sozialhilfe ist angekommen: %s€', - ['company_nomoney'] = 'Die Firma an der du Angestellt bist, ist leider Arm und kann dich nicht bezahlen :(', - ['received_paycheck'] = 'Gehaltscheck erhalten', - ['bank'] = 'Sparkasse', - ['account_bank'] = 'Bank', - ['account_black_money'] = 'Schwarzgeld', - ['account_money'] = 'Bargeld', - - ['act_imp'] = 'Du kannst diese Aktion nicht ausführen!', - ['in_vehicle'] = 'Du kannst diese Aktion nicht ausführen! Person ist in einem Fahrzeug', - - -- Commands - ['command_bring'] = 'Person zu dir bringen', - ['command_car'] = 'Fahrzeug Spawnen', - ['command_car_car'] = 'Fahrzeug Model oder Hash', - ['command_cardel'] = 'Fahrzeuge entfernen', - ['command_cardel_radius'] = 'Entfernt alle Fahrzeuge in einem bestimmten Radius', - ['command_clear'] = 'Textchat leeren', - ['command_clearall'] = 'Textchat leeren für alle Spieler leeren', - ['command_clearinventory'] = 'Alle Items von dem Inventar eines Spielers entfernen', - ['command_clearloadout'] = 'Alle waffen von dem Spieler Loadout entfernen', - ['command_freeze'] = 'Spieler Freezen', - ['command_unfreeze'] = 'Spieler Entfreezen', - ['command_giveaccountmoney'] = 'Geld an einen bestimmten Account geben', - ['command_giveaccountmoney_account'] = 'Account wohin das Geld hinzugefügt werden soll', - ['command_giveaccountmoney_amount'] = 'Anzahl zum hinzufügen', - ['command_giveaccountmoney_invalid'] = 'Accountname Ungültig', - ['command_giveitem'] = 'Spieler ein item geben', - ['command_giveitem_item'] = 'Item Name', - ['command_giveitem_count'] = 'Anzahl', - ['command_giveweapon'] = 'Spieler eine Waffe geben', - ['command_giveweapon_weapon'] = 'Waffenname', - ['command_giveweapon_ammo'] = 'Munitionsanzahl', - ['command_giveweapon_hasalready'] = 'Spieler hat bereits diese Waffe', - ['command_giveweaponcomponent'] = 'Waffenkomponent an einen Spieler geben', - ['command_giveweaponcomponent_component'] = 'Komponent Name', - ['command_giveweaponcomponent_invalid'] = 'Ungültiger Komponent Name', - ['command_giveweaponcomponent_hasalready'] = 'Spieler hat bereits diesen Komponent', - ['command_giveweaponcomponent_missingweapon'] = 'Spieler hat diese Waffe nicht', - ['command_goto'] = 'Teleportiere dich zu einem Spieler', - ['command_kill'] = 'Spieler Töten', - ['command_save'] = 'Von einem bestimmten Spieler die Spielerdaten Speichern', - ['command_saveall'] = 'Von allen Spielern die Spielerdaten Speichern', - ['command_setaccountmoney'] = 'Geld auf einem bestimmten Account setzen', - ['command_setaccountmoney_amount'] = 'Anzahl', - ['command_setcoords'] = 'Zu den bestimmten Koordinaten teleportieren', - ['command_setcoords_x'] = 'X Koordinate', - ['command_setcoords_y'] = 'Y Koordinate', - ['command_setcoords_z'] = 'Z Koordinate', - ['command_setjob'] = 'Job eines Spielers setzen', - ['command_setjob_job'] = 'Name', - ['command_setjob_grade'] = 'Job Grad', - ['command_setjob_invalid'] = 'Der Job Grad oder beides sind ungültig', - ['command_setgroup'] = 'Setzt eine Berechtigungs Gruppe für einen User', - ['command_setgroup_group'] = 'Name der Gruppe', - ['commanderror_argumentmismatch'] = 'Ungültiger Argument (gegeben %s, gewollt %s)', - ['commanderror_argumentmismatch_number'] = 'Ungültiges Argument #%s daten typ (string gegeben, gewollte nummer)', - ['commanderror_invaliditem'] = 'Ungültiges Item', - ['commanderror_invalidweapon'] = 'Ungültige Waffe', - ['commanderror_console'] = 'Befehl kann nicht von der Konsole aus ausgeführt werden', - ['commanderror_invalidcommand'] = 'Ungültiger Befehl - /%s', - ['commanderror_invalidplayerid'] = 'Angegebener Spieler ist nicht online!', - ['commandgeneric_playerid'] = 'Spieler`s ID', - ['command_giveammo_noweapon_found'] = '%s besitzt diese Waffe nicht', - ['command_giveammo_weapon'] = 'Waffenname', - ['command_giveammo_ammo'] = 'Munitionsanzahl', - ['tpm_nowaypoint'] = 'Kein Wegpunkt gesetzt.', - ['tpm_success'] = 'Erfolgreich teleportiert', - - ['noclip_message'] = 'Noclip wurde %s', - ['enabled'] = '~g~Aktiviert~s~', - ['disabled'] = '~r~Deaktiviert~s~', - - -- Locale settings - ['locale_digit_grouping_symbol'] = ',', - ['locale_currency'] = '%s€', - - -- Weapons - - -- Melee - ['weapon_dagger'] = 'Dolch', - ['weapon_bat'] = 'Baseballschläger', - ['weapon_battleaxe'] = 'Kampfaxt', - ['weapon_bottle'] = 'Flasche', - ['weapon_crowbar'] = 'Brechstange', - ['weapon_flashlight'] = 'Taschenlampe', - ['weapon_golfclub'] = 'Golfschläger', - ['weapon_hammer'] = 'Hammer', - ['weapon_hatchet'] = 'Beil', - ['weapon_knife'] = 'Messer', - ['weapon_knuckle'] = 'Schlagring', - ['weapon_machete'] = 'Machete', - ['weapon_nightstick'] = 'Schlagstock', - ['weapon_wrench'] = 'Rohrzange', - ['weapon_poolcue'] = 'Billiardstange', - ['weapon_stone_hatchet'] = 'Steinbeil', - ['weapon_switchblade'] = 'Springmesser', - - -- Handguns - ['weapon_appistol'] = 'AP Pistole', - ['weapon_ceramicpistol'] = 'Keramikpistole', - ['weapon_combatpistol'] = 'Kampfpistole', - ['weapon_doubleaction'] = 'Double-Action Revolver', - ['weapon_navyrevolver'] = 'Navy Revolver', - ['weapon_flaregun'] = 'Flaregun', - ['weapon_gadgetpistol'] = 'Gadgetpistole', - ['weapon_heavypistol'] = 'Schwere Pistole', - ['weapon_revolver'] = 'Schwerer Revolver', - ['weapon_revolver_mk2'] = 'Schwerer Revolver MK2', - ['weapon_marksmanpistol'] = 'Scharfschützen Pistole', - ['weapon_pistol'] = 'Pistole', - ['weapon_pistol_mk2'] = 'Pistole MK2', - ['weapon_pistol50'] = 'Pistole 50 Kaliber', - ['weapon_snspistol'] = 'SNS Pistol', - ['weapon_snspistol_mk2'] = 'SNS Pistol MK2', - ['weapon_stungun'] = 'Taser', - ['weapon_raypistol'] = 'Up-N-Atomizer', - ['weapon_vintagepistol'] = 'Vintagepistole', - - -- Shotguns - ['weapon_assaultshotgun'] = 'Sturmschrotflinte', - ['weapon_autoshotgun'] = 'Automatische Schrotflinte', - ['weapon_bullpupshotgun'] = 'Bullpup-Schrotflinte', - ['weapon_combatshotgun'] = 'Kampfschrotfline', - ['weapon_dbshotgun'] = 'Doppelbarrel Schrotflinte', - ['weapon_heavyshotgun'] = 'Schwere Schrotflinte', - ['weapon_musket'] = 'Muskete', - ['weapon_pumpshotgun'] = 'Pump Schrotflinte', - ['weapon_pumpshotgun_mk2'] = 'Pump Schrotflinte MK2', - ['weapon_sawnoffshotgun'] = 'Abgesägte Schrotflinte', - - -- SMG & LMG - ['weapon_assaultsmg'] = 'Sturm SMG', - ['weapon_combatmg'] = 'Kampf MG', - ['weapon_combatmg_mk2'] = 'Kampf MG MK2', - ['weapon_combatpdw'] = 'Kampf PDW', - ['weapon_gusenberg'] = 'Gusenberg Sweeper', - ['weapon_machinepistol'] = 'Maschinenpistole', - ['weapon_mg'] = 'MG', - ['weapon_microsmg'] = 'Mikro SMG', - ['weapon_minismg'] = 'Mini SMG', - ['weapon_smg'] = 'SMG', - ['weapon_smg_mk2'] = 'SMG MK2', - ['weapon_raycarbine'] = 'Unheiliger Höllenbringer', - - -- Rifles - ['weapon_advancedrifle'] = 'Fortgeschrittenes Gewehr', - ['weapon_assaultrifle'] = 'Sturmgewehr', - ['weapon_assaultrifle_mk2'] = 'Sturmgewehr MK2', - ['weapon_bullpuprifle'] = 'Bullpup Gewehr', - ['weapon_bullpuprifle_mk2'] = 'Bullpup Gewehr MK2', - ['weapon_carbinerifle'] = 'Karabinergewehr', - ['weapon_carbinerifle_mk2'] = 'Karabinergewehr MK2', - ['weapon_compactrifle'] = 'Kompaktesgewehr', - ['weapon_militaryrifle'] = 'Militärgewehr', - ['weapon_specialcarbine'] = 'Spezialkarabiner', - ['weapon_specialcarbine_mk2'] = 'Spezialkarabiner MK2', - - -- Sniper - ['weapon_heavysniper'] = 'Schwere Sniper', - ['weapon_heavysniper_mk2'] = 'Schwere Sniper MK2', - ['weapon_marksmanrifle'] = 'Scharfschützengewehr', - ['weapon_marksmanrifle_mk2'] = 'Scharfschützengewehr MK2', - ['weapon_sniperrifle'] = 'Sniper', - - -- Heavy / Launchers - ['weapon_compactlauncher'] = 'Kompaktlauncher', - ['weapon_firework'] = 'Feuerwerklauncher', - ['weapon_grenadelauncher'] = 'Granatwerfer', - ['weapon_hominglauncher'] = 'Lenkraketenwerfer', - ['weapon_minigun'] = 'Minigun', - ['weapon_railgun'] = 'Railgun', - ['weapon_rpg'] = 'Raketenwerfer', - ['weapon_rayminigun'] = 'Witwenmacher', - - -- Criminal Enterprises DLC - ['weapon_metaldetector'] = 'Metalldetektor', - ['weapon_precisionrifle'] = 'Präzisionsgewehr', - ['weapon_tactilerifle'] = 'Service Karabiner', - - -- Thrown - ['weapon_ball'] = 'Baseball', - ['weapon_bzgas'] = 'BZ Gas', - ['weapon_flare'] = 'Leuchtfackel', - ['weapon_grenade'] = 'Granate', - ['weapon_petrolcan'] = 'Benzinkanister', - ['weapon_hazardcan'] = 'Gefährliche Kanister', - ['weapon_molotov'] = 'Molotov Cocktail', - ['weapon_proxmine'] = 'Annährungsmine', - ['weapon_pipebomb'] = 'Rohrbombe', - ['weapon_snowball'] = 'Schneeball', - ['weapon_stickybomb'] = 'Haftbombe', - ['weapon_smokegrenade'] = 'Tränengas', - - -- Special - ['weapon_fireextinguisher'] = 'Feuerlöscher', - ['weapon_digiscanner'] = 'Digitalscanner', - ['weapon_garbagebag'] = 'Müllsack', - ['weapon_handcuffs'] = 'Handschelle', - ['gadget_nightvision'] = 'Nachtsicht', - ['gadget_parachute'] = 'Fallschirm', - - -- Weapon Components - ['component_knuckle_base'] = 'Basismodell', - ['component_knuckle_pimp'] = 'Der Pimp', - ['component_knuckle_ballas'] = 'Die Ballas', - ['component_knuckle_dollar'] = 'Der Hustler', - ['component_knuckle_diamond'] = 'Der Stein', - ['component_knuckle_hate'] = 'Der Hater', - ['component_knuckle_love'] = 'Der Lover', - ['component_knuckle_player'] = 'Der Player', - ['component_knuckle_king'] = 'Der King', - ['component_knuckle_vagos'] = 'Die Vagos', - - ['component_luxary_finish'] = 'Luxuswaffenlackierung', - - ['component_handle_default'] = 'Normaler Handgriff', - ['component_handle_vip'] = 'VIP Handgriff', - ['component_handle_bodyguard'] = 'Bodyguard Handgriff', - - ['component_vip_finish'] = 'VIP Lackierung', - ['component_bodyguard_finish'] = 'Bodyguard Lackierung', - - ['component_camo_finish'] = 'Digitales Camouflage', - ['component_camo_finish2'] = 'Pinselstrich Camouflage', - ['component_camo_finish3'] = 'Holzland Camouflage', - ['component_camo_finish4'] = 'Kopf Camouflage', - ['component_camo_finish5'] = 'Sessebta-Nove Camouflage', - ['component_camo_finish6'] = 'Perseus Camouflage', - ['component_camo_finish7'] = 'Leopard Camouflage', - ['component_camo_finish8'] = 'Zebra Camouflage', - ['component_camo_finish9'] = 'Geometrisch Camouflage', - ['component_camo_finish10'] = 'BOOM Camouflage', - ['component_camo_finish11'] = 'Patriotisch Camouflage', - - ['component_camo_slide_finish'] = 'Digital Rutschen Camouflage', - ['component_camo_slide_finish2'] = 'Pinselstrich Rutschen Camouflage', - ['component_camo_slide_finish3'] = 'Holzland Rutschen Camouflage', - ['component_camo_slide_finish4'] = 'Kopf Rutschen Camouflage', - ['component_camo_slide_finish5'] = 'Sessebta-Nove Nove Rutschen Camouflage', - ['component_camo_slide_finish6'] = 'Perseus Rutschen Camouflage', - ['component_camo_slide_finish7'] = 'Leopard Rutschen Camouflage', - ['component_camo_slide_finish8'] = 'Zebra Rutschen Camouflage', - ['component_camo_slide_finish9'] = 'Geometrisch Rutschen Camouflage', - ['component_camo_slide_finish10'] = 'BOOM Rutschen Camouflage', - ['component_camo_slide_finish11'] = 'Patriotisch Rutschen Camouflage', - - ['component_clip_default'] = 'Standart Magazin', - ['component_clip_extended'] = 'Erweiterters Magazin', - ['component_clip_drum'] = 'Trommelmagazin', - ['component_clip_box'] = 'Kastenmagazin', - - ['component_scope_holo'] = 'Holographisches Zielfernrohr', - ['component_scope_small'] = 'Kleines Zielfernrohr', - ['component_scope_medium'] = 'Mittleres Zielfernrohr', - ['component_scope_large'] = 'Großes Zielfernrohr', - ['component_scope'] = 'Montiertes Zielfernrohr', - ['component_scope_advanced'] = 'Fortgeschrittenes Zielfernrohr', - ['component_ironsights'] = 'Ironsights', - - ['component_suppressor'] = 'Entstörer', - ['component_compensator'] = 'Kompensator', - - ['component_muzzle_flat'] = 'Flache Mündung', - ['component_muzzle_tactical'] = 'Taktische Mündung', - ['component_muzzle_fat'] = 'Fettes-Ende Mündung', - ['component_muzzle_precision'] = 'Präzision Mündung', - ['component_muzzle_heavy'] = 'Schwere Mündung', - ['component_muzzle_slanted'] = 'Schräge Mündung', - ['component_muzzle_split'] = 'Geteiletes-Ende Mündung', - ['component_muzzle_squared'] = 'Quadratische Mündung', - - ['component_flashlight'] = 'Taschenlampe', - ['component_grip'] = 'Grip', - - ['component_barrel_default'] = 'Normales Fass', - ['component_barrel_heavy'] = 'Schweres Fass', - - ['component_ammo_tracer'] = 'Tracer Munition', - ['component_ammo_incendiary'] = 'Aufruhr Munition', - ['component_ammo_hollowpoint'] = 'Hohlspitze Munition', - ['component_ammo_fmj'] = 'FMJ Munition', - ['component_ammo_armor'] = 'Panzerbrechende Munition', - ['component_ammo_explosive'] = 'Panzerbrechende brennende Munition', - - ['component_shells_default'] = 'Normale Hülsen', - ['component_shells_incendiary'] = 'Drachenatem Hülsen', - ['component_shells_armor'] = 'Stahlschrot Hülsen', - ['component_shells_hollowpoint'] = 'Flechette Hülsen', - ['component_shells_explosive'] = 'Explosives Geschoss Hülsen', - - -- Weapon Ammo - ['ammo_rounds'] = 'Kugel(n)', - ['ammo_shells'] = 'Schrotpatrone(n)', - ['ammo_charge'] = 'Nachladen', - ['ammo_petrol'] = 'Benzinkanister', - ['ammo_firework'] = 'Feuerwerksrakete(n)', - ['ammo_rockets'] = 'Rakete(n)', - ['ammo_grenadelauncher'] = 'Granate(n)', - ['ammo_grenade'] = 'Granate(n)', - ['ammo_stickybomb'] = 'C4(s)', - ['ammo_pipebomb'] = 'Rohrbombe(n)', - ['ammo_smokebomb'] = 'Rauchgranate(n)', - ['ammo_molotov'] = 'Molotovcocktail(s)', - ['ammo_proxmine'] = 'Annäherungsmine(n)', - ['ammo_bzgas'] = 'Bzgas', - ['ammo_ball'] = 'Ball', - ['ammo_snowball'] = 'Schneebälle', - ['ammo_flare'] = 'Signalfackel(n)', - ['ammo_flaregun'] = 'Signalfackeln(munition)', - - -- Weapon Tints - ['tint_default'] = 'Standard', - ['tint_green'] = 'Grün', - ['tint_gold'] = 'Gold', - ['tint_pink'] = 'Pink', - ['tint_army'] = 'Camouflage', - ['tint_lspd'] = 'Blau', - ['tint_orange'] = 'Orange', - ['tint_platinum'] = 'Platin', - -- Inventory ['inventory'] = 'Inventar ( Gewicht %s / %s )', ['use'] = 'Benutzen', @@ -732,5 +368,4 @@ Locales['de'] = { ['tint_lspd'] = 'Blau', ['tint_orange'] = 'Orange', ['tint_platinum'] = 'Platin', - } From d60b099523ebba3453e80b3f03ba6b1dbdfc5b3d Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 18 Jun 2023 14:57:05 +0200 Subject: [PATCH 168/236] Support for Back wheels & Some Fixes --- [core]/es_extended/client/functions.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index b7d238aa..031f043f 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -715,8 +715,9 @@ function ESX.Game.GetVehicleProperties(vehicle) modXenon = IsToggleModOn(vehicle, 22), modFrontWheels = GetVehicleMod(vehicle, 23), - modCustomWheels = GetVehicleModVariation(vehicle, 23), + modCustomFrontWheels = GetVehicleModVariation(vehicle, 23), modBackWheels = GetVehicleMod(vehicle, 24), + modCustomBackWheels = GetVehicleModVariation(vehicle, 24), modPlateHolder = GetVehicleMod(vehicle, 25), modVanityPlate = GetVehicleMod(vehicle, 26), @@ -899,12 +900,15 @@ function ESX.Game.SetVehicleProperties(vehicle, props) if props.modFrontWheels ~= nil then SetVehicleMod(vehicle, 23, props.modFrontWheels, false) end - if props.modCustomWheels ~= nil then - SetVehicleMod(vehicle, 23, props.modFrontWheels, true) + if props.modCustomFrontWheels ~= nil then + SetVehicleMod(vehicle, 23, props.modCustomFrontWheels, false) end if props.modBackWheels ~= nil then SetVehicleMod(vehicle, 24, props.modBackWheels, false) end + if props.modCustomBackWheels ~= nil then + SetVehicleMod(vehicle, 24, props.modCustomBackWheels, false) + end if props.modPlateHolder ~= nil then SetVehicleMod(vehicle, 25, props.modPlateHolder, false) end From 59fd0e551d37a55f6375f05ec530246012472134 Mon Sep 17 00:00:00 2001 From: Tony Stark <76168122+tony-stark-17@users.noreply.github.com> Date: Tue, 20 Jun 2023 23:18:06 +0530 Subject: [PATCH 169/236] timeout for loop and parameters changed to table --- [core]/es_extended/server/main.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 9602d469..47570c40 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -628,16 +628,21 @@ ESX.RegisterServerCallback('esx:getPlayerNames', function(source, cb, players) cb(players) end) -ESX.RegisterServerCallback("esx:spawnVehicle", function(source,cb,model,coords,heading,props,warp) +ESX.RegisterServerCallback("esx:spawnVehicle", function(source,cb,vehData) local ped = GetPlayerPed(source) local vehicle = nil - props = props or {} + local model = vehData.model or `ADDER` + local heading = vehData.heading or 0.0 + local warp = vehData.warp + local props = vehData.props or {} ESX.OneSync.SpawnVehicle(model, coords, heading, props, function(id) vehicle = NetworkGetEntityFromNetworkId(id) if warp then - while GetVehiclePedIsIn(ped) ~= vehicle do + local timeout = 0 + while GetVehiclePedIsIn(ped) ~= vehicle and timeout <= 15 do Wait(0) TaskWarpPedIntoVehicle(ped, vehicle, -1) + timeout += 1 end end cb(id) From 35873f7bd119b26b5bb3f604999480cbe622bbab Mon Sep 17 00:00:00 2001 From: Tony Stark <76168122+tony-stark-17@users.noreply.github.com> Date: Tue, 20 Jun 2023 23:26:38 +0530 Subject: [PATCH 170/236] fix coords and better way of checking heading --- [core]/es_extended/server/main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 47570c40..b66bcbb5 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -632,7 +632,8 @@ ESX.RegisterServerCallback("esx:spawnVehicle", function(source,cb,vehData) local ped = GetPlayerPed(source) local vehicle = nil local model = vehData.model or `ADDER` - local heading = vehData.heading or 0.0 + local coords = vehData.coords + local heading = coords.w or 0.0 local warp = vehData.warp local props = vehData.props or {} ESX.OneSync.SpawnVehicle(model, coords, heading, props, function(id) From 6224c1004973183126db1dfa5ad45a8902f6ff2f Mon Sep 17 00:00:00 2001 From: GLN <48370836+GLN123@users.noreply.github.com> Date: Wed, 21 Jun 2023 05:21:03 +0200 Subject: [PATCH 171/236] Update main.lua --- [core]/esx_multicharacter/server/main.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index e07debe4..a31439db 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -214,8 +214,13 @@ end if isNew then awaitingRegistration[source] = charid else - TriggerEvent('esx:onPlayerJoined', source, PREFIX..charid) - ESX.Players[GetIdentifier(source)] = true + local identifier = PREFIX..charid .. ':' .. GetIdentifier(source) + if not ESX.GetPlayerFromIdentifier(identifier) then + TriggerEvent('esx:onPlayerJoined', source, PREFIX..charid) + ESX.Players[GetIdentifier(source)] = true + else + DropPlayer(source, 'Your identifier '..identifier..' is already on the server!') + end end end end) From aba27c43fe7376b7135fbf3efb8ab9ac342e02ba Mon Sep 17 00:00:00 2001 From: lxi <75556084+lxi1400@users.noreply.github.com> Date: Wed, 21 Jun 2023 01:31:11 -0500 Subject: [PATCH 172/236] fix spelling and grammar --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 16609cf8..8731c473 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@

Discord - Website - Documentation

Want more resources? You can browse the ESX Community Github or Cfx.re Releases board for more! -

ESX is the leading framework, trusted By thousands of commmunitys for the heighest quality roleplay servers on FiveM

+

ESX is the leading framework, trusted by thousands of communities for the highest quality roleplay servers on FiveM


From 369971387b907a061422cddbfb9eb8b5ca72ee06 Mon Sep 17 00:00:00 2001 From: Taavi <97351942+Taavi-AU@users.noreply.github.com> Date: Wed, 21 Jun 2023 19:12:24 +0800 Subject: [PATCH 173/236] format --- [core]/es_extended/server/main.lua | 38 +++++++++++++++--------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index b66bcbb5..2943c7e8 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -629,25 +629,25 @@ ESX.RegisterServerCallback('esx:getPlayerNames', function(source, cb, players) end) ESX.RegisterServerCallback("esx:spawnVehicle", function(source,cb,vehData) - local ped = GetPlayerPed(source) - local vehicle = nil - local model = vehData.model or `ADDER` - local coords = vehData.coords - local heading = coords.w or 0.0 - local warp = vehData.warp - local props = vehData.props or {} - ESX.OneSync.SpawnVehicle(model, coords, heading, props, function(id) - vehicle = NetworkGetEntityFromNetworkId(id) - if warp then - local timeout = 0 - while GetVehiclePedIsIn(ped) ~= vehicle and timeout <= 15 do - Wait(0) - TaskWarpPedIntoVehicle(ped, vehicle, -1) - timeout += 1 - end - end - cb(id) - end) + local ped = GetPlayerPed(sourcec) + local vehicle = nil + local model = vehData.model or `ADDER` + local coords = vehData.coords or GetEntityCoords(ped) + local heading = coords.w or 0.0 + local warp = vehData.warp + local props = vehData.props or {} + ESX.OneSync.SpawnVehicle(model, coords, heading, props, function(id) + vehicle = NetworkGetEntityFromNetworkId(id) + if warp then + local timeout = 0 + while GetVehiclePedIsIn(ped) ~= vehicle and timeout <= 15 do + Wait(0) + TaskWarpPedIntoVehicle(ped, vehicle, -1) + timeout += 1 + end + end + cb(id) + end) end) AddEventHandler('txAdmin:events:scheduledRestart', function(eventData) From f7ec2e5b7cafd78de9c23366eb8f7954012eaabb Mon Sep 17 00:00:00 2001 From: Taavi <97351942+Taavi-AU@users.noreply.github.com> Date: Wed, 21 Jun 2023 19:15:09 +0800 Subject: [PATCH 174/236] remove stupid vars can be reverted if better with vars, imo its uglier with vars --- [core]/es_extended/server/main.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 2943c7e8..68cc298a 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -631,12 +631,7 @@ end) ESX.RegisterServerCallback("esx:spawnVehicle", function(source,cb,vehData) local ped = GetPlayerPed(sourcec) local vehicle = nil - local model = vehData.model or `ADDER` - local coords = vehData.coords or GetEntityCoords(ped) - local heading = coords.w or 0.0 - local warp = vehData.warp - local props = vehData.props or {} - ESX.OneSync.SpawnVehicle(model, coords, heading, props, function(id) + ESX.OneSync.SpawnVehicle(vehData.model or `ADDER`, vehData.coords or GetEntityCoords(ped), vehData.coords.w or 0.0, vehData.props or {}, function(id) vehicle = NetworkGetEntityFromNetworkId(id) if warp then local timeout = 0 From d96cb4c52c0ddd0dbe5c68c6d765fca09f8041de Mon Sep 17 00:00:00 2001 From: Taavi <97351942+Taavi-AU@users.noreply.github.com> Date: Wed, 21 Jun 2023 19:16:22 +0800 Subject: [PATCH 175/236] remove vehicle = nil, useless --- [core]/es_extended/server/main.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 68cc298a..b96d6226 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -630,9 +630,8 @@ end) ESX.RegisterServerCallback("esx:spawnVehicle", function(source,cb,vehData) local ped = GetPlayerPed(sourcec) - local vehicle = nil ESX.OneSync.SpawnVehicle(vehData.model or `ADDER`, vehData.coords or GetEntityCoords(ped), vehData.coords.w or 0.0, vehData.props or {}, function(id) - vehicle = NetworkGetEntityFromNetworkId(id) + local vehicle = NetworkGetEntityFromNetworkId(id) if warp then local timeout = 0 while GetVehiclePedIsIn(ped) ~= vehicle and timeout <= 15 do From c3dea9e80c5b00d5fd12b5e68334bd068447cf98 Mon Sep 17 00:00:00 2001 From: Taavi <97351942+Taavi-AU@users.noreply.github.com> Date: Wed, 21 Jun 2023 19:20:13 +0800 Subject: [PATCH 176/236] fix warp = nil --- [core]/es_extended/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index b96d6226..1ae94274 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -632,7 +632,7 @@ ESX.RegisterServerCallback("esx:spawnVehicle", function(source,cb,vehData) local ped = GetPlayerPed(sourcec) ESX.OneSync.SpawnVehicle(vehData.model or `ADDER`, vehData.coords or GetEntityCoords(ped), vehData.coords.w or 0.0, vehData.props or {}, function(id) local vehicle = NetworkGetEntityFromNetworkId(id) - if warp then + if vehData.warp then local timeout = 0 while GetVehiclePedIsIn(ped) ~= vehicle and timeout <= 15 do Wait(0) From 3489682ac36234e314b65d083c9c8256bc5dca3d Mon Sep 17 00:00:00 2001 From: Taavi <97351942+Taavi-AU@users.noreply.github.com> Date: Wed, 21 Jun 2023 19:20:55 +0800 Subject: [PATCH 177/236] incorrect spelling for source --- [core]/es_extended/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 1ae94274..a569fd08 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -629,7 +629,7 @@ ESX.RegisterServerCallback('esx:getPlayerNames', function(source, cb, players) end) ESX.RegisterServerCallback("esx:spawnVehicle", function(source,cb,vehData) - local ped = GetPlayerPed(sourcec) + local ped = GetPlayerPed(source) ESX.OneSync.SpawnVehicle(vehData.model or `ADDER`, vehData.coords or GetEntityCoords(ped), vehData.coords.w or 0.0, vehData.props or {}, function(id) local vehicle = NetworkGetEntityFromNetworkId(id) if vehData.warp then From dc6567d184a8fd132633c6fec4d80240a0dcb0e6 Mon Sep 17 00:00:00 2001 From: GLN <48370836+GLN123@users.noreply.github.com> Date: Wed, 21 Jun 2023 15:46:19 +0200 Subject: [PATCH 178/236] Update main.lua --- [core]/esx_multicharacter/server/main.lua | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index a31439db..12ceacc9 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -214,13 +214,16 @@ end if isNew then awaitingRegistration[source] = charid else - local identifier = PREFIX..charid .. ':' .. GetIdentifier(source) - if not ESX.GetPlayerFromIdentifier(identifier) then - TriggerEvent('esx:onPlayerJoined', source, PREFIX..charid) - ESX.Players[GetIdentifier(source)] = true - else - DropPlayer(source, 'Your identifier '..identifier..' is already on the server!') + if not ESX.GetConfig().EnableDebug then + local identifier = PREFIX..charid .. ':' .. GetIdentifier(source) + if ESX.GetPlayerFromIdentifier(identifier) then + DropPlayer(source, 'Your identifier '..identifier..' is already on the server!') + return + end end + + TriggerEvent('esx:onPlayerJoined', source, PREFIX..charid) + ESX.Players[GetIdentifier(source)] = true end end end) From 3382605469b100f2e8c0e4e7d3918c368f5664aa Mon Sep 17 00:00:00 2001 From: Taavi <97351942+Taavi-AU@users.noreply.github.com> Date: Thu, 22 Jun 2023 12:28:28 +0800 Subject: [PATCH 179/236] Update main.lua --- [core]/es_extended/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index a569fd08..d1f08bc1 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -631,8 +631,8 @@ end) ESX.RegisterServerCallback("esx:spawnVehicle", function(source,cb,vehData) local ped = GetPlayerPed(source) ESX.OneSync.SpawnVehicle(vehData.model or `ADDER`, vehData.coords or GetEntityCoords(ped), vehData.coords.w or 0.0, vehData.props or {}, function(id) - local vehicle = NetworkGetEntityFromNetworkId(id) if vehData.warp then + local vehicle = NetworkGetEntityFromNetworkId(id) local timeout = 0 while GetVehiclePedIsIn(ped) ~= vehicle and timeout <= 15 do Wait(0) From 3d4e07fb8edeef5c1b99e79bbb0babb0272d0557 Mon Sep 17 00:00:00 2001 From: Gellipapa Date: Thu, 22 Jun 2023 23:27:46 +0200 Subject: [PATCH 180/236] :adhesive_bandage: fix get current resource name --- [core]/es_extended/locale.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/[core]/es_extended/locale.lua b/[core]/es_extended/locale.lua index 18120067..37c7e091 100644 --- a/[core]/es_extended/locale.lua +++ b/[core]/es_extended/locale.lua @@ -2,8 +2,7 @@ Locales = {} function Translate(str, ...) -- Translate string if not str then - local currentResourceName = GetCurrentResourceName() - print(("[^1ERROR^7] Resource ^5%s^7 You did not specify a parameter for the Translate function or the value is nil!"):format(currentResourceName)) + print(("[^1ERROR^7] Resource ^5%s^7 You did not specify a parameter for the Translate function or the value is nil!"):format(GetInvokingResource() or GetCurrentResourceName())) return 'Given translate function parameter is nil!' end if Locales[Config.Locale] then From ef013312014efbd5209197636e155d582382b303 Mon Sep 17 00:00:00 2001 From: Gellipapa Date: Thu, 22 Jun 2023 23:30:34 +0200 Subject: [PATCH 181/236] :adhesive_bandage: fix menu stuck --- [core]/esx_menu_default/client/main.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/[core]/esx_menu_default/client/main.lua b/[core]/esx_menu_default/client/main.lua index 65d62d09..81a2f45f 100644 --- a/[core]/esx_menu_default/client/main.lua +++ b/[core]/esx_menu_default/client/main.lua @@ -15,6 +15,9 @@ end local function closeMenu(namespace, name) CurrentNameSpace = namespace OpenedMenus -= 1 + if OpenedMenus < 0 then + OpenedMenus = 0 + end SendNUIMessage({ action = 'closeMenu', namespace = namespace, From 04c287330a68a6d42244d8b0fe89d9c9f4280e7f Mon Sep 17 00:00:00 2001 From: Gellipapa Date: Thu, 22 Jun 2023 23:37:41 +0200 Subject: [PATCH 182/236] :pencil2: fix typo --- [core]/es_extended/server/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 1d290795..b1b16e56 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -378,7 +378,7 @@ function ESX.SetPlayerFunctionOverride(index) return print('[^3WARNING^7] No valid index provided.') end - Core.PlayerFunctionOverride = index + Config.PlayerFunctionOverride = index end function ESX.GetItemLabel(item) From 5e44373d80c3eb94bad3b068788f5c742adb3e30 Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Mon, 26 Jun 2023 13:26:24 +0200 Subject: [PATCH 183/236] refactor: simplify the `GetExtendedPlayers` function --- [core]/es_extended/server/functions.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 202e1b5e..9b6e2135 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -214,13 +214,11 @@ end ESX.GetPlayers = GetPlayers function ESX.GetExtendedPlayers(key, val) + if not key then return ESX.Players end + local xPlayers = {} for k, v in pairs(ESX.Players) do - if key then - if (key == 'job' and v.job.name == val) or v[key] == val then - xPlayers[#xPlayers + 1] = v - end - else + if (key == 'job' and v.job.name == val) or v[key] == val then xPlayers[#xPlayers + 1] = v end end From 0104223af455764fc3fc11ecc7e8531f36574dc6 Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Tue, 27 Jun 2023 14:39:27 +0200 Subject: [PATCH 184/236] feat: `GetExtendedPlayers` can take a table as a second parameter --- [core]/es_extended/server/functions.lua | 26 ++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index fbda3d4e..a3a34878 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -221,15 +221,35 @@ end ESX.GetPlayers = GetPlayers +local function checkTable(key, val, player) + for valIndex = 1, #val do + local value = val[valIndex] + if not xPlayers[value] then + xPlayers[value] = {} + end + + if (key == 'job' and player.job.name == value) or player[key] == value then + xPlayers[value][#xPlayers[value] + 1] = v + end + end +end + function ESX.GetExtendedPlayers(key, val) if not key then return ESX.Players end local xPlayers = {} - for k, v in pairs(ESX.Players) do - if (key == 'job' and v.job.name == val) or v[key] == val then - xPlayers[#xPlayers + 1] = v + if type(val) == "table" then + for k, v in pairs(ESX.Players) do + checkTable(key, val, v) + end + else + for k, v in pairs(ESX.Players) do + if (key == 'job' and v.job.name == val) or v[key] == val then + xPlayers[#xPlayers + 1] = v + end end end + return xPlayers end From f43c81f07e50f0e3659cf2613e1ac770adefa5f7 Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Tue, 27 Jun 2023 14:43:13 +0200 Subject: [PATCH 185/236] refactor: add forgotten codes --- [core]/es_extended/server/functions.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index a3a34878..4192a51f 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -221,7 +221,7 @@ end ESX.GetPlayers = GetPlayers -local function checkTable(key, val, player) +local function checkTable(key, val, player, xPlayers) for valIndex = 1, #val do local value = val[valIndex] if not xPlayers[value] then @@ -229,7 +229,7 @@ local function checkTable(key, val, player) end if (key == 'job' and player.job.name == value) or player[key] == value then - xPlayers[value][#xPlayers[value] + 1] = v + xPlayers[value][#xPlayers[value] + 1] = player end end end @@ -240,7 +240,7 @@ function ESX.GetExtendedPlayers(key, val) local xPlayers = {} if type(val) == "table" then for k, v in pairs(ESX.Players) do - checkTable(key, val, v) + checkTable(key, val, v, xPlayers) end else for k, v in pairs(ESX.Players) do From ad4227d9745419699681f0fe22490d4906943718 Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Tue, 27 Jun 2023 14:48:26 +0200 Subject: [PATCH 186/236] refactor: correction of lint errors --- [core]/es_extended/server/functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 4192a51f..6ef5bbff 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -239,11 +239,11 @@ function ESX.GetExtendedPlayers(key, val) local xPlayers = {} if type(val) == "table" then - for k, v in pairs(ESX.Players) do + for _, v in pairs(ESX.Players) do checkTable(key, val, v, xPlayers) end else - for k, v in pairs(ESX.Players) do + for _, v in pairs(ESX.Players) do if (key == 'job' and v.job.name == val) or v[key] == val then xPlayers[#xPlayers + 1] = v end From c4bff589d6fb0d005f05f8b7574923cb7142710f Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Tue, 27 Jun 2023 15:12:53 +0200 Subject: [PATCH 187/236] refactor(esx_skin): correction of lint errors --- [core]/esx_skin/client/main.lua | 13 +++++-------- [core]/esx_skin/server/main.lua | 4 ++-- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/[core]/esx_skin/client/main.lua b/[core]/esx_skin/client/main.lua index 367e27a6..de5b919f 100644 --- a/[core]/esx_skin/client/main.lua +++ b/[core]/esx_skin/client/main.lua @@ -1,8 +1,8 @@ local lastSkin, cam, isCameraActive -local firstSpawn, zoomOffset, camOffset, heading, skinLoaded = true, 0.0, 0.0, 90.0, false +local firstSpawn, zoomOffset, camOffset, heading = true, 0.0, 0.0, 90.0, false RegisterNetEvent('esx:playerLoaded') -AddEventHandler('esx:playerLoaded', function(xPlayer, isNew, skin) +AddEventHandler('esx:playerLoaded', function(_, _, skin) TriggerServerEvent('esx_skin:setWeight', skin) end) @@ -117,7 +117,7 @@ function OpenMenu(submitCb, cancelCb, restrict) menu.refresh() end - end, function(data, menu) + end, function() DeleteSkinCam() end) end) @@ -248,7 +248,6 @@ end AddEventHandler('esx_skin:resetFirstSpawn', function() firstSpawn = true - skinLoaded = false ESX.PlayerLoaded = false end) @@ -259,15 +258,13 @@ AddEventHandler('esx_skin:playerRegistered', function() end if firstSpawn then - ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin) + ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin) if skin == nil then TriggerEvent('skinchanger:loadSkin', {sex = 0}, OpenSaveableMenu) Wait(100) - skinLoaded = true else TriggerEvent('skinchanger:loadSkin', skin) Wait(100) - skinLoaded = true end end) @@ -277,7 +274,7 @@ AddEventHandler('esx_skin:playerRegistered', function() end) RegisterNetEvent('esx:playerLoaded') -AddEventHandler('esx:playerLoaded', function(xPlayer) +AddEventHandler('esx:playerLoaded', function() ESX.PlayerLoaded = true end) diff --git a/[core]/esx_skin/server/main.lua b/[core]/esx_skin/server/main.lua index 73f47cd0..29d3da28 100644 --- a/[core]/esx_skin/server/main.lua +++ b/[core]/esx_skin/server/main.lua @@ -71,10 +71,10 @@ ESX.RegisterServerCallback('esx_skin:getPlayerSkin', function(source, cb) end) end) -ESX.RegisterCommand('skin', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('skin', 'admin', function(xPlayer) xPlayer.triggerEvent('esx_skin:openSaveableMenu') end, false, {help = TranslateCap('skin')}) -ESX.RegisterCommand('skinsave', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('skinsave', 'admin', function(xPlayer) xPlayer.triggerEvent('esx_skin:requestSaveSkin') end, false, {help = TranslateCap('saveskin')}) From 6301398c6e4a1f8b8b3a8f0befcba82f5ec0228e Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Tue, 27 Jun 2023 15:27:58 +0200 Subject: [PATCH 188/236] refactor(esx_multicharacter): correction of lint errors --- [core]/esx_multicharacter/client/main.lua | 10 +++++----- [core]/esx_multicharacter/server/commands.lua | 10 +++++----- [core]/esx_multicharacter/server/main.lua | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/[core]/esx_multicharacter/client/main.lua b/[core]/esx_multicharacter/client/main.lua index 90677046..4e5c5915 100644 --- a/[core]/esx_multicharacter/client/main.lua +++ b/[core]/esx_multicharacter/client/main.lua @@ -12,7 +12,7 @@ if ESX.GetConfig().Multichar then if NetworkIsPlayerActive(PlayerId()) then exports.spawnmanager:setAutoSpawn(false) DoScreenFadeOut(0) - while not GetResourceState('esx_context') == 'started' do + while GetResourceState('esx_context') ~= 'started' do Wait(100) end TriggerEvent("esx_multicharacter:SetupCharacters") @@ -150,7 +150,7 @@ if ESX.GetConfig().Multichar then {title = TranslateCap('return'), unselectable = false, icon = "fa-solid fa-arrow-left", description = TranslateCap('char_delete_no_description'), action = "return"} } - ESX.OpenContext("left", elements, function(element, Action) + ESX.OpenContext("left", elements, function(_, Action) if Action.action == "delete" then ESX.CloseContext() TriggerServerEvent('esx_multicharacter:DeleteCharacter', Action.value) @@ -170,7 +170,7 @@ if ESX.GetConfig().Multichar then elements[3] = {title = TranslateCap('char_disabled'), value = SelectedCharacter.value, icon ="fa-solid fa-xmark", description = TranslateCap('char_disabled_description'),} end if Config.CanDelete then elements[4] = {title = TranslateCap('char_delete'),icon ="fa-solid fa-xmark",description = TranslateCap('char_delete_description'), action = 'delete', value = SelectedCharacter.value} end - ESX.OpenContext("left", elements, function(element, Action) + ESX.OpenContext("left", elements, function(_, Action) if Action.action == "play" then SendNUIMessage({ action = "closeui" @@ -204,7 +204,7 @@ if ESX.GetConfig().Multichar then elements[#elements+1] = {title = TranslateCap('create_char'), icon = "fa-solid fa-plus", value = (#elements+1), new = true} end - ESX.OpenContext("left", elements, function(menu, SelectedCharacter) + ESX.OpenContext("left", elements, function(_, SelectedCharacter) if SelectedCharacter.new then ESX.CloseContext() local GetSlot = function() @@ -321,7 +321,7 @@ if ESX.GetConfig().Multichar then end) if Config.Relog then - RegisterCommand('relog', function(source, args, rawCommand) + RegisterCommand('relog', function() if canRelog then canRelog = false TriggerServerEvent('esx_multicharacter:relog') diff --git a/[core]/esx_multicharacter/server/commands.lua b/[core]/esx_multicharacter/server/commands.lua index 02dcdb18..ae24109f 100644 --- a/[core]/esx_multicharacter/server/commands.lua +++ b/[core]/esx_multicharacter/server/commands.lua @@ -1,4 +1,4 @@ -ESX.RegisterCommand('setslots', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('setslots', 'admin', function(xPlayer, args) local slots = MySQL.scalar('SELECT `slots` FROM `multicharacter_slots` WHERE identifier = ?', { args.identifier }) @@ -21,7 +21,7 @@ end, true, {help = TranslateCap('command_setslots'), validate = true, arguments {name = 'slots', help = TranslateCap('command_slots'), type = 'number'} }}) -ESX.RegisterCommand('remslots', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('remslots', 'admin', function(xPlayer, args) local slots = MySQL.scalar('SELECT `slots` FROM `multicharacter_slots` WHERE identifier = ?', { args.identifier }) @@ -36,7 +36,7 @@ end, true, {help = TranslateCap('command_remslots'), validate = true, arguments {name = 'identifier', help = TranslateCap('command_identifier'), type = 'string'} }}) -ESX.RegisterCommand('enablechar', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('enablechar', 'admin', function(xPlayer, args) local selectedCharacter = 'char'..args.charslot..':'..args.identifier; @@ -55,7 +55,7 @@ end, true, {help = TranslateCap('command_enablechar'), validate = true, argument {name = 'charslot', help = TranslateCap('command_charslot'), type = 'number'} }}) -ESX.RegisterCommand('disablechar', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('disablechar', 'admin', function(xPlayer, args) local selectedCharacter = 'char'..args.charslot..':'..args.identifier; @@ -74,6 +74,6 @@ end, true, {help = TranslateCap('command_disablechar'), validate = true, argumen {name = 'charslot', help = TranslateCap('command_charslot'), type = 'number'} }}) -RegisterCommand('forcelog', function(source, args, rawCommand) +RegisterCommand('forcelog', function(source) TriggerEvent('esx:playerLogout', source) end, true) diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index 12ceacc9..e09b48de 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -96,7 +96,7 @@ end TriggerClientEvent('esx_multicharacter:SetupUI', source, characters, slots) end - AddEventHandler('playerConnecting', function(playerName, setKickReason, deferrals) + AddEventHandler('playerConnecting', function(_, _, deferrals) deferrals.defer() local identifier = GetIdentifier(source) if oneSyncState == "off" or oneSyncState == "legacy" then @@ -234,7 +234,7 @@ end ESX.Players[GetIdentifier(source)] = true end) - AddEventHandler('playerDropped', function(reason) + AddEventHandler('playerDropped', function() awaitingRegistration[source] = nil ESX.Players[GetIdentifier(source)] = nil end) From 1b13ab036137f21e990baca0ab4228a880d48dcb Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Tue, 27 Jun 2023 22:39:27 +0200 Subject: [PATCH 189/236] fix(es_extended): Some lint fixes (again) --- [core]/es_extended/client/functions.lua | 4 ++-- [core]/es_extended/client/main.lua | 2 +- [core]/es_extended/client/modules/actions.lua | 2 +- [core]/es_extended/common/modules/timeout.lua | 10 +++++----- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index f56e53fe..fb550d7c 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -829,7 +829,7 @@ function ESX.Game.SetVehicleProperties(vehicle, props) end end - if props.driftTyresEnabled then + if props.driftTyresEnabled then SetDriftTyresEnabled(vehicle, true) end @@ -910,7 +910,7 @@ function ESX.Game.SetVehicleProperties(vehicle, props) SetVehicleMod(vehicle, 23, props.modFrontWheels, false) end if props.modCustomFrontWheels ~= nil then - SetVehicleMod(vehicle, 23, props.modCustomFrontWheels, false) + SetVehicleMod(vehicle, 23, props.modCustomFrontWheels, false) end if props.modBackWheels ~= nil then SetVehicleMod(vehicle, 24, props.modBackWheels, false) diff --git a/[core]/es_extended/client/main.lua b/[core]/es_extended/client/main.lua index 3fe61e8e..60098916 100644 --- a/[core]/es_extended/client/main.lua +++ b/[core]/es_extended/client/main.lua @@ -646,7 +646,7 @@ local function noclipThread() end RegisterNetEvent("esx:noclip") -AddEventHandler("esx:noclip", function(input) +AddEventHandler("esx:noclip", function() ESX.TriggerServerCallback("esx:isUserAdmin", function(admin) if not admin then return diff --git a/[core]/es_extended/client/modules/actions.lua b/[core]/es_extended/client/modules/actions.lua index 95e14130..aec543e9 100644 --- a/[core]/es_extended/client/modules/actions.lua +++ b/[core]/es_extended/client/modules/actions.lua @@ -52,7 +52,7 @@ CreateThread(function() local vehicle = GetVehiclePedIsTryingToEnter(playerPed) local plate = GetVehicleNumberPlateText(vehicle) local seat = GetSeatPedIsTryingToEnter(playerPed) - local displayName, netId = GetData(vehicle) + local _, netId = GetData(vehicle) isEnteringVehicle = true TriggerEvent('esx:enteringVehicle', vehicle, plate, seat, netId) TriggerServerEvent('esx:enteringVehicle', plate, seat, netId) diff --git a/[core]/es_extended/common/modules/timeout.lua b/[core]/es_extended/common/modules/timeout.lua index 419fff1a..7b559327 100644 --- a/[core]/es_extended/common/modules/timeout.lua +++ b/[core]/es_extended/common/modules/timeout.lua @@ -6,11 +6,11 @@ ESX.SetTimeout = function(msec, cb) SetTimeout(msec, function() if CancelledTimeouts[id] then - CancelledTimeouts[id] = nil - return - end + CancelledTimeouts[id] = nil + return + end - cb() + cb() end) TimeoutCount = id @@ -20,4 +20,4 @@ end ESX.ClearTimeout = function(id) CancelledTimeouts[id] = true -end +end \ No newline at end of file From 59325fab92a104def591cde4f3499813e63dffb3 Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Tue, 27 Jun 2023 23:38:36 +0200 Subject: [PATCH 190/236] refactor(es_extended): correction of lint errors --- [core]/es_extended/client/functions.lua | 6 +-- [core]/es_extended/common/functions.lua | 6 +-- [core]/es_extended/config.weapons.lua | 2 +- .../server/classes/overrides/oxinventory.lua | 26 ++++----- [core]/es_extended/server/classes/player.lua | 29 +++++----- [core]/es_extended/server/commands.lua | 54 +++++++++---------- [core]/es_extended/server/common.lua | 2 +- [core]/es_extended/server/functions.lua | 10 ++-- [core]/es_extended/server/main.lua | 16 +++--- [core]/es_extended/server/onesync.lua | 4 +- 10 files changed, 76 insertions(+), 79 deletions(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index f56e53fe..3266cdb4 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -1225,7 +1225,7 @@ function ESX.ShowInventory() {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} } - ESX.OpenContext("right", elementsG, function(menuG, _) + ESX.OpenContext("right", elementsG, function(menuG) local quantity = tonumber(menuG.eles[2].inputValue) if quantity and quantity > 0 and element.count >= quantity then @@ -1264,7 +1264,7 @@ function ESX.ShowInventory() {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} } - ESX.OpenContext("right", elementsR, function(menuR, _) + ESX.OpenContext("right", elementsR, function(menuR) local quantity = tonumber(menuR.eles[2].inputValue) if quantity and quantity > 0 and element.count >= quantity then @@ -1299,7 +1299,7 @@ function ESX.ShowInventory() {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} } - ESX.OpenContext("right", elementsGA, function(menuGA, _) + ESX.OpenContext("right", elementsGA, function(menuGA) local quantity = tonumber(menuGA.eles[2].inputValue) if quantity and quantity > 0 then diff --git a/[core]/es_extended/common/functions.lua b/[core]/es_extended/common/functions.lua index afee79b8..c96241fb 100644 --- a/[core]/es_extended/common/functions.lua +++ b/[core]/es_extended/common/functions.lua @@ -72,20 +72,20 @@ function ESX.DumpTable(table, nb) if type(table) == 'table' then local s = '' - for i = 1, nb + 1, 1 do + for _ = 1, nb + 1, 1 do s = s .. " " end s = '{\n' for k, v in pairs(table) do if type(k) ~= 'number' then k = '"'..k..'"' end - for i = 1, nb, 1 do + for _ = 1, nb, 1 do s = s .. " " end s = s .. '['..k..'] = ' .. ESX.DumpTable(v, nb + 1) .. ',\n' end - for i = 1, nb, 1 do + for _ = 1, nb, 1 do s = s .. " " end diff --git a/[core]/es_extended/config.weapons.lua b/[core]/es_extended/config.weapons.lua index aef2af7d..135d15b0 100644 --- a/[core]/es_extended/config.weapons.lua +++ b/[core]/es_extended/config.weapons.lua @@ -985,7 +985,7 @@ Config.Weapons = { }, {name = 'WEAPON_ACIDPACKAGE', label = TranslateCap('weapon_acidpackage'), components = {}}, {name = 'WEAPON_CANDYCANE', label = TranslateCap('weapon_candycane'), components = {}}, - {name = 'WEAPON_RAILGUNXM3', label = TranslateCap('weapon_railgunxm3'), ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RAILGUN`}, tints = Config.DefaultWeaponTints, + {name = 'WEAPON_RAILGUNXM3', label = TranslateCap('weapon_railgunxm3'), ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RAILGUN`}, tints = Config.DefaultWeaponTints, components = { {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_RAILGUNXM3_CLIP_01`}, }, diff --git a/[core]/es_extended/server/classes/overrides/oxinventory.lua b/[core]/es_extended/server/classes/overrides/oxinventory.lua index 4b4aa349..dfab6174 100644 --- a/[core]/es_extended/server/classes/overrides/oxinventory.lua +++ b/[core]/es_extended/server/classes/overrides/oxinventory.lua @@ -36,7 +36,7 @@ Core.PlayerFunctionOverrides.OxInventory = { end end, - getLoadout = function(_) + getLoadout = function() return function() return {} end @@ -144,49 +144,49 @@ Core.PlayerFunctionOverrides.OxInventory = { end end, - addWeapon = function(_) + addWeapon = function() return function() end end, - addWeaponComponent = function(_) + addWeaponComponent = function() return function() end end, - addWeaponAmmo = function(_) + addWeaponAmmo = function() return function() end end, - updateWeaponAmmo = function(_) + updateWeaponAmmo = function() return function() end end, - setWeaponTint = function(_) + setWeaponTint = function() return function() end end, - getWeaponTint = function(_) + getWeaponTint = function() return function() end end, - removeWeapon = function(_) + removeWeapon = function() return function() end end, - removeWeaponComponent = function(_) + removeWeaponComponent = function() return function() end end, - removeWeaponAmmo = function(_) + removeWeaponAmmo = function() return function() end end, - hasWeaponComponent = function(_) + hasWeaponComponent = function() return function() return false end end, - hasWeapon = function(_) + hasWeapon = function() return function() return false end @@ -198,7 +198,7 @@ Core.PlayerFunctionOverrides.OxInventory = { end end, - getWeapon = function(_) + getWeapon = function() return function() end end, diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index 6d9b2b48..98fbe794 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -1,8 +1,5 @@ -local SetTimeout = SetTimeout local GetPlayerPed = GetPlayerPed -local DoesEntityExist = DoesEntityExist local GetEntityCoords = GetEntityCoords -local GetEntityHeading = GetEntityHeading function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, weight, job, loadout, name, coords, metadata) local targetOverrides = Config.PlayerFunctionOverride and Core.PlayerFunctionOverrides[Config.PlayerFunctionOverride] or {} @@ -165,7 +162,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, if #v.components > 0 then local components = {} - for k2,component in ipairs(v.components) do + for _, component in ipairs(v.components) do if component ~= 'clip_default' then components[#components + 1] = component end @@ -257,7 +254,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end end - function self.getInventoryItem(name, metadata) + function self.getInventoryItem(name) for _, v in ipairs(self.inventory) do if v.name == name then return v @@ -265,7 +262,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end end - function self.addInventoryItem(name, count, metadata, slot) + function self.addInventoryItem(name, count) local item = self.getInventoryItem(name) if item then @@ -278,7 +275,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end end - function self.removeInventoryItem(name, count, metadata, slot) + function self.removeInventoryItem(name, count) local item = self.getInventoryItem(name) if item then @@ -299,7 +296,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end end - function self.setInventoryItem(name, count, metadata) + function self.setInventoryItem(name, count) local item = self.getInventoryItem(name) if item and count >= 0 then @@ -321,7 +318,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, return self.maxWeight end - function self.canCarryItem(name, count, metadata) + function self.canCarryItem(name, count) if ESX.Items[name] then local currentWeight, itemWeight = self.weight, ESX.Items[name].weight local newWeight = currentWeight + (itemWeight * count) @@ -422,7 +419,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end function self.addWeaponAmmo(weaponName, ammoCount) - local loadoutNum, weapon = self.getWeapon(weaponName) + local _, weapon = self.getWeapon(weaponName) if weapon then weapon.ammo = weapon.ammo + ammoCount @@ -431,7 +428,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end function self.updateWeaponAmmo(weaponName, ammoCount) - local loadoutNum, weapon = self.getWeapon(weaponName) + local _, weapon = self.getWeapon(weaponName) if weapon then weapon.ammo = ammoCount @@ -453,7 +450,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end function self.getWeaponTint(weaponName) - local loadoutNum, weapon = self.getWeapon(weaponName) + local _, weapon = self.getWeapon(weaponName) if weapon then return weapon.tintIndex @@ -469,7 +466,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, if v.name == weaponName then weaponLabel = v.label - for k2,v2 in ipairs(v.components) do + for _,v2 in ipairs(v.components) do self.removeWeaponComponent(weaponName, v2) end @@ -507,7 +504,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end function self.removeWeaponAmmo(weaponName, ammoCount) - local loadoutNum, weapon = self.getWeapon(weaponName) + local _, weapon = self.getWeapon(weaponName) if weapon then weapon.ammo = weapon.ammo - ammoCount @@ -516,7 +513,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end function self.hasWeaponComponent(weaponName, weaponComponent) - local loadoutNum, weapon = self.getWeapon(weaponName) + local _, weapon = self.getWeapon(weaponName) if weapon then for _, v in ipairs(weapon.components) do @@ -541,7 +538,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, return false end - function self.hasItem(item, metadata) + function self.hasItem(item) for _, v in ipairs(self.inventory) do if (v.name == item) and (v.count >= 1) then return v, v.count diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index c20edf68..831e6b76 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -1,4 +1,4 @@ -ESX.RegisterCommand('setcoords', 'admin', function(xPlayer, args, _) +ESX.RegisterCommand('setcoords', 'admin', function(xPlayer, args) xPlayer.setCoords({x = args.x, y = args.y, z = args.z}) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Set Coordinates /setcoords Triggered!", "pink", { @@ -76,7 +76,7 @@ ESX.RegisterCommand('car', 'admin', function(xPlayer, args, showError) ESX.OneSync.SpawnVehicle(args.car, playerCoords, playerHeading, upgrades, function(networkId) if networkId then local vehicle = NetworkGetEntityFromNetworkId(networkId) - for i = 1, 20 do + for _ = 1, 20 do Wait(0) SetPedIntoVehicle(playerPed, vehicle, -1) @@ -93,7 +93,7 @@ end, false, {help = TranslateCap('command_car'), validate = false, arguments = { {name = 'car',validate = false, help = TranslateCap('command_car_car'), type = 'string'} }}) -ESX.RegisterCommand({'cardel', 'dv'}, 'admin', function(xPlayer, args, _) +ESX.RegisterCommand({'cardel', 'dv'}, 'admin', function(xPlayer, args) local PedVehicle = GetVehiclePedIsIn(GetPlayerPed(xPlayer.source), false) if DoesEntityExist(PedVehicle) then DeleteEntity(PedVehicle) @@ -176,7 +176,7 @@ end, true, {help = TranslateCap('command_removeaccountmoney'), validate = true, }}) if not Config.OxInventory then - ESX.RegisterCommand('giveitem', 'admin', function(xPlayer, args, _) + ESX.RegisterCommand('giveitem', 'admin', function(xPlayer, args) args.playerId.addInventoryItem(args.item, args.count) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Give Item /giveitem Triggered!", "pink", { @@ -265,11 +265,11 @@ if not Config.OxInventory then }}) end -ESX.RegisterCommand({'clear', 'cls'}, 'user', function(xPlayer, _, _) +ESX.RegisterCommand({'clear', 'cls'}, 'user', function(xPlayer) xPlayer.triggerEvent('chat:clear') end, false, {help = TranslateCap('command_clear')}) -ESX.RegisterCommand({'clearall', 'clsall'}, 'admin', function(xPlayer, _, _) +ESX.RegisterCommand({'clearall', 'clsall'}, 'admin', function(xPlayer) TriggerClientEvent('chat:clear', -1) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Clear Chat /clearall Triggered!", "pink", { @@ -279,13 +279,13 @@ ESX.RegisterCommand({'clearall', 'clsall'}, 'admin', function(xPlayer, _, _) end end, true, {help = TranslateCap('command_clearall')}) -ESX.RegisterCommand("refreshjobs", 'admin', function(xPlayer, _, _) +ESX.RegisterCommand("refreshjobs", 'admin', function() ESX.RefreshJobs() end, true, {help = TranslateCap('command_clearall')}) if not Config.OxInventory then - ESX.RegisterCommand('clearinventory', 'admin', function(xPlayer, args, _) - for k, v in ipairs(args.playerId.inventory) do + ESX.RegisterCommand('clearinventory', 'admin', function(xPlayer, args) + for _, v in ipairs(args.playerId.inventory) do if v.count > 0 then args.playerId.setInventoryItem(v.name, 0) end @@ -302,7 +302,7 @@ if not Config.OxInventory then {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) - ESX.RegisterCommand('clearloadout', 'admin', function(xPlayer, args, _) + ESX.RegisterCommand('clearloadout', 'admin', function(xPlayer, args) for i=#args.playerId.loadout, 1, -1 do args.playerId.removeWeapon(args.playerId.loadout[i].name) end @@ -319,7 +319,7 @@ if not Config.OxInventory then }}) end -ESX.RegisterCommand('setgroup', 'admin', function(xPlayer, args, _) +ESX.RegisterCommand('setgroup', 'admin', function(xPlayer, args) if not args.playerId then args.playerId = xPlayer.source end if args.group == "superadmin" then args.group = "admin" print("[^3WARNING^7] ^5Superadmin^7 detected, setting group to ^5admin^7") end args.playerId.setGroup(args.group) @@ -336,32 +336,31 @@ end, true, {help = TranslateCap('command_setgroup'), validate = true, arguments {name = 'group', help = TranslateCap('command_setgroup_group'), type = 'string'}, }}) -ESX.RegisterCommand('save', 'admin', function(xPlayer, args, _) +ESX.RegisterCommand('save', 'admin', function(_, args) Core.SavePlayer(args.playerId) print("[^2Info^0] Saved Player - ^5".. args.playerId.source .. "^0") end, true, {help = TranslateCap('command_save'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) -ESX.RegisterCommand('saveall', 'admin', function(xPlayer, args, _) +ESX.RegisterCommand('saveall', 'admin', function() Core.SavePlayers() end, true, {help = TranslateCap('command_saveall')}) -ESX.RegisterCommand('group', {"user", "admin"}, function(xPlayer, _, _) +ESX.RegisterCommand('group', {"user", "admin"}, function(xPlayer) print(xPlayer.getName()..", You are currently: ^5".. xPlayer.getGroup() .. "^0") end, true) -ESX.RegisterCommand('job', {"user", "admin"}, function(xPlayer, _, _) +ESX.RegisterCommand('job', {"user", "admin"}, function(xPlayer) print(xPlayer.getName()..", You are currently: ^5".. xPlayer.getJob().name.. "^0 - ^5".. xPlayer.getJob().grade_label .. "^0") end, true) -ESX.RegisterCommand('info', {"user", "admin"}, function(xPlayer, _, _) +ESX.RegisterCommand('info', {"user", "admin"}, function(xPlayer) local job = xPlayer.getJob().name - local jobgrade = xPlayer.getJob().grade_name print("^2ID : ^5"..xPlayer.source.." ^0| ^2Name:^5"..xPlayer.getName().." ^0 | ^2Group:^5"..xPlayer.getGroup().."^0 | ^2Job:^5".. job.."^0") end, true) -ESX.RegisterCommand('coords', "admin", function(xPlayer, _, _) +ESX.RegisterCommand('coords', "admin", function(xPlayer) local ped = GetPlayerPed(xPlayer.source) local coords = GetEntityCoords(ped, false) local heading = GetEntityHeading(ped) @@ -369,7 +368,7 @@ ESX.RegisterCommand('coords', "admin", function(xPlayer, _, _) print("Coords - Vector4: ^5".. vector4(coords.x, coords.y, coords.z, heading) .. "^0") end, true) -ESX.RegisterCommand('tpm', "admin", function(xPlayer, _, _) +ESX.RegisterCommand('tpm', "admin", function(xPlayer) xPlayer.triggerEvent("esx:tpm") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin Teleport /tpm Triggered!", "pink", { @@ -379,7 +378,7 @@ ESX.RegisterCommand('tpm', "admin", function(xPlayer, _, _) end end, true) -ESX.RegisterCommand('goto', "admin", function(xPlayer, args, _) +ESX.RegisterCommand('goto', "admin", function(xPlayer, args) local targetCoords = args.playerId.getCoords() xPlayer.setCoords(targetCoords) if Config.AdminLogging then @@ -394,7 +393,8 @@ end, true, {help = TranslateCap('command_goto'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) -ESX.RegisterCommand('bring', "admin", function(xPlayer, args, _) +ESX.RegisterCommand('bring', "admin", function(xPlayer, args) + local targetCoords = args.playerId.getCoords() local playerCoords = xPlayer.getCoords() args.playerId.setCoords(playerCoords) if Config.AdminLogging then @@ -409,7 +409,7 @@ end, true, {help = TranslateCap('command_bring'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) -ESX.RegisterCommand('kill', "admin", function(xPlayer, args, _) +ESX.RegisterCommand('kill', "admin", function(xPlayer, args) args.playerId.triggerEvent("esx:killPlayer") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Kill Command /kill Triggered!", "pink", { @@ -422,7 +422,7 @@ end, true, {help = TranslateCap('command_kill'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) -ESX.RegisterCommand('freeze', "admin", function(xPlayer, args, _) +ESX.RegisterCommand('freeze', "admin", function(xPlayer, args) args.playerId.triggerEvent('esx:freezePlayer', "freeze") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin Freeze /freeze Triggered!", "pink", { @@ -435,7 +435,7 @@ end, true, {help = TranslateCap('command_freeze'), validate = true, arguments = {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) -ESX.RegisterCommand('unfreeze', "admin", function(xPlayer, args, _) +ESX.RegisterCommand('unfreeze', "admin", function(xPlayer, args) args.playerId.triggerEvent('esx:freezePlayer', "unfreeze") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin UnFreeze /unfreeze Triggered!", "pink", { @@ -448,7 +448,7 @@ end, true, {help = TranslateCap('command_unfreeze'), validate = true, arguments {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) -ESX.RegisterCommand("noclip", 'admin', function(xPlayer, _, _) +ESX.RegisterCommand("noclip", 'admin', function(xPlayer) xPlayer.triggerEvent('esx:noclip') if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin NoClip /noclip Triggered!", "pink", { @@ -458,10 +458,10 @@ ESX.RegisterCommand("noclip", 'admin', function(xPlayer, _, _) end end, false) -ESX.RegisterCommand('players', "admin", function(xPlayer, _, _) +ESX.RegisterCommand('players', "admin", function() local xPlayers = ESX.GetExtendedPlayers() -- Returns all xPlayers print("^5"..#xPlayers.." ^2online player(s)^0") - for i = 1, #(xPlayers) do + for i = 1, #(xPlayers) do local xPlayer = xPlayers[i] print("^1[ ^2ID : ^5"..xPlayer.source.." ^0| ^2Name : ^5"..xPlayer.getName().." ^0 | ^2Group : ^5"..xPlayer.getGroup().." ^0 | ^2Identifier : ^5".. xPlayer.identifier .."^1]^0\n") end diff --git a/[core]/es_extended/server/common.lua b/[core]/es_extended/server/common.lua index 7e3d3ebb..638593c0 100644 --- a/[core]/es_extended/server/common.lua +++ b/[core]/es_extended/server/common.lua @@ -42,7 +42,7 @@ MySQL.ready(function() Core.DatabaseConnected = true if not Config.OxInventory then local items = MySQL.query.await('SELECT * FROM items') - for k, v in ipairs(items) do + for _, v in ipairs(items) do ESX.Items[v.name] = {label = v.label, weight = v.weight, rare = v.rare, canRemove = v.can_remove} end else diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 973ca661..4d8929bc 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -6,7 +6,7 @@ end function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion) if type(name) == 'table' then - for k, v in ipairs(name) do + for _, v in ipairs(name) do ESX.RegisterCommand(v, group, cb, allowConsole, suggestion) end @@ -34,7 +34,7 @@ function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion) Core.RegisteredCommands[name] = {group = group, cb = cb, allowConsole = allowConsole, suggestion = suggestion} - RegisterCommand(name, function(playerId, args, rawCommand) + RegisterCommand(name, function(playerId, args) local command = Core.RegisteredCommands[name] if not command.allowConsole and playerId == 0 then @@ -143,7 +143,7 @@ function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion) end, true) if type(group) == 'table' then - for k, v in ipairs(group) do + for _, v in ipairs(group) do ExecuteCommand(('add_ace group.%s command.%s allow'):format(v, name)) end else @@ -248,7 +248,7 @@ function ESX.GetIdentifier(playerId) if fxDk == 1 then return "ESX-DEBUG-LICENCE" end - for k, v in ipairs(GetPlayerIdentifiers(playerId)) do + for _, v in ipairs(GetPlayerIdentifiers(playerId)) do if string.match(v, 'license:') then local identifier = string.gsub(v, 'license:', '') return identifier @@ -341,7 +341,7 @@ function ESX.CreateJob(name, label, grades) local parameters = {} local job = {name = name, label = label, grades = {}} - for k,v in pairs(grades) do + for _,v in pairs(grades) do job.grades[tostring(v.grade)] = {job_name = name, grade = v.grade, name = v.name, label = v.label, salary = v.salary, skin_male = {}, skin_female = {}} parameters[#parameters + 1] = { name, v.grade, v.name, v.label, v.salary} end diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 32abd891..ef24525d 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -92,7 +92,7 @@ function createESXPlayer(identifier, playerId, data) end if not Config.Multichar then - AddEventHandler('playerConnecting', function(name, setCallback, deferrals) + AddEventHandler('playerConnecting', function(_, _, deferrals) deferrals.defer() local playerId = source local identifier = ESX.GetIdentifier(playerId) @@ -364,7 +364,7 @@ function loadESXPlayer(identifier, playerId, isNew) end -AddEventHandler('chatMessage', function(playerId, author, message) +AddEventHandler('chatMessage', function(playerId, _, message) local xPlayer = ESX.GetPlayerFromId(playerId) if message:sub(1, 1) == '/' and playerId > 0 then CancelEvent() @@ -464,7 +464,7 @@ if not Config.OxInventory then targetXPlayer.setWeaponTint(itemName, weaponTint) end if weaponComponents then - for k, v in pairs(weaponComponents) do + for _, v in pairs(weaponComponents) do targetXPlayer.addWeaponComponent(itemName, v) end end @@ -486,7 +486,7 @@ if not Config.OxInventory then end elseif type == 'item_ammo' then if sourceXPlayer.hasWeapon(itemName) then - local weaponNum, weapon = sourceXPlayer.getWeapon(itemName) + local _, weapon = sourceXPlayer.getWeapon(itemName) if targetXPlayer.hasWeapon(itemName) then local _, weaponObject = ESX.GetWeapon(itemName) @@ -604,7 +604,7 @@ if not Config.OxInventory then xPlayer.addWeapon(pickup.name, pickup.count) xPlayer.setWeaponTint(pickup.name, pickup.tintIndex) - for k, v in ipairs(pickup.components) do + for _, v in ipairs(pickup.components) do xPlayer.addWeaponComponent(pickup.name, v) end end @@ -629,11 +629,11 @@ ESX.RegisterServerCallback('esx:isUserAdmin', function(source, cb) cb(Core.IsPlayerAdmin(source)) end) -ESX.RegisterServerCallback('esx:getGameBuild', function(source, cb) +ESX.RegisterServerCallback('esx:getGameBuild', function(_, cb) cb(tonumber(GetConvar("sv_enforceGameBuild", 1604))) end) -ESX.RegisterServerCallback('esx:getOtherPlayerData', function(source, cb, target) +ESX.RegisterServerCallback('esx:getOtherPlayerData', function(_, cb, target) local xPlayer = ESX.GetPlayerFromId(target) cb({identifier = xPlayer.identifier, accounts = xPlayer.getAccounts(), inventory = xPlayer.getInventory(), job = xPlayer.getJob(), @@ -643,7 +643,7 @@ end) ESX.RegisterServerCallback('esx:getPlayerNames', function(source, cb, players) players[source] = nil - for playerId, v in pairs(players) do + for playerId, _ in pairs(players) do local xPlayer = ESX.GetPlayerFromId(playerId) if xPlayer then diff --git a/[core]/es_extended/server/onesync.lua b/[core]/es_extended/server/onesync.lua index bcb694a7..7316fefd 100644 --- a/[core]/es_extended/server/onesync.lua +++ b/[core]/es_extended/server/onesync.lua @@ -167,7 +167,7 @@ function ESX.OneSync.GetVehiclesInArea(coords, maxDistance, modelFilter) end local function getClosestEntity(entities, coords, modelFilter, isPed) - local distance, closestEntity, closestCoords = maxDistance or 100, nil, nil + local distance, closestEntity, closestCoords = 100, nil, nil coords = type(coords) == 'number' and GetEntityCoords(GetPlayerPed(coords)) or vector3(coords.x, coords.y, coords.z) for _, entity in pairs(entities) do @@ -205,6 +205,6 @@ function ESX.OneSync.GetClosestVehicle(coords, modelFilter) return getClosestEntity(GetAllVehicles(), coords, modelFilter) end -ESX.RegisterServerCallback("esx:Onesync:SpawnObject", function(source, cb, model, coords, heading) +ESX.RegisterServerCallback("esx:Onesync:SpawnObject", function(_, cb, model, coords, heading) ESX.OneSync.SpawnObject(model, coords, heading, cb) end) From e9cf0b69e03d067b03a4f747b7be0c32a224034b Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Tue, 27 Jun 2023 23:41:58 +0200 Subject: [PATCH 191/236] refactor: add an omission --- [core]/es_extended/server/classes/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index 98fbe794..cf996b73 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -439,7 +439,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, local loadoutNum, weapon = self.getWeapon(weaponName) if weapon then - local weaponNum, weaponObject = ESX.GetWeapon(weaponName) + local _, weaponObject = ESX.GetWeapon(weaponName) if weaponObject.tints and weaponObject.tints[weaponTintIndex] then self.loadout[loadoutNum].tintIndex = weaponTintIndex From c882722b1c21e3278b79cb0a02d94400edf63d0d Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Tue, 27 Jun 2023 23:46:29 +0200 Subject: [PATCH 192/236] refactor(esx_multicharacter): add a few omissions --- [core]/esx_multicharacter/server/commands.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/[core]/esx_multicharacter/server/commands.lua b/[core]/esx_multicharacter/server/commands.lua index 02dcdb18..5bb86b29 100644 --- a/[core]/esx_multicharacter/server/commands.lua +++ b/[core]/esx_multicharacter/server/commands.lua @@ -1,4 +1,4 @@ -ESX.RegisterCommand('setslots', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('setslots', 'admin', function(xPlayer, args) local slots = MySQL.scalar('SELECT `slots` FROM `multicharacter_slots` WHERE identifier = ?', { args.identifier }) @@ -21,7 +21,7 @@ end, true, {help = TranslateCap('command_setslots'), validate = true, arguments {name = 'slots', help = TranslateCap('command_slots'), type = 'number'} }}) -ESX.RegisterCommand('remslots', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('remslots', 'admin', function(xPlayer, args) local slots = MySQL.scalar('SELECT `slots` FROM `multicharacter_slots` WHERE identifier = ?', { args.identifier }) @@ -36,7 +36,7 @@ end, true, {help = TranslateCap('command_remslots'), validate = true, arguments {name = 'identifier', help = TranslateCap('command_identifier'), type = 'string'} }}) -ESX.RegisterCommand('enablechar', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('enablechar', 'admin', function(xPlayer, args) local selectedCharacter = 'char'..args.charslot..':'..args.identifier; @@ -55,7 +55,7 @@ end, true, {help = TranslateCap('command_enablechar'), validate = true, argument {name = 'charslot', help = TranslateCap('command_charslot'), type = 'number'} }}) -ESX.RegisterCommand('disablechar', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('disablechar', 'admin', function(xPlayer, args) local selectedCharacter = 'char'..args.charslot..':'..args.identifier; From 1a1ea2f5729b83bd86f87db1c52a7f4e33eb2af8 Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Tue, 27 Jun 2023 23:51:42 +0200 Subject: [PATCH 193/236] refactor(esx_menu_list): correction of a linting error --- [core]/esx_menu_list/client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/esx_menu_list/client/main.lua b/[core]/esx_menu_list/client/main.lua index d4c45483..3ccc1e95 100644 --- a/[core]/esx_menu_list/client/main.lua +++ b/[core]/esx_menu_list/client/main.lua @@ -28,7 +28,7 @@ CreateThread(function() name = name, }) - for k, v in pairs(OpenedMenus) do + for _, v in pairs(OpenedMenus) do if v then OpenedMenuCount = OpenedMenuCount + 1 end From 6b54c19e9c210391f41a4f6920530f6ea2f79fbd Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Tue, 27 Jun 2023 23:54:37 +0200 Subject: [PATCH 194/236] refactor(esx_context): correction of lint errors --- [core]/esx_context/main.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/[core]/esx_context/main.lua b/[core]/esx_context/main.lua index a71ea8f8..351f3174 100644 --- a/[core]/esx_context/main.lua +++ b/[core]/esx_context/main.lua @@ -1,4 +1,3 @@ -local defaultPosition = "right" -- [ left | center | right ] local activeMenu local Debug = ESX.GetConfig().EnableDebug @@ -76,7 +75,7 @@ end) -- NUI Callbacks -- [ closed | selected | changed ] -RegisterNUICallback("closed",function(data,cb) +RegisterNUICallback("closed",function(_,cb) if not activeMenu or (activeMenu and not activeMenu.canClose) then return cb(false) end @@ -211,7 +210,7 @@ if Debug then exports["esx_context"]:Close() end - local function onClose(menu) + local function onClose() print("Menu closed.") end From fce09254d22d95bc2ba0a6dd1f60fbd1c26bc9bc Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Tue, 27 Jun 2023 23:56:20 +0200 Subject: [PATCH 195/236] refactor(esx_identity): correction of lint errors --- [core]/esx_identity/client/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/[core]/esx_identity/client/main.lua b/[core]/esx_identity/client/main.lua index 0671c876..ffabca5a 100644 --- a/[core]/esx_identity/client/main.lua +++ b/[core]/esx_identity/client/main.lua @@ -23,7 +23,7 @@ AddEventHandler('esx:loadingScreenOff', function() loadingScreenFinished = true end) -RegisterNUICallback('ready', function(data, cb) +RegisterNUICallback('ready', function(_, cb) ready = true cb(1) end) @@ -51,7 +51,7 @@ if not Config.UseDeferrals then if not ESX.PlayerData.dead then setGuiState(true) end end) - RegisterNUICallback('register', function(data, cb) + RegisterNUICallback('register', function(data) if not guiEnabled then return end From 452ae9fd2c2c11f162b41f5f798362ee315fb5fe Mon Sep 17 00:00:00 2001 From: MoskalykA <100430077+MoskalykA@users.noreply.github.com> Date: Tue, 27 Jun 2023 23:59:50 +0200 Subject: [PATCH 196/236] refactor: add a few omissions --- [core]/esx_identity/server/main.lua | 30 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/[core]/esx_identity/server/main.lua b/[core]/esx_identity/server/main.lua index 86ef7150..b2df54fa 100644 --- a/[core]/esx_identity/server/main.lua +++ b/[core]/esx_identity/server/main.lua @@ -119,9 +119,9 @@ local function formatName(name) end if Config.UseDeferrals then - AddEventHandler('playerConnecting', function(playerName, setKickReason, deferrals) + AddEventHandler('playerConnecting', function(_, _, deferrals) deferrals.defer() - local playerId, identifier = source, ESX.GetIdentifier(source) + local _, identifier = source, ESX.GetIdentifier(source) Wait(100) if identifier then @@ -224,7 +224,7 @@ if Config.UseDeferrals then end) RegisterNetEvent('esx:playerLoaded') - AddEventHandler('esx:playerLoaded', function(playerId, xPlayer) + AddEventHandler('esx:playerLoaded', function(_, xPlayer) if not playerIdentity[xPlayer.identifier] then return xPlayer.kick(_('missing_identity')) end @@ -293,9 +293,9 @@ else end if not multichar then - AddEventHandler('playerConnecting', function(playerName, setKickReason, deferrals) + AddEventHandler('playerConnecting', function(_, _, deferrals) deferrals.defer() - local playerId, identifier = source, ESX.GetIdentifier(source) + local _, identifier = source, ESX.GetIdentifier(source) Wait(40) if not identifier then @@ -338,14 +338,14 @@ else local xPlayers = ESX.GetExtendedPlayers() - for i = 1, #(xPlayers) do + for i = 1, #(xPlayers) do if xPlayers[i] then checkIdentity(xPlayers[i]) end end end) - RegisterNetEvent('esx:playerLoaded', function(playerId, xPlayer) + RegisterNetEvent('esx:playerLoaded', function(_, xPlayer) local currentIdentity = playerIdentity[xPlayer.identifier] if currentIdentity and alreadyRegistered[xPlayer.identifier] then @@ -449,7 +449,7 @@ else end if Config.EnableCommands then - ESX.RegisterCommand('char', 'user', function(xPlayer, args, showError) + ESX.RegisterCommand('char', 'user', function(xPlayer) if xPlayer and xPlayer.getName() then xPlayer.showNotification(TranslateCap('active_character', xPlayer.getName())) else @@ -457,7 +457,7 @@ if Config.EnableCommands then end end, false, {help = TranslateCap('show_active_character')}) - ESX.RegisterCommand('chardel', 'user', function(xPlayer, args, showError) + ESX.RegisterCommand('chardel', 'user', function(xPlayer) if xPlayer and xPlayer.getName() then if Config.UseDeferrals then xPlayer.kick(TranslateCap('deleted_identity')) @@ -480,7 +480,7 @@ if Config.EnableCommands then end if Config.EnableDebugging then - ESX.RegisterCommand('xPlayerGetFirstName', 'user', function(xPlayer, args, showError) + ESX.RegisterCommand('xPlayerGetFirstName', 'user', function(xPlayer) if xPlayer and xPlayer.get('firstName') then xPlayer.showNotification(TranslateCap('return_debug_xPlayer_get_first_name', xPlayer.get('firstName'))) else @@ -488,7 +488,7 @@ if Config.EnableDebugging then end end, false, {help = TranslateCap('debug_xPlayer_get_first_name')}) - ESX.RegisterCommand('xPlayerGetLastName', 'user', function(xPlayer, args, showError) + ESX.RegisterCommand('xPlayerGetLastName', 'user', function(xPlayer) if xPlayer and xPlayer.get('lastName') then xPlayer.showNotification(TranslateCap('return_debug_xPlayer_get_last_name', xPlayer.get('lastName'))) else @@ -496,7 +496,7 @@ if Config.EnableDebugging then end end, false, {help = TranslateCap('debug_xPlayer_get_last_name')}) - ESX.RegisterCommand('xPlayerGetFullName', 'user', function(xPlayer, args, showError) + ESX.RegisterCommand('xPlayerGetFullName', 'user', function(xPlayer) if xPlayer and xPlayer.getName() then xPlayer.showNotification(TranslateCap('return_debug_xPlayer_get_full_name', xPlayer.getName())) else @@ -504,7 +504,7 @@ if Config.EnableDebugging then end end, false, {help = TranslateCap('debug_xPlayer_get_full_name')}) - ESX.RegisterCommand('xPlayerGetSex', 'user', function(xPlayer, args, showError) + ESX.RegisterCommand('xPlayerGetSex', 'user', function(xPlayer) if xPlayer and xPlayer.get('sex') then xPlayer.showNotification(TranslateCap('return_debug_xPlayer_get_sex', xPlayer.get('sex'))) else @@ -512,7 +512,7 @@ if Config.EnableDebugging then end end, false, {help = TranslateCap('debug_xPlayer_get_sex')}) - ESX.RegisterCommand('xPlayerGetDOB', 'user', function(xPlayer, args, showError) + ESX.RegisterCommand('xPlayerGetDOB', 'user', function(xPlayer) if xPlayer and xPlayer.get('dateofbirth') then xPlayer.showNotification(TranslateCap('return_debug_xPlayer_get_dob', xPlayer.get('dateofbirth'))) else @@ -520,7 +520,7 @@ if Config.EnableDebugging then end end, false, {help = TranslateCap('debug_xPlayer_get_dob')}) - ESX.RegisterCommand('xPlayerGetHeight', 'user', function(xPlayer, args, showError) + ESX.RegisterCommand('xPlayerGetHeight', 'user', function(xPlayer) if xPlayer and xPlayer.get('height') then xPlayer.showNotification(TranslateCap('return_debug_xPlayer_get_height', xPlayer.get('height'))) else From f9475ec64c9184cfc2967d4becd8b61979e3be5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Horv=C3=A1th=20Gell=C3=A9rt?= Date: Wed, 28 Jun 2023 01:59:19 +0200 Subject: [PATCH 197/236] :pencil2: fix(es_extended/functions.lua) handle args.playerId is nil --- [core]/es_extended/server/functions.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 973ca661..b77c713f 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -131,6 +131,10 @@ function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion) xPlayer.showNotification(error) end else + if ESX.Table.SizeOf(args) == 0 then + xPlayer.showNotification(TranslateCap('commanderror_invalidplayerid')) + return + end cb(xPlayer or false, args, function(msg) if playerId == 0 then print(('[^3WARNING^7] %s^7'):format(msg)) From 28f8b6c38eec0f21124ae0c010d8cdcd52ad931a Mon Sep 17 00:00:00 2001 From: thesysadmindev Date: Thu, 29 Jun 2023 23:36:16 +1000 Subject: [PATCH 198/236] refactor(es_extended,esx_notify,skinchanger): Updated prints Updated prints to use formatting on strings instead of concatenation. --- [core]/es_extended/server/commands.lua | 16 ++++++++-------- [core]/es_extended/server/functions.lua | 8 +++----- [core]/es_extended/server/main.lua | 2 +- [core]/esx_identity/client/main.lua | 2 +- [core]/esx_notify/Notify.lua | 12 ++++++------ [core]/skinchanger/README.md | 6 +++--- 6 files changed, 22 insertions(+), 24 deletions(-) diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index 142a7af1..f8110853 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -342,7 +342,7 @@ end, true, {help = TranslateCap('command_setgroup'), validate = true, arguments ESX.RegisterCommand('save', 'admin', function(xPlayer, args, _) Core.SavePlayer(args.playerId) - print("[^2Info^0] Saved Player - ^5".. args.playerId.source .. "^0") + print(('[^2Info^0] Saved Player - ^5%s^0'):format(args.playerId.source)) end, true, {help = TranslateCap('command_save'), validate = true, arguments = { {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} }}) @@ -352,25 +352,25 @@ ESX.RegisterCommand('saveall', 'admin', function(xPlayer, args, _) end, true, {help = TranslateCap('command_saveall')}) ESX.RegisterCommand('group', {"user", "admin"}, function(xPlayer, _, _) - print(xPlayer.getName()..", You are currently: ^5".. xPlayer.getGroup() .. "^0") + print(('%s, you are currently: ^5%s^0'):format(xPlayer.getName(), xPlayer.getGroup())) end, true) ESX.RegisterCommand('job', {"user", "admin"}, function(xPlayer, _, _) - print(xPlayer.getName()..", You are currently: ^5".. xPlayer.getJob().name.. "^0 - ^5".. xPlayer.getJob().grade_label .. "^0") + print(('%s, your job is: ^5%s^0 - ^5%s^0'):format(xPlayer.getJob().name, xPlayer.getJob().grade_label)) end, true) ESX.RegisterCommand('info', {"user", "admin"}, function(xPlayer, _, _) local job = xPlayer.getJob().name local jobgrade = xPlayer.getJob().grade_name - print("^2ID : ^5"..xPlayer.source.." ^0| ^2Name:^5"..xPlayer.getName().." ^0 | ^2Group:^5"..xPlayer.getGroup().."^0 | ^2Job:^5".. job.."^0") + print(('^2ID: ^5%s^0 | ^2Name: ^5%s^0 | ^2Group: ^5%s^0 | ^2Job: ^5%s^0'):format(xPlayer.source, xPlayer.getName(), xPlayer.getGroup(), job)) end, true) ESX.RegisterCommand('coords', "admin", function(xPlayer, _, _) local ped = GetPlayerPed(xPlayer.source) local coords = GetEntityCoords(ped, false) local heading = GetEntityHeading(ped) - print("Coords - Vector3: ^5".. vector3(coords.x,coords.y,coords.z).. "^0") - print("Coords - Vector4: ^5".. vector4(coords.x, coords.y, coords.z, heading) .. "^0") + print(('Coords - Vector3: ^5%s^0'):format(vector3(coords.x,coords.y,coords.z))) + print(('Coords - Vector4: ^5%s^0'):format(vector4(coords.x,coords.y,coords.z, heading))) end, true) ESX.RegisterCommand('tpm', "admin", function(xPlayer, _, _) @@ -464,9 +464,9 @@ end, false) ESX.RegisterCommand('players', "admin", function(xPlayer, _, _) local xPlayers = ESX.GetExtendedPlayers() -- Returns all xPlayers - print("^5"..#xPlayers.." ^2online player(s)^0") + print(('^5%s^2 online player(s)^0'):format(#xPlayers)) for i = 1, #(xPlayers) do local xPlayer = xPlayers[i] - print("^1[ ^2ID : ^5"..xPlayer.source.." ^0| ^2Name : ^5"..xPlayer.getName().." ^0 | ^2Group : ^5"..xPlayer.getGroup().." ^0 | ^2Identifier : ^5".. xPlayer.identifier .."^1]^0\n") + print(('^1[^2ID: ^5%s^0 | ^2Name : ^5%s^0 | ^2Group : ^5%s^0 | ^2Identifier : ^5%s^1]^0\n'):format(xPlayer.source, xPlayer.getName(), xPlayer.getGroup(), xPlayer.identifier)) end end, true) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 0591e8db..d0b48392 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -349,8 +349,7 @@ function ESX.RefreshJobs() if not Jobs then -- Fallback data, if no jobs exist - ESX.Jobs['unemployed'] = {label = 'Unemployed', - grades = {['0'] = {grade = 0, label = 'Unemployed', salary = 200, skin_male = {}, skin_female = {}}}} + ESX.Jobs['unemployed'] = {label = 'Unemployed', grades = {['0'] = {grade = 0, label = 'Unemployed', salary = 200, skin_male = {}, skin_female = {}}}} else ESX.Jobs = Jobs end @@ -388,8 +387,7 @@ function ESX.UseItem(source, item, ...) local success, result = pcall(itemCallback, source, item, ...) if not success then - return result and print(result) or - print(('[^3WARNING^7] An error occured when using item ^5"%s"^7! This was not caused by ESX.'):format(item)) + return result and print(result) or print(('[^3WARNING^7] An error occured when using item ^5"%s"^7! This was not caused by ESX.'):format(item)) end end else @@ -420,7 +418,7 @@ function ESX.GetItemLabel(item) if ESX.Items[item] then return ESX.Items[item].label else - print('[^3WARNING^7] Attemting to get invalid Item -> ^5' .. item .. "^7") + print(('[^3WARNING^7] Attemting to get invalid Item -> ^5%s^7'):format(item)) end end diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 87958fed..39ea0782 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -392,7 +392,7 @@ if not Config.OxInventory then local targetXPlayer = ESX.GetPlayerFromId(target) local distance = #(GetEntityCoords(GetPlayerPed(playerId)) - GetEntityCoords(GetPlayerPed(target))) if not sourceXPlayer or not targetXPlayer or distance > Config.DistanceGive then - print("[^3WARNING^7] Player Detected Cheating: ^5" .. GetPlayerName(playerId) .. "^7") + print(('[^3WARNING^7] Player Detected Cheating: ^5%s^7'):format(GetPlayerName(playerId))) return end diff --git a/[core]/esx_identity/client/main.lua b/[core]/esx_identity/client/main.lua index 0671c876..3ebbe758 100644 --- a/[core]/esx_identity/client/main.lua +++ b/[core]/esx_identity/client/main.lua @@ -45,7 +45,7 @@ if not Config.UseDeferrals then RegisterNetEvent('esx_identity:showRegisterIdentity', function() TriggerEvent('esx_skin:resetFirstSpawn') while not ready do - print('Waiting for esx_identity NUI..') + print('Waiting for esx_identity NUI..') Wait(100) end if not ESX.PlayerData.dead then setGuiState(true) end diff --git a/[core]/esx_notify/Notify.lua b/[core]/esx_notify/Notify.lua index f1798c72..28e5b829 100644 --- a/[core]/esx_notify/Notify.lua +++ b/[core]/esx_notify/Notify.lua @@ -6,9 +6,9 @@ local Debug = ESX.GetConfig().EnableDebug local function Notify(notificatonType, length, message) if Debug then - print("1 ".. tostring(notificatonType)) - print("2 "..tostring(length)) - print("3 "..message) + print(('1 %s'):format(tostring(notificatonType))) + print(('2 %s'):format(tostring(length))) + print(('3 %s'):format(message)) end if type(notificatonType) ~= "string" then @@ -20,9 +20,9 @@ local function Notify(notificatonType, length, message) end if Debug then - print("4 ".. tostring(notificatonType)) - print("5 "..tostring(length)) - print("6 "..message) + print(('4 %s'):format(tostring(notificatonType))) + print(('5 %s'):format(tostring(length))) + print(('6 %s'):format(message)) end SendNuiMessage(json.encode({ diff --git a/[core]/skinchanger/README.md b/[core]/skinchanger/README.md index 525a62f1..267781df 100644 --- a/[core]/skinchanger/README.md +++ b/[core]/skinchanger/README.md @@ -57,13 +57,13 @@ TriggerEvent('skinchanger:loadSkin', { -- Get list of components and maxVals TriggerEvent('skinchanger:getData', function(components, maxVals) - print('Components => ' .. json.encode(components)) - print('MaxVals => ' .. json.encode(maxVals)) + print(('Components => %s'):format(json.encode(components))) + print(('MaxVals => %s'):format(json.encode(maxVals))) end) -- Get current skin TriggerEvent('skinchanger:getSkin', function(skin) - print(json.encode(skin)) + print(('%s'):format(json.encode(skin))) end) ``` From f3b2b9898e4339bc19a3b5b3ea1a218b4be21035 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:00:26 +0200 Subject: [PATCH 199/236] fix(esx_context): Formatting --- [core]/esx_context/main.lua | 178 +++++++++++++++++------------------- 1 file changed, 83 insertions(+), 95 deletions(-) diff --git a/[core]/esx_context/main.lua b/[core]/esx_context/main.lua index 351f3174..65d51c8f 100644 --- a/[core]/esx_context/main.lua +++ b/[core]/esx_context/main.lua @@ -4,14 +4,14 @@ local Debug = ESX.GetConfig().EnableDebug -- Global functions -- [ Post | Open | Closed ] -function Post(fn,...) +function Post(fn, ...) SendNUIMessage({ func = fn, - args = {...} + args = { ... } }) end -function Open(position,eles,onSelect,onClose,canClose) +function Open(position, eles, onSelect, onClose, canClose) local canClose = canClose == nil and true or canClose activeMenu = { position = position, @@ -21,20 +21,20 @@ function Open(position,eles,onSelect,onClose,canClose) onClose = onClose } - LocalPlayer.state:set("context:active",true) + LocalPlayer.state:set("context:active", true) - Post("Open",eles,position) + Post("Open", eles, position) end function Closed() - SetNuiFocus(false,false) + SetNuiFocus(false, false) local menu = activeMenu local cb = menu.onClose activeMenu = nil - LocalPlayer.state:set("context:active",false) + LocalPlayer.state:set("context:active", false) if cb then cb(menu) @@ -44,14 +44,14 @@ end -- Exports -- [ Preview | Open | Close ] -exports("Preview",Open) +exports("Preview", Open) -exports("Open",function(...) +exports("Open", function(...) Open(...) - SetNuiFocus(true,true) + SetNuiFocus(true, true) end) -exports("Close",function() +exports("Close", function() if not activeMenu then return end @@ -61,7 +61,7 @@ exports("Close",function() Closed() end) -exports("Refresh",function(eles,position) +exports("Refresh", function(eles, position) if not activeMenu then return end @@ -69,13 +69,13 @@ exports("Refresh",function(eles,position) activeMenu.eles = eles or activeMenu.eles activeMenu.position = position or activeMenu.position - Post("Open",activeMenu.eles,activeMenu.position) + Post("Open", activeMenu.eles, activeMenu.position) end) -- NUI Callbacks -- [ closed | selected | changed ] -RegisterNUICallback("closed",function(_,cb) +RegisterNUICallback("closed", function(_, cb) if not activeMenu or (activeMenu and not activeMenu.canClose) then return cb(false) end @@ -83,20 +83,15 @@ RegisterNUICallback("closed",function(_,cb) Closed() end) -RegisterNUICallback("selected",function(data,cb) - if not activeMenu - or not activeMenu.onSelect - or not data.index - then +RegisterNUICallback("selected", function(data, cb) + if not activeMenu or not activeMenu.onSelect or not data.index then return end local index = tonumber(data.index) local ele = activeMenu.eles[index] - if not ele - or ele.input - then + if not ele or ele.input then return end @@ -104,20 +99,15 @@ RegisterNUICallback("selected",function(data,cb) if cb then cb('ok') end end) -RegisterNUICallback("changed",function(data,cb) - if not activeMenu - or not data.index - or not data.value - then +RegisterNUICallback("changed", function(data, cb) + if not activeMenu or not data.index or not data.value then return end local index = tonumber(data.index) local ele = activeMenu.eles[index] - if not ele - or not ele.input - then + if not ele or not ele.input then return end @@ -125,11 +115,11 @@ RegisterNUICallback("changed",function(data,cb) ele.inputValue = tonumber(data.value) if ele.inputMin then - ele.inputValue = math.max(ele.inputMin,ele.inputValue) + ele.inputValue = math.max(ele.inputMin, ele.inputValue) end if ele.inputMax then - ele.inputValue = math.min(ele.inputMax,ele.inputValue) + ele.inputValue = math.min(ele.inputMax, ele.inputValue) end elseif ele.inputType == "text" then ele.inputValue = data.value @@ -142,22 +132,20 @@ end) -- Keybind local function focusPreview() - if not activeMenu - or not activeMenu.onSelect - then + if not activeMenu or not activeMenu.onSelect then return end - SetNuiFocus(true,true) + SetNuiFocus(true, true) end if PREVIEW_KEYBIND then - RegisterCommand("previewContext",focusPreview) + RegisterCommand("previewContext", focusPreview) - RegisterKeyMapping("previewContext","Preview Active Context","keyboard",PREVIEW_KEYBIND) + RegisterKeyMapping("previewContext", "Preview Active Context", "keyboard", PREVIEW_KEYBIND) end -exports("focusPreview",focusPreview) +exports("focusPreview", focusPreview) -- Debug/Test -- Commands: @@ -167,31 +155,31 @@ if Debug then local position = "right" local eles = { - { - unselectable=true, - icon="fas fa-info-circle", - title="Unselectable Item (Header/Label?)", - }, - { - icon="fas fa-check", - title="Item A", - description="Some description here. Add some words to make the text overflow." - }, - { - disabled=true, - icon="fas fa-times", - title="Disabled Item", - description="Some description here. Add some words to make the text overflow." - }, - { - icon="fas fa-check", - title="Item B", - description="Some description here. Add some words to make the text overflow." - }, + { + unselectable = true, + icon = "fas fa-info-circle", + title = "Unselectable Item (Header/Label?)", + }, + { + icon = "fas fa-check", + title = "Item A", + description = "Some description here. Add some words to make the text overflow." + }, + { + disabled = true, + icon = "fas fa-times", + title = "Disabled Item", + description = "Some description here. Add some words to make the text overflow." + }, + { + icon = "fas fa-check", + title = "Item B", + description = "Some description here. Add some words to make the text overflow." + }, } - local function onSelect(menu,ele) - print("Ele selected",ele.title) + local function onSelect(menu, ele) + print("Ele selected", ele.title) if ele.name == "close" then exports["esx_context"]:Close() @@ -201,9 +189,9 @@ if Debug then return end - for _,ele in ipairs(menu.eles) do + for _, ele in ipairs(menu.eles) do if ele.input then - print(ele.name,ele.inputType,ele.inputValue) + print(ele.name, ele.inputType, ele.inputValue) end end @@ -214,51 +202,51 @@ if Debug then print("Menu closed.") end - RegisterCommand("ctx:preview",function() - exports["esx_context"]:Preview(position,eles) + RegisterCommand("ctx:preview", function() + exports["esx_context"]:Preview(position, eles) end) - RegisterCommand("ctx:open",function() - exports["esx_context"]:Open(position,eles,onSelect,onClose) + RegisterCommand("ctx:open", function() + exports["esx_context"]:Open(position, eles, onSelect, onClose) end) - RegisterCommand("ctx:close",function() + RegisterCommand("ctx:close", function() exports["esx_context"]:Close() end) - RegisterCommand("ctx:form",function() + RegisterCommand("ctx:form", function() local eles = { { - unselectable=true, - icon="fas fa-info-circle", - title="Unselectable Item (Header/Label?)", + unselectable = true, + icon = "fas fa-info-circle", + title = "Unselectable Item (Header/Label?)", }, { - icon="", - title="Input Text", - input=true, - inputType="text", - inputPlaceholder="Placeholder...", - name="firstname", + icon = "", + title = "Input Text", + input = true, + inputType = "text", + inputPlaceholder = "Placeholder...", + name = "firstname", }, { - icon="", - title="Input Text", - input=true, - inputType="text", - inputPlaceholder="Placeholder...", - name="lastname", + icon = "", + title = "Input Text", + input = true, + inputType = "text", + inputPlaceholder = "Placeholder...", + name = "lastname", }, { - icon="", - title="Input Number", - input=true, - inputType="number", - inputPlaceholder="Placeholder...", - inputValue=0, - inputMin=0, - inputMax=50, - name="age", + icon = "", + title = "Input Number", + input = true, + inputType = "number", + inputPlaceholder = "Placeholder...", + inputValue = 0, + inputMin = 0, + inputMax = 50, + name = "age", }, { icon = "fas fa-check", @@ -267,6 +255,6 @@ if Debug then } } - exports["esx_context"]:Open(position,eles,onSelect,onClose) + exports["esx_context"]:Open(position, eles, onSelect, onClose) end) end From 255decaa0df645d98e1d84c3e4158c2bdc501927 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:06:18 +0200 Subject: [PATCH 200/236] fix(esx_identity): Lint errors --- .editorconfig | 13 +++ [core]/esx_identity/locales/hu.lua | 12 +-- [core]/esx_identity/server/main.lua | 132 ++++++++++++++-------------- 3 files changed, 86 insertions(+), 71 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..7097bdd5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +trim_trailing_whitespace = true +indent_size = 4 +indent_style = space +max_line_length = 900 \ No newline at end of file diff --git a/[core]/esx_identity/locales/hu.lua b/[core]/esx_identity/locales/hu.lua index 6e5f9e9a..cd2a5223 100644 --- a/[core]/esx_identity/locales/hu.lua +++ b/[core]/esx_identity/locales/hu.lua @@ -1,7 +1,7 @@ Locales["hu"] = { ["show_active_character"] = "Aktív karakterek mutatása", ["active_character"] = "Aktív karakter: %s", - ["error_active_character"] = "A név nem megfelelő", + ["error_active_character"] = "A név nem megfelelő", ["delete_character"] = "Töröld a karaktered és csinálj újat", ["deleted_character"] = "A karaktered törölve", ["error_delete_character"] = "Hiba történt a karakter törlésekor. Kérjük, lépjen kapcsolatba egy Adminisztrátorral.", @@ -30,9 +30,9 @@ Locales["hu"] = { ["missing_identity"] = "Hiba történt a karaktered betöltésekor! \n Hibakód: hiányzik az identitás \n és \nNem úgy tűnik, hogy hiányzik a személyazonosságod, próbálkozz újra.", ["deleted_identity"] = "A karaktered törölve", ["already_registered"] = "Már regisztráltál.", - ["invalid_firstname_format"] = "Érvénytelen formátum (Keresztnév): Próbáld újra.", - ["invalid_lastname_format"] = "Érvénytelen formátum (Vezetéknév): Próbáld újra.", - ["invalid_dob_format"] = "Érvénytelen formátum (Születési Idő): Próbáld újra.", - ["invalid_sex_format"] = "Érvénytelen formátum (Nem): Próbáld újra.", - ["invalid_height_format"] = "Érvénytelen formátum (Magasság): Próbáld újra." + ["invalid_firstname_format"] = "Érvénytelen formátum (Keresztnév): Próbáld újra.", + ["invalid_lastname_format"] = "Érvénytelen formátum (Vezetéknév): Próbáld újra.", + ["invalid_dob_format"] = "Érvénytelen formátum (Születési Idő): Próbáld újra.", + ["invalid_sex_format"] = "Érvénytelen formátum (Nem): Próbáld újra.", + ["invalid_height_format"] = "Érvénytelen formátum (Magasság): Próbáld újra." } diff --git a/[core]/esx_identity/server/main.lua b/[core]/esx_identity/server/main.lua index b2df54fa..ec992464 100644 --- a/[core]/esx_identity/server/main.lua +++ b/[core]/esx_identity/server/main.lua @@ -5,14 +5,14 @@ local multichar = ESX.GetConfig().Multichar local function deleteIdentityFromDatabase(xPlayer) MySQL.query.await( 'UPDATE users SET firstname = ?, lastname = ?, dateofbirth = ?, sex = ?, height = ?, skin = ? WHERE identifier = ?', - {nil, nil, nil, nil, nil, nil, xPlayer.identifier}) + { nil, nil, nil, nil, nil, nil, xPlayer.identifier }) if Config.FullCharDelete then MySQL.update.await('UPDATE addon_account_data SET money = 0 WHERE account_name IN (?) AND owner = ?', - {{'bank_savings', 'caution'}, xPlayer.identifier}) + { { 'bank_savings', 'caution' }, xPlayer.identifier }) MySQL.prepare.await('UPDATE datastore_data SET data = ? WHERE name IN (?) AND owner = ?', - {'\'{}\'', {'user_ears', 'user_glasses', 'user_helmet', 'user_mask'}, xPlayer.identifier}) + { '\'{}\'', { 'user_ears', 'user_glasses', 'user_helmet', 'user_mask' }, xPlayer.identifier }) end end @@ -33,7 +33,7 @@ end local function saveIdentityToDatabase(identifier, identity) MySQL.update.await( 'UPDATE users SET firstname = ?, lastname = ?, dateofbirth = ?, sex = ?, height = ? WHERE identifier = ?', - {identity.firstName, identity.lastName, identity.dateOfBirth, identity.sex, identity.height, identifier}) + { identity.firstName, identity.lastName, identity.dateOfBirth, identity.sex, identity.height, identifier }) end local function checkDOBFormat(str) @@ -41,9 +41,9 @@ local function checkDOBFormat(str) if not string.match(str, '(%d%d)/(%d%d)/(%d%d%d%d)') then return false end - + local d, m, y = string.match(str, '(%d+)/(%d+)/(%d+)') - + m = tonumber(m) d = tonumber(d) y = tonumber(y) @@ -126,7 +126,7 @@ if Config.UseDeferrals then if identifier then MySQL.single('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = ?', - {identifier}, function(result) + { identifier }, function(result) if result then if result.firstname then playerIdentity[identifier] = { @@ -204,7 +204,7 @@ if Config.UseDeferrals then if not checkHeightFormat(data.height) then return deferrals.done(TranslateCap('invalid_height_format')) end - + playerIdentity[identifier] = { firstName = formatName(data.firstname), lastName = formatName(data.lastname), @@ -246,8 +246,8 @@ if Config.UseDeferrals then playerIdentity[xPlayer.identifier] = nil end) else - local function setIdentity(xPlayer) - if not alreadyRegistered[xPlayer.identifier] then + local function setIdentity(xPlayer) + if not alreadyRegistered[xPlayer.identifier] then return end local currentIdentity = playerIdentity[xPlayer.identifier] @@ -264,10 +264,11 @@ else end playerIdentity[xPlayer.identifier] = nil - end - - local function checkIdentity(xPlayer) - MySQL.single('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = ?', {xPlayer.identifier}, + end + + local function checkIdentity(xPlayer) + MySQL.single('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = ?', + { xPlayer.identifier }, function(result) if not result then return TriggerClientEvent('esx_identity:showRegisterIdentity', xPlayer.source) @@ -290,18 +291,19 @@ else setIdentity(xPlayer) end ) - end + end - if not multichar then - AddEventHandler('playerConnecting', function(_, _, deferrals) - deferrals.defer() - local _, identifier = source, ESX.GetIdentifier(source) - Wait(40) + if not multichar then + AddEventHandler('playerConnecting', function(_, _, deferrals) + deferrals.defer() + local _, identifier = source, ESX.GetIdentifier(source) + Wait(40) - if not identifier then + if not identifier then return deferrals.done(TranslateCap('no_identifier')) end - MySQL.single('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = ?', {identifier}, + MySQL.single('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = ?', + { identifier }, function(result) if not result then playerIdentity[identifier] = nil @@ -326,9 +328,9 @@ else deferrals.done() end) - end) + end) - AddEventHandler('onResourceStart', function(resource) + AddEventHandler('onResourceStart', function(resource) if resource ~= GetCurrentResourceName() then return end @@ -345,8 +347,8 @@ else end end) - RegisterNetEvent('esx:playerLoaded', function(_, xPlayer) - local currentIdentity = playerIdentity[xPlayer.identifier] + RegisterNetEvent('esx:playerLoaded', function(_, xPlayer) + local currentIdentity = playerIdentity[xPlayer.identifier] if currentIdentity and alreadyRegistered[xPlayer.identifier] then xPlayer.setName(('%s %s'):format(currentIdentity.firstName, currentIdentity.lastName)) @@ -368,35 +370,35 @@ else else TriggerClientEvent('esx_identity:showRegisterIdentity', xPlayer.source) end - end) - end + end) + end - ESX.RegisterServerCallback('esx_identity:registerIdentity', function(source, cb, data) - local xPlayer = ESX.GetPlayerFromId(source) - if not checkNameFormat(data.firstname) then - TriggerClientEvent('esx:showNotification',source,TranslateCap('invalid_firstname_format'), "error") - return cb(false) - end - if not checkNameFormat(data.lastname) then - TriggerClientEvent('esx:showNotification',source,TranslateCap('invalid_lastname_format'), "error") - return cb(false) - end - if not checkSexFormat(data.sex) then - TriggerClientEvent('esx:showNotification',source,TranslateCap('invalid_sex_format'), "error") - return cb(false) - end - if not checkDOBFormat(data.dateofbirth) then - TriggerClientEvent('esx:showNotification',source,TranslateCap('invalid_dob_format'), "error") - return cb(false) - end - if not checkHeightFormat(data.height) then - TriggerClientEvent('esx:showNotification',source,TranslateCap('invalid_height_format'), "error") - return cb(false) - end - if xPlayer then - if alreadyRegistered[xPlayer.identifier] then - xPlayer.showNotification(TranslateCap('already_registered'), "error") - return cb(false) + ESX.RegisterServerCallback('esx_identity:registerIdentity', function(source, cb, data) + local xPlayer = ESX.GetPlayerFromId(source) + if not checkNameFormat(data.firstname) then + TriggerClientEvent('esx:showNotification', source, TranslateCap('invalid_firstname_format'), "error") + return cb(false) + end + if not checkNameFormat(data.lastname) then + TriggerClientEvent('esx:showNotification', source, TranslateCap('invalid_lastname_format'), "error") + return cb(false) + end + if not checkSexFormat(data.sex) then + TriggerClientEvent('esx:showNotification', source, TranslateCap('invalid_sex_format'), "error") + return cb(false) + end + if not checkDOBFormat(data.dateofbirth) then + TriggerClientEvent('esx:showNotification', source, TranslateCap('invalid_dob_format'), "error") + return cb(false) + end + if not checkHeightFormat(data.height) then + TriggerClientEvent('esx:showNotification', source, TranslateCap('invalid_height_format'), "error") + return cb(false) + end + if xPlayer then + if alreadyRegistered[xPlayer.identifier] then + xPlayer.showNotification(TranslateCap('already_registered'), "error") + return cb(false) end playerIdentity[xPlayer.identifier] = { @@ -445,19 +447,19 @@ else TriggerEvent('esx_identity:completedRegistration', source, data) TriggerClientEvent('esx_identity:setPlayerData', source, Identity) cb(true) - end) + end) end if Config.EnableCommands then - ESX.RegisterCommand('char', 'user', function(xPlayer) + ESX.RegisterCommand('char', 'user', function(xPlayer) if xPlayer and xPlayer.getName() then xPlayer.showNotification(TranslateCap('active_character', xPlayer.getName())) else xPlayer.showNotification(TranslateCap('error_active_character')) end - end, false, {help = TranslateCap('show_active_character')}) + end, false, { help = TranslateCap('show_active_character') }) - ESX.RegisterCommand('chardel', 'user', function(xPlayer) + ESX.RegisterCommand('chardel', 'user', function(xPlayer) if xPlayer and xPlayer.getName() then if Config.UseDeferrals then xPlayer.kick(TranslateCap('deleted_identity')) @@ -476,7 +478,7 @@ if Config.EnableCommands then else xPlayer.showNotification(TranslateCap('error_delete_character')) end - end, false, {help = TranslateCap('delete_character')}) + end, false, { help = TranslateCap('delete_character') }) end if Config.EnableDebugging then @@ -486,7 +488,7 @@ if Config.EnableDebugging then else xPlayer.showNotification(TranslateCap('error_debug_xPlayer_get_first_name')) end - end, false, {help = TranslateCap('debug_xPlayer_get_first_name')}) + end, false, { help = TranslateCap('debug_xPlayer_get_first_name') }) ESX.RegisterCommand('xPlayerGetLastName', 'user', function(xPlayer) if xPlayer and xPlayer.get('lastName') then @@ -494,7 +496,7 @@ if Config.EnableDebugging then else xPlayer.showNotification(TranslateCap('error_debug_xPlayer_get_last_name')) end - end, false, {help = TranslateCap('debug_xPlayer_get_last_name')}) + end, false, { help = TranslateCap('debug_xPlayer_get_last_name') }) ESX.RegisterCommand('xPlayerGetFullName', 'user', function(xPlayer) if xPlayer and xPlayer.getName() then @@ -502,7 +504,7 @@ if Config.EnableDebugging then else xPlayer.showNotification(TranslateCap('error_debug_xPlayer_get_full_name')) end - end, false, {help = TranslateCap('debug_xPlayer_get_full_name')}) + end, false, { help = TranslateCap('debug_xPlayer_get_full_name') }) ESX.RegisterCommand('xPlayerGetSex', 'user', function(xPlayer) if xPlayer and xPlayer.get('sex') then @@ -510,7 +512,7 @@ if Config.EnableDebugging then else xPlayer.showNotification(TranslateCap('error_debug_xPlayer_get_sex')) end - end, false, {help = TranslateCap('debug_xPlayer_get_sex')}) + end, false, { help = TranslateCap('debug_xPlayer_get_sex') }) ESX.RegisterCommand('xPlayerGetDOB', 'user', function(xPlayer) if xPlayer and xPlayer.get('dateofbirth') then @@ -518,7 +520,7 @@ if Config.EnableDebugging then else xPlayer.showNotification(TranslateCap('error_debug_xPlayer_get_dob')) end - end, false, {help = TranslateCap('debug_xPlayer_get_dob')}) + end, false, { help = TranslateCap('debug_xPlayer_get_dob') }) ESX.RegisterCommand('xPlayerGetHeight', 'user', function(xPlayer) if xPlayer and xPlayer.get('height') then @@ -526,5 +528,5 @@ if Config.EnableDebugging then else xPlayer.showNotification(TranslateCap('error_debug_xPlayer_get_height')) end - end, false, {help = TranslateCap('debug_xPlayer_get_height')}) + end, false, { help = TranslateCap('debug_xPlayer_get_height') }) end From a27906b3a7f422b45f20c0dbed50e69d9a35832d Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:07:29 +0200 Subject: [PATCH 201/236] =?UTF-8?q?Editorconfig=20=F0=9F=98=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 7097bdd5..00000000 --- a/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -# EditorConfig is awesome: https://EditorConfig.org - -# top-most EditorConfig file -root = true - -[*] -end_of_line = lf -insert_final_newline = true -charset = utf-8 -trim_trailing_whitespace = true -indent_size = 4 -indent_style = space -max_line_length = 900 \ No newline at end of file From 44213786c32e7a887b038bae69e3b19d1c779b74 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:09:22 +0200 Subject: [PATCH 202/236] fix(es_extended): Fix inconsistent indentation --- [core]/es_extended/common/modules/timeout.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/[core]/es_extended/common/modules/timeout.lua b/[core]/es_extended/common/modules/timeout.lua index 7b559327..814b086c 100644 --- a/[core]/es_extended/common/modules/timeout.lua +++ b/[core]/es_extended/common/modules/timeout.lua @@ -6,8 +6,8 @@ ESX.SetTimeout = function(msec, cb) SetTimeout(msec, function() if CancelledTimeouts[id] then - CancelledTimeouts[id] = nil - return + CancelledTimeouts[id] = nil + return end cb() @@ -20,4 +20,4 @@ end ESX.ClearTimeout = function(id) CancelledTimeouts[id] = true -end \ No newline at end of file +end From fca417b751de3c2301ec01b7cb33afc3650f53f6 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:11:53 +0200 Subject: [PATCH 203/236] fix(esx_multicharacter): inconsistent indentation --- [core]/esx_multicharacter/config.lua | 197 +++++++++++------------ [core]/esx_multicharacter/locales/fi.lua | 4 +- 2 files changed, 100 insertions(+), 101 deletions(-) diff --git a/[core]/esx_multicharacter/config.lua b/[core]/esx_multicharacter/config.lua index f8256d38..0be7164b 100644 --- a/[core]/esx_multicharacter/config.lua +++ b/[core]/esx_multicharacter/config.lua @@ -12,12 +12,11 @@ if IsDuplicityVersion() then -- Text to prepend to each character (char#:identifier) - keep it short Config.Prefix = 'char' - else -- Sets the location for the character selection scene -- To set the spawn location for new characters, modify the default value in the users SQL table Config.Spawn = { - {x = -284.2856, y = 562.4627, z = 172.9182, heading = 19.9895}, + { x = -284.2856, y = 562.4627, z = 172.9182, heading = 19.9895 }, } -------------------- @@ -29,101 +28,101 @@ else -- Default appearance for new characters Config.Default = { ["m"] = { - mom = 43, - dad = 29, - face_md_weight = 61, - skin_md_weight = 27, - nose_1 = -5, - nose_2 = 6, - nose_3 = 5, - nose_4 = 8, - nose_5 = 10, - nose_6 = 0, - cheeks_1 = 2, - cheeks_2 = -10, - cheeks_3 = 6, - lip_thickness = -2, - jaw_1 = 0, - jaw_2 = 0, - chin_1 = 0, - chin_2 = 0, - chin_13 = 0, - chin_4 = 0, - neck_thickness = 0, - hair_1 = 76, - hair_2 = 0, - hair_color_1 = 61, - hair_color_2 = 29, - tshirt_1 = 4, - tshirt_2 = 2, - torso_1 = 23, - torso_2 = 2, - decals_1 = 0, - decals_2 = 0, - arms = 1, - arms_2 = 0, - pants_1 = 28, - pants_2 = 3, - shoes_1 = 70, - shoes_2 = 2, - mask_1 = 0, - mask_2 = 0, - bproof_1 = 0, - bproof_2 = 0, - chain_1 = 22, - chain_2 = 2, - helmet_1 = -1, - helmet_2 = 0, - glasses_1 = 0, - glasses_2 = 0, - watches_1 = -1, - watches_2 = 0, - bracelets_1 = -1, - bracelets_2 = 0, - bags_1 = 0, - bags_2 = 0, - eye_color = 0, - eye_squint = 0, - eyebrows_2 = 0, - eyebrows_1 = 0, - eyebrows_3 = 0, - eyebrows_4 = 0, - eyebrows_5 = 0, - eyebrows_6 = 0, - makeup_1 = 0, - makeup_2 = 0, - makeup_3 = 0, - makeup_4 = 0, - lipstick_1 = 0, - lipstick_2 = 0, - lipstick_3 = 0, - lipstick_4 = 0, - ears_1 = -1, - ears_2 = 0, - chest_1 = 0, - chest_2 = 0, - chest_3 = 0, - bodyb_1 = -1, - bodyb_2 = 0, - bodyb_3 = -1, - bodyb_4 = 0, - age_1 = 0, - age_2 = 0, - blemishes_1 = 0, - blemishes_2 = 0, - blush_1 = 0, - blush_2 = 0, - blush_3 = 0, - complexion_1 = 0, - complexion_2 = 0, - sun_1 = 0, - sun_2 = 0, - moles_1 = 0, - moles_2 = 0, - beard_1 = 11, - beard_2 = 10, - beard_3 = 0, - beard_4 = 0 + mom = 43, + dad = 29, + face_md_weight = 61, + skin_md_weight = 27, + nose_1 = -5, + nose_2 = 6, + nose_3 = 5, + nose_4 = 8, + nose_5 = 10, + nose_6 = 0, + cheeks_1 = 2, + cheeks_2 = -10, + cheeks_3 = 6, + lip_thickness = -2, + jaw_1 = 0, + jaw_2 = 0, + chin_1 = 0, + chin_2 = 0, + chin_13 = 0, + chin_4 = 0, + neck_thickness = 0, + hair_1 = 76, + hair_2 = 0, + hair_color_1 = 61, + hair_color_2 = 29, + tshirt_1 = 4, + tshirt_2 = 2, + torso_1 = 23, + torso_2 = 2, + decals_1 = 0, + decals_2 = 0, + arms = 1, + arms_2 = 0, + pants_1 = 28, + pants_2 = 3, + shoes_1 = 70, + shoes_2 = 2, + mask_1 = 0, + mask_2 = 0, + bproof_1 = 0, + bproof_2 = 0, + chain_1 = 22, + chain_2 = 2, + helmet_1 = -1, + helmet_2 = 0, + glasses_1 = 0, + glasses_2 = 0, + watches_1 = -1, + watches_2 = 0, + bracelets_1 = -1, + bracelets_2 = 0, + bags_1 = 0, + bags_2 = 0, + eye_color = 0, + eye_squint = 0, + eyebrows_2 = 0, + eyebrows_1 = 0, + eyebrows_3 = 0, + eyebrows_4 = 0, + eyebrows_5 = 0, + eyebrows_6 = 0, + makeup_1 = 0, + makeup_2 = 0, + makeup_3 = 0, + makeup_4 = 0, + lipstick_1 = 0, + lipstick_2 = 0, + lipstick_3 = 0, + lipstick_4 = 0, + ears_1 = -1, + ears_2 = 0, + chest_1 = 0, + chest_2 = 0, + chest_3 = 0, + bodyb_1 = -1, + bodyb_2 = 0, + bodyb_3 = -1, + bodyb_4 = 0, + age_1 = 0, + age_2 = 0, + blemishes_1 = 0, + blemishes_2 = 0, + blush_1 = 0, + blush_2 = 0, + blush_3 = 0, + complexion_1 = 0, + complexion_2 = 0, + sun_1 = 0, + sun_2 = 0, + moles_1 = 0, + moles_2 = 0, + beard_1 = 11, + beard_2 = 10, + beard_3 = 0, + beard_4 = 0 }, ["f"] = { mom = 28, @@ -221,6 +220,6 @@ else beard_2 = 0, beard_3 = 0, beard_4 = 0 - } + } } -end \ No newline at end of file +end diff --git a/[core]/esx_multicharacter/locales/fi.lua b/[core]/esx_multicharacter/locales/fi.lua index a5beae2d..757399c1 100644 --- a/[core]/esx_multicharacter/locales/fi.lua +++ b/[core]/esx_multicharacter/locales/fi.lua @@ -17,7 +17,7 @@ Locales["fi"] = { ["character"] = "Hahmo: %s", ["return"] = "Takaisin", ["return_description"] = "Palaa hahmojen valintaan.", - ["command_setslots"] = "Määritä pelaajan multicharacter paikkojen määrä", + ["command_setslots"] = "Määritä pelaajan multicharacter paikkojen määrä", ["command_remslots"] = "Vähennä pelaajan multicharacter paikkojen määrää", ["command_enablechar"] = "Muuta pelaajan tietty hahmo käyttöön", ["command_disablechar"] = "Muuta pelaajan tietty hahmo pois käytöstä", @@ -28,6 +28,6 @@ Locales["fi"] = { ["slotsedit"] = "Olet määrittänyt %s kohteeseen %s", ["slotsrem"] = "Poistit paikat kohteesta %s", ["charenabled"] = "Otit käyttöön hahmon #%s / %s", - ["chardisabled"] = "Poistit hahmon #%s / %s käytöstä", + ["chardisabled"] = "Poistit hahmon #%s / %s käytöstä", ["charnotfound"] = "Hahmoa #%s / %s ei ole olemassa", } From a703c99d355a26cafb28aa57b7bcfabab8f51ba6 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:33:46 +0200 Subject: [PATCH 204/236] fix(es_extended): Lint error --- [core]/es_extended/server/onesync.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/[core]/es_extended/server/onesync.lua b/[core]/es_extended/server/onesync.lua index 7316fefd..e43f70b4 100644 --- a/[core]/es_extended/server/onesync.lua +++ b/[core]/es_extended/server/onesync.lua @@ -90,9 +90,9 @@ end ---@param cb function function ESX.OneSync.SpawnObject(model, coords, heading, cb) if type(model) == 'string' then model = joaat(model) end - local coords = type(coords) == "vector3" and coords or vector3(coords.x, coords.y, coords.z) + local objectCoords = type(coords) == "vector3" and coords or vector3(coords.x, coords.y, coords.z) CreateThread(function() - local entity = CreateObject(model, coords, true, true) + local entity = CreateObject(model, objectCoords, true, true) while not DoesEntityExist(entity) do Wait(50) end SetEntityHeading(entity, heading) cb(NetworkGetNetworkIdFromEntity(entity)) From 85ecaf2c19bbd73b2c6b650dbf3a01c20ea4eb94 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:40:32 +0200 Subject: [PATCH 205/236] fix(lint): fix lint error --- [core]/esx_menu_default/client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/esx_menu_default/client/main.lua b/[core]/esx_menu_default/client/main.lua index 62b5f6a7..f1d37826 100644 --- a/[core]/esx_menu_default/client/main.lua +++ b/[core]/esx_menu_default/client/main.lua @@ -14,7 +14,7 @@ end local function closeMenu(namespace, name) CurrentNameSpace = namespace - OpenedMenus -= 1 + OpenedMenus = OpenedMenus - 1 if OpenedMenus < 0 then OpenedMenus = 0 end From b81973b54ba1691071202ccc7ceeb6b304d5cc98 Mon Sep 17 00:00:00 2001 From: Thekuca <63980591+Thekuca@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:50:45 +0200 Subject: [PATCH 206/236] fix(lint): fix shadowing upvalue args and vars --- [core]/es_extended/server/classes/player.lua | 58 ++++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index cf996b73..382c42a7 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -36,25 +36,25 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, TriggerClientEvent(eventName, self.source, ...) end - function self.setCoords(coords) + function self.setCoords(coordinates) local Ped = GetPlayerPed(self.source) - local vector = type(coords) == "vector4" and coords or type(coords) == "vector3" and vector4(coords, 0.0) or - vec(coords.x, coords.y, coords.z, coords.heading or 0.0) + local vector = type(coordinates) == "vector4" and coordinates or type(coordinates) == "vector3" and vector4(coordinates, 0.0) or + vec(coordinates.x, coordinates.y, coordinates.z, coordinates.heading or 0.0) SetEntityCoords(Ped, vector.xyz, false, false, false, false) SetEntityHeading(Ped, vector.w) end function self.getCoords(vector) local ped = GetPlayerPed(self.source) - local coords = GetEntityCoords(ped) + local coordinates = GetEntityCoords(ped) if vector then - return coords + return coordinates else return { - x = coords.x, - y = coords.y, - z = coords.z, + x = coordinates.x, + y = coordinates.y, + z = coordinates.z, } end end @@ -254,16 +254,16 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end end - function self.getInventoryItem(name) + function self.getInventoryItem(itemName) for _, v in ipairs(self.inventory) do - if v.name == name then + if v.itemName == itemName then return v end end end - function self.addInventoryItem(name, count) - local item = self.getInventoryItem(name) + function self.addInventoryItem(itemName, count) + local item = self.getInventoryItem(itemName) if item then count = ESX.Math.Round(count) @@ -275,8 +275,8 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end end - function self.removeInventoryItem(name, count) - local item = self.getInventoryItem(name) + function self.removeInventoryItem(itemName, count) + local item = self.getInventoryItem(itemName) if item then count = ESX.Math.Round(count) @@ -291,13 +291,13 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, self.triggerEvent('esx:removeInventoryItem', item.name, item.count) end else - print(('[^1ERROR^7] Player ID:^5%s Tried remove a Invalid count -> %s of %s'):format(self.playerId, count,name)) + print(('[^1ERROR^7] Player ID:^5%s Tried remove a Invalid count -> %s of %s'):format(self.playerId, count, itemName)) end end end - function self.setInventoryItem(name, count) - local item = self.getInventoryItem(name) + function self.setInventoryItem(itemName, count) + local item = self.getInventoryItem(itemName) if item and count >= 0 then count = ESX.Math.Round(count) @@ -318,14 +318,14 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, return self.maxWeight end - function self.canCarryItem(name, count) - if ESX.Items[name] then - local currentWeight, itemWeight = self.weight, ESX.Items[name].weight + function self.canCarryItem(itemName, count) + if ESX.Items[itemName] then + local currentWeight, itemWeight = self.weight, ESX.Items[itemName].weight local newWeight = currentWeight + (itemWeight * count) return newWeight <= self.maxWeight else - print(('[^3WARNING^7] Item ^5"%s"^7 was used but does not exist!'):format(name)) + print(('[^3WARNING^7] Item ^5"%s"^7 was used but does not exist!'):format(itemName)) end end @@ -348,12 +348,12 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, self.triggerEvent('esx:setMaxWeight', self.maxWeight) end - function self.setJob(job, grade) + function self.setJob(newJob, grade) grade = tostring(grade) local lastJob = json.decode(json.encode(self.job)) - if ESX.DoesJobExist(job, grade) then - local jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] + if ESX.DoesJobExist(newJob, grade) then + local jobObject, gradeObject = ESX.Jobs[newJob], ESX.Jobs[newJob].grades[grade] self.job.id = jobObject.id self.job.name = jobObject.name @@ -575,16 +575,16 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, return print("[^1ERROR^7] xPlayer.getMeta ^5index^7 should be ^5string^7!") end - local metadata = self.metadata[index] - if (metadata == nil) then + local metaData = self.metadata[index] + if (metaData == nil) then return Config.EnableDebug and print(("[^1ERROR^7] xPlayer.getMeta ^5%s^7 not exist!"):format(index)) or nil end - if (subIndex and type(metadata) == "table") then + if (subIndex and type(metaData) == "table") then local _type = type(subIndex) if (_type == "string") then - local value = metadata[subIndex] + local value = metaData[subIndex] return value end @@ -606,7 +606,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, return print(("[^1ERROR^7] xPlayer.getMeta subIndex should be ^5string^7 or ^5table^7!, received ^5%s^7!"):format(_type)) end - return metadata + return metaData end From 88c8036a246f80ec730beba43e0fae8ab249f1a7 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 29 Jun 2023 20:20:28 +0200 Subject: [PATCH 207/236] formatting(core): Format all --- [core]/cron/fxmanifest.lua | 2 +- [core]/cron/server/main.lua | 3 +- [core]/es_extended/client/functions.lua | 102 +- [core]/es_extended/client/main.lua | 43 +- [core]/es_extended/client/modules/actions.lua | 5 +- .../es_extended/client/modules/callback.lua | 2 +- [core]/es_extended/client/modules/death.lua | 8 +- [core]/es_extended/client/modules/npwd.lua | 2 +- [core]/es_extended/common/functions.lua | 8 +- [core]/es_extended/common/modules/math.lua | 8 +- [core]/es_extended/common/modules/table.lua | 40 +- [core]/es_extended/config.lua | 110 +- [core]/es_extended/config.weapons.lua | 1294 +++++++++-------- [core]/es_extended/fxmanifest.lua | 4 +- [core]/es_extended/locale.lua | 4 +- [core]/es_extended/locales/cs.lua | 4 +- [core]/es_extended/locales/da.lua | 4 +- [core]/es_extended/locales/de.lua | 4 +- [core]/es_extended/locales/en.lua | 2 +- [core]/es_extended/locales/es.lua | 6 +- [core]/es_extended/locales/fi.lua | 4 +- [core]/es_extended/locales/fr.lua | 6 +- [core]/es_extended/locales/hu.lua | 8 +- [core]/es_extended/locales/it.lua | 4 +- [core]/es_extended/locales/nl.lua | 74 +- [core]/es_extended/locales/pl.lua | 4 +- [core]/es_extended/locales/sl.lua | 73 +- [core]/es_extended/locales/sr.lua | 4 +- [core]/es_extended/locales/zh-cn.lua | 4 +- .../server/classes/overrides/oxinventory.lua | 28 +- [core]/es_extended/server/classes/player.lua | 107 +- [core]/es_extended/server/commands.lua | 477 +++--- [core]/es_extended/server/common.lua | 4 +- [core]/es_extended/server/functions.lua | 181 +-- [core]/es_extended/server/modules/actions.lua | 4 +- .../es_extended/server/modules/callback.lua | 2 +- [core]/es_extended/server/onesync.lua | 7 +- [core]/es_extended/server/paycheck.lua | 36 +- [core]/esx_context/config.lua | 2 +- [core]/esx_context/fxmanifest.lua | 4 +- [core]/esx_identity/client/main.lua | 2 +- [core]/esx_identity/config.lua | 24 +- [core]/esx_identity/fxmanifest.lua | 4 +- [core]/esx_identity/locales/da.lua | 75 +- [core]/esx_identity/locales/es.lua | 72 +- [core]/esx_identity/locales/fr.lua | 74 +- [core]/esx_identity/locales/pt.lua | 74 +- [core]/esx_identity/locales/sl.lua | 74 +- [core]/esx_identity/server/main.lua | 241 ++- [core]/esx_loadingscreen/client/client.lua | 4 +- [core]/esx_loadingscreen/config.lua | 2 +- [core]/esx_loadingscreen/fxmanifest.lua | 4 +- [core]/esx_menu_default/client/main.lua | 2 +- [core]/esx_menu_default/fxmanifest.lua | 10 +- [core]/esx_menu_dialog/client/main.lua | 2 +- [core]/esx_menu_dialog/fxmanifest.lua | 2 +- [core]/esx_menu_list/client/main.lua | 8 +- [core]/esx_menu_list/fxmanifest.lua | 2 +- [core]/esx_multicharacter/client/main.lua | 56 +- [core]/esx_multicharacter/fxmanifest.lua | 14 +- [core]/esx_multicharacter/locales/sl.lua | 12 +- [core]/esx_multicharacter/locales/sr.lua | 2 +- [core]/esx_multicharacter/server/commands.lua | 66 +- [core]/esx_notify/Notify.lua | 15 +- [core]/esx_notify/fxmanifest.lua | 2 +- [core]/esx_progressbar/Progress.lua | 4 +- [core]/esx_progressbar/fxmanifest.lua | 2 +- [core]/esx_skin/client/main.lua | 21 +- [core]/esx_skin/fxmanifest.lua | 2 +- [core]/esx_skin/locales/da.lua | 2 +- [core]/esx_skin/locales/pt.lua | 10 +- [core]/esx_skin/locales/zh-cn.lua | 10 +- [core]/esx_skin/server/main.lua | 24 +- [core]/esx_textui/TextUI.lua | 4 +- [core]/esx_textui/fxmanifest.lua | 2 +- [core]/skinchanger/client/main.lua | 96 +- [core]/skinchanger/config.lua | 4 +- [core]/skinchanger/fxmanifest.lua | 2 +- [core]/skinchanger/locales/da.lua | 2 +- [core]/skinchanger/locales/fi.lua | 2 +- [core]/skinchanger/locales/nl.lua | 198 +-- [core]/skinchanger/locales/pl.lua | 2 +- [core]/skinchanger/locales/pt.lua | 198 +-- 83 files changed, 2096 insertions(+), 2020 deletions(-) diff --git a/[core]/cron/fxmanifest.lua b/[core]/cron/fxmanifest.lua index aef7cbe4..97d75c99 100644 --- a/[core]/cron/fxmanifest.lua +++ b/[core]/cron/fxmanifest.lua @@ -4,6 +4,6 @@ game 'gta5' author 'ESX-Framework' description 'cron' lua54 'yes' -version '1.9.4' +version '1.9.5' server_script 'server/main.lua' diff --git a/[core]/cron/server/main.lua b/[core]/cron/server/main.lua index e517d10e..d82214a7 100644 --- a/[core]/cron/server/main.lua +++ b/[core]/cron/server/main.lua @@ -15,11 +15,10 @@ function GetTime() local h = tonumber(os.date('%H', timestamp)) local m = tonumber(os.date('%M', timestamp)) - return {d = d, h = h, m = m} + return { d = d, h = h, m = m } end function OnTime(d, h, m) - for i = 1, #Jobs, 1 do if Jobs[i].h == h and Jobs[i].m == m then Jobs[i].cb(d, h, m) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index 65d4c61d..da7ae46e 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -26,7 +26,7 @@ end function ESX.SearchInventory(items, count) if type(items) == 'string' then - items = {items} + items = { items } end local returnData = {} @@ -154,7 +154,7 @@ if GetResourceState("esx_context") ~= "missing" then end function ESX.RefreshContext(...) - exports["esx_context"]:Refresh(...) + exports["esx_context"]:Refresh(...) end else function ESX.OpenContext() @@ -203,7 +203,6 @@ function ESX.UI.Menu.Open(type, namespace, name, data, submit, cancel, change, c menu.change = change menu.close = function() - ESX.UI.Menu.RegisteredTypes[type].close(namespace, name) for i = 1, #ESX.UI.Menu.Opened, 1 do @@ -218,11 +217,9 @@ function ESX.UI.Menu.Open(type, namespace, name, data, submit, cancel, change, c if close then close() end - end menu.update = function(query, newData) - for i = 1, #menu.data.elements, 1 do local match = true @@ -238,7 +235,6 @@ function ESX.UI.Menu.Open(type, namespace, name, data, submit, cancel, change, c end end end - end menu.refresh = function() @@ -266,7 +262,6 @@ function ESX.UI.Menu.Open(type, namespace, name, data, submit, cancel, change, c break end end - end end end @@ -496,7 +491,6 @@ function ESX.Game.GetPlayers(onlyOtherPlayers, returnKeyValue, returnPeds) return players end - function ESX.Game.GetClosestObject(coords, modelFilter) return ESX.Game.GetClosestEntity(ESX.Game.GetObjects(), false, coords, modelFilter) end @@ -604,19 +598,19 @@ function ESX.Game.GetVehicleProperties(vehicle) local interiorColor = GetVehicleInteriorColour(vehicle) local customPrimaryColor = nil if hasCustomPrimaryColor then - customPrimaryColor = {GetVehicleCustomPrimaryColour(vehicle)} + customPrimaryColor = { GetVehicleCustomPrimaryColour(vehicle) } end local hasCustomXenonColor, customXenonColorR, customXenonColorG, customXenonColorB = GetVehicleXenonLightsCustomColor(vehicle) local customXenonColor = nil if hasCustomXenonColor then - customXenonColor = {customXenonColorR, customXenonColorG, customXenonColorB} + customXenonColor = { customXenonColorR, customXenonColorG, customXenonColorB } end local hasCustomSecondaryColor = GetIsVehicleSecondaryColourCustom(vehicle) local customSecondaryColor = nil if hasCustomSecondaryColor then - customSecondaryColor = {GetVehicleCustomSecondaryColour(vehicle)} + customSecondaryColor = { GetVehicleCustomSecondaryColour(vehicle) } end local extras = {} @@ -634,11 +628,11 @@ function ESX.Game.GetVehicleProperties(vehicle) local doorsBroken, windowsBroken, tyreBurst = {}, {}, {} local numWheels = tostring(GetVehicleNumberOfWheels(vehicle)) - local TyresIndex = { -- Wheel index list according to the number of vehicle wheels. - ['2'] = {0, 4}, -- Bike and cycle. - ['3'] = {0, 1, 4, 5}, -- Vehicle with 3 wheels (get for wheels because some 3 wheels vehicles have 2 wheels on front and one rear or the reverse). - ['4'] = {0, 1, 4, 5}, -- Vehicle with 4 wheels. - ['6'] = {0, 1, 2, 3, 4, 5} -- Vehicle with 6 wheels. + local TyresIndex = { -- Wheel index list according to the number of vehicle wheels. + ['2'] = { 0, 4 }, -- Bike and cycle. + ['3'] = { 0, 1, 4, 5 }, -- Vehicle with 3 wheels (get for wheels because some 3 wheels vehicles have 2 wheels on front and one rear or the reverse). + ['4'] = { 0, 1, 4, 5 }, -- Vehicle with 4 wheels. + ['6'] = { 0, 1, 2, 3, 4, 5 } -- Vehicle with 6 wheels. } if TyresIndex[numWheels] then @@ -688,8 +682,8 @@ function ESX.Game.GetVehicleProperties(vehicle) xenonColor = GetVehicleXenonLightsColor(vehicle), customXenonColor = customXenonColor, - neonEnabled = {IsVehicleNeonLightEnabled(vehicle, 0), IsVehicleNeonLightEnabled(vehicle, 1), - IsVehicleNeonLightEnabled(vehicle, 2), IsVehicleNeonLightEnabled(vehicle, 3)}, + neonEnabled = { IsVehicleNeonLightEnabled(vehicle, 0), IsVehicleNeonLightEnabled(vehicle, 1), + IsVehicleNeonLightEnabled(vehicle, 2), IsVehicleNeonLightEnabled(vehicle, 3) }, neonColor = table.pack(GetVehicleNeonLightsColour(vehicle)), extras = extras, @@ -720,7 +714,7 @@ function ESX.Game.GetVehicleProperties(vehicle) modXenon = IsToggleModOn(vehicle, 22), modFrontWheels = GetVehicleMod(vehicle, 23), - modCustomFrontWheels = GetVehicleModVariation(vehicle, 23), + modCustomFrontWheels = GetVehicleModVariation(vehicle, 23), modBackWheels = GetVehicleMod(vehicle, 24), modCustomBackWheels = GetVehicleModVariation(vehicle, 24), @@ -909,7 +903,7 @@ function ESX.Game.SetVehicleProperties(vehicle, props) if props.modFrontWheels ~= nil then SetVehicleMod(vehicle, 23, props.modFrontWheels, false) end - if props.modCustomFrontWheels ~= nil then + if props.modCustomFrontWheels ~= nil then SetVehicleMod(vehicle, 23, props.modCustomFrontWheels, false) end if props.modBackWheels ~= nil then @@ -1062,7 +1056,7 @@ function ESX.ShowInventory() local playerPed = ESX.PlayerData.ped local elements = { - {unselectable = true, icon = 'fas fa-box', title = 'Player Inventory'} + { unselectable = true, icon = 'fas fa-box', title = 'Player Inventory' } } local currentWeight = 0 @@ -1071,7 +1065,7 @@ function ESX.ShowInventory() local formattedMoney = TranslateCap('locale_currency', ESX.Math.GroupDigits(ESX.PlayerData.accounts[i].money)) local canDrop = ESX.PlayerData.accounts[i].name ~= 'bank' - elements[#elements+1] = { + elements[#elements + 1] = { icon = 'fas fa-money-bill-wave', title = ('%s: %s'):format(ESX.PlayerData.accounts[i].label, formattedMoney), count = ESX.PlayerData.accounts[i].money, @@ -1088,7 +1082,7 @@ function ESX.ShowInventory() if v.count > 0 then currentWeight = currentWeight + (v.weight * v.count) - elements[#elements+1] = { + elements[#elements + 1] = { icon = 'fas fa-box', title = ('%s x%s'):format(v.label, v.count), count = v.count, @@ -1107,7 +1101,7 @@ function ESX.ShowInventory() if HasPedGotWeapon(playerPed, weaponHash, false) then local ammo = GetAmmoInPedWeapon(playerPed, weaponHash) - elements[#elements+1] = { + elements[#elements + 1] = { icon = 'fas fa-gun', title = v.ammo and ('%s - %s %s'):format(v.label, ammo, v.ammo.label) or v.label, count = 1, @@ -1122,10 +1116,10 @@ function ESX.ShowInventory() end end - elements[#elements+1] = { + elements[#elements + 1] = { unselectable = true, icon = "fas fa-weight", - title = "Current Weight: "..currentWeight + title = "Current Weight: " .. currentWeight } ESX.CloseContext() @@ -1136,7 +1130,7 @@ function ESX.ShowInventory() local elements2 = {} if element.usable then - elements2[#elements2+1] = { + elements2[#elements2 + 1] = { icon = "fas fa-utensils", title = TranslateCap('use'), action = 'use', @@ -1147,7 +1141,7 @@ function ESX.ShowInventory() if element.canRemove then if player ~= -1 and distance <= 3.0 then - elements2[#elements2+1] = { + elements2[#elements2 + 1] = { icon = "fas fa-hands", title = TranslateCap('give'), action = 'give', @@ -1156,7 +1150,7 @@ function ESX.ShowInventory() } end - elements2[#elements2+1] = { + elements2[#elements2 + 1] = { icon = "fas fa-trash", title = TranslateCap('remove'), action = 'remove', @@ -1166,7 +1160,7 @@ function ESX.ShowInventory() end if element.type == 'item_weapon' and element.canGiveAmmo and element.ammo > 0 and player ~= -1 and distance <= 3.0 then - elements2[#elements2+1] = { + elements2[#elements2 + 1] = { icon = "fas fa-gun", title = TranslateCap('giveammo'), action = 'give_ammo', @@ -1175,7 +1169,7 @@ function ESX.ShowInventory() } end - elements2[#elements2+1] = { + elements2[#elements2 + 1] = { icon = "fas fa-arrow-left", title = TranslateCap('return'), action = 'return' @@ -1190,7 +1184,7 @@ function ESX.ShowInventory() if #playersNearby > 0 then local players = {} local elements3 = { - {unselectable = true, icon = "fas fa-users", title = "Nearby Players"} + { unselectable = true, icon = "fas fa-users", title = "Nearby Players" } } for _, playerNearby in ipairs(playersNearby) do @@ -1199,7 +1193,7 @@ function ESX.ShowInventory() ESX.TriggerServerCallback('esx:getPlayerNames', function(returnedPlayers) for playerId, playerName in pairs(returnedPlayers) do - elements3[#elements3+1] = { + elements3[#elements3 + 1] = { icon = "fas fa-user", title = playerName, playerId = playerId @@ -1220,9 +1214,9 @@ function ESX.ShowInventory() ESX.CloseContext() else local elementsG = { - {unselectable = true, icon = "fas fa-trash", title = element.title}, - {icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to give..", inputMin = 1, inputMax = 1000}, - {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} + { unselectable = true, icon = "fas fa-trash", title = element.title }, + { icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to give..", inputMin = 1, inputMax = 1000 }, + { icon = "fas fa-check-double", title = "Confirm", val = "confirm" } } ESX.OpenContext("right", elementsG, function(menuG) @@ -1259,9 +1253,9 @@ function ESX.ShowInventory() TriggerServerEvent('esx:removeInventoryItem', type, item) else local elementsR = { - {unselectable = true, icon = "fas fa-trash", title = element.title}, - {icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to remove..", inputMin = 1, inputMax = 1000}, - {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} + { unselectable = true, icon = "fas fa-trash", title = element.title }, + { icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to remove..", inputMin = 1, inputMax = 1000 }, + { icon = "fas fa-check-double", title = "Confirm", val = "confirm" } } ESX.OpenContext("right", elementsR, function(menuR) @@ -1294,9 +1288,9 @@ function ESX.ShowInventory() if closestPlayer ~= -1 and closestDistance < 3.0 then if pedAmmo > 0 then local elementsGA = { - {unselectable = true, icon = "fas fa-trash", title = element.title}, - {icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to give..", inputMin = 1, inputMax = 1000}, - {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} + { unselectable = true, icon = "fas fa-trash", title = element.title }, + { icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to give..", inputMin = 1, inputMax = 1000 }, + { icon = "fas fa-check-double", title = "Confirm", val = "confirm" } } ESX.OpenContext("right", elementsGA, function(menuGA) @@ -1348,20 +1342,20 @@ end) function ESX.GetVehicleType(model) model = type(model) == 'string' and joaat(model) or model - if model == `submersible` or model == `submersible2` then + if model == `submersible` or model == `submersible2` then return 'submarine' - end + end - local vehicleType = GetVehicleClassFromName(model) - local types = { - [8] = "bike", - [11] = "trailer", - [13] = "bike", - [14] = "boat", - [15] = "heli", - [16] = "plane", - [21] = "train", - } + local vehicleType = GetVehicleClassFromName(model) + local types = { + [8] = "bike", + [11] = "trailer", + [13] = "bike", + [14] = "boat", + [15] = "heli", + [16] = "plane", + [21] = "train", + } return types[vehicleType] or "automobile" end diff --git a/[core]/es_extended/client/main.lua b/[core]/es_extended/client/main.lua index 60098916..34a0f3e2 100644 --- a/[core]/es_extended/client/main.lua +++ b/[core]/es_extended/client/main.lua @@ -3,7 +3,7 @@ local pickups = {} CreateThread(function() while not Config.Multichar do Wait(100) - + if NetworkIsPlayerActive(PlayerId()) then exports.spawnmanager:setAutoSpawn(false) DoScreenFadeOut(0) @@ -101,7 +101,7 @@ AddEventHandler('esx:playerLoaded', function(xPlayer, isNew, skin) SetPlayerLockonRangeOverride(playerId, 2.0) end end - + if Config.DisableVehicleRewards then DisablePlayerVehicleRewards(playerId) end @@ -173,7 +173,7 @@ AddEventHandler('esx:playerLoaded', function(xPlayer, isNew, skin) 'WORLD_VEHICLE_DISTANT_EMPTY_GROUND', 'WORLD_HUMAN_PAPARAZZI' } - + for _, v in pairs(scenarios) do SetScenarioTypeEnabled(v, false) end @@ -246,25 +246,25 @@ AddStateBagChangeHandler('VehicleProperties', nil, function(bagName, _, value) return end - local netId = bagName:gsub('entity:', '') - local timer = GetGameTimer() - while not NetworkDoesEntityExistWithNetworkId(tonumber(netId)) do - Wait(0) - if GetGameTimer() - timer > 10000 then - return - end - end + local netId = bagName:gsub('entity:', '') + local timer = GetGameTimer() + while not NetworkDoesEntityExistWithNetworkId(tonumber(netId)) do + Wait(0) + if GetGameTimer() - timer > 10000 then + return + end + end - local vehicle = NetToVeh(tonumber(netId)) - local timer2 = GetGameTimer() - while NetworkGetEntityOwner(vehicle) ~= PlayerId() do - Wait(0) - if GetGameTimer() - timer2 > 10000 then - return - end - end + local vehicle = NetToVeh(tonumber(netId)) + local timer2 = GetGameTimer() + while NetworkGetEntityOwner(vehicle) ~= PlayerId() do + Wait(0) + if GetGameTimer() - timer2 > 10000 then + return + end + end - ESX.Game.SetVehicleProperties(vehicle, value) + ESX.Game.SetVehicleProperties(vehicle, value) end) RegisterNetEvent('esx:setAccountMoney') @@ -332,7 +332,6 @@ if not Config.OxInventory then RegisterNetEvent('esx:setWeaponTint') AddEventHandler('esx:setWeaponTint', function(weapon, weaponTintIndex) SetPedWeaponTintIndex(ESX.PlayerData.ped, joaat(weapon), weaponTintIndex) - end) RegisterNetEvent('esx:removeWeapon') @@ -392,7 +391,7 @@ if not Config.OxInventory then AddEventHandler('esx:createMissingPickups', function(missingPickups) for pickupId, pickup in pairs(missingPickups) do TriggerEvent('esx:createPickup', pickupId, pickup.label, pickup.coords - vector3(0, 0, 1.0), pickup.type, pickup.name - , pickup.components, pickup.tintIndex) + , pickup.components, pickup.tintIndex) end end) end diff --git a/[core]/es_extended/client/modules/actions.lua b/[core]/es_extended/client/modules/actions.lua index aec543e9..219c3508 100644 --- a/[core]/es_extended/client/modules/actions.lua +++ b/[core]/es_extended/client/modules/actions.lua @@ -21,7 +21,6 @@ end CreateThread(function() while true do - if playerPed ~= PlayerPedId() then playerPed = PlayerPedId() ESX.SetPlayerData('ped', playerPed) @@ -37,7 +36,7 @@ CreateThread(function() isJumping = false end - if IsPauseMenuActive() and not inPauseMenu then + if IsPauseMenuActive() and not inPauseMenu then inPauseMenu = true TriggerEvent('esx:pauseMenuActive', inPauseMenu) elseif not IsPauseMenuActive() and inPauseMenu then @@ -87,7 +86,6 @@ CreateThread(function() end) if Config.EnableDebug then - AddEventHandler('esx:playerPedChanged', function(netId) print('esx:playerPedChanged', netId) end) @@ -111,5 +109,4 @@ if Config.EnableDebug then AddEventHandler('esx:exitedVehicle', function(vehicle, plate, seat, displayName, netId) print('esx:exitedVehicle', 'vehicle', vehicle, 'plate', plate, 'seat', seat, 'displayName', displayName, 'netId', netId) end) - end diff --git a/[core]/es_extended/client/modules/callback.lua b/[core]/es_extended/client/modules/callback.lua index dfeae8fa..e6d38cdc 100644 --- a/[core]/es_extended/client/modules/callback.lua +++ b/[core]/es_extended/client/modules/callback.lua @@ -8,7 +8,7 @@ local clientCallbacks = {} ---@param ... any ESX.TriggerServerCallback = function(eventName, callback, ...) serverRequests[RequestId] = callback - + TriggerServerEvent('esx:triggerServerCallback', eventName, RequestId, GetInvokingResource() or "unknown", ...) RequestId = RequestId + 1 diff --git a/[core]/es_extended/client/modules/death.lua b/[core]/es_extended/client/modules/death.lua index be39fe3b..51d8aec7 100644 --- a/[core]/es_extended/client/modules/death.lua +++ b/[core]/es_extended/client/modules/death.lua @@ -4,7 +4,7 @@ AddEventHandler('gameEventTriggered', function(event, data) if not IsPedAPlayer(victim) then return end local player = PlayerId() local playerPed = PlayerPedId() - if victimDied and NetworkGetPlayerIndexFromPed(victim) == player and (IsPedDeadOrDying(victim, true) or IsPedFatallyInjured(victim)) then + if victimDied and NetworkGetPlayerIndexFromPed(victim) == player and (IsPedDeadOrDying(victim, true) or IsPedFatallyInjured(victim)) then local killerEntity, deathCause = GetPedSourceOfDeath(playerPed), GetPedCauseOfDeath(playerPed) local killerClientId = NetworkGetPlayerIndexFromPed(killerEntity) if killerEntity ~= playerPed and killerClientId and NetworkIsPlayerActive(killerClientId) then @@ -21,8 +21,8 @@ function PlayerKilledByPlayer(killerServerId, killerClientId, deathCause) local distance = #(victimCoords - killerCoords) local data = { - victimCoords = {x = ESX.Math.Round(victimCoords.x, 1), y = ESX.Math.Round(victimCoords.y, 1), z = ESX.Math.Round(victimCoords.z, 1)}, - killerCoords = {x = ESX.Math.Round(killerCoords.x, 1), y = ESX.Math.Round(killerCoords.y, 1), z = ESX.Math.Round(killerCoords.z, 1)}, + victimCoords = { x = ESX.Math.Round(victimCoords.x, 1), y = ESX.Math.Round(victimCoords.y, 1), z = ESX.Math.Round(victimCoords.z, 1) }, + killerCoords = { x = ESX.Math.Round(killerCoords.x, 1), y = ESX.Math.Round(killerCoords.y, 1), z = ESX.Math.Round(killerCoords.z, 1) }, killedByPlayer = true, deathCause = deathCause, @@ -41,7 +41,7 @@ function PlayerKilled(deathCause) local victimCoords = GetEntityCoords(playerPed) local data = { - victimCoords = {x = ESX.Math.Round(victimCoords.x, 1), y = ESX.Math.Round(victimCoords.y, 1), z = ESX.Math.Round(victimCoords.z, 1)}, + victimCoords = { x = ESX.Math.Round(victimCoords.x, 1), y = ESX.Math.Round(victimCoords.y, 1), z = ESX.Math.Round(victimCoords.z, 1) }, killedByPlayer = false, deathCause = deathCause diff --git a/[core]/es_extended/client/modules/npwd.lua b/[core]/es_extended/client/modules/npwd.lua index b6c7ac75..cac2e111 100644 --- a/[core]/es_extended/client/modules/npwd.lua +++ b/[core]/es_extended/client/modules/npwd.lua @@ -15,7 +15,7 @@ AddEventHandler('onClientResourceStart', function(resource) if resource ~= 'npwd' then return end - + npwd = GetResourceState('npwd'):find('start') and exports.npwd or nil if ESX.PlayerLoaded then diff --git a/[core]/es_extended/common/functions.lua b/[core]/es_extended/common/functions.lua index c96241fb..1bf9f8b7 100644 --- a/[core]/es_extended/common/functions.lua +++ b/[core]/es_extended/common/functions.lua @@ -1,7 +1,7 @@ local Charset = {} -for i = 48, 57 do table.insert(Charset, string.char(i)) end -for i = 65, 90 do table.insert(Charset, string.char(i)) end +for i = 48, 57 do table.insert(Charset, string.char(i)) end +for i = 65, 90 do table.insert(Charset, string.char(i)) end for i = 97, 122 do table.insert(Charset, string.char(i)) end local weaponsByName = {} @@ -78,11 +78,11 @@ function ESX.DumpTable(table, nb) s = '{\n' for k, v in pairs(table) do - if type(k) ~= 'number' then k = '"'..k..'"' end + if type(k) ~= 'number' then k = '"' .. k .. '"' end for _ = 1, nb, 1 do s = s .. " " end - s = s .. '['..k..'] = ' .. ESX.DumpTable(v, nb + 1) .. ',\n' + s = s .. '[' .. k .. '] = ' .. ESX.DumpTable(v, nb + 1) .. ',\n' end for _ = 1, nb, 1 do diff --git a/[core]/es_extended/common/modules/math.lua b/[core]/es_extended/common/modules/math.lua index 20856f09..c851c08f 100644 --- a/[core]/es_extended/common/modules/math.lua +++ b/[core]/es_extended/common/modules/math.lua @@ -2,7 +2,7 @@ ESX.Math = {} function ESX.Math.Round(value, numDecimalPlaces) if numDecimalPlaces then - local power = 10^numDecimalPlaces + local power = 10 ^ numDecimalPlaces return math.floor((value * power) + 0.5) / (power) else return math.floor(value + 0.5) @@ -11,9 +11,9 @@ end -- credit http://richard.warburton.it function ESX.Math.GroupDigits(value) - local left,num,right = string.match(value,'^([^%d]*%d)(%d*)(.-)$') + local left, num, right = string.match(value, '^([^%d]*%d)(%d*)(.-)$') - return left..(num:reverse():gsub('(%d%d%d)','%1' .. TranslateCap('locale_digit_grouping_symbol')):reverse())..right + return left .. (num:reverse():gsub('(%d%d%d)', '%1' .. TranslateCap('locale_digit_grouping_symbol')):reverse()) .. right end function ESX.Math.Trim(value) @@ -22,4 +22,4 @@ function ESX.Math.Trim(value) else return nil end -end \ No newline at end of file +end diff --git a/[core]/es_extended/common/modules/table.lua b/[core]/es_extended/common/modules/table.lua index c582d59b..3593b245 100644 --- a/[core]/es_extended/common/modules/table.lua +++ b/[core]/es_extended/common/modules/table.lua @@ -4,7 +4,7 @@ ESX.Table = {} function ESX.Table.SizeOf(t) local count = 0 - for _,_ in pairs(t) do + for _, _ in pairs(t) do count = count + 1 end @@ -28,7 +28,7 @@ function ESX.Table.IndexOf(t, value) end function ESX.Table.LastIndexOf(t, value) - for i=#t, 1, -1 do + for i = #t, 1, -1 do if t[i] == value then return i end @@ -82,7 +82,7 @@ end function ESX.Table.Reverse(t) local newTable = {} - for i=#t, 1, -1 do + for i = #t, 1, -1 do table.insert(newTable, t[i]) end @@ -134,21 +134,21 @@ end -- Credits: https://github.com/JonasDev99/qb-garages/blob/b0335d67cb72a6b9ac60f62a87fb3946f5c2f33d/server/main.lua#L5 function ESX.Table.TableContains(tab, val) - if type(val) == "table" then - for _, value in pairs(tab) do - if ESX.Table.TableContains(val, value) then - return true - end - end - return false - else - for _, value in pairs(tab) do - if value == val then - return true - end - end - end - return false + if type(val) == "table" then + for _, value in pairs(tab) do + if ESX.Table.TableContains(val, value) then + return true + end + end + return false + else + for _, value in pairs(tab) do + if value == val then + return true + end + end + end + return false end -- Credit: https://stackoverflow.com/a/15706820 @@ -157,14 +157,14 @@ function ESX.Table.Sort(t, order) -- collect the keys local keys = {} - for k,_ in pairs(t) do + for k, _ in pairs(t) do keys[#keys + 1] = k end -- if order function given, sort by it by passing the table and keys a, b, -- otherwise just sort the keys if order then - table.sort(keys, function(a,b) + table.sort(keys, function(a, b) return order(t, a, b) end) else diff --git a/[core]/es_extended/config.lua b/[core]/es_extended/config.lua index a4245685..7f0c7989 100644 --- a/[core]/es_extended/config.lua +++ b/[core]/es_extended/config.lua @@ -1,7 +1,7 @@ -Config = {} -Config.Locale = GetConvar('esx:locale', 'en') +Config = {} +Config.Locale = GetConvar('esx:locale', 'en') -Config.Accounts = { +Config.Accounts = { bank = { label = TranslateCap('account_bank'), round = true @@ -16,15 +16,15 @@ Config.Accounts = { } } -Config.StartingAccountMoney = {bank = 50000} +Config.StartingAccountMoney = { bank = 50000 } Config.DefaultSpawns = { -- If you want to have more spawn positions and select them randomly uncomment commented code or add more locations - {x = 222.2027, y = -864.0162, z = 30.2922, heading = 1.0}, - --{x = 224.9865, y = -865.0871, z = 30.2922, heading = 1.0}, - --{x = 227.8436, y = -866.0400, z = 30.2922, heading = 1.0}, - --{x = 230.6051, y = -867.1450, z = 30.2922, heading = 1.0}, - --{x = 233.5459, y = -868.2626, z = 30.2922, heading = 1.0} + { x = 222.2027, y = -864.0162, z = 30.2922, heading = 1.0 }, + --{x = 224.9865, y = -865.0871, z = 30.2922, heading = 1.0}, + --{x = 227.8436, y = -866.0400, z = 30.2922, heading = 1.0}, + --{x = 230.6051, y = -867.1450, z = 30.2922, heading = 1.0}, + --{x = 233.5459, y = -868.2626, z = 30.2922, heading = 1.0} } Config.AdminGroups = { @@ -33,57 +33,57 @@ Config.AdminGroups = { } -Config.EnablePaycheck = true -- enable paycheck -Config.LogPaycheck = false -- Logs paychecks to a nominated Discord channel via webhook (default is false) -Config.EnableSocietyPayouts = false -- pay from the society account that the player is employed at? Requirement: esx_society -Config.MaxWeight = 24 -- the max inventory weight without backpack -Config.PaycheckInterval = 7 * 60000 -- how often to recieve pay checks in milliseconds -Config.EnableDebug = false -- Use Debug options? -Config.EnableDefaultInventory = true -- Display the default Inventory ( F2 ) -Config.EnableWantedLevel = false -- Use Normal GTA wanted Level? -Config.EnablePVP = true -- Allow Player to player combat +Config.EnablePaycheck = true -- enable paycheck +Config.LogPaycheck = false -- Logs paychecks to a nominated Discord channel via webhook (default is false) +Config.EnableSocietyPayouts = false -- pay from the society account that the player is employed at? Requirement: esx_society +Config.MaxWeight = 24 -- the max inventory weight without backpack +Config.PaycheckInterval = 7 * 60000 -- how often to recieve pay checks in milliseconds +Config.EnableDebug = false -- Use Debug options? +Config.EnableDefaultInventory = true -- Display the default Inventory ( F2 ) +Config.EnableWantedLevel = false -- Use Normal GTA wanted Level? +Config.EnablePVP = true -- Allow Player to player combat -Config.Multichar = GetResourceState("esx_multicharacter") ~= "missing" -Config.Identity = true -- Select a characters identity data before they have loaded in (this happens by default with multichar) -Config.DistanceGive = 4.0 -- Max distance when giving items, weapons etc. +Config.Multichar = GetResourceState("esx_multicharacter") ~= "missing" +Config.Identity = true -- Select a characters identity data before they have loaded in (this happens by default with multichar) +Config.DistanceGive = 4.0 -- Max distance when giving items, weapons etc. -Config.AdminLogging = false -- Logs the usage of certain commands by those with group.admin ace permissions (default is false) +Config.AdminLogging = false -- Logs the usage of certain commands by those with group.admin ace permissions (default is false) -Config.DisableHealthRegeneration = false -- Player will no longer regenerate health -Config.DisableVehicleRewards = false -- Disables Player Recieving weapons from vehicles -Config.DisableNPCDrops = false -- stops NPCs from dropping weapons on death -Config.DisableDispatchServices = false -- Disable Dispatch services -Config.DisableScenarios = false -- Disable Scenarios -Config.DisableWeaponWheel = false -- Disables default weapon wheel -Config.DisableAimAssist = false -- disables AIM assist (mainly on controllers) -Config.DisableVehicleSeatShuff = false -- Disables vehicle seat shuff -Config.RemoveHudCommonents = { - [1] = false, --WANTED_STARS, - [2] = false, --WEAPON_ICON - [3] = false, --CASH - [4] = false, --MP_CASH - [5] = false, --MP_MESSAGE - [6] = false, --VEHICLE_NAME - [7] = false,-- AREA_NAME - [8] = false,-- VEHICLE_CLASS - [9] = false, --STREET_NAME - [10] = false, --HELP_TEXT - [11] = false, --FLOATING_HELP_TEXT_1 - [12] = false, --FLOATING_HELP_TEXT_2 - [13] = false, --CASH_CHANGE - [14] = false, --RETICLE - [15] = false, --SUBTITLE_TEXT - [16] = false, --RADIO_STATIONS - [17] = false, --SAVING_GAME, - [18] = false, --GAME_STREAM - [19] = false, --WEAPON_WHEEL - [20] = false, --WEAPON_WHEEL_STATS - [21] = false, --HUD_COMPONENTS - [22] = false, --HUD_WEAPONS +Config.DisableHealthRegeneration = false -- Player will no longer regenerate health +Config.DisableVehicleRewards = false -- Disables Player Recieving weapons from vehicles +Config.DisableNPCDrops = false -- stops NPCs from dropping weapons on death +Config.DisableDispatchServices = false -- Disable Dispatch services +Config.DisableScenarios = false -- Disable Scenarios +Config.DisableWeaponWheel = false -- Disables default weapon wheel +Config.DisableAimAssist = false -- disables AIM assist (mainly on controllers) +Config.DisableVehicleSeatShuff = false -- Disables vehicle seat shuff +Config.RemoveHudCommonents = { + [1] = false, --WANTED_STARS, + [2] = false, --WEAPON_ICON + [3] = false, --CASH + [4] = false, --MP_CASH + [5] = false, --MP_MESSAGE + [6] = false, --VEHICLE_NAME + [7] = false, -- AREA_NAME + [8] = false, -- VEHICLE_CLASS + [9] = false, --STREET_NAME + [10] = false, --HELP_TEXT + [11] = false, --FLOATING_HELP_TEXT_1 + [12] = false, --FLOATING_HELP_TEXT_2 + [13] = false, --CASH_CHANGE + [14] = false, --RETICLE + [15] = false, --SUBTITLE_TEXT + [16] = false, --RADIO_STATIONS + [17] = false, --SAVING_GAME, + [18] = false, --GAME_STREAM + [19] = false, --WEAPON_WHEEL + [20] = false, --WEAPON_WHEEL_STATS + [21] = false, --HUD_COMPONENTS + [22] = false, --HUD_WEAPONS } -Config.SpawnVehMaxUpgrades = true -- admin vehicles spawn with max vehcle settings -Config.CustomAIPlates = 'ESX.A111' -- Custom plates for AI vehicles +Config.SpawnVehMaxUpgrades = true -- admin vehicles spawn with max vehcle settings +Config.CustomAIPlates = 'ESX.A111' -- Custom plates for AI vehicles -- Pattern string format --1 will lead to a random number from 0-9. --A will lead to a random letter from A-Z. diff --git a/[core]/es_extended/config.weapons.lua b/[core]/es_extended/config.weapons.lua index 135d15b0..cd9bc1ec 100644 --- a/[core]/es_extended/config.weapons.lua +++ b/[core]/es_extended/config.weapons.lua @@ -11,983 +11,999 @@ Config.DefaultWeaponTints = { Config.Weapons = { -- Melee - {name = 'WEAPON_DAGGER', label = TranslateCap('weapon_dagger'), components = {}}, - {name = 'WEAPON_BAT', label = TranslateCap('weapon_bat'), components = {}}, - {name = 'WEAPON_BATTLEAXE', label = TranslateCap('weapon_battleaxe'), components = {}}, + { name = 'WEAPON_DAGGER', label = TranslateCap('weapon_dagger'), components = {} }, + { name = 'WEAPON_BAT', label = TranslateCap('weapon_bat'), components = {} }, + { name = 'WEAPON_BATTLEAXE', label = TranslateCap('weapon_battleaxe'), components = {} }, { name = 'WEAPON_KNUCKLE', label = TranslateCap('weapon_knuckle'), components = { - {name = 'knuckle_base', label = TranslateCap('component_knuckle_base'), hash = `COMPONENT_KNUCKLE_VARMOD_BASE`}, - {name = 'knuckle_pimp', label = TranslateCap('component_knuckle_pimp'), hash = `COMPONENT_KNUCKLE_VARMOD_PIMP`}, - {name = 'knuckle_ballas', label = TranslateCap('component_knuckle_ballas'), hash = `COMPONENT_KNUCKLE_VARMOD_BALLAS`}, - {name = 'knuckle_dollar', label = TranslateCap('component_knuckle_dollar'), hash = `COMPONENT_KNUCKLE_VARMOD_DOLLAR`}, - {name = 'knuckle_diamond', label = TranslateCap('component_knuckle_diamond'), hash = `COMPONENT_KNUCKLE_VARMOD_DIAMOND`}, - {name = 'knuckle_hate', label = TranslateCap('component_knuckle_hate'), hash = `COMPONENT_KNUCKLE_VARMOD_HATE`}, - {name = 'knuckle_love', label = TranslateCap('component_knuckle_love'), hash = `COMPONENT_KNUCKLE_VARMOD_LOVE`}, - {name = 'knuckle_player', label = TranslateCap('component_knuckle_player'), hash = `COMPONENT_KNUCKLE_VARMOD_PLAYER`}, - {name = 'knuckle_king', label = TranslateCap('component_knuckle_king'), hash = `COMPONENT_KNUCKLE_VARMOD_KING`}, - {name = 'knuckle_vagos', label = TranslateCap('component_knuckle_vagos'), hash = `COMPONENT_KNUCKLE_VARMOD_VAGOS`} + { name = 'knuckle_base', label = TranslateCap('component_knuckle_base'), hash = `COMPONENT_KNUCKLE_VARMOD_BASE` }, + { name = 'knuckle_pimp', label = TranslateCap('component_knuckle_pimp'), hash = `COMPONENT_KNUCKLE_VARMOD_PIMP` }, + { name = 'knuckle_ballas', label = TranslateCap('component_knuckle_ballas'), hash = `COMPONENT_KNUCKLE_VARMOD_BALLAS` }, + { name = 'knuckle_dollar', label = TranslateCap('component_knuckle_dollar'), hash = `COMPONENT_KNUCKLE_VARMOD_DOLLAR` }, + { name = 'knuckle_diamond', label = TranslateCap('component_knuckle_diamond'), hash = `COMPONENT_KNUCKLE_VARMOD_DIAMOND` }, + { name = 'knuckle_hate', label = TranslateCap('component_knuckle_hate'), hash = `COMPONENT_KNUCKLE_VARMOD_HATE` }, + { name = 'knuckle_love', label = TranslateCap('component_knuckle_love'), hash = `COMPONENT_KNUCKLE_VARMOD_LOVE` }, + { name = 'knuckle_player', label = TranslateCap('component_knuckle_player'), hash = `COMPONENT_KNUCKLE_VARMOD_PLAYER` }, + { name = 'knuckle_king', label = TranslateCap('component_knuckle_king'), hash = `COMPONENT_KNUCKLE_VARMOD_KING` }, + { name = 'knuckle_vagos', label = TranslateCap('component_knuckle_vagos'), hash = `COMPONENT_KNUCKLE_VARMOD_VAGOS` } } }, - {name = 'WEAPON_BOTTLE', label = TranslateCap('weapon_bottle'), components = {}}, - {name = 'WEAPON_CROWBAR', label = TranslateCap('weapon_crowbar'), components = {}}, - {name = 'WEAPON_FLASHLIGHT', label = TranslateCap('weapon_flashlight'), components = {}}, - {name = 'WEAPON_GOLFCLUB', label = TranslateCap('weapon_golfclub'), components = {}}, - {name = 'WEAPON_HAMMER', label = TranslateCap('weapon_hammer'), components = {}}, - {name = 'WEAPON_HATCHET', label = TranslateCap('weapon_hatchet'), components = {}}, - {name = 'WEAPON_KNIFE', label = TranslateCap('weapon_knife'), components = {}}, - {name = 'WEAPON_MACHETE', label = TranslateCap('weapon_machete'), components = {}}, - {name = 'WEAPON_NIGHTSTICK', label = TranslateCap('weapon_nightstick'), components = {}}, - {name = 'WEAPON_WRENCH', label = TranslateCap('weapon_wrench'), components = {}}, - {name = 'WEAPON_POOLCUE', label = TranslateCap('weapon_poolcue'), components = {}}, - {name = 'WEAPON_STONE_HATCHET', label = TranslateCap('weapon_stone_hatchet'), components = {}}, + { name = 'WEAPON_BOTTLE', label = TranslateCap('weapon_bottle'), components = {} }, + { name = 'WEAPON_CROWBAR', label = TranslateCap('weapon_crowbar'), components = {} }, + { name = 'WEAPON_FLASHLIGHT', label = TranslateCap('weapon_flashlight'), components = {} }, + { name = 'WEAPON_GOLFCLUB', label = TranslateCap('weapon_golfclub'), components = {} }, + { name = 'WEAPON_HAMMER', label = TranslateCap('weapon_hammer'), components = {} }, + { name = 'WEAPON_HATCHET', label = TranslateCap('weapon_hatchet'), components = {} }, + { name = 'WEAPON_KNIFE', label = TranslateCap('weapon_knife'), components = {} }, + { name = 'WEAPON_MACHETE', label = TranslateCap('weapon_machete'), components = {} }, + { name = 'WEAPON_NIGHTSTICK', label = TranslateCap('weapon_nightstick'), components = {} }, + { name = 'WEAPON_WRENCH', label = TranslateCap('weapon_wrench'), components = {} }, + { name = 'WEAPON_POOLCUE', label = TranslateCap('weapon_poolcue'), components = {} }, + { name = 'WEAPON_STONE_HATCHET', label = TranslateCap('weapon_stone_hatchet'), components = {} }, { name = 'WEAPON_SWITCHBLADE', label = TranslateCap('weapon_switchblade'), components = { - {name = 'handle_default', label = TranslateCap('component_handle_default'), hash = `COMPONENT_SWITCHBLADE_VARMOD_BASE`}, - {name = 'handle_vip', label = TranslateCap('component_handle_vip'), hash = `COMPONENT_SWITCHBLADE_VARMOD_VAR1`}, - {name = 'handle_bodyguard', label = TranslateCap('component_handle_bodyguard'), hash = `COMPONENT_SWITCHBLADE_VARMOD_VAR2`} + { name = 'handle_default', label = TranslateCap('component_handle_default'), hash = `COMPONENT_SWITCHBLADE_VARMOD_BASE` }, + { name = 'handle_vip', label = TranslateCap('component_handle_vip'), hash = `COMPONENT_SWITCHBLADE_VARMOD_VAR1` }, + { name = 'handle_bodyguard', label = TranslateCap('component_handle_bodyguard'), hash = `COMPONENT_SWITCHBLADE_VARMOD_VAR2` } } }, -- Handguns { name = 'WEAPON_APPISTOL', label = TranslateCap('weapon_appistol'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_APPISTOL_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_APPISTOL_CLIP_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_APPISTOL_VARMOD_LUXE`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_APPISTOL_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_APPISTOL_CLIP_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_APPISTOL_VARMOD_LUXE` } } }, - {name = 'WEAPON_CERAMICPISTOL', label = TranslateCap('weapon_ceramicpistol'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}}, + { name = 'WEAPON_CERAMICPISTOL', label = TranslateCap('weapon_ceramicpistol'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` } }, { name = 'WEAPON_COMBATPISTOL', label = TranslateCap('weapon_combatpistol'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_COMBATPISTOL_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_COMBATPISTOL_CLIP_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_COMBATPISTOL_VARMOD_LOWRIDER`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_COMBATPISTOL_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_COMBATPISTOL_CLIP_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_COMBATPISTOL_VARMOD_LOWRIDER` } } }, - {name = 'WEAPON_DOUBLEACTION', label = TranslateCap('weapon_doubleaction'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}}, - {name = 'WEAPON_NAVYREVOLVER', label = TranslateCap('weapon_navyrevolver'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}}, - {name = 'WEAPON_FLAREGUN', label = TranslateCap('weapon_flaregun'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_flaregun'), hash = `AMMO_FLAREGUN`}}, - {name = 'WEAPON_GADGETPISTOL', label = TranslateCap('weapon_gadgetpistol'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}}, + { name = 'WEAPON_DOUBLEACTION', label = TranslateCap('weapon_doubleaction'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` } }, + { name = 'WEAPON_NAVYREVOLVER', label = TranslateCap('weapon_navyrevolver'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` } }, + { name = 'WEAPON_FLAREGUN', label = TranslateCap('weapon_flaregun'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_flaregun'), hash = `AMMO_FLAREGUN` } }, + { name = 'WEAPON_GADGETPISTOL', label = TranslateCap('weapon_gadgetpistol'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` } }, { name = 'WEAPON_HEAVYPISTOL', label = TranslateCap('weapon_heavypistol'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_HEAVYPISTOL_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_HEAVYPISTOL_CLIP_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_HEAVYPISTOL_VARMOD_LUXE`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_HEAVYPISTOL_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_HEAVYPISTOL_CLIP_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_HEAVYPISTOL_VARMOD_LUXE` } } }, { name = 'WEAPON_REVOLVER', label = TranslateCap('weapon_revolver'), - ammo = {label = TranslateCap('ammo_rounds'),hash = `AMMO_PISTOL`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_REVOLVER_CLIP_01`}, - {name = 'vip_finish', label = TranslateCap('component_vip_finish'), hash = `COMPONENT_REVOLVER_VARMOD_BOSS`}, - {name = 'bodyguard_finish', label = TranslateCap('component_bodyguard_finish'), hash = `COMPONENT_REVOLVER_VARMOD_GOON`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_REVOLVER_CLIP_01` }, + { name = 'vip_finish', label = TranslateCap('component_vip_finish'), hash = `COMPONENT_REVOLVER_VARMOD_BOSS` }, + { name = 'bodyguard_finish', label = TranslateCap('component_bodyguard_finish'), hash = `COMPONENT_REVOLVER_VARMOD_GOON` } } }, { name = 'WEAPON_REVOLVER_MK2', label = TranslateCap('weapon_revolver_mk2'), - ammo = {label = TranslateCap('ammo_rounds'),hash = `AMMO_PISTOL`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_REVOLVER_MK2_CLIP_01`}, - {name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_REVOLVER_MK2_CLIP_TRACER`}, - {name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_REVOLVER_MK2_CLIP_INCENDIARY`}, - {name = 'ammo_hollowpoint', label = TranslateCap('component_ammo_hollowpoint'), hash = `COMPONENT_REVOLVER_MK2_CLIP_HOLLOWPOINT`}, - {name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_REVOLVER_MK2_CLIP_FMJ`}, - {name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS`}, - {name = 'scope_small', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_AT_SCOPE_MACRO_MK2`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH`}, - {name = 'compensator', label = TranslateCap('component_compensator'), hash = `COMPONENT_AT_PI_COMP_03`}, - {name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_REVOLVER_MK2_CAMO`}, - {name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_REVOLVER_MK2_CAMO_02`}, - {name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_REVOLVER_MK2_CAMO_03`}, - {name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_REVOLVER_MK2_CAMO_04`}, - {name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_REVOLVER_MK2_CAMO_05`}, - {name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_REVOLVER_MK2_CAMO_06`}, - {name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_REVOLVER_MK2_CAMO_07`}, - {name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_REVOLVER_MK2_CAMO_08`}, - {name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_REVOLVER_MK2_CAMO_09`}, - {name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_REVOLVER_MK2_CAMO_10`}, - {name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_REVOLVER_MK2_CAMO_IND_01`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_REVOLVER_MK2_CLIP_01` }, + { name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_REVOLVER_MK2_CLIP_TRACER` }, + { name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_REVOLVER_MK2_CLIP_INCENDIARY` }, + { name = 'ammo_hollowpoint', label = TranslateCap('component_ammo_hollowpoint'), hash = `COMPONENT_REVOLVER_MK2_CLIP_HOLLOWPOINT` }, + { name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_REVOLVER_MK2_CLIP_FMJ` }, + { name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS` }, + { name = 'scope_small', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_AT_SCOPE_MACRO_MK2` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH` }, + { name = 'compensator', label = TranslateCap('component_compensator'), hash = `COMPONENT_AT_PI_COMP_03` }, + { name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_REVOLVER_MK2_CAMO` }, + { name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_REVOLVER_MK2_CAMO_02` }, + { name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_REVOLVER_MK2_CAMO_03` }, + { name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_REVOLVER_MK2_CAMO_04` }, + { name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_REVOLVER_MK2_CAMO_05` }, + { name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_REVOLVER_MK2_CAMO_06` }, + { name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_REVOLVER_MK2_CAMO_07` }, + { name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_REVOLVER_MK2_CAMO_08` }, + { name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_REVOLVER_MK2_CAMO_09` }, + { name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_REVOLVER_MK2_CAMO_10` }, + { name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_REVOLVER_MK2_CAMO_IND_01` } } }, - {name = 'WEAPON_MARKSMANPISTOL', label = TranslateCap('weapon_marksmanpistol'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}}, + { name = 'WEAPON_MARKSMANPISTOL', label = TranslateCap('weapon_marksmanpistol'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` } }, { name = 'WEAPON_PISTOL', label = TranslateCap('weapon_pistol'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_PISTOL_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_PISTOL_CLIP_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP_02`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_PISTOL_VARMOD_LUXE`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_PISTOL_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_PISTOL_CLIP_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP_02` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_PISTOL_VARMOD_LUXE` } } }, { name = 'WEAPON_PISTOL_MK2', label = TranslateCap('weapon_pistol_mk2'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_PISTOL_MK2_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_PISTOL_MK2_CLIP_02`}, - {name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_PISTOL_MK2_CLIP_TRACER`}, - {name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_PISTOL_MK2_CLIP_INCENDIARY`}, - {name = 'ammo_hollowpoint', label = TranslateCap('component_ammo_hollowpoint'), hash = `COMPONENT_PISTOL_MK2_CLIP_HOLLOWPOINT`}, - {name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_PISTOL_MK2_CLIP_FMJ`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_PI_RAIL`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH_02`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP_02`}, - {name = 'compensator', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_COMP`}, - {name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_PISTOL_MK2_CAMO`}, - {name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_PISTOL_MK2_CAMO_02`}, - {name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_PISTOL_MK2_CAMO_03`}, - {name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_PISTOL_MK2_CAMO_04`}, - {name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_PISTOL_MK2_CAMO_05`}, - {name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_PISTOL_MK2_CAMO_06`}, - {name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_PISTOL_MK2_CAMO_07`}, - {name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_PISTOL_MK2_CAMO_08`}, - {name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_PISTOL_MK2_CAMO_09`}, - {name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_PISTOL_MK2_CAMO_10`}, - {name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_PISTOL_MK2_CAMO_IND_01`}, - {name = 'camo_slide_finish', label = TranslateCap('component_camo_slide_finish'), hash = `COMPONENT_PISTOL_MK2_CAMO_SLIDE`}, - {name = 'camo_slide_finish2', label = TranslateCap('component_camo_slide_finish2'), hash = `COMPONENT_PISTOL_MK2_CAMO_02_SLIDE`}, - {name = 'camo_slide_finish3', label = TranslateCap('component_camo_slide_finish3'), hash = `COMPONENT_PISTOL_MK2_CAMO_03_SLIDE`}, - {name = 'camo_slide_finish4', label = TranslateCap('component_camo_slide_finish4'), hash = `COMPONENT_PISTOL_MK2_CAMO_04_SLIDE`}, - {name = 'camo_slide_finish5', label = TranslateCap('component_camo_slide_finish5'), hash = `COMPONENT_PISTOL_MK2_CAMO_05_SLIDE`}, - {name = 'camo_slide_finish6', label = TranslateCap('component_camo_slide_finish6'), hash = `COMPONENT_PISTOL_MK2_CAMO_06_SLIDE`}, - {name = 'camo_slide_finish7', label = TranslateCap('component_camo_slide_finish7'), hash = `COMPONENT_PISTOL_MK2_CAMO_07_SLIDE`}, - {name = 'camo_slide_finish8', label = TranslateCap('component_camo_slide_finish8'), hash = `COMPONENT_PISTOL_MK2_CAMO_08_SLIDE`}, - {name = 'camo_slide_finish9', label = TranslateCap('component_camo_slide_finish9'), hash = `COMPONENT_PISTOL_MK2_CAMO_09_SLIDE`}, - {name = 'camo_slide_finish10', label = TranslateCap('component_camo_slide_finish10'), hash = `COMPONENT_PISTOL_MK2_CAMO_10_SLIDE`}, - {name = 'camo_slide_finish11', label = TranslateCap('component_camo_slide_finish11'), hash = `COMPONENT_PISTOL_MK2_CAMO_IND_01_SLIDE`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_PISTOL_MK2_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_PISTOL_MK2_CLIP_02` }, + { name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_PISTOL_MK2_CLIP_TRACER` }, + { name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_PISTOL_MK2_CLIP_INCENDIARY` }, + { name = 'ammo_hollowpoint', label = TranslateCap('component_ammo_hollowpoint'), hash = `COMPONENT_PISTOL_MK2_CLIP_HOLLOWPOINT` }, + { name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_PISTOL_MK2_CLIP_FMJ` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_PI_RAIL` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH_02` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP_02` }, + { name = 'compensator', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_COMP` }, + { name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_PISTOL_MK2_CAMO` }, + { name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_PISTOL_MK2_CAMO_02` }, + { name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_PISTOL_MK2_CAMO_03` }, + { name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_PISTOL_MK2_CAMO_04` }, + { name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_PISTOL_MK2_CAMO_05` }, + { name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_PISTOL_MK2_CAMO_06` }, + { name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_PISTOL_MK2_CAMO_07` }, + { name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_PISTOL_MK2_CAMO_08` }, + { name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_PISTOL_MK2_CAMO_09` }, + { name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_PISTOL_MK2_CAMO_10` }, + { name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_PISTOL_MK2_CAMO_IND_01` }, + { name = 'camo_slide_finish', label = TranslateCap('component_camo_slide_finish'), hash = `COMPONENT_PISTOL_MK2_CAMO_SLIDE` }, + { name = 'camo_slide_finish2', label = TranslateCap('component_camo_slide_finish2'), hash = `COMPONENT_PISTOL_MK2_CAMO_02_SLIDE` }, + { name = 'camo_slide_finish3', label = TranslateCap('component_camo_slide_finish3'), hash = `COMPONENT_PISTOL_MK2_CAMO_03_SLIDE` }, + { name = 'camo_slide_finish4', label = TranslateCap('component_camo_slide_finish4'), hash = `COMPONENT_PISTOL_MK2_CAMO_04_SLIDE` }, + { name = 'camo_slide_finish5', label = TranslateCap('component_camo_slide_finish5'), hash = `COMPONENT_PISTOL_MK2_CAMO_05_SLIDE` }, + { name = 'camo_slide_finish6', label = TranslateCap('component_camo_slide_finish6'), hash = `COMPONENT_PISTOL_MK2_CAMO_06_SLIDE` }, + { name = 'camo_slide_finish7', label = TranslateCap('component_camo_slide_finish7'), hash = `COMPONENT_PISTOL_MK2_CAMO_07_SLIDE` }, + { name = 'camo_slide_finish8', label = TranslateCap('component_camo_slide_finish8'), hash = `COMPONENT_PISTOL_MK2_CAMO_08_SLIDE` }, + { name = 'camo_slide_finish9', label = TranslateCap('component_camo_slide_finish9'), hash = `COMPONENT_PISTOL_MK2_CAMO_09_SLIDE` }, + { name = 'camo_slide_finish10', label = TranslateCap('component_camo_slide_finish10'), hash = `COMPONENT_PISTOL_MK2_CAMO_10_SLIDE` }, + { name = 'camo_slide_finish11', label = TranslateCap('component_camo_slide_finish11'), hash = `COMPONENT_PISTOL_MK2_CAMO_IND_01_SLIDE` } } }, { name = 'WEAPON_PISTOL50', label = TranslateCap('weapon_pistol50'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_PISTOL50_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_PISTOL50_CLIP_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_PISTOL50_VARMOD_LUXE`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_PISTOL50_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_PISTOL50_CLIP_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_PISTOL50_VARMOD_LUXE` } } }, { name = 'WEAPON_SNSPISTOL', label = TranslateCap('weapon_snspistol'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_SNSPISTOL_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_SNSPISTOL_CLIP_02`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_SNSPISTOL_VARMOD_LOWRIDER`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_SNSPISTOL_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_SNSPISTOL_CLIP_02` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_SNSPISTOL_VARMOD_LOWRIDER` } } }, { name = 'WEAPON_SNSPISTOL_MK2', label = TranslateCap('weapon_snspistol_mk2'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_SNSPISTOL_MK2_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_SNSPISTOL_MK2_CLIP_02`}, - {name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_SNSPISTOL_MK2_CLIP_TRACER`}, - {name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_SNSPISTOL_MK2_CLIP_INCENDIARY`}, - {name = 'ammo_hollowpoint', label = TranslateCap('component_ammo_hollowpoint'), hash = `COMPONENT_SNSPISTOL_MK2_CLIP_HOLLOWPOINT`}, - {name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_SNSPISTOL_MK2_CLIP_FMJ`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_PI_RAIL_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH_03`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP_02`}, - {name = 'compensator', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_COMP_02`}, - {name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO`}, - {name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_02`}, - {name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_03`}, - {name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_04`}, - {name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_05`}, - {name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_06`}, - {name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_07`}, - {name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_08`}, - {name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_09`}, - {name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_10`}, - {name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_IND_01`}, - {name = 'camo_slide_finish', label = TranslateCap('component_camo_slide_finish'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_SLIDE`}, - {name = 'camo_slide_finish2', label = TranslateCap('component_camo_slide_finish2'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_02_SLIDE`}, - {name = 'camo_slide_finish3', label = TranslateCap('component_camo_slide_finish3'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_03_SLIDE`}, - {name = 'camo_slide_finish4', label = TranslateCap('component_camo_slide_finish4'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_04_SLIDE`}, - {name = 'camo_slide_finish5', label = TranslateCap('component_camo_slide_finish5'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_05_SLIDE`}, - {name = 'camo_slide_finish6', label = TranslateCap('component_camo_slide_finish6'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_06_SLIDE`}, - {name = 'camo_slide_finish7', label = TranslateCap('component_camo_slide_finish7'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_07_SLIDE`}, - {name = 'camo_slide_finish8', label = TranslateCap('component_camo_slide_finish8'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_08_SLIDE`}, - {name = 'camo_slide_finish9', label = TranslateCap('component_camo_slide_finish9'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_09_SLIDE`}, - {name = 'camo_slide_finish10', label = TranslateCap('component_camo_slide_finish10'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_10_SLIDE`}, - {name = 'camo_slide_finish11', label = TranslateCap('component_camo_slide_finish11'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_IND_01_SLIDE`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_SNSPISTOL_MK2_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_SNSPISTOL_MK2_CLIP_02` }, + { name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_SNSPISTOL_MK2_CLIP_TRACER` }, + { name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_SNSPISTOL_MK2_CLIP_INCENDIARY` }, + { name = 'ammo_hollowpoint', label = TranslateCap('component_ammo_hollowpoint'), hash = `COMPONENT_SNSPISTOL_MK2_CLIP_HOLLOWPOINT` }, + { name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_SNSPISTOL_MK2_CLIP_FMJ` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_PI_RAIL_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH_03` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP_02` }, + { name = 'compensator', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_COMP_02` }, + { name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO` }, + { name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_02` }, + { name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_03` }, + { name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_04` }, + { name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_05` }, + { name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_06` }, + { name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_07` }, + { name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_08` }, + { name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_09` }, + { name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_10` }, + { name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_IND_01` }, + { name = 'camo_slide_finish', label = TranslateCap('component_camo_slide_finish'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_SLIDE` }, + { name = 'camo_slide_finish2', label = TranslateCap('component_camo_slide_finish2'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_02_SLIDE` }, + { name = 'camo_slide_finish3', label = TranslateCap('component_camo_slide_finish3'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_03_SLIDE` }, + { name = 'camo_slide_finish4', label = TranslateCap('component_camo_slide_finish4'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_04_SLIDE` }, + { name = 'camo_slide_finish5', label = TranslateCap('component_camo_slide_finish5'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_05_SLIDE` }, + { name = 'camo_slide_finish6', label = TranslateCap('component_camo_slide_finish6'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_06_SLIDE` }, + { name = 'camo_slide_finish7', label = TranslateCap('component_camo_slide_finish7'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_07_SLIDE` }, + { name = 'camo_slide_finish8', label = TranslateCap('component_camo_slide_finish8'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_08_SLIDE` }, + { name = 'camo_slide_finish9', label = TranslateCap('component_camo_slide_finish9'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_09_SLIDE` }, + { name = 'camo_slide_finish10', label = TranslateCap('component_camo_slide_finish10'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_10_SLIDE` }, + { name = 'camo_slide_finish11', label = TranslateCap('component_camo_slide_finish11'), hash = `COMPONENT_SNSPISTOL_MK2_CAMO_IND_01_SLIDE` } } }, - {name = 'WEAPON_STUNGUN', label = TranslateCap('weapon_stungun'), tints = Config.DefaultWeaponTints, components = {}}, - {name = 'WEAPON_RAYPISTOL', label = TranslateCap('weapon_raypistol'), tints = Config.DefaultWeaponTints, components = {}}, + { name = 'WEAPON_STUNGUN', label = TranslateCap('weapon_stungun'), tints = Config.DefaultWeaponTints, components = {} }, + { name = 'WEAPON_RAYPISTOL', label = TranslateCap('weapon_raypistol'), tints = Config.DefaultWeaponTints, components = {} }, { name = 'WEAPON_VINTAGEPISTOL', label = TranslateCap('weapon_vintagepistol'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_VINTAGEPISTOL_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_VINTAGEPISTOL_CLIP_02`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_VINTAGEPISTOL_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_VINTAGEPISTOL_CLIP_02` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP` } } }, -- Shotguns { name = 'WEAPON_ASSAULTSHOTGUN', label = TranslateCap('weapon_assaultshotgun'), - ammo = {label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN`}, + ammo = { label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_ASSAULTSHOTGUN_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_ASSAULTSHOTGUN_CLIP_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_ASSAULTSHOTGUN_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_ASSAULTSHOTGUN_CLIP_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP` } } }, - {name = 'WEAPON_AUTOSHOTGUN', label = TranslateCap('weapon_autoshotgun'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN`}}, + { name = 'WEAPON_AUTOSHOTGUN', label = TranslateCap('weapon_autoshotgun'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN` } }, { name = 'WEAPON_BULLPUPSHOTGUN', label = TranslateCap('weapon_bullpupshotgun'), - ammo = {label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN`}, + ammo = { label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN` }, tints = Config.DefaultWeaponTints, components = { - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP`} + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP` } } }, { name = 'WEAPON_COMBATSHOTGUN', label = TranslateCap('weapon_combatshotgun'), - ammo = {label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN`}, + ammo = { label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN` }, tints = Config.DefaultWeaponTints, components = { - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP`} + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP` } } }, - {name = 'WEAPON_DBSHOTGUN', label = TranslateCap('weapon_dbshotgun'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN`}}, + { name = 'WEAPON_DBSHOTGUN', label = TranslateCap('weapon_dbshotgun'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN` } }, { name = 'WEAPON_HEAVYSHOTGUN', label = TranslateCap('weapon_heavyshotgun'), - ammo = {label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN`}, + ammo = { label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_HEAVYSHOTGUN_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_HEAVYSHOTGUN_CLIP_02`}, - {name = 'clip_drum', label = TranslateCap('component_clip_drum'), hash = `COMPONENT_HEAVYSHOTGUN_CLIP_03`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_HEAVYSHOTGUN_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_HEAVYSHOTGUN_CLIP_02` }, + { name = 'clip_drum', label = TranslateCap('component_clip_drum'), hash = `COMPONENT_HEAVYSHOTGUN_CLIP_03` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP` } } }, - {name = 'WEAPON_MUSKET', label = TranslateCap('weapon_musket'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_SHOTGUN`}}, + { name = 'WEAPON_MUSKET', label = TranslateCap('weapon_musket'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SHOTGUN` } }, { name = 'WEAPON_PUMPSHOTGUN', label = TranslateCap('weapon_pumpshotgun'), - ammo = {label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN`}, + ammo = { label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN` }, tints = Config.DefaultWeaponTints, components = { - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_SR_SUPP`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_PUMPSHOTGUN_VARMOD_LOWRIDER`} + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_SR_SUPP` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_PUMPSHOTGUN_VARMOD_LOWRIDER` } } }, { name = 'WEAPON_PUMPSHOTGUN_MK2', label = TranslateCap('weapon_pumpshotgun_mk2'), - ammo = {label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN`}, + ammo = { label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN` }, tints = Config.DefaultWeaponTints, components = { - {name = 'shells_default', label = TranslateCap('component_shells_default'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CLIP_01`}, - {name = 'shells_incendiary', label = TranslateCap('component_shells_incendiary'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CLIP_INCENDIARY`}, - {name = 'shells_armor', label = TranslateCap('component_shells_armor'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CLIP_ARMORPIERCING`}, - {name = 'shells_hollowpoint', label = TranslateCap('component_shells_hollowpoint'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CLIP_HOLLOWPOINT`}, - {name = 'shells_explosive', label = TranslateCap('component_shells_explosive'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CLIP_EXPLOSIVE`}, - {name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS`}, - {name = 'scope_small', label = TranslateCap('component_scope_small'), hash = `COMPONENT_AT_SCOPE_MACRO_MK2`}, - {name = 'scope_medium', label = TranslateCap('component_scope_medium'), hash = `COMPONENT_AT_SCOPE_SMALL_MK2`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_SR_SUPP_03`}, - {name = 'muzzle_squared', label = TranslateCap('component_muzzle_squared'), hash = `COMPONENT_AT_MUZZLE_08`}, - {name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO`}, - {name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_02`}, - {name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_03`}, - {name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_04`}, - {name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_05`}, - {name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_06`}, - {name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_07`}, - {name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_08`}, - {name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_09`}, - {name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_10`}, - {name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_IND_01`} + { name = 'shells_default', label = TranslateCap('component_shells_default'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CLIP_01` }, + { name = 'shells_incendiary', label = TranslateCap('component_shells_incendiary'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CLIP_INCENDIARY` }, + { name = 'shells_armor', label = TranslateCap('component_shells_armor'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CLIP_ARMORPIERCING` }, + { name = 'shells_hollowpoint', label = TranslateCap('component_shells_hollowpoint'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CLIP_HOLLOWPOINT` }, + { name = 'shells_explosive', label = TranslateCap('component_shells_explosive'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CLIP_EXPLOSIVE` }, + { name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS` }, + { name = 'scope_small', label = TranslateCap('component_scope_small'), hash = `COMPONENT_AT_SCOPE_MACRO_MK2` }, + { name = 'scope_medium', label = TranslateCap('component_scope_medium'), hash = `COMPONENT_AT_SCOPE_SMALL_MK2` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_SR_SUPP_03` }, + { name = 'muzzle_squared', label = TranslateCap('component_muzzle_squared'), hash = `COMPONENT_AT_MUZZLE_08` }, + { name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO` }, + { name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_02` }, + { name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_03` }, + { name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_04` }, + { name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_05` }, + { name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_06` }, + { name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_07` }, + { name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_08` }, + { name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_09` }, + { name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_10` }, + { name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_PUMPSHOTGUN_MK2_CAMO_IND_01` } } }, { name = 'WEAPON_SAWNOFFSHOTGUN', label = TranslateCap('weapon_sawnoffshotgun'), - ammo = {label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN`}, + ammo = { label = TranslateCap('ammo_shells'), hash = `AMMO_SHOTGUN` }, tints = Config.DefaultWeaponTints, components = { - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_SAWNOFFSHOTGUN_VARMOD_LUXE`} + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_SAWNOFFSHOTGUN_VARMOD_LUXE` } } }, -- SMG & LMG { name = 'WEAPON_ASSAULTSMG', label = TranslateCap('weapon_assaultsmg'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_SMG`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SMG` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_ASSAULTSMG_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_ASSAULTSMG_CLIP_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MACRO`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_ASSAULTSMG_VARMOD_LOWRIDER`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_ASSAULTSMG_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_ASSAULTSMG_CLIP_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MACRO` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_ASSAULTSMG_VARMOD_LOWRIDER` } } }, { name = 'WEAPON_COMBATMG', label = TranslateCap('weapon_combatmg'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_MG`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_MG` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_COMBATMG_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_COMBATMG_CLIP_02`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MEDIUM`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_COMBATMG_VARMOD_LOWRIDER`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_COMBATMG_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_COMBATMG_CLIP_02` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MEDIUM` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_COMBATMG_VARMOD_LOWRIDER` } } }, { name = 'WEAPON_COMBATMG_MK2', label = TranslateCap('weapon_combatmg_mk2'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_MG`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_MG` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_COMBATMG_MK2_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_COMBATMG_MK2_CLIP_02`}, - {name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_COMBATMG_MK2_CLIP_TRACER`}, - {name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_COMBATMG_MK2_CLIP_INCENDIARY`}, - {name = 'ammo_hollowpoint', label = TranslateCap('component_ammo_hollowpoint'), hash = `COMPONENT_COMBATMG_MK2_CLIP_ARMORPIERCING`}, - {name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_COMBATMG_MK2_CLIP_FMJ`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP_02`}, - {name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS`}, - {name = 'scope_medium', label = TranslateCap('component_scope_medium'), hash = `COMPONENT_AT_SCOPE_SMALL_MK2`}, - {name = 'scope_large', label = TranslateCap('component_scope_large'), hash = `COMPONENT_AT_SCOPE_MEDIUM_MK2`}, - {name = 'muzzle_flat', label = TranslateCap('component_muzzle_flat'), hash = `COMPONENT_AT_MUZZLE_01`}, - {name = 'muzzle_tactical', label = TranslateCap('component_muzzle_tactical'), hash = `COMPONENT_AT_MUZZLE_02`}, - {name = 'muzzle_fat', label = TranslateCap('component_muzzle_fat'), hash = `COMPONENT_AT_MUZZLE_03`}, - {name = 'muzzle_precision', label = TranslateCap('component_muzzle_precision'), hash = `COMPONENT_AT_MUZZLE_04`}, - {name = 'muzzle_heavy', label = TranslateCap('component_muzzle_heavy'), hash = `COMPONENT_AT_MUZZLE_05`}, - {name = 'muzzle_slanted', label = TranslateCap('component_muzzle_slanted'), hash = `COMPONENT_AT_MUZZLE_06`}, - {name = 'muzzle_split', label = TranslateCap('component_muzzle_split'), hash = `COMPONENT_AT_MUZZLE_07`}, - {name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_MG_BARREL_01`}, - {name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_MG_BARREL_02`}, - {name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_COMBATMG_MK2_CAMO`}, - {name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_COMBATMG_MK2_CAMO_02`}, - {name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_COMBATMG_MK2_CAMO_03`}, - {name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_COMBATMG_MK2_CAMO_04`}, - {name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_COMBATMG_MK2_CAMO_05`}, - {name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_COMBATMG_MK2_CAMO_06`}, - {name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_COMBATMG_MK2_CAMO_07`}, - {name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_COMBATMG_MK2_CAMO_08`}, - {name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_COMBATMG_MK2_CAMO_09`}, - {name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_COMBATMG_MK2_CAMO_10`}, - {name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_COMBATMG_MK2_CAMO_IND_01`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_COMBATMG_MK2_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_COMBATMG_MK2_CLIP_02` }, + { name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_COMBATMG_MK2_CLIP_TRACER` }, + { name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_COMBATMG_MK2_CLIP_INCENDIARY` }, + { name = 'ammo_hollowpoint', label = TranslateCap('component_ammo_hollowpoint'), hash = `COMPONENT_COMBATMG_MK2_CLIP_ARMORPIERCING` }, + { name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_COMBATMG_MK2_CLIP_FMJ` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP_02` }, + { name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS` }, + { name = 'scope_medium', label = TranslateCap('component_scope_medium'), hash = `COMPONENT_AT_SCOPE_SMALL_MK2` }, + { name = 'scope_large', label = TranslateCap('component_scope_large'), hash = `COMPONENT_AT_SCOPE_MEDIUM_MK2` }, + { name = 'muzzle_flat', label = TranslateCap('component_muzzle_flat'), hash = `COMPONENT_AT_MUZZLE_01` }, + { name = 'muzzle_tactical', label = TranslateCap('component_muzzle_tactical'), hash = `COMPONENT_AT_MUZZLE_02` }, + { name = 'muzzle_fat', label = TranslateCap('component_muzzle_fat'), hash = `COMPONENT_AT_MUZZLE_03` }, + { name = 'muzzle_precision', label = TranslateCap('component_muzzle_precision'), hash = `COMPONENT_AT_MUZZLE_04` }, + { name = 'muzzle_heavy', label = TranslateCap('component_muzzle_heavy'), hash = `COMPONENT_AT_MUZZLE_05` }, + { name = 'muzzle_slanted', label = TranslateCap('component_muzzle_slanted'), hash = `COMPONENT_AT_MUZZLE_06` }, + { name = 'muzzle_split', label = TranslateCap('component_muzzle_split'), hash = `COMPONENT_AT_MUZZLE_07` }, + { name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_MG_BARREL_01` }, + { name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_MG_BARREL_02` }, + { name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_COMBATMG_MK2_CAMO` }, + { name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_COMBATMG_MK2_CAMO_02` }, + { name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_COMBATMG_MK2_CAMO_03` }, + { name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_COMBATMG_MK2_CAMO_04` }, + { name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_COMBATMG_MK2_CAMO_05` }, + { name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_COMBATMG_MK2_CAMO_06` }, + { name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_COMBATMG_MK2_CAMO_07` }, + { name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_COMBATMG_MK2_CAMO_08` }, + { name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_COMBATMG_MK2_CAMO_09` }, + { name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_COMBATMG_MK2_CAMO_10` }, + { name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_COMBATMG_MK2_CAMO_IND_01` } } }, { name = 'WEAPON_COMBATPDW', label = TranslateCap('weapon_combatpdw'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_SMG`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SMG` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_COMBATPDW_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_COMBATPDW_CLIP_02`}, - {name = 'clip_drum', label = TranslateCap('component_clip_drum'), hash = `COMPONENT_COMBATPDW_CLIP_03`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_SMALL`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_COMBATPDW_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_COMBATPDW_CLIP_02` }, + { name = 'clip_drum', label = TranslateCap('component_clip_drum'), hash = `COMPONENT_COMBATPDW_CLIP_03` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_SMALL` } } }, { name = 'WEAPON_GUSENBERG', label = TranslateCap('weapon_gusenberg'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_MG`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_MG` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_GUSENBERG_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_GUSENBERG_CLIP_02`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_GUSENBERG_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_GUSENBERG_CLIP_02` } } }, { name = 'WEAPON_MACHINEPISTOL', label = TranslateCap('weapon_machinepistol'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_MACHINEPISTOL_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_MACHINEPISTOL_CLIP_02`}, - {name = 'clip_drum', label = TranslateCap('component_clip_drum'), hash = `COMPONENT_MACHINEPISTOL_CLIP_03`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_MACHINEPISTOL_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_MACHINEPISTOL_CLIP_02` }, + { name = 'clip_drum', label = TranslateCap('component_clip_drum'), hash = `COMPONENT_MACHINEPISTOL_CLIP_03` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP` } } }, { name = 'WEAPON_MG', label = TranslateCap('weapon_mg'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_MG`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_MG` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_MG_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_MG_CLIP_02`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_SMALL_02`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_MG_VARMOD_LOWRIDER`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_MG_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_MG_CLIP_02` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_SMALL_02` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_MG_VARMOD_LOWRIDER` } } }, { name = 'WEAPON_MICROSMG', label = TranslateCap('weapon_microsmg'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_SMG`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SMG` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_MICROSMG_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_MICROSMG_CLIP_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MACRO`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_MICROSMG_VARMOD_LUXE`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_MICROSMG_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_MICROSMG_CLIP_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_PI_FLSH` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MACRO` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_MICROSMG_VARMOD_LUXE` } } }, { name = 'WEAPON_MINISMG', label = TranslateCap('weapon_minismg'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_SMG`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SMG` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_MINISMG_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_MINISMG_CLIP_02`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_MINISMG_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_MINISMG_CLIP_02` } } }, { name = 'WEAPON_SMG', label = TranslateCap('weapon_smg'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_SMG`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SMG` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_SMG_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_SMG_CLIP_02`}, - {name = 'clip_drum', label = TranslateCap('component_clip_drum'), hash = `COMPONENT_SMG_CLIP_03`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MACRO_02`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_SMG_VARMOD_LUXE`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_SMG_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_SMG_CLIP_02` }, + { name = 'clip_drum', label = TranslateCap('component_clip_drum'), hash = `COMPONENT_SMG_CLIP_03` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MACRO_02` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_SMG_VARMOD_LUXE` } } }, { name = 'WEAPON_SMG_MK2', label = TranslateCap('weapon_smg_mk2'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_SMG`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SMG` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_SMG_MK2_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_SMG_MK2_CLIP_02`}, - {name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_SMG_MK2_CLIP_TRACER`}, - {name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_SMG_MK2_CLIP_INCENDIARY`}, - {name = 'ammo_hollowpoint', label = TranslateCap('component_ammo_hollowpoint'), hash = `COMPONENT_SMG_MK2_CLIP_HOLLOWPOINT`}, - {name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_SMG_MK2_CLIP_FMJ`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS_SMG`}, - {name = 'scope_small', label = TranslateCap('component_scope_small'), hash = `COMPONENT_AT_SCOPE_MACRO_02_SMG_MK2`}, - {name = 'scope_medium', label = TranslateCap('component_scope_medium'), hash = `COMPONENT_AT_SCOPE_SMALL_SMG_MK2`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP`}, - {name = 'muzzle_flat', label = TranslateCap('component_muzzle_flat'), hash = `COMPONENT_AT_MUZZLE_01`}, - {name = 'muzzle_tactical', label = TranslateCap('component_muzzle_tactical'), hash = `COMPONENT_AT_MUZZLE_02`}, - {name = 'muzzle_fat', label = TranslateCap('component_muzzle_fat'), hash = `COMPONENT_AT_MUZZLE_03`}, - {name = 'muzzle_precision', label = TranslateCap('component_muzzle_precision'), hash = `COMPONENT_AT_MUZZLE_04`}, - {name = 'muzzle_heavy', label = TranslateCap('component_muzzle_heavy'), hash = `COMPONENT_AT_MUZZLE_05`}, - {name = 'muzzle_slanted', label = TranslateCap('component_muzzle_slanted'), hash = `COMPONENT_AT_MUZZLE_06`}, - {name = 'muzzle_split', label = TranslateCap('component_muzzle_split'), hash = `COMPONENT_AT_MUZZLE_07`}, - {name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_SB_BARREL_01`}, - {name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_SB_BARREL_02`}, - {name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_SMG_MK2_CAMO`}, - {name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_SMG_MK2_CAMO_02`}, - {name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_SMG_MK2_CAMO_03`}, - {name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_SMG_MK2_CAMO_04`}, - {name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_SMG_MK2_CAMO_05`}, - {name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_SMG_MK2_CAMO_06`}, - {name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_SMG_MK2_CAMO_07`}, - {name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_SMG_MK2_CAMO_08`}, - {name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_SMG_MK2_CAMO_09`}, - {name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_SMG_MK2_CAMO_10`}, - {name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_SMG_MK2_CAMO_IND_01`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_SMG_MK2_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_SMG_MK2_CLIP_02` }, + { name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_SMG_MK2_CLIP_TRACER` }, + { name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_SMG_MK2_CLIP_INCENDIARY` }, + { name = 'ammo_hollowpoint', label = TranslateCap('component_ammo_hollowpoint'), hash = `COMPONENT_SMG_MK2_CLIP_HOLLOWPOINT` }, + { name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_SMG_MK2_CLIP_FMJ` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS_SMG` }, + { name = 'scope_small', label = TranslateCap('component_scope_small'), hash = `COMPONENT_AT_SCOPE_MACRO_02_SMG_MK2` }, + { name = 'scope_medium', label = TranslateCap('component_scope_medium'), hash = `COMPONENT_AT_SCOPE_SMALL_SMG_MK2` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_PI_SUPP` }, + { name = 'muzzle_flat', label = TranslateCap('component_muzzle_flat'), hash = `COMPONENT_AT_MUZZLE_01` }, + { name = 'muzzle_tactical', label = TranslateCap('component_muzzle_tactical'), hash = `COMPONENT_AT_MUZZLE_02` }, + { name = 'muzzle_fat', label = TranslateCap('component_muzzle_fat'), hash = `COMPONENT_AT_MUZZLE_03` }, + { name = 'muzzle_precision', label = TranslateCap('component_muzzle_precision'), hash = `COMPONENT_AT_MUZZLE_04` }, + { name = 'muzzle_heavy', label = TranslateCap('component_muzzle_heavy'), hash = `COMPONENT_AT_MUZZLE_05` }, + { name = 'muzzle_slanted', label = TranslateCap('component_muzzle_slanted'), hash = `COMPONENT_AT_MUZZLE_06` }, + { name = 'muzzle_split', label = TranslateCap('component_muzzle_split'), hash = `COMPONENT_AT_MUZZLE_07` }, + { name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_SB_BARREL_01` }, + { name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_SB_BARREL_02` }, + { name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_SMG_MK2_CAMO` }, + { name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_SMG_MK2_CAMO_02` }, + { name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_SMG_MK2_CAMO_03` }, + { name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_SMG_MK2_CAMO_04` }, + { name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_SMG_MK2_CAMO_05` }, + { name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_SMG_MK2_CAMO_06` }, + { name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_SMG_MK2_CAMO_07` }, + { name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_SMG_MK2_CAMO_08` }, + { name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_SMG_MK2_CAMO_09` }, + { name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_SMG_MK2_CAMO_10` }, + { name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_SMG_MK2_CAMO_IND_01` } } }, - {name = 'WEAPON_RAYCARBINE', label = TranslateCap('weapon_raycarbine'), ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_SMG`}, tints = Config.DefaultWeaponTints, components = {}}, + { name = 'WEAPON_RAYCARBINE', label = TranslateCap('weapon_raycarbine'), ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SMG` }, tints = Config.DefaultWeaponTints, components = {} }, -- Rifles { name = 'WEAPON_ADVANCEDRIFLE', label = TranslateCap('weapon_advancedrifle'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_ADVANCEDRIFLE_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_ADVANCEDRIFLE_CLIP_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_SMALL`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_ADVANCEDRIFLE_VARMOD_LUXE`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_ADVANCEDRIFLE_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_ADVANCEDRIFLE_CLIP_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_SMALL` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_ADVANCEDRIFLE_VARMOD_LUXE` } } }, { name = 'WEAPON_ASSAULTRIFLE', label = TranslateCap('weapon_assaultrifle'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_ASSAULTRIFLE_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_ASSAULTRIFLE_CLIP_02`}, - {name = 'clip_drum', label = TranslateCap('component_clip_drum'), hash = `COMPONENT_ASSAULTRIFLE_CLIP_03`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MACRO`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_ASSAULTRIFLE_VARMOD_LUXE`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_ASSAULTRIFLE_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_ASSAULTRIFLE_CLIP_02` }, + { name = 'clip_drum', label = TranslateCap('component_clip_drum'), hash = `COMPONENT_ASSAULTRIFLE_CLIP_03` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MACRO` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_ASSAULTRIFLE_VARMOD_LUXE` } } }, { name = 'WEAPON_ASSAULTRIFLE_MK2', label = TranslateCap('weapon_assaultrifle_mk2'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CLIP_02`}, - {name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CLIP_TRACER`}, - {name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CLIP_INCENDIARY`}, - {name = 'ammo_armor', label = TranslateCap('component_ammo_armor'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CLIP_ARMORPIERCING`}, - {name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CLIP_FMJ`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS`}, - {name = 'scope_small', label = TranslateCap('component_scope_small'), hash = `COMPONENT_AT_SCOPE_MACRO_MK2`}, - {name = 'scope_large', label = TranslateCap('component_scope_large'), hash = `COMPONENT_AT_SCOPE_MEDIUM_MK2`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02`}, - {name = 'muzzle_flat', label = TranslateCap('component_muzzle_flat'), hash = `COMPONENT_AT_MUZZLE_01`}, - {name = 'muzzle_tactical', label = TranslateCap('component_muzzle_tactical'), hash = `COMPONENT_AT_MUZZLE_02`}, - {name = 'muzzle_fat', label = TranslateCap('component_muzzle_fat'), hash = `COMPONENT_AT_MUZZLE_03`}, - {name = 'muzzle_precision', label = TranslateCap('component_muzzle_precision'), hash = `COMPONENT_AT_MUZZLE_04`}, - {name = 'muzzle_heavy', label = TranslateCap('component_muzzle_heavy'), hash = `COMPONENT_AT_MUZZLE_05`}, - {name = 'muzzle_slanted', label = TranslateCap('component_muzzle_slanted'), hash = `COMPONENT_AT_MUZZLE_06`}, - {name = 'muzzle_split', label = TranslateCap('component_muzzle_split'), hash = `COMPONENT_AT_MUZZLE_07`}, - {name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_AR_BARREL_01`}, - {name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_AR_BARREL_02`}, - {name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO`}, - {name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_02`}, - {name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_03`}, - {name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_04`}, - {name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_05`}, - {name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_06`}, - {name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_07`}, - {name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_08`}, - {name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_09`}, - {name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_10`}, - {name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_IND_01`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CLIP_02` }, + { name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CLIP_TRACER` }, + { name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CLIP_INCENDIARY` }, + { name = 'ammo_armor', label = TranslateCap('component_ammo_armor'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CLIP_ARMORPIERCING` }, + { name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CLIP_FMJ` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS` }, + { name = 'scope_small', label = TranslateCap('component_scope_small'), hash = `COMPONENT_AT_SCOPE_MACRO_MK2` }, + { name = 'scope_large', label = TranslateCap('component_scope_large'), hash = `COMPONENT_AT_SCOPE_MEDIUM_MK2` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02` }, + { name = 'muzzle_flat', label = TranslateCap('component_muzzle_flat'), hash = `COMPONENT_AT_MUZZLE_01` }, + { name = 'muzzle_tactical', label = TranslateCap('component_muzzle_tactical'), hash = `COMPONENT_AT_MUZZLE_02` }, + { name = 'muzzle_fat', label = TranslateCap('component_muzzle_fat'), hash = `COMPONENT_AT_MUZZLE_03` }, + { name = 'muzzle_precision', label = TranslateCap('component_muzzle_precision'), hash = `COMPONENT_AT_MUZZLE_04` }, + { name = 'muzzle_heavy', label = TranslateCap('component_muzzle_heavy'), hash = `COMPONENT_AT_MUZZLE_05` }, + { name = 'muzzle_slanted', label = TranslateCap('component_muzzle_slanted'), hash = `COMPONENT_AT_MUZZLE_06` }, + { name = 'muzzle_split', label = TranslateCap('component_muzzle_split'), hash = `COMPONENT_AT_MUZZLE_07` }, + { name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_AR_BARREL_01` }, + { name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_AR_BARREL_02` }, + { name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO` }, + { name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_02` }, + { name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_03` }, + { name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_04` }, + { name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_05` }, + { name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_06` }, + { name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_07` }, + { name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_08` }, + { name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_09` }, + { name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_10` }, + { name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_ASSAULTRIFLE_MK2_CAMO_IND_01` } } }, { name = 'WEAPON_BULLPUPRIFLE', label = TranslateCap('weapon_bullpuprifle'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_BULLPUPRIFLE_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_BULLPUPRIFLE_CLIP_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_SMALL`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_BULLPUPRIFLE_VARMOD_LOW`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_BULLPUPRIFLE_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_BULLPUPRIFLE_CLIP_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_SMALL` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_BULLPUPRIFLE_VARMOD_LOW` } } }, { name = 'WEAPON_BULLPUPRIFLE_MK2', label = TranslateCap('weapon_bullpuprifle_mk2'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CLIP_02`}, - {name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CLIP_TRACER`}, - {name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CLIP_INCENDIARY`}, - {name = 'ammo_armor', label = TranslateCap('component_ammo_armor'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CLIP_ARMORPIERCING`}, - {name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CLIP_FMJ`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS`}, - {name = 'scope_small', label = TranslateCap('component_scope_small'), hash = `COMPONENT_AT_SCOPE_MACRO_02_MK2`}, - {name = 'scope_medium', label = TranslateCap('component_scope_medium'), hash = `COMPONENT_AT_SCOPE_SMALL_MK2`}, - {name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_BP_BARREL_01`}, - {name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_BP_BARREL_02`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP`}, - {name = 'muzzle_flat', label = TranslateCap('component_muzzle_flat'), hash = `COMPONENT_AT_MUZZLE_01`}, - {name = 'muzzle_tactical', label = TranslateCap('component_muzzle_tactical'), hash = `COMPONENT_AT_MUZZLE_02`}, - {name = 'muzzle_fat', label = TranslateCap('component_muzzle_fat'), hash = `COMPONENT_AT_MUZZLE_03`}, - {name = 'muzzle_precision', label = TranslateCap('component_muzzle_precision'), hash = `COMPONENT_AT_MUZZLE_04`}, - {name = 'muzzle_heavy', label = TranslateCap('component_muzzle_heavy'), hash = `COMPONENT_AT_MUZZLE_05`}, - {name = 'muzzle_slanted', label = TranslateCap('component_muzzle_slanted'), hash = `COMPONENT_AT_MUZZLE_06`}, - {name = 'muzzle_split', label = TranslateCap('component_muzzle_split'), hash = `COMPONENT_AT_MUZZLE_07`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP_02`}, - {name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO`}, - {name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_02`}, - {name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_03`}, - {name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_04`}, - {name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_05`}, - {name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_06`}, - {name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_07`}, - {name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_08`}, - {name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_09`}, - {name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_10`}, - {name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_IND_01`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CLIP_02` }, + { name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CLIP_TRACER` }, + { name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CLIP_INCENDIARY` }, + { name = 'ammo_armor', label = TranslateCap('component_ammo_armor'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CLIP_ARMORPIERCING` }, + { name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CLIP_FMJ` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS` }, + { name = 'scope_small', label = TranslateCap('component_scope_small'), hash = `COMPONENT_AT_SCOPE_MACRO_02_MK2` }, + { name = 'scope_medium', label = TranslateCap('component_scope_medium'), hash = `COMPONENT_AT_SCOPE_SMALL_MK2` }, + { name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_BP_BARREL_01` }, + { name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_BP_BARREL_02` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP` }, + { name = 'muzzle_flat', label = TranslateCap('component_muzzle_flat'), hash = `COMPONENT_AT_MUZZLE_01` }, + { name = 'muzzle_tactical', label = TranslateCap('component_muzzle_tactical'), hash = `COMPONENT_AT_MUZZLE_02` }, + { name = 'muzzle_fat', label = TranslateCap('component_muzzle_fat'), hash = `COMPONENT_AT_MUZZLE_03` }, + { name = 'muzzle_precision', label = TranslateCap('component_muzzle_precision'), hash = `COMPONENT_AT_MUZZLE_04` }, + { name = 'muzzle_heavy', label = TranslateCap('component_muzzle_heavy'), hash = `COMPONENT_AT_MUZZLE_05` }, + { name = 'muzzle_slanted', label = TranslateCap('component_muzzle_slanted'), hash = `COMPONENT_AT_MUZZLE_06` }, + { name = 'muzzle_split', label = TranslateCap('component_muzzle_split'), hash = `COMPONENT_AT_MUZZLE_07` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP_02` }, + { name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO` }, + { name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_02` }, + { name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_03` }, + { name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_04` }, + { name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_05` }, + { name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_06` }, + { name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_07` }, + { name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_08` }, + { name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_09` }, + { name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_10` }, + { name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_BULLPUPRIFLE_MK2_CAMO_IND_01` } } }, { name = 'WEAPON_CARBINERIFLE', label = TranslateCap('weapon_carbinerifle'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_CARBINERIFLE_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_CARBINERIFLE_CLIP_02`}, - {name = 'clip_box', label = TranslateCap('component_clip_box'), hash = `COMPONENT_CARBINERIFLE_CLIP_03`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MEDIUM`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_CARBINERIFLE_VARMOD_LUXE`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_CARBINERIFLE_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_CARBINERIFLE_CLIP_02` }, + { name = 'clip_box', label = TranslateCap('component_clip_box'), hash = `COMPONENT_CARBINERIFLE_CLIP_03` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MEDIUM` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_CARBINERIFLE_VARMOD_LUXE` } } }, { name = 'WEAPON_CARBINERIFLE_MK2', label = TranslateCap('weapon_carbinerifle_mk2'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_CARBINERIFLE_MK2_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_CARBINERIFLE_MK2_CLIP_02`}, - {name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_CARBINERIFLE_MK2_CLIP_TRACER`}, - {name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_CARBINERIFLE_MK2_CLIP_INCENDIARY`}, - {name = 'ammo_armor', label = TranslateCap('component_ammo_armor'), hash = `COMPONENT_CARBINERIFLE_MK2_CLIP_ARMORPIERCING`}, - {name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_CARBINERIFLE_MK2_CLIP_FMJ`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS`}, - {name = 'scope_medium', label = TranslateCap('component_scope_medium'), hash = `COMPONENT_AT_SCOPE_MACRO_MK2`}, - {name = 'scope_large', label = TranslateCap('component_scope_large'), hash = `COMPONENT_AT_SCOPE_MEDIUM_MK2`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP`}, - {name = 'muzzle_flat', label = TranslateCap('component_muzzle_flat'), hash = `COMPONENT_AT_MUZZLE_01`}, - {name = 'muzzle_tactical', label = TranslateCap('component_muzzle_tactical'), hash = `COMPONENT_AT_MUZZLE_02`}, - {name = 'muzzle_fat', label = TranslateCap('component_muzzle_fat'), hash = `COMPONENT_AT_MUZZLE_03`}, - {name = 'muzzle_precision', label = TranslateCap('component_muzzle_precision'), hash = `COMPONENT_AT_MUZZLE_04`}, - {name = 'muzzle_heavy', label = TranslateCap('component_muzzle_heavy'), hash = `COMPONENT_AT_MUZZLE_05`}, - {name = 'muzzle_slanted', label = TranslateCap('component_muzzle_slanted'), hash = `COMPONENT_AT_MUZZLE_06`}, - {name = 'muzzle_split', label = TranslateCap('component_muzzle_split'), hash = `COMPONENT_AT_MUZZLE_07`}, - {name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_CR_BARREL_01`}, - {name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_CR_BARREL_02`}, - {name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO`}, - {name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_02`}, - {name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_03`}, - {name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_04`}, - {name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_05`}, - {name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_06`}, - {name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_07`}, - {name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_08`}, - {name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_09`}, - {name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_10`}, - {name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_IND_01`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_CARBINERIFLE_MK2_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_CARBINERIFLE_MK2_CLIP_02` }, + { name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_CARBINERIFLE_MK2_CLIP_TRACER` }, + { name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_CARBINERIFLE_MK2_CLIP_INCENDIARY` }, + { name = 'ammo_armor', label = TranslateCap('component_ammo_armor'), hash = `COMPONENT_CARBINERIFLE_MK2_CLIP_ARMORPIERCING` }, + { name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_CARBINERIFLE_MK2_CLIP_FMJ` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS` }, + { name = 'scope_medium', label = TranslateCap('component_scope_medium'), hash = `COMPONENT_AT_SCOPE_MACRO_MK2` }, + { name = 'scope_large', label = TranslateCap('component_scope_large'), hash = `COMPONENT_AT_SCOPE_MEDIUM_MK2` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP` }, + { name = 'muzzle_flat', label = TranslateCap('component_muzzle_flat'), hash = `COMPONENT_AT_MUZZLE_01` }, + { name = 'muzzle_tactical', label = TranslateCap('component_muzzle_tactical'), hash = `COMPONENT_AT_MUZZLE_02` }, + { name = 'muzzle_fat', label = TranslateCap('component_muzzle_fat'), hash = `COMPONENT_AT_MUZZLE_03` }, + { name = 'muzzle_precision', label = TranslateCap('component_muzzle_precision'), hash = `COMPONENT_AT_MUZZLE_04` }, + { name = 'muzzle_heavy', label = TranslateCap('component_muzzle_heavy'), hash = `COMPONENT_AT_MUZZLE_05` }, + { name = 'muzzle_slanted', label = TranslateCap('component_muzzle_slanted'), hash = `COMPONENT_AT_MUZZLE_06` }, + { name = 'muzzle_split', label = TranslateCap('component_muzzle_split'), hash = `COMPONENT_AT_MUZZLE_07` }, + { name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_CR_BARREL_01` }, + { name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_CR_BARREL_02` }, + { name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO` }, + { name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_02` }, + { name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_03` }, + { name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_04` }, + { name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_05` }, + { name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_06` }, + { name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_07` }, + { name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_08` }, + { name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_09` }, + { name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_10` }, + { name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_CARBINERIFLE_MK2_CAMO_IND_01` } } }, { name = 'WEAPON_COMPACTRIFLE', label = TranslateCap('weapon_compactrifle'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_COMPACTRIFLE_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_COMPACTRIFLE_CLIP_02`}, - {name = 'clip_drum', label = TranslateCap('component_clip_drum'), hash = `COMPONENT_COMPACTRIFLE_CLIP_03`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_COMPACTRIFLE_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_COMPACTRIFLE_CLIP_02` }, + { name = 'clip_drum', label = TranslateCap('component_clip_drum'), hash = `COMPONENT_COMPACTRIFLE_CLIP_03` } } }, { name = 'WEAPON_MILITARYRIFLE', label = TranslateCap('weapon_militaryrifle'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_MILITARYRIFLE_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_MILITARYRIFLE_CLIP_02`}, - {name = 'ironsights', label = TranslateCap('component_ironsights'), hash = `COMPONENT_MILITARYRIFLE_SIGHT_01`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_SMALL`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_MILITARYRIFLE_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_MILITARYRIFLE_CLIP_02` }, + { name = 'ironsights', label = TranslateCap('component_ironsights'), hash = `COMPONENT_MILITARYRIFLE_SIGHT_01` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_SMALL` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP` } } }, { name = 'WEAPON_SPECIALCARBINE', label = TranslateCap('weapon_specialcarbine'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_SPECIALCARBINE_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_SPECIALCARBINE_CLIP_02`}, - {name = 'clip_drum', label = TranslateCap('component_clip_drum'), hash = `COMPONENT_SPECIALCARBINE_CLIP_03`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MEDIUM`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_SPECIALCARBINE_VARMOD_LOWRIDER`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_SPECIALCARBINE_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_SPECIALCARBINE_CLIP_02` }, + { name = 'clip_drum', label = TranslateCap('component_clip_drum'), hash = `COMPONENT_SPECIALCARBINE_CLIP_03` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MEDIUM` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_SPECIALCARBINE_VARMOD_LOWRIDER` } } }, { name = 'WEAPON_SPECIALCARBINE_MK2', label = TranslateCap('weapon_specialcarbine_mk2'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_SPECIALCARBINE_MK2_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_SPECIALCARBINE_MK2_CLIP_02`}, - {name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_SPECIALCARBINE_MK2_CLIP_TRACER`}, - {name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_SPECIALCARBINE_MK2_CLIP_INCENDIARY`}, - {name = 'ammo_armor', label = TranslateCap('component_ammo_armor'), hash = `COMPONENT_SPECIALCARBINE_MK2_CLIP_ARMORPIERCING`}, - {name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_SPECIALCARBINE_MK2_CLIP_FMJ`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS`}, - {name = 'scope_small', label = TranslateCap('component_scope_small'), hash = `COMPONENT_AT_SCOPE_MACRO_MK2`}, - {name = 'scope_large', label = TranslateCap('component_scope_large'), hash = `COMPONENT_AT_SCOPE_MEDIUM_MK2`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02`}, - {name = 'muzzle_flat', label = TranslateCap('component_muzzle_flat'), hash = `COMPONENT_AT_MUZZLE_01`}, - {name = 'muzzle_tactical', label = TranslateCap('component_muzzle_tactical'), hash = `COMPONENT_AT_MUZZLE_02`}, - {name = 'muzzle_fat', label = TranslateCap('component_muzzle_fat'), hash = `COMPONENT_AT_MUZZLE_03`}, - {name = 'muzzle_precision', label = TranslateCap('component_muzzle_precision'), hash = `COMPONENT_AT_MUZZLE_04`}, - {name = 'muzzle_heavy', label = TranslateCap('component_muzzle_heavy'), hash = `COMPONENT_AT_MUZZLE_05`}, - {name = 'muzzle_slanted', label = TranslateCap('component_muzzle_slanted'), hash = `COMPONENT_AT_MUZZLE_06`}, - {name = 'muzzle_split', label = TranslateCap('component_muzzle_split'), hash = `COMPONENT_AT_MUZZLE_07`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP_02`}, - {name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_SC_BARREL_01`}, - {name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_SC_BARREL_02`}, - {name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO`}, - {name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_02`}, - {name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_03`}, - {name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_04`}, - {name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_05`}, - {name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_06`}, - {name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_07`}, - {name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_08`}, - {name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_09`}, - {name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_10`}, - {name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_IND_01`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_SPECIALCARBINE_MK2_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_SPECIALCARBINE_MK2_CLIP_02` }, + { name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_SPECIALCARBINE_MK2_CLIP_TRACER` }, + { name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_SPECIALCARBINE_MK2_CLIP_INCENDIARY` }, + { name = 'ammo_armor', label = TranslateCap('component_ammo_armor'), hash = `COMPONENT_SPECIALCARBINE_MK2_CLIP_ARMORPIERCING` }, + { name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_SPECIALCARBINE_MK2_CLIP_FMJ` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS` }, + { name = 'scope_small', label = TranslateCap('component_scope_small'), hash = `COMPONENT_AT_SCOPE_MACRO_MK2` }, + { name = 'scope_large', label = TranslateCap('component_scope_large'), hash = `COMPONENT_AT_SCOPE_MEDIUM_MK2` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02` }, + { name = 'muzzle_flat', label = TranslateCap('component_muzzle_flat'), hash = `COMPONENT_AT_MUZZLE_01` }, + { name = 'muzzle_tactical', label = TranslateCap('component_muzzle_tactical'), hash = `COMPONENT_AT_MUZZLE_02` }, + { name = 'muzzle_fat', label = TranslateCap('component_muzzle_fat'), hash = `COMPONENT_AT_MUZZLE_03` }, + { name = 'muzzle_precision', label = TranslateCap('component_muzzle_precision'), hash = `COMPONENT_AT_MUZZLE_04` }, + { name = 'muzzle_heavy', label = TranslateCap('component_muzzle_heavy'), hash = `COMPONENT_AT_MUZZLE_05` }, + { name = 'muzzle_slanted', label = TranslateCap('component_muzzle_slanted'), hash = `COMPONENT_AT_MUZZLE_06` }, + { name = 'muzzle_split', label = TranslateCap('component_muzzle_split'), hash = `COMPONENT_AT_MUZZLE_07` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP_02` }, + { name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_SC_BARREL_01` }, + { name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_SC_BARREL_02` }, + { name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO` }, + { name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_02` }, + { name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_03` }, + { name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_04` }, + { name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_05` }, + { name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_06` }, + { name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_07` }, + { name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_08` }, + { name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_09` }, + { name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_10` }, + { name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_IND_01` } } }, -- Sniper { name = 'WEAPON_HEAVYSNIPER', label = TranslateCap('weapon_heavysniper'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_SNIPER`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SNIPER` }, tints = Config.DefaultWeaponTints, components = { - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_LARGE`}, - {name = 'scope_advanced', label = TranslateCap('component_scope_advanced'), hash = `COMPONENT_AT_SCOPE_MAX`} + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_LARGE` }, + { name = 'scope_advanced', label = TranslateCap('component_scope_advanced'), hash = `COMPONENT_AT_SCOPE_MAX` } } }, { name = 'WEAPON_HEAVYSNIPER_MK2', label = TranslateCap('weapon_heavysniper_mk2'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_SNIPER`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SNIPER` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_HEAVYSNIPER_MK2_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_HEAVYSNIPER_MK2_CLIP_02`}, - {name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_HEAVYSNIPER_MK2_CLIP_INCENDIARY`}, - {name = 'ammo_armor', label = TranslateCap('component_ammo_armor'), hash = `COMPONENT_HEAVYSNIPER_MK2_CLIP_ARMORPIERCING`}, - {name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_HEAVYSNIPER_MK2_CLIP_FMJ`}, - {name = 'ammo_explosive', label = TranslateCap('component_ammo_explosive'), hash = `COMPONENT_HEAVYSNIPER_MK2_CLIP_EXPLOSIVE`}, - {name = 'scope_zoom', label = TranslateCap('component_scope_zoom'), hash = `COMPONENT_AT_SCOPE_LARGE_MK2`}, - {name = 'scope_advanced', label = TranslateCap('component_scope_advanced'), hash = `COMPONENT_AT_SCOPE_MAX`}, - {name = 'scope_nightvision', label = TranslateCap('component_scope_nightvision'), hash = `COMPONENT_AT_SCOPE_NV`}, - {name = 'scope_thermal', label = TranslateCap('component_scope_thermal'), hash = `COMPONENT_AT_SCOPE_THERMAL`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_SR_SUPP_03`}, - {name = 'muzzle_squared', label = TranslateCap('component_muzzle_squared'), hash = `COMPONENT_AT_MUZZLE_08`}, - {name = 'muzzle_bell', label = TranslateCap('component_muzzle_bell'), hash = `COMPONENT_AT_MUZZLE_09`}, - {name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_SR_BARREL_01`}, - {name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_SR_BARREL_02`}, - {name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO`}, - {name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_02`}, - {name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_03`}, - {name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_04`}, - {name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_05`}, - {name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_06`}, - {name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_07`}, - {name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_08`}, - {name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_09`}, - {name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_10`}, - {name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_IND_01`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_HEAVYSNIPER_MK2_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_HEAVYSNIPER_MK2_CLIP_02` }, + { name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_HEAVYSNIPER_MK2_CLIP_INCENDIARY` }, + { name = 'ammo_armor', label = TranslateCap('component_ammo_armor'), hash = `COMPONENT_HEAVYSNIPER_MK2_CLIP_ARMORPIERCING` }, + { name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_HEAVYSNIPER_MK2_CLIP_FMJ` }, + { name = 'ammo_explosive', label = TranslateCap('component_ammo_explosive'), hash = `COMPONENT_HEAVYSNIPER_MK2_CLIP_EXPLOSIVE` }, + { name = 'scope_zoom', label = TranslateCap('component_scope_zoom'), hash = `COMPONENT_AT_SCOPE_LARGE_MK2` }, + { name = 'scope_advanced', label = TranslateCap('component_scope_advanced'), hash = `COMPONENT_AT_SCOPE_MAX` }, + { name = 'scope_nightvision', label = TranslateCap('component_scope_nightvision'), hash = `COMPONENT_AT_SCOPE_NV` }, + { name = 'scope_thermal', label = TranslateCap('component_scope_thermal'), hash = `COMPONENT_AT_SCOPE_THERMAL` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_SR_SUPP_03` }, + { name = 'muzzle_squared', label = TranslateCap('component_muzzle_squared'), hash = `COMPONENT_AT_MUZZLE_08` }, + { name = 'muzzle_bell', label = TranslateCap('component_muzzle_bell'), hash = `COMPONENT_AT_MUZZLE_09` }, + { name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_SR_BARREL_01` }, + { name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_SR_BARREL_02` }, + { name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO` }, + { name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_02` }, + { name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_03` }, + { name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_04` }, + { name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_05` }, + { name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_06` }, + { name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_07` }, + { name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_08` }, + { name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_09` }, + { name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_10` }, + { name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_HEAVYSNIPER_MK2_CAMO_IND_01` } } }, { name = 'WEAPON_MARKSMANRIFLE', label = TranslateCap('weapon_marksmanrifle'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_SNIPER`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SNIPER` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_MARKSMANRIFLE_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_MARKSMANRIFLE_CLIP_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_LARGE_FIXED_ZOOM`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_MARKSMANRIFLE_VARMOD_LUXE`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_MARKSMANRIFLE_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_MARKSMANRIFLE_CLIP_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_LARGE_FIXED_ZOOM` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_MARKSMANRIFLE_VARMOD_LUXE` } } }, { name = 'WEAPON_MARKSMANRIFLE_MK2', label = TranslateCap('weapon_marksmanrifle_mk2'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_SNIPER`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SNIPER` }, tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CLIP_02`}, - {name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CLIP_TRACER`}, - {name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CLIP_INCENDIARY`}, - {name = 'ammo_armor', label = TranslateCap('component_ammo_armor'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CLIP_ARMORPIERCING`}, - {name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CLIP_FMJ`}, - {name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS`}, - {name = 'scope_large', label = TranslateCap('component_scope_large'), hash = `COMPONENT_AT_SCOPE_MEDIUM_MK2`}, - {name = 'scope_zoom', label = TranslateCap('component_scope_zoom'), hash = `COMPONENT_AT_SCOPE_LARGE_FIXED_ZOOM_MK2`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP`}, - {name = 'muzzle_flat', label = TranslateCap('component_muzzle_flat'), hash = `COMPONENT_AT_MUZZLE_01`}, - {name = 'muzzle_tactical', label = TranslateCap('component_muzzle_tactical'), hash = `COMPONENT_AT_MUZZLE_02`}, - {name = 'muzzle_fat', label = TranslateCap('component_muzzle_fat'), hash = `COMPONENT_AT_MUZZLE_03`}, - {name = 'muzzle_precision', label = TranslateCap('component_muzzle_precision'), hash = `COMPONENT_AT_MUZZLE_04`}, - {name = 'muzzle_heavy', label = TranslateCap('component_muzzle_heavy'), hash = `COMPONENT_AT_MUZZLE_05`}, - {name = 'muzzle_slanted', label = TranslateCap('component_muzzle_slanted'), hash = `COMPONENT_AT_MUZZLE_06`}, - {name = 'muzzle_split', label = TranslateCap('component_muzzle_split'), hash = `COMPONENT_AT_MUZZLE_07`}, - {name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_MRFL_BARREL_01`}, - {name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_MRFL_BARREL_02`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP_02`}, - {name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO`}, - {name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_02`}, - {name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_03`}, - {name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_04`}, - {name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_05`}, - {name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_06`}, - {name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_07`}, - {name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_08`}, - {name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_09`}, - {name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_10`}, - {name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_IND_01`} + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CLIP_02` }, + { name = 'ammo_tracer', label = TranslateCap('component_ammo_tracer'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CLIP_TRACER` }, + { name = 'ammo_incendiary', label = TranslateCap('component_ammo_incendiary'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CLIP_INCENDIARY` }, + { name = 'ammo_armor', label = TranslateCap('component_ammo_armor'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CLIP_ARMORPIERCING` }, + { name = 'ammo_fmj', label = TranslateCap('component_ammo_fmj'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CLIP_FMJ` }, + { name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_AT_SIGHTS` }, + { name = 'scope_large', label = TranslateCap('component_scope_large'), hash = `COMPONENT_AT_SCOPE_MEDIUM_MK2` }, + { name = 'scope_zoom', label = TranslateCap('component_scope_zoom'), hash = `COMPONENT_AT_SCOPE_LARGE_FIXED_ZOOM_MK2` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP` }, + { name = 'muzzle_flat', label = TranslateCap('component_muzzle_flat'), hash = `COMPONENT_AT_MUZZLE_01` }, + { name = 'muzzle_tactical', label = TranslateCap('component_muzzle_tactical'), hash = `COMPONENT_AT_MUZZLE_02` }, + { name = 'muzzle_fat', label = TranslateCap('component_muzzle_fat'), hash = `COMPONENT_AT_MUZZLE_03` }, + { name = 'muzzle_precision', label = TranslateCap('component_muzzle_precision'), hash = `COMPONENT_AT_MUZZLE_04` }, + { name = 'muzzle_heavy', label = TranslateCap('component_muzzle_heavy'), hash = `COMPONENT_AT_MUZZLE_05` }, + { name = 'muzzle_slanted', label = TranslateCap('component_muzzle_slanted'), hash = `COMPONENT_AT_MUZZLE_06` }, + { name = 'muzzle_split', label = TranslateCap('component_muzzle_split'), hash = `COMPONENT_AT_MUZZLE_07` }, + { name = 'barrel_default', label = TranslateCap('component_barrel_default'), hash = `COMPONENT_AT_MRFL_BARREL_01` }, + { name = 'barrel_heavy', label = TranslateCap('component_barrel_heavy'), hash = `COMPONENT_AT_MRFL_BARREL_02` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP_02` }, + { name = 'camo_finish', label = TranslateCap('component_camo_finish'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO` }, + { name = 'camo_finish2', label = TranslateCap('component_camo_finish2'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_02` }, + { name = 'camo_finish3', label = TranslateCap('component_camo_finish3'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_03` }, + { name = 'camo_finish4', label = TranslateCap('component_camo_finish4'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_04` }, + { name = 'camo_finish5', label = TranslateCap('component_camo_finish5'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_05` }, + { name = 'camo_finish6', label = TranslateCap('component_camo_finish6'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_06` }, + { name = 'camo_finish7', label = TranslateCap('component_camo_finish7'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_07` }, + { name = 'camo_finish8', label = TranslateCap('component_camo_finish8'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_08` }, + { name = 'camo_finish9', label = TranslateCap('component_camo_finish9'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_09` }, + { name = 'camo_finish10', label = TranslateCap('component_camo_finish10'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_10` }, + { name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_MARKSMANRIFLE_MK2_CAMO_IND_01` } } }, { name = 'WEAPON_SNIPERRIFLE', label = TranslateCap('weapon_sniperrifle'), - ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_SNIPER`}, + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SNIPER` }, tints = Config.DefaultWeaponTints, components = { - {name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_LARGE`}, - {name = 'scope_advanced', label = TranslateCap('component_scope_advanced'), hash = `COMPONENT_AT_SCOPE_MAX`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02`}, - {name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_SNIPERRIFLE_VARMOD_LUXE`} + { name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_LARGE` }, + { name = 'scope_advanced', label = TranslateCap('component_scope_advanced'), hash = `COMPONENT_AT_SCOPE_MAX` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02` }, + { name = 'luxary_finish', label = TranslateCap('component_luxary_finish'), hash = `COMPONENT_SNIPERRIFLE_VARMOD_LUXE` } } }, -- Heavy / Launchers - {name = 'WEAPON_COMPACTLAUNCHER', label = TranslateCap('weapon_compactlauncher'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_grenadelauncher'), hash = `AMMO_GRENADELAUNCHER`}}, - {name = 'WEAPON_FIREWORK', label = TranslateCap('weapon_firework'), components = {}, ammo = {label = TranslateCap('ammo_firework'), hash = `AMMO_FIREWORK`}}, - {name = 'WEAPON_GRENADELAUNCHER', label = TranslateCap('weapon_grenadelauncher'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_grenadelauncher'), hash = `AMMO_GRENADELAUNCHER`}}, - {name = 'WEAPON_HOMINGLAUNCHER', label = TranslateCap('weapon_hominglauncher'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_rockets'), hash = `AMMO_HOMINGLAUNCHER`}}, - {name = 'WEAPON_MINIGUN', label = TranslateCap('weapon_minigun'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_MINIGUN`}}, - {name = 'WEAPON_RAILGUN', label = TranslateCap('weapon_railgun'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RAILGUN`}}, - {name = 'WEAPON_RPG', label = TranslateCap('weapon_rpg'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_rockets'), hash = `AMMO_RPG`}}, - {name = 'WEAPON_RAYMINIGUN', label = TranslateCap('weapon_rayminigun'), tints = Config.DefaultWeaponTints, components = {}, ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_MINIGUN`}}, + { name = 'WEAPON_COMPACTLAUNCHER', label = TranslateCap('weapon_compactlauncher'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_grenadelauncher'), hash = `AMMO_GRENADELAUNCHER` } }, + { name = 'WEAPON_FIREWORK', label = TranslateCap('weapon_firework'), components = {}, ammo = { label = TranslateCap('ammo_firework'), hash = `AMMO_FIREWORK` } }, + { name = 'WEAPON_GRENADELAUNCHER', label = TranslateCap('weapon_grenadelauncher'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_grenadelauncher'), hash = `AMMO_GRENADELAUNCHER` } }, + { name = 'WEAPON_HOMINGLAUNCHER', label = TranslateCap('weapon_hominglauncher'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rockets'), hash = `AMMO_HOMINGLAUNCHER` } }, + { name = 'WEAPON_MINIGUN', label = TranslateCap('weapon_minigun'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_MINIGUN` } }, + { name = 'WEAPON_RAILGUN', label = TranslateCap('weapon_railgun'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RAILGUN` } }, + { name = 'WEAPON_RPG', label = TranslateCap('weapon_rpg'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rockets'), hash = `AMMO_RPG` } }, + { name = 'WEAPON_RAYMINIGUN', label = TranslateCap('weapon_rayminigun'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_MINIGUN` } }, -- Thrown - {name = 'WEAPON_BALL', label = TranslateCap('weapon_ball'), components = {}, ammo = {label = TranslateCap('ammo_ball'), hash = `AMMO_BALL`}}, - {name = 'WEAPON_BZGAS', label = TranslateCap('weapon_bzgas'), components = {}, ammo = {label = TranslateCap('ammo_bzgas'), hash = `AMMO_BZGAS`}}, - {name = 'WEAPON_FLARE', label = TranslateCap('weapon_flare'), components = {}, ammo = {label = TranslateCap('ammo_flare'), hash = `AMMO_FLARE`}}, - {name = 'WEAPON_GRENADE', label = TranslateCap('weapon_grenade'), components = {}, ammo = {label = TranslateCap('ammo_grenade'), hash = `AMMO_GRENADE`}}, - {name = 'WEAPON_PETROLCAN', label = TranslateCap('weapon_petrolcan'), components = {}, ammo = {label = TranslateCap('ammo_petrol'), hash = `AMMO_PETROLCAN`}}, - {name = 'WEAPON_HAZARDCAN', label = TranslateCap('weapon_hazardcan'), components = {}, ammo = {label = TranslateCap('ammo_petrol'), hash = `AMMO_PETROLCAN`}}, - {name = 'WEAPON_MOLOTOV', label = TranslateCap('weapon_molotov'), components = {}, ammo = {label = TranslateCap('ammo_molotov'), hash = `AMMO_MOLOTOV`}}, - {name = 'WEAPON_PROXMINE', label = TranslateCap('weapon_proxmine'), components = {}, ammo = {label = TranslateCap('ammo_proxmine'), hash = `AMMO_PROXMINE`}}, - {name = 'WEAPON_PIPEBOMB', label = TranslateCap('weapon_pipebomb'), components = {}, ammo = {label = TranslateCap('ammo_pipebomb'), hash = `AMMO_PIPEBOMB`}}, - {name = 'WEAPON_SNOWBALL', label = TranslateCap('weapon_snowball'), components = {}, ammo = {label = TranslateCap('ammo_snowball'), hash = `AMMO_SNOWBALL`}}, - {name = 'WEAPON_STICKYBOMB', label = TranslateCap('weapon_stickybomb'), components = {}, ammo = {label = TranslateCap('ammo_stickybomb'), hash = `AMMO_STICKYBOMB`}}, - {name = 'WEAPON_SMOKEGRENADE', label = TranslateCap('weapon_smokegrenade'), components = {}, ammo = {label = TranslateCap('ammo_smokebomb'), hash = `AMMO_SMOKEGRENADE`}}, + { name = 'WEAPON_BALL', label = TranslateCap('weapon_ball'), components = {}, ammo = { label = TranslateCap('ammo_ball'), hash = `AMMO_BALL` } }, + { name = 'WEAPON_BZGAS', label = TranslateCap('weapon_bzgas'), components = {}, ammo = { label = TranslateCap('ammo_bzgas'), hash = `AMMO_BZGAS` } }, + { name = 'WEAPON_FLARE', label = TranslateCap('weapon_flare'), components = {}, ammo = { label = TranslateCap('ammo_flare'), hash = `AMMO_FLARE` } }, + { name = 'WEAPON_GRENADE', label = TranslateCap('weapon_grenade'), components = {}, ammo = { label = TranslateCap('ammo_grenade'), hash = `AMMO_GRENADE` } }, + { name = 'WEAPON_PETROLCAN', label = TranslateCap('weapon_petrolcan'), components = {}, ammo = { label = TranslateCap('ammo_petrol'), hash = `AMMO_PETROLCAN` } }, + { name = 'WEAPON_HAZARDCAN', label = TranslateCap('weapon_hazardcan'), components = {}, ammo = { label = TranslateCap('ammo_petrol'), hash = `AMMO_PETROLCAN` } }, + { name = 'WEAPON_MOLOTOV', label = TranslateCap('weapon_molotov'), components = {}, ammo = { label = TranslateCap('ammo_molotov'), hash = `AMMO_MOLOTOV` } }, + { name = 'WEAPON_PROXMINE', label = TranslateCap('weapon_proxmine'), components = {}, ammo = { label = TranslateCap('ammo_proxmine'), hash = `AMMO_PROXMINE` } }, + { name = 'WEAPON_PIPEBOMB', label = TranslateCap('weapon_pipebomb'), components = {}, ammo = { label = TranslateCap('ammo_pipebomb'), hash = `AMMO_PIPEBOMB` } }, + { name = 'WEAPON_SNOWBALL', label = TranslateCap('weapon_snowball'), components = {}, ammo = { label = TranslateCap('ammo_snowball'), hash = `AMMO_SNOWBALL` } }, + { name = 'WEAPON_STICKYBOMB', label = TranslateCap('weapon_stickybomb'), components = {}, ammo = { label = TranslateCap('ammo_stickybomb'), hash = `AMMO_STICKYBOMB` } }, + { name = 'WEAPON_SMOKEGRENADE', label = TranslateCap('weapon_smokegrenade'), components = {}, ammo = { label = TranslateCap('ammo_smokebomb'), hash = `AMMO_SMOKEGRENADE` } }, -- Tools - {name = 'WEAPON_FIREEXTINGUISHER', label = TranslateCap('weapon_fireextinguisher'), components = {}, ammo = {label = TranslateCap('ammo_charge'), hash = `AMMO_FIREEXTINGUISHER`}}, - {name = 'WEAPON_DIGISCANNER', label = TranslateCap('weapon_digiscanner'), components = {}}, - {name = 'GADGET_PARACHUTE', label = TranslateCap('gadget_parachute'), components = {}}, - {name = 'WEAPON_TACTICALRIFLE',label = TranslateCap('weapon_tactilerifle'),ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE`},tints = Config.DefaultWeaponTints, + { name = 'WEAPON_FIREEXTINGUISHER', label = TranslateCap('weapon_fireextinguisher'), components = {}, ammo = { label = TranslateCap('ammo_charge'), hash = `AMMO_FIREEXTINGUISHER` } }, + { name = 'WEAPON_DIGISCANNER', label = TranslateCap('weapon_digiscanner'), components = {} }, + { name = 'GADGET_PARACHUTE', label = TranslateCap('gadget_parachute'), components = {} }, + { + name = 'WEAPON_TACTICALRIFLE', + label = TranslateCap('weapon_tactilerifle'), + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE` }, + tints = Config.DefaultWeaponTints, components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_TACTICALRIFLE_CLIP_01`}, - {name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_TACTICALRIFLE_CLIP_02`}, - {name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH_REH`}, - {name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02`} - } + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_TACTICALRIFLE_CLIP_01` }, + { name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_TACTICALRIFLE_CLIP_02` }, + { name = 'flashlight', label = TranslateCap('component_flashlight'), hash = `COMPONENT_AT_AR_FLSH_REH` }, + { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_AT_AR_SUPP_02` } + } }, - {name = 'WEAPON_PRECISIONRIFLE', label = TranslateCap('weapon_precisionrifle'), ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_SNIPER`}, tints = Config.DefaultWeaponTints, - components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_PRECISIONRIFLE_CLIP_01`}, - } + { + name = 'WEAPON_PRECISIONRIFLE', + label = TranslateCap('weapon_precisionrifle'), + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SNIPER` }, + tints = Config.DefaultWeaponTints, + components = { + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_PRECISIONRIFLE_CLIP_01` }, + } }, - {name = 'WEAPON_METALDETECTOR', label = TranslateCap('weapon_metaldetector'), components = {}}, - {name = 'WEAPON_PISTOLXM3', label = TranslateCap('weapon_pistolxm3'), ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL`}, tints = Config.DefaultWeaponTints, - components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_PISTOLXM3_CLIP_01`}, - {name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_PISTOLXM3_SUPP`} - } + { name = 'WEAPON_METALDETECTOR', label = TranslateCap('weapon_metaldetector'), components = {} }, + { + name = 'WEAPON_PISTOLXM3', + label = TranslateCap('weapon_pistolxm3'), + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_PISTOL` }, + tints = Config.DefaultWeaponTints, + components = { + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_PISTOLXM3_CLIP_01` }, + { name = 'suppressor', label = TranslateCap('component_suppressor'), hash = `COMPONENT_PISTOLXM3_SUPP` } + } }, - {name = 'WEAPON_ACIDPACKAGE', label = TranslateCap('weapon_acidpackage'), components = {}}, - {name = 'WEAPON_CANDYCANE', label = TranslateCap('weapon_candycane'), components = {}}, - {name = 'WEAPON_RAILGUNXM3', label = TranslateCap('weapon_railgunxm3'), ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RAILGUN`}, tints = Config.DefaultWeaponTints, - components = { - {name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_RAILGUNXM3_CLIP_01`}, - }, + { name = 'WEAPON_ACIDPACKAGE', label = TranslateCap('weapon_acidpackage'), components = {} }, + { name = 'WEAPON_CANDYCANE', label = TranslateCap('weapon_candycane'), components = {} }, + { + name = 'WEAPON_RAILGUNXM3', + label = TranslateCap('weapon_railgunxm3'), + ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RAILGUN` }, + tints = Config.DefaultWeaponTints, + components = { + { name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_RAILGUNXM3_CLIP_01` }, + }, }, } diff --git a/[core]/es_extended/fxmanifest.lua b/[core]/es_extended/fxmanifest.lua index 2acd5ad2..193f9518 100644 --- a/[core]/es_extended/fxmanifest.lua +++ b/[core]/es_extended/fxmanifest.lua @@ -5,7 +5,7 @@ game 'gta5' description 'ES Extended' lua54 'yes' -version '1.9.4' +version '1.9.5' shared_scripts { 'locale.lua', @@ -42,7 +42,7 @@ client_scripts { 'client/modules/callback.lua', 'client/main.lua', - + 'common/modules/*.lua', 'common/functions.lua', diff --git a/[core]/es_extended/locale.lua b/[core]/es_extended/locale.lua index 37c7e091..a5e2207e 100644 --- a/[core]/es_extended/locale.lua +++ b/[core]/es_extended/locale.lua @@ -1,6 +1,6 @@ Locales = {} -function Translate(str, ...) -- Translate string +function Translate(str, ...) -- Translate string if not str then print(("[^1ERROR^7] Resource ^5%s^7 You did not specify a parameter for the Translate function or the value is nil!"):format(GetInvokingResource() or GetCurrentResourceName())) return 'Given translate function parameter is nil!' @@ -14,7 +14,7 @@ function Translate(str, ...) -- Translate string return 'Translation [' .. Config.Locale .. '][' .. str .. '] does not exist' end elseif Config.Locale ~= 'en' and Locales['en'] and Locales['en'][str] then - return string.format(Locales['en'][str], ...) + return string.format(Locales['en'][str], ...) else return 'Locale [' .. Config.Locale .. '] does not exist' end diff --git a/[core]/es_extended/locales/cs.lua b/[core]/es_extended/locales/cs.lua index 16f95ac6..c71f8433 100644 --- a/[core]/es_extended/locales/cs.lua +++ b/[core]/es_extended/locales/cs.lua @@ -217,10 +217,10 @@ Locales["cs"] = { ["weapon_tactilerifle"] = "Service Carbine", -- Drug Wars DLC - ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_candycane'] = 'Candy Cane', -- not translated ['weapon_acidpackage'] = 'Acid Package', -- not translated ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated - ['weapon_railgunxm3'] = 'Railgun', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated -- Thrown ["weapon_ball"] = "Míček", diff --git a/[core]/es_extended/locales/da.lua b/[core]/es_extended/locales/da.lua index 56c4e755..23a12c0c 100644 --- a/[core]/es_extended/locales/da.lua +++ b/[core]/es_extended/locales/da.lua @@ -223,10 +223,10 @@ Locales["da"] = { ["weapon_tactilerifle"] = "Service Carbine", -- Drug Wars DLC - ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_candycane'] = 'Candy Cane', -- not translated ['weapon_acidpackage'] = 'Acid Package', -- not translated ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated - ['weapon_railgunxm3'] = 'Railgun', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated -- Thrown ["weapon_ball"] = "Baseball", diff --git a/[core]/es_extended/locales/de.lua b/[core]/es_extended/locales/de.lua index c2d5d36e..bc77ed6c 100644 --- a/[core]/es_extended/locales/de.lua +++ b/[core]/es_extended/locales/de.lua @@ -223,10 +223,10 @@ Locales["de"] = { ["weapon_tactilerifle"] = "Service Karabiner", -- Drug Wars DLC - ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_candycane'] = 'Candy Cane', -- not translated ['weapon_acidpackage'] = 'Acid Package', -- not translated ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated - ['weapon_railgunxm3'] = 'Railgun', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated -- Thrown ["weapon_ball"] = "Baseball", diff --git a/[core]/es_extended/locales/en.lua b/[core]/es_extended/locales/en.lua index c22bc880..bb158fb1 100644 --- a/[core]/es_extended/locales/en.lua +++ b/[core]/es_extended/locales/en.lua @@ -366,4 +366,4 @@ Locales["en"] = { ["tint_lspd"] = "blue skin", ["tint_orange"] = "orange skin", ["tint_platinum"] = "platinum skin", -} \ No newline at end of file +} diff --git a/[core]/es_extended/locales/es.lua b/[core]/es_extended/locales/es.lua index bf4854da..f3ed5440 100644 --- a/[core]/es_extended/locales/es.lua +++ b/[core]/es_extended/locales/es.lua @@ -116,10 +116,10 @@ Locales["es"] = { -- Weapons -- Drug Wars DLC - ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_candycane'] = 'Candy Cane', -- not translated ['weapon_acidpackage'] = 'Acid Package', -- not translated ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated - ['weapon_railgunxm3'] = 'Railgun', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated -- Melee ["weapon_dagger"] = "Daga", @@ -357,7 +357,7 @@ Locales["es"] = { ["tint_lspd"] = "Skin Azul", ["tint_orange"] = "Skin Naranja", ["tint_platinum"] = "Skin Plata", - + -- Duty related ["stopped_duty"] = "Has salido de servicio.", ["started_duty"] = "Has entrado de servicio.", diff --git a/[core]/es_extended/locales/fi.lua b/[core]/es_extended/locales/fi.lua index 27ab2fa7..fd5b41b0 100644 --- a/[core]/es_extended/locales/fi.lua +++ b/[core]/es_extended/locales/fi.lua @@ -109,10 +109,10 @@ Locales["fi"] = { ["locale_currency"] = "$%s", -- Drug Wars DLC - ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_candycane'] = 'Candy Cane', -- not translated ['weapon_acidpackage'] = 'Acid Package', -- not translated ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated - ['weapon_railgunxm3'] = 'Railgun', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated -- Weapons ["weapon_knife"] = "Veitsi", diff --git a/[core]/es_extended/locales/fr.lua b/[core]/es_extended/locales/fr.lua index e4f7ad35..eef72dd9 100644 --- a/[core]/es_extended/locales/fr.lua +++ b/[core]/es_extended/locales/fr.lua @@ -197,10 +197,10 @@ Locales["fr"] = { ["component_luxary_finish"] = "finition de luxe", -- Drug Wars DLC - ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_candycane'] = 'Candy Cane', -- not translated ['weapon_acidpackage'] = 'Acid Package', -- not translated ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated - ['weapon_railgunxm3'] = 'Railgun', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated -- Weapon Ammo ["ammo_rounds"] = "cartouche(s)", @@ -231,7 +231,7 @@ Locales["fr"] = { ["tint_lspd"] = "skin bleu", ["tint_orange"] = "skin orange", ["tint_platinum"] = "skin platine", - + -- Duty related ["stopped_duty"] = "Vous êtes maintenant hors-service.", ["started_duty"] = "Vous êtes maintenant en-service.", diff --git a/[core]/es_extended/locales/hu.lua b/[core]/es_extended/locales/hu.lua index 79c04b34..7b1ff007 100644 --- a/[core]/es_extended/locales/hu.lua +++ b/[core]/es_extended/locales/hu.lua @@ -64,7 +64,7 @@ Locales["hu"] = { ["command_clearinventory"] = "Minden tárgy törlése a játékos inventoryból", ["command_clearloadout"] = "Minden fegyver elvétele a játékostól", ["command_freeze"] = "Játékos fagyasztása", - ["command_unfreeze"] = "Játékos kiolvasztása", + ["command_unfreeze"] = "Játékos kiolvasztása", ["command_giveaccountmoney"] = "Pénz adás a megadott típusban", ["command_giveaccountmoney_account"] = "Típus", ["command_giveaccountmoney_amount"] = "Mennyiség", @@ -82,7 +82,7 @@ Locales["hu"] = { ["command_giveweaponcomponent_hasalready"] = "Játékosnak már van ilyen fegyver kiegészítője", ["command_giveweaponcomponent_missingweapon"] = "Játékosnak nincs ilyen fegyvere", ["command_goto"] = "Teleportálás játékoshoz", - ["command_kill"] = "Játékos megölése", + ["command_kill"] = "Játékos megölése", ["command_save"] = "Játékos adatainak mentése", ["command_saveall"] = "Összes játékos adatainak mentése", ["command_setaccountmoney"] = "Játékos pénzének beállítása megadott típusban", @@ -223,10 +223,10 @@ Locales["hu"] = { ["weapon_tactilerifle"] = "Service Carbine", -- Drug Wars DLC - ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_candycane'] = 'Candy Cane', -- not translated ['weapon_acidpackage'] = 'Acid Package', -- not translated ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated - ['weapon_railgunxm3'] = 'Railgun', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated -- Thrown ["weapon_ball"] = "Baseball", diff --git a/[core]/es_extended/locales/it.lua b/[core]/es_extended/locales/it.lua index cc401bd9..ddbe6473 100644 --- a/[core]/es_extended/locales/it.lua +++ b/[core]/es_extended/locales/it.lua @@ -223,10 +223,10 @@ Locales["it"] = { ["weapon_tactilerifle"] = "Carabina di servizio", -- Drug Wars DLC - ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_candycane'] = 'Candy Cane', -- not translated ['weapon_acidpackage'] = 'Acid Package', -- not translated ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated - ['weapon_railgunxm3'] = 'Railgun', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated -- Thrown ["weapon_ball"] = "Palla", diff --git a/[core]/es_extended/locales/nl.lua b/[core]/es_extended/locales/nl.lua index 844ca85c..6dcd1890 100644 --- a/[core]/es_extended/locales/nl.lua +++ b/[core]/es_extended/locales/nl.lua @@ -36,10 +36,10 @@ Locales["nl"] = { ["threw_weapon_already"] = "Je hebt dit wapen al !", ["threw_cannot_pickup"] = "Inventoraris is vol, Kan niet oppakken!", ["threw_pickup_prompt"] = "Druk op E om op te pakken", - + -- Key mapping ["keymap_showinventory"] = "Laat inventaris zien", - + -- Salary related ["received_salary"] = "Je bent betaald: €%s", ["received_help"] = "Je hebt je uitkering gekregen: €%s", @@ -49,10 +49,10 @@ Locales["nl"] = { ["account_bank"] = "Bank", ["account_black_money"] = "Zwart geld", ["account_money"] = "Cash", - + ["act_imp"] = "Kan actie niet uitvoeren", ["in_vehicle"] = "Kan actie niet uitvoeren, de speler zit in een voertuig.", - + -- Commands ["command_bring"] = "Breng speler naar jou", ["command_car"] = "Spawn een voertuig", @@ -110,17 +110,17 @@ Locales["nl"] = { ["command_giveammo_ammo"] = "Ammo Hoeveelheid", ["tpm_nowaypoint"] = "Geen waypoint gezet.", ["tpm_success"] = "Successvol geteleporteerd", - + ["noclip_message"] = "Noclip is %s", ["enabled"] = "~g~aangezet~s~", ["disabled"] = "~r~uitgezet~s~", - + -- Locale settings ["locale_digit_grouping_symbol"] = ",", ["locale_currency"] = "€%s", - + -- Weapons - + -- Melee ["weapon_dagger"] = "Dolk", ["weapon_bat"] = "Knuppel", @@ -139,7 +139,7 @@ Locales["nl"] = { ["weapon_poolcue"] = "Pool Cue", ["weapon_stone_hatchet"] = "Steenbijl", ["weapon_switchblade"] = "Switchblade", - + -- Handguns ["weapon_appistol"] = "AP-pistool", ["weapon_ceramicpistol"] = "Keramische pistool", @@ -160,7 +160,7 @@ Locales["nl"] = { ["weapon_stungun"] = "Taser", ["weapon_raypistol"] = "Up-N-Atomizer", ["weapon_vintagepistol"] = "Vintage Pistool", - + -- Shotguns ["weapon_assaultshotgun"] = "Aanvalsgeweer", ["weapon_autoshotgun"] = "Automatisch jachtgeweer", @@ -172,7 +172,7 @@ Locales["nl"] = { ["weapon_pumpshotgun"] = "Pompgeweer", ["weapon_pumpshotgun_mk2"] = "Pump Shotgun MK2", ["weapon_sawnoffshotgun"] = "Afgezaagd jachtgeweer", - + -- SMG & LMG ["weapon_assaultsmg"] = "Aanval SMG", ["weapon_combatmg"] = "Gevecht MG", @@ -186,7 +186,7 @@ Locales["nl"] = { ["weapon_smg"] = "SMG", ["weapon_smg_mk2"] = "SMG MK2", ["weapon_raycarbine"] = "Onheilige Hellbringer", - + -- Rifles ["weapon_advancedrifle"] = "Geavanceerd geweer", ["weapon_assaultrifle"] = "Aanvalsgeweer", @@ -199,14 +199,14 @@ Locales["nl"] = { ["weapon_militaryrifle"] = "Militair geweer", ["weapon_specialcarbine"] = "Speciale karabijn", ["weapon_specialcarbine_mk2"] = "Speciale karabijn MK2", - + -- Sniper ["weapon_heavysniper"] = "Zware sluipschutter", ["weapon_heavysniper_mk2"] = "Zware Sniper MK2", ["weapon_marksmanrifle"] = "Schuttersgeweer", ["weapon_marksmanrifle_mk2"] = "Schuttersgeweer MK2", ["weapon_sniperrifle"] = "Sniper Rifle", - + -- Heavy / Launchers ["weapon_compactlauncher"] = "Compacte Launcher", ["weapon_firework"] = "Vuurwerkstarter", @@ -216,18 +216,18 @@ Locales["nl"] = { ["weapon_railgun"] = "Spoorgeweer", ["weapon_rpg"] = "Raketwerper", ["weapon_rayminigun"] = "Weduwemaker", - + -- Criminal Enterprises DLC ["weapon_metaldetector"] = "Metaal Detector", ["weapon_precisionrifle"] = "Precisiegeweer", ["weapon_tactilerifle"] = "Service Carbine", - -- Drug Wars DLC - ["weapon_candycane"] = "Candy Cane", -- not translated + -- Drug Wars DLC + ["weapon_candycane"] = "Candy Cane", -- not translated ["weapon_acidpackage"] = "Acid Package", -- not translated - ["weapon_pistolxm3"] = "WM 29 Pistol", -- not translated - ["weapon_railgunxm3"] = "Railgun", -- not translated - + ["weapon_pistolxm3"] = "WM 29 Pistol", -- not translated + ["weapon_railgunxm3"] = "Railgun", -- not translated + -- Thrown ["weapon_ball"] = "Honkbal", ["weapon_bzgas"] = "BZ-gas", @@ -241,7 +241,7 @@ Locales["nl"] = { ["weapon_snowball"] = "Sneeuwbal", ["weapon_stickybomb"] = "Kleefbom", ["weapon_smokegrenade"] = "Traangas", - + -- Special ["weapon_firebluser"] = "Brandblusser", ["weapon_digiscanner"] = "Digitale scanner", @@ -249,7 +249,7 @@ Locales["nl"] = { ["weapon_handcuffs"] = "Handboeien", ["gadget_nightvision"] = "Nachtzicht", ["gadget_parachute"] = "parachute", - + -- Weapon Components ["component_knuckle_base"] = "basismodel", ["component_knuckle_pimp"] = "de pooier", @@ -261,16 +261,16 @@ Locales["nl"] = { ["component_knuckle_player"] = "de speler", ["component_knuckle_king"] = "de koning", ["component_knuckle_vagos"] = "de Vagos", - + ["component_luxary_finish"] = "luxe wapenafwerking", - + ["component_handle_default"] = "standaard handvat", ["component_handle_vip"] = "VIP-handvat", ["component_handle_bodyguard"] = "bodyguard-handvat", - + ["component_vip_finish"] = "VIP Finish", ["component_bodyguard_finish"] = "bodyguard Finish", - + ["component_camo_finish"] = "digitale camouflage", ["component_camo_finish2"] = "penseelstreek camouflage", ["component_camo_finish3"] = "bos camouflage", @@ -282,7 +282,7 @@ Locales["nl"] = { ["component_camo_finish9"] = "geometrische camouflage", ["component_camo_finish10"] = "boom camouflage", ["component_camo_finish11"] = "patriottische camouflage", - + ["component_camo_slide_finish"] = "digitale diacamouflage", ["component_camo_slide_finish2"] = "penseelstreek Dia Camo", ["component_camo_slide_finish3"] = "bos Slide camouflage", @@ -294,12 +294,12 @@ Locales["nl"] = { ["component_camo_slide_finish9"] = "geometrische diacamouflage", ["component_camo_slide_finish10"] = "boom Slide camouflage", ["component_camo_slide_finish11"] = "patriottische diacamouflage", - + ["component_clip_default"] = "standaard magazijn", ["component_clip_extended"] = "uitgebreid magazijn", ["component_clip_drum"] = "drum magazijn", ["component_clip_box"] = "box magazijn", - + ["component_scope_holo"] = "holografisch bereik", ["component_scope_small"] = "klein bereik", ["component_scope_medium"] = "gemiddeld bereik", @@ -307,10 +307,10 @@ Locales["nl"] = { ["component_scope"] = "gemonteerde scope", ["component_scope_advanced"] = "geavanceerd bereik", ["component_ironsights"] = "ironsights", - + ["component_suppressor"] = "suppressor", ["component_compensator"] = "compensator", - + ["component_muzzle_flat"] = "platte mondingsrem", ["component_muzzle_tactical"] = "tactische mondingsrem", ["component_muzzle_fat"] = "fat-end mondingsrem", @@ -319,26 +319,26 @@ Locales["nl"] = { ["component_muzzle_slanted"] = "schuine mondingsrem", ["component_muzzle_split"] = "gespleten mondingsrem", ["component_muzzle_squared"] = "kwadraat mondingsrem", - + ["component_flashlight"] = "zaklamp", ["component_grip"] = "grip", - + ["component_barrel_default"] = "standaard handvat", ["component_barrel_heavy"] = "zware handvat", - + ["component_ammo_tracer"] = "tracermunitie", ["component_ammo_incendiary"] = "brandgevaarlijke munitie", ["component_ammo_hollowpoint"] = "hollowpoint munitie", ["component_ammo_fmj"] = "fMJ-munitie", ["component_ammo_armor"] = "pantser piercing munitie", ["component_ammo_explosive"] = "pantserpiercing brandgevaarlijke munitie", - + ["component_shells_default"] = "standaard shells", ["component_shells_incendiary"] = "draken ademschelpen", ["component_shells_armor"] = "stalen Buckshot Shells", ["component_shells_hollowpoint"] = "flechette schelpen", ["component_shells_explosive"] = "explosieve slakkenhuizen", - + -- Weapon Ammo ["ammo_rounds"] = "ronde(n)", ["ammo_shells"] = "huls/(zen)", @@ -358,7 +358,7 @@ Locales["nl"] = { ["ammo_snowball"] = "sneeuwbal(len)", ["ammo_flare"] = "flare(s)", ["ammo_flaregun"] = "flare(s)", - + -- Weapon Tints ["tint_default"] = "standaard skin", ["tint_green"] = "groene skin", diff --git a/[core]/es_extended/locales/pl.lua b/[core]/es_extended/locales/pl.lua index 173d3686..b1014f82 100644 --- a/[core]/es_extended/locales/pl.lua +++ b/[core]/es_extended/locales/pl.lua @@ -196,10 +196,10 @@ Locales["pl"] = { ["component_luxary_finish"] = "luksusowe wykończenie broni", -- Drug Wars DLC - ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_candycane'] = 'Candy Cane', -- not translated ['weapon_acidpackage'] = 'Acid Package', -- not translated ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated - ['weapon_railgunxm3'] = 'Railgun', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated -- Weapon Ammo ["ammo_rounds"] = "nabój/oi", diff --git a/[core]/es_extended/locales/sl.lua b/[core]/es_extended/locales/sl.lua index d34ce361..468f9fb8 100644 --- a/[core]/es_extended/locales/sl.lua +++ b/[core]/es_extended/locales/sl.lua @@ -36,10 +36,10 @@ Locales["sl"] = { ["threw_weapon_already"] = "Ti ze imas to orozje", ["threw_cannot_pickup"] = "Shramba je poln, nemorem pobrati!", ["threw_pickup_prompt"] = "Pritisni E da poberes", - + -- Key mapping ["keymap_showinventory"] = "Pokazi Shrambo", - + -- Salary related ["received_salary"] = "Vi ste plačali: $%s", ["received_help"] = "Vi ste placali svoj CEK v vrednosti: $%s", @@ -49,10 +49,10 @@ Locales["sl"] = { ["account_bank"] = "Banka", ["account_black_money"] = "Umazan Denar", ["account_money"] = "Denar", - + ["act_imp"] = "Dejanja ni mogoče izvesti", ["in_vehicle"] = "Dejanja ni mogoče izvesti, Oseba je v vozilu", - + -- Commands ["command_bring"] = "Teleportiraj osebo do sebe", ["command_car"] = "Spawnaj si vozilo", @@ -110,17 +110,17 @@ Locales["sl"] = { ["command_giveammo_ammo"] = "Kolicina streliva", ["tpm_nowaypoint"] = "Ni nastavljene poti!.", ["tpm_success"] = "Uspesno teleportiran", - + ["noclip_message"] = "Noclip je bil %s", ["enabled"] = "~g~Vkljucen~s~", ["disabled"] = "~r~Izkljucen~s~", - + -- Locale settings ["locale_digit_grouping_symbol"] = ",", ["locale_currency"] = "€%s", - + -- Weapons - + -- Melee ["weapon_dagger"] = "Dagger", ["weapon_bat"] = "Bat", @@ -139,7 +139,7 @@ Locales["sl"] = { ["weapon_poolcue"] = "Pool Cue", ["weapon_stone_hatchet"] = "Stone Hatchet", ["weapon_switchblade"] = "Switchblade", - + -- Handguns ["weapon_appistol"] = "AP Pistol", ["weapon_ceramicpistol"] = "Ceramic Pistol", @@ -160,7 +160,7 @@ Locales["sl"] = { ["weapon_stungun"] = "Taser", ["weapon_raypistol"] = "Up-N-Atomizer", ["weapon_vintagepistol"] = "Vintage Pistol", - + -- Shotguns ["weapon_assaultshotgun"] = "Assault Shotgun", ["weapon_autoshotgun"] = "Auto Shotgun", @@ -172,7 +172,7 @@ Locales["sl"] = { ["weapon_pumpshotgun"] = "Pump Shotgun", ["weapon_pumpshotgun_mk2"] = "Pump Shotgun MK2", ["weapon_sawnoffshotgun"] = "Sawed Off Shotgun", - + -- SMG & LMG ["weapon_assaultsmg"] = "Assault SMG", ["weapon_combatmg"] = "Combat MG", @@ -186,7 +186,7 @@ Locales["sl"] = { ["weapon_smg"] = "SMG", ["weapon_smg_mk2"] = "SMG MK2", ["weapon_raycarbine"] = "Unholy Hellbringer", - + -- Rifles ["weapon_advancedrifle"] = "Advanced Rifle", ["weapon_assaultrifle"] = "Assault Rifle", @@ -199,14 +199,14 @@ Locales["sl"] = { ["weapon_militaryrifle"] = "Military Rifle", ["weapon_specialcarbine"] = "Special Carbine", ["weapon_specialcarbine_mk2"] = "Special Carbine MK2", - + -- Sniper ["weapon_heavysniper"] = "Heavy Sniper", ["weapon_heavysniper_mk2"] = "Heavy Sniper MK2", ["weapon_marksmanrifle"] = "Marksman Rifle", ["weapon_marksmanrifle_mk2"] = "Marksman Rifle MK2", ["weapon_sniperrifle"] = "Sniper Rifle", - + -- Heavy / Launchers ["weapon_compactlauncher"] = "Compact Launcher", ["weapon_firework"] = "Firework Launcher", @@ -216,18 +216,18 @@ Locales["sl"] = { ["weapon_railgun"] = "Railgun", ["weapon_rpg"] = "Rocket Launcher", ["weapon_rayminigun"] = "Widowmaker", - + -- Criminal Enterprises DLC ["weapon_metaldetector"] = "Metal Detector", ["weapon_precisionrifle"] = "Precision Rifle", ["weapon_tactilerifle"] = "Service Carbine", -- Drug Wars DLC - ["weapon_candycane"] = "Candy Cane", -- not translated + ["weapon_candycane"] = "Candy Cane", -- not translated ["weapon_acidpackage"] = "Acid Package", -- not translated ["weapon_pistolxm3"] = "WM 29 Pistol", -- not translated - ["weapon_railgunxm3"] = "Railgun", -- not translated - + ["weapon_railgunxm3"] = "Railgun", -- not translated + -- Thrown ["weapon_ball"] = "Baseball", ["weapon_bzgas"] = "BZ Gas", @@ -241,7 +241,7 @@ Locales["sl"] = { ["weapon_snowball"] = "Snowball", ["weapon_stickybomb"] = "Sticky Bomb", ["weapon_smokegrenade"] = "Tear Gas", - + -- Special ["weapon_fireextinguisher"] = "Fire Extinguisher", ["weapon_digiscanner"] = "Digital Scanner", @@ -249,7 +249,7 @@ Locales["sl"] = { ["weapon_handcuffs"] = "Handcuffs", ["gadget_nightvision"] = "Night Vision", ["gadget_parachute"] = "parachute", - + -- Weapon Components ["component_knuckle_base"] = "base Model", ["component_knuckle_pimp"] = "the Pimp", @@ -261,16 +261,16 @@ Locales["sl"] = { ["component_knuckle_player"] = "the Player", ["component_knuckle_king"] = "the King", ["component_knuckle_vagos"] = "the Vagos", - + ["component_luxary_finish"] = "luxary Weapon Finish", - + ["component_handle_default"] = "default Handle", ["component_handle_vip"] = "vIP Handle", ["component_handle_bodyguard"] = "bodyguard Handle", - + ["component_vip_finish"] = "vIP Finish", ["component_bodyguard_finish"] = "bodyguard Finish", - + ["component_camo_finish"] = "digital Camo", ["component_camo_finish2"] = "brushstroke Camo", ["component_camo_finish3"] = "woodland Camo", @@ -282,7 +282,7 @@ Locales["sl"] = { ["component_camo_finish9"] = "geometric Camo", ["component_camo_finish10"] = "boom Camo", ["component_camo_finish11"] = "patriotic Camo", - + ["component_camo_slide_finish"] = "digital Slide Camo", ["component_camo_slide_finish2"] = "brushstroke Slide Camo", ["component_camo_slide_finish3"] = "woodland Slide Camo", @@ -294,12 +294,12 @@ Locales["sl"] = { ["component_camo_slide_finish9"] = "geometric Slide Camo", ["component_camo_slide_finish10"] = "boom Slide Camo", ["component_camo_slide_finish11"] = "patriotic Slide Camo", - + ["component_clip_default"] = "default Magazine", ["component_clip_extended"] = "extended Magazine", ["component_clip_drum"] = "drum Magazine", ["component_clip_box"] = "box Magazine", - + ["component_scope_holo"] = "holographic Scope", ["component_scope_small"] = "small Scope", ["component_scope_medium"] = "medium Scope", @@ -307,10 +307,10 @@ Locales["sl"] = { ["component_scope"] = "mounted Scope", ["component_scope_advanced"] = "advanced Scope", ["component_ironsights"] = "ironsights", - + ["component_suppressor"] = "suppressor", ["component_compensator"] = "compensator", - + ["component_muzzle_flat"] = "flat Muzzle Brake", ["component_muzzle_tactical"] = "tactical Muzzle Brake", ["component_muzzle_fat"] = "fat-End Muzzle Brake", @@ -319,26 +319,26 @@ Locales["sl"] = { ["component_muzzle_slanted"] = "slanted Muzzle Brake", ["component_muzzle_split"] = "split-End Muzzle Brake", ["component_muzzle_squared"] = "squared Muzzle Brake", - + ["component_flashlight"] = "flashlight", ["component_grip"] = "grip", - + ["component_barrel_default"] = "default Barrel", ["component_barrel_heavy"] = "heavy Barrel", - + ["component_ammo_tracer"] = "tracer Ammo", ["component_ammo_incendiary"] = "incendiary Ammo", ["component_ammo_hollowpoint"] = "hollowpoint Ammo", ["component_ammo_fmj"] = "fMJ Ammo", ["component_ammo_armor"] = "armor Piercing Ammo", ["component_ammo_explosive"] = "armor Piercing Incendiary Ammo", - + ["component_shells_default"] = "default Shells", ["component_shells_incendiary"] = "dragons Breath Shells", ["component_shells_armor"] = "steel Buckshot Shells", ["component_shells_hollowpoint"] = "flechette Shells", ["component_shells_explosive"] = "explosive Slug Shells", - + -- Weapon Ammo ["ammo_rounds"] = "round(s)", ["ammo_shells"] = "shell(s)", @@ -358,7 +358,7 @@ Locales["sl"] = { ["ammo_snowball"] = "snowball(s)", ["ammo_flare"] = "flare(s)", ["ammo_flaregun"] = "flare(s)", - + -- Weapon Tints ["tint_default"] = "default skin", ["tint_green"] = "green skin", @@ -368,5 +368,4 @@ Locales["sl"] = { ["tint_lspd"] = "blue skin", ["tint_orange"] = "orange skin", ["tint_platinum"] = "platinum skin", - } - \ No newline at end of file +} diff --git a/[core]/es_extended/locales/sr.lua b/[core]/es_extended/locales/sr.lua index f5b11993..1243da34 100644 --- a/[core]/es_extended/locales/sr.lua +++ b/[core]/es_extended/locales/sr.lua @@ -223,10 +223,10 @@ Locales["sr"] = { ["weapon_tactilerifle"] = "Service Carbine", -- Drug Wars DLC - ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_candycane'] = 'Candy Cane', -- not translated ['weapon_acidpackage'] = 'Acid Package', -- not translated ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated - ['weapon_railgunxm3'] = 'Railgun', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated -- Thrown ["weapon_ball"] = "Baseball", diff --git a/[core]/es_extended/locales/zh-cn.lua b/[core]/es_extended/locales/zh-cn.lua index 021585c3..3839e5d9 100644 --- a/[core]/es_extended/locales/zh-cn.lua +++ b/[core]/es_extended/locales/zh-cn.lua @@ -223,10 +223,10 @@ Locales["zh-cn"] = { ["weapon_tactilerifle"] = "制式卡宾步枪", -- Drug Wars DLC - ['weapon_candycane'] = 'Candy Cane', -- not translated + ['weapon_candycane'] = 'Candy Cane', -- not translated ['weapon_acidpackage'] = 'Acid Package', -- not translated ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated - ['weapon_railgunxm3'] = 'Railgun', -- not translated + ['weapon_railgunxm3'] = 'Railgun', -- not translated -- Thrown ["weapon_ball"] = "棒球", diff --git a/[core]/es_extended/server/classes/overrides/oxinventory.lua b/[core]/es_extended/server/classes/overrides/oxinventory.lua index dfab6174..7aa52c07 100644 --- a/[core]/es_extended/server/classes/overrides/oxinventory.lua +++ b/[core]/es_extended/server/classes/overrides/oxinventory.lua @@ -20,7 +20,7 @@ Core.PlayerFunctionOverrides.OxInventory = { metadata = nil end - minimalInventory[#minimalInventory+1] = { + minimalInventory[#minimalInventory + 1] = { name = v.name, count = v.count, slot = k, @@ -43,7 +43,7 @@ Core.PlayerFunctionOverrides.OxInventory = { end, setAccountMoney = function(self) - return function(accountName,money, reason) + return function(accountName, money, reason) reason = reason or 'unknown' if money >= 0 then local account = self.getAccount(accountName) @@ -63,16 +63,16 @@ Core.PlayerFunctionOverrides.OxInventory = { end, addAccountMoney = function(self) - return function(accountName,money, reason) + return function(accountName, money, reason) reason = reason or 'unknown' if money > 0 then local account = self.getAccount(accountName) if account then - money = account.round and ESX.Math.Round(money) or money - self.accounts[account.index].money = self.accounts[account.index].money + money - self.triggerEvent('esx:setAccountMoney', account) - TriggerEvent('esx:addAccountMoney', self.source, accountName, money, reason) + money = account.round and ESX.Math.Round(money) or money + self.accounts[account.index].money = self.accounts[account.index].money + money + self.triggerEvent('esx:setAccountMoney', account) + TriggerEvent('esx:addAccountMoney', self.source, accountName, money, reason) if Inventory.accounts[accountName] then Inventory.AddItem(self.source, accountName, money) end @@ -82,7 +82,7 @@ Core.PlayerFunctionOverrides.OxInventory = { end, removeAccountMoney = function(self) - return function(accountName,money, reason) + return function(accountName, money, reason) reason = reason or 'unknown' if money > 0 then local account = self.getAccount(accountName) @@ -101,31 +101,31 @@ Core.PlayerFunctionOverrides.OxInventory = { end, getInventoryItem = function(self) - return function(name,metadata) + return function(name, metadata) return Inventory.GetItem(self.source, name, metadata) end end, addInventoryItem = function(self) - return function(name,count,metadata,slot) + return function(name, count, metadata, slot) return Inventory.AddItem(self.source, name, count or 1, metadata, slot) end end, removeInventoryItem = function(self) - return function(name,count,metadata,slot) + return function(name, count, metadata, slot) return Inventory.RemoveItem(self.source, name, count or 1, metadata, slot) end end, setInventoryItem = function(self) - return function(name,count,metadata) + return function(name, count, metadata) return Inventory.SetItem(self.source, name, count, metadata) end end, canCarryItem = function(self) - return function(name,count,metadata) + return function(name, count, metadata) return Inventory.CanCarryItem(self.source, name, count, metadata) end end, @@ -193,7 +193,7 @@ Core.PlayerFunctionOverrides.OxInventory = { end, hasItem = function(self) - return function(name,metadata) + return function(name, metadata) return Inventory.GetItem(self.source, name, metadata) end end, diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index 382c42a7..a3ee47f5 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -3,7 +3,7 @@ local GetEntityCoords = GetEntityCoords function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, weight, job, loadout, name, coords, metadata) local targetOverrides = Config.PlayerFunctionOverride and Core.PlayerFunctionOverrides[Config.PlayerFunctionOverride] or {} - + local self = {} self.accounts = accounts @@ -20,10 +20,10 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, self.weight = weight self.maxWeight = Config.MaxWeight self.metadata = metadata - if Config.Multichar then self.license = 'license'.. identifier:sub(identifier:find(':'), identifier:len()) else self.license = 'license:'..identifier end + if Config.Multichar then self.license = 'license' .. identifier:sub(identifier:find(':'), identifier:len()) else self.license = 'license:' .. identifier end ExecuteCommand(('add_principal identifier.%s group.%s'):format(self.license, self.group)) - + local stateBag = Player(self.source).state stateBag:set("identifier", self.identifier, true) stateBag:set("license", self.license, true) @@ -39,7 +39,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, function self.setCoords(coordinates) local Ped = GetPlayerPed(self.source) local vector = type(coordinates) == "vector4" and coordinates or type(coordinates) == "vector3" and vector4(coordinates, 0.0) or - vec(coordinates.x, coordinates.y, coordinates.z, coordinates.heading or 0.0) + vec(coordinates.x, coordinates.y, coordinates.z, coordinates.heading or 0.0) SetEntityCoords(Ped, vector.xyz, false, false, false, false) SetEntityHeading(Ped, vector.w) end @@ -156,7 +156,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, local minimalLoadout = {} for _, v in ipairs(self.loadout) do - minimalLoadout[v.name] = {ammo = v.ammo} + minimalLoadout[v.name] = { ammo = v.ammo } if v.tintIndex > 0 then minimalLoadout[v.name].tintIndex = v.tintIndex end if #v.components > 0 then @@ -319,14 +319,14 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, end function self.canCarryItem(itemName, count) - if ESX.Items[itemName] then - local currentWeight, itemWeight = self.weight, ESX.Items[itemName].weight - local newWeight = currentWeight + (itemWeight * count) + if ESX.Items[itemName] then + local currentWeight, itemWeight = self.weight, ESX.Items[itemName].weight + local newWeight = currentWeight + (itemWeight * count) - return newWeight <= self.maxWeight - else - print(('[^3WARNING^7] Item ^5"%s"^7 was used but does not exist!'):format(itemName)) - end + return newWeight <= self.maxWeight + else + print(('[^3WARNING^7] Item ^5"%s"^7 was used but does not exist!'):format(itemName)) + end end function self.canSwapItem(firstItem, firstItemCount, testItem, testItemCount) @@ -355,14 +355,14 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, if ESX.DoesJobExist(newJob, grade) then local jobObject, gradeObject = ESX.Jobs[newJob], ESX.Jobs[newJob].grades[grade] - self.job.id = jobObject.id - self.job.name = jobObject.name - self.job.label = jobObject.label + self.job.id = jobObject.id + self.job.name = jobObject.name + self.job.label = jobObject.label - self.job.grade = tonumber(grade) - self.job.grade_name = gradeObject.name - self.job.grade_label = gradeObject.label - self.job.grade_salary = gradeObject.salary + self.job.grade = tonumber(grade) + self.job.grade_name = gradeObject.name + self.job.grade_label = gradeObject.label + self.job.grade_salary = gradeObject.salary if gradeObject.skin_male then self.job.skin_male = json.decode(gradeObject.skin_male) @@ -466,7 +466,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, if v.name == weaponName then weaponLabel = v.label - for _,v2 in ipairs(v.components) do + for _, v2 in ipairs(v.components) do self.removeWeaponComponent(weaponName, v2) end @@ -568,47 +568,46 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, self.triggerEvent('esx:showHelpNotification', msg, thisFrame, beep, duration) end - function self.getMeta(index, subIndex) - if not (index) then return self.metadata end + function self.getMeta(index, subIndex) + if not (index) then return self.metadata end - if type(index) ~= "string" then - return print("[^1ERROR^7] xPlayer.getMeta ^5index^7 should be ^5string^7!") - end + if type(index) ~= "string" then + return print("[^1ERROR^7] xPlayer.getMeta ^5index^7 should be ^5string^7!") + end - local metaData = self.metadata[index] - if (metaData == nil) then - return Config.EnableDebug and print(("[^1ERROR^7] xPlayer.getMeta ^5%s^7 not exist!"):format(index)) or nil - end + local metaData = self.metadata[index] + if (metaData == nil) then + return Config.EnableDebug and print(("[^1ERROR^7] xPlayer.getMeta ^5%s^7 not exist!"):format(index)) or nil + end - if (subIndex and type(metaData) == "table") then - local _type = type(subIndex) + if (subIndex and type(metaData) == "table") then + local _type = type(subIndex) - if (_type == "string") then - local value = metaData[subIndex] - return value - end + if (_type == "string") then + local value = metaData[subIndex] + return value + end - if (_type == "table") then - local returnValues = {} + if (_type == "table") then + local returnValues = {} - for i = 1, #subIndex do - local key = subIndex[i] - if (type(key) == "string") then - returnValues[key] = self.getMeta(index, key) - else - print(("[^1ERROR^7] xPlayer.getMeta subIndex should be ^5string^7 or ^5table^7! that contains ^5string^7, received ^5%s^7!, skipping..."):format(type(key))) - end - end + for i = 1, #subIndex do + local key = subIndex[i] + if (type(key) == "string") then + returnValues[key] = self.getMeta(index, key) + else + print(("[^1ERROR^7] xPlayer.getMeta subIndex should be ^5string^7 or ^5table^7! that contains ^5string^7, received ^5%s^7!, skipping..."):format(type(key))) + end + end - return returnValues - end + return returnValues + end - return print(("[^1ERROR^7] xPlayer.getMeta subIndex should be ^5string^7 or ^5table^7!, received ^5%s^7!"):format(_type)) - end - - return metaData - end + return print(("[^1ERROR^7] xPlayer.getMeta subIndex should be ^5string^7 or ^5table^7!, received ^5%s^7!"):format(_type)) + end + return metaData + end function self.setMeta(index, value, subValue) if not index then @@ -626,14 +625,12 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, local _type = type(value) if not subValue then - if _type ~= "number" and _type ~= "string" and _type ~= "table" then return print(("[^1ERROR^7] xPlayer.setMeta ^5%s^7 should be ^5number^7 or ^5string^7 or ^5table^7!"):format(value)) end self.metadata[index] = value else - if _type ~= "string" then return print(("[^1ERROR^7] xPlayer.setMeta ^5value^7 should be ^5string^7 as a subIndex!"):format(value)) end @@ -668,7 +665,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, Player(self.source).state:set('metadata', self.metadata, true) end - for fnName,fn in pairs(targetOverrides) do + for fnName, fn in pairs(targetOverrides) do self[fnName] = fn(self) end diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index 831e6b76..3521b270 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -1,19 +1,23 @@ ESX.RegisterCommand('setcoords', 'admin', function(xPlayer, args) - xPlayer.setCoords({x = args.x, y = args.y, z = args.z}) + xPlayer.setCoords({ x = args.x, y = args.y, z = args.z }) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Set Coordinates /setcoords Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "X Coord", value = args.x, inline = true}, - {name = "Y Coord", value = args.y, inline = true}, - {name = "Z Coord", value = args.z, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "X Coord", value = args.x, inline = true }, + { name = "Y Coord", value = args.y, inline = true }, + { name = "Z Coord", value = args.z, inline = true }, }) end -end, false, {help = TranslateCap('command_setcoords'), validate = true, arguments = { - {name = 'x', help = TranslateCap('command_setcoords_x'), type = 'number'}, - {name = 'y', help = TranslateCap('command_setcoords_y'), type = 'number'}, - {name = 'z', help = TranslateCap('command_setcoords_z'), type = 'number'} -}}) +end, false, { + help = TranslateCap('command_setcoords'), + validate = true, + arguments = { + { name = 'x', help = TranslateCap('command_setcoords_x'), type = 'number' }, + { name = 'y', help = TranslateCap('command_setcoords_y'), type = 'number' }, + { name = 'z', help = TranslateCap('command_setcoords_z'), type = 'number' } + } +}) ESX.RegisterCommand('setjob', 'admin', function(xPlayer, args, showError) if not ESX.DoesJobExist(args.job, args.grade) then @@ -23,35 +27,39 @@ ESX.RegisterCommand('setjob', 'admin', function(xPlayer, args, showError) args.playerId.setJob(args.job, args.grade) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Set Job /setjob Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Job", value = args.playerId, inline = true}, - {name = "Grade", value = args.playerId, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, + { name = "Job", value = args.playerId, inline = true }, + { name = "Grade", value = args.playerId, inline = true }, }) end -end, true, {help = TranslateCap('command_setjob'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, - {name = 'job', help = TranslateCap('command_setjob_job'), type = 'string'}, - {name = 'grade', help = TranslateCap('command_setjob_grade'), type = 'number'} -}}) +end, true, { + help = TranslateCap('command_setjob'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' }, + { name = 'job', help = TranslateCap('command_setjob_job'), type = 'string' }, + { name = 'grade', help = TranslateCap('command_setjob_grade'), type = 'number' } + } +}) local upgrades = Config.SpawnVehMaxUpgrades and - { - plate = "ADMINCAR", - modEngine = 3, - modBrakes = 2, - modTransmission = 2, - modSuspension = 3, - modArmor = true, - windowTint = 1 - } or {} + { + plate = "ADMINCAR", + modEngine = 3, + modBrakes = 2, + modTransmission = 2, + modSuspension = 3, + modArmor = true, + windowTint = 1 + } or {} ESX.RegisterCommand('car', 'admin', function(xPlayer, args, showError) if not xPlayer then return showError('[^1ERROR^7] The xPlayer value is nil') end - + local playerPed = GetPlayerPed(xPlayer.source) local playerCoords = GetEntityCoords(playerPed) local playerHeading = GetEntityHeading(playerPed) @@ -67,9 +75,9 @@ ESX.RegisterCommand('car', 'admin', function(xPlayer, args, showError) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Spawn Car /car Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Vehicle", value = args.car, inline = true} + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Vehicle", value = args.car, inline = true } }) end @@ -79,7 +87,7 @@ ESX.RegisterCommand('car', 'admin', function(xPlayer, args, showError) for _ = 1, 20 do Wait(0) SetPedIntoVehicle(playerPed, vehicle, -1) - + if GetVehiclePedIsIn(playerPed, false) == vehicle then break end @@ -89,11 +97,15 @@ ESX.RegisterCommand('car', 'admin', function(xPlayer, args, showError) end end end) -end, false, {help = TranslateCap('command_car'), validate = false, arguments = { - {name = 'car',validate = false, help = TranslateCap('command_car_car'), type = 'string'} -}}) +end, false, { + help = TranslateCap('command_car'), + validate = false, + arguments = { + { name = 'car', validate = false, help = TranslateCap('command_car_car'), type = 'string' } + } +}) -ESX.RegisterCommand({'cardel', 'dv'}, 'admin', function(xPlayer, args) +ESX.RegisterCommand({ 'cardel', 'dv' }, 'admin', function(xPlayer, args) local PedVehicle = GetVehiclePedIsIn(GetPlayerPed(xPlayer.source), false) if DoesEntityExist(PedVehicle) then DeleteEntity(PedVehicle) @@ -107,13 +119,17 @@ ESX.RegisterCommand({'cardel', 'dv'}, 'admin', function(xPlayer, args) end if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Delete Vehicle /dv Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, }) end -end, false, {help = TranslateCap('command_cardel'), validate = false, arguments = { - {name = 'radius',validate = false, help = TranslateCap('command_cardel_radius'), type = 'number'} -}}) +end, false, { + help = TranslateCap('command_cardel'), + validate = false, + arguments = { + { name = 'radius', validate = false, help = TranslateCap('command_cardel_radius'), type = 'number' } + } +}) ESX.RegisterCommand('setaccountmoney', 'admin', function(xPlayer, args, showError) if not args.playerId.getAccount(args.account) then @@ -122,18 +138,22 @@ ESX.RegisterCommand('setaccountmoney', 'admin', function(xPlayer, args, showErro args.playerId.setAccountMoney(args.account, args.amount, "Government Grant") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Set Account Money /setaccountmoney Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Account", value = args.account, inline = true}, - {name = "Amount", value = args.amount, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, + { name = "Account", value = args.account, inline = true }, + { name = "Amount", value = args.amount, inline = true }, }) end -end, true, {help = TranslateCap('command_setaccountmoney'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, - {name = 'account', help = TranslateCap('command_giveaccountmoney_account'), type = 'string'}, - {name = 'amount', help = TranslateCap('command_setaccountmoney_amount'), type = 'number'} -}}) +end, true, { + help = TranslateCap('command_setaccountmoney'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' }, + { name = 'account', help = TranslateCap('command_giveaccountmoney_account'), type = 'string' }, + { name = 'amount', help = TranslateCap('command_setaccountmoney_amount'), type = 'number' } + } +}) ESX.RegisterCommand('giveaccountmoney', 'admin', function(xPlayer, args, showError) if not args.playerId.getAccount(args.account) then @@ -142,18 +162,22 @@ ESX.RegisterCommand('giveaccountmoney', 'admin', function(xPlayer, args, showErr args.playerId.addAccountMoney(args.account, args.amount, "Government Grant") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Give Account Money /giveaccountmoney Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Account", value = args.account, inline = true}, - {name = "Amount", value = args.amount, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, + { name = "Account", value = args.account, inline = true }, + { name = "Amount", value = args.amount, inline = true }, }) end -end, true, {help = TranslateCap('command_giveaccountmoney'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, - {name = 'account', help = TranslateCap('command_giveaccountmoney_account'), type = 'string'}, - {name = 'amount', help = TranslateCap('command_giveaccountmoney_amount'), type = 'number'} -}}) +end, true, { + help = TranslateCap('command_giveaccountmoney'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' }, + { name = 'account', help = TranslateCap('command_giveaccountmoney_account'), type = 'string' }, + { name = 'amount', help = TranslateCap('command_giveaccountmoney_amount'), type = 'number' } + } +}) ESX.RegisterCommand('removeaccountmoney', 'admin', function(xPlayer, args, showError) if not args.playerId.getAccount(args.account) then @@ -162,36 +186,44 @@ ESX.RegisterCommand('removeaccountmoney', 'admin', function(xPlayer, args, showE args.playerId.removeAccountMoney(args.account, args.amount, "Government Tax") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Remove Account Money /removeaccountmoney Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Account", value = args.account, inline = true}, - {name = "Amount", value = args.amount, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, + { name = "Account", value = args.account, inline = true }, + { name = "Amount", value = args.amount, inline = true }, }) end -end, true, {help = TranslateCap('command_removeaccountmoney'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, - {name = 'account', help = TranslateCap('command_removeaccountmoney_account'), type = 'string'}, - {name = 'amount', help = TranslateCap('command_removeaccountmoney_amount'), type = 'number'} -}}) +end, true, { + help = TranslateCap('command_removeaccountmoney'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' }, + { name = 'account', help = TranslateCap('command_removeaccountmoney_account'), type = 'string' }, + { name = 'amount', help = TranslateCap('command_removeaccountmoney_amount'), type = 'number' } + } +}) if not Config.OxInventory then ESX.RegisterCommand('giveitem', 'admin', function(xPlayer, args) args.playerId.addInventoryItem(args.item, args.count) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Give Item /giveitem Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Item", value = args.item, inline = true}, - {name = "Quantity", value = args.count, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, + { name = "Item", value = args.item, inline = true }, + { name = "Quantity", value = args.count, inline = true }, }) end - end, true, {help = TranslateCap('command_giveitem'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, - {name = 'item', help = TranslateCap('command_giveitem_item'), type = 'item'}, - {name = 'count', help = TranslateCap('command_giveitem_count'), type = 'number'} - }}) + end, true, { + help = TranslateCap('command_giveitem'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' }, + { name = 'item', help = TranslateCap('command_giveitem_item'), type = 'item' }, + { name = 'count', help = TranslateCap('command_giveitem_count'), type = 'number' } + } + }) ESX.RegisterCommand('giveweapon', 'admin', function(xPlayer, args, showError) if args.playerId.hasWeapon(args.weapon) then @@ -200,18 +232,22 @@ if not Config.OxInventory then args.playerId.addWeapon(args.weapon, args.ammo) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Give Weapon /giveweapon Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Weapon", value = args.weapon, inline = true}, - {name = "Ammo", value = args.ammo, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, + { name = "Weapon", value = args.weapon, inline = true }, + { name = "Ammo", value = args.ammo, inline = true }, }) end - end, true, {help = TranslateCap('command_giveweapon'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, - {name = 'weapon', help = TranslateCap('command_giveweapon_weapon'), type = 'weapon'}, - {name = 'ammo', help = TranslateCap('command_giveweapon_ammo'), type = 'number'} - }}) + end, true, { + help = TranslateCap('command_giveweapon'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' }, + { name = 'weapon', help = TranslateCap('command_giveweapon_weapon'), type = 'weapon' }, + { name = 'ammo', help = TranslateCap('command_giveweapon_ammo'), type = 'number' } + } + }) ESX.RegisterCommand('giveammo', 'admin', function(xPlayer, args, showError) if not args.playerId.hasWeapon(args.weapon) then @@ -220,18 +256,22 @@ if not Config.OxInventory then args.playerId.addWeaponAmmo(args.weapon, args.ammo) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Give Ammunition /giveammo Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Weapon", value = args.weapon, inline = true}, - {name = "Ammo", value = args.ammo, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, + { name = "Weapon", value = args.weapon, inline = true }, + { name = "Ammo", value = args.ammo, inline = true }, }) end - end, true, {help = TranslateCap('command_giveweapon'), validate = false, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, - {name = 'weapon', help = TranslateCap('command_giveammo_weapon'), type = 'weapon'}, - {name = 'ammo', help = TranslateCap('command_giveammo_ammo'), type = 'number'} - }}) + end, true, { + help = TranslateCap('command_giveweapon'), + validate = false, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' }, + { name = 'weapon', help = TranslateCap('command_giveammo_weapon'), type = 'weapon' }, + { name = 'ammo', help = TranslateCap('command_giveammo_ammo'), type = 'number' } + } + }) ESX.RegisterCommand('giveweaponcomponent', 'admin', function(xPlayer, args, showError) if args.playerId.hasWeapon(args.weaponName) then @@ -244,11 +284,11 @@ if not Config.OxInventory then args.playerId.addWeaponComponent(args.weaponName, args.componentName) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Give Weapon Component /giveweaponcomponent Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Weapon", value = args.weaponName, inline = true}, - {name = "Component", value = args.componentName, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, + { name = "Weapon", value = args.weaponName, inline = true }, + { name = "Component", value = args.componentName, inline = true }, }) end end @@ -258,30 +298,34 @@ if not Config.OxInventory then else showError(TranslateCap('command_giveweaponcomponent_missingweapon')) end - end, true, {help = TranslateCap('command_giveweaponcomponent'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, - {name = 'weaponName', help = TranslateCap('command_giveweapon_weapon'), type = 'weapon'}, - {name = 'componentName', help = TranslateCap('command_giveweaponcomponent_component'), type = 'string'} - }}) + end, true, { + help = TranslateCap('command_giveweaponcomponent'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' }, + { name = 'weaponName', help = TranslateCap('command_giveweapon_weapon'), type = 'weapon' }, + { name = 'componentName', help = TranslateCap('command_giveweaponcomponent_component'), type = 'string' } + } + }) end -ESX.RegisterCommand({'clear', 'cls'}, 'user', function(xPlayer) +ESX.RegisterCommand({ 'clear', 'cls' }, 'user', function(xPlayer) xPlayer.triggerEvent('chat:clear') -end, false, {help = TranslateCap('command_clear')}) +end, false, { help = TranslateCap('command_clear') }) -ESX.RegisterCommand({'clearall', 'clsall'}, 'admin', function(xPlayer) +ESX.RegisterCommand({ 'clearall', 'clsall' }, 'admin', function(xPlayer) TriggerClientEvent('chat:clear', -1) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Clear Chat /clearall Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, }) end -end, true, {help = TranslateCap('command_clearall')}) +end, true, { help = TranslateCap('command_clearall') }) ESX.RegisterCommand("refreshjobs", 'admin', function() ESX.RefreshJobs() -end, true, {help = TranslateCap('command_clearall')}) +end, true, { help = TranslateCap('command_clearall') }) if not Config.OxInventory then ESX.RegisterCommand('clearinventory', 'admin', function(xPlayer, args) @@ -290,90 +334,109 @@ if not Config.OxInventory then args.playerId.setInventoryItem(v.name, 0) end end - TriggerEvent('esx:playerInventoryCleared',args.playerId) + TriggerEvent('esx:playerInventoryCleared', args.playerId) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Clear Inventory /clearinventory Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, }) end - end, true, {help = TranslateCap('command_clearinventory'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} - }}) + end, true, { + help = TranslateCap('command_clearinventory'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' } + } + }) ESX.RegisterCommand('clearloadout', 'admin', function(xPlayer, args) - for i=#args.playerId.loadout, 1, -1 do + for i = #args.playerId.loadout, 1, -1 do args.playerId.removeWeapon(args.playerId.loadout[i].name) end - TriggerEvent('esx:playerLoadoutCleared',args.playerId) + TriggerEvent('esx:playerLoadoutCleared', args.playerId) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "/clearloadout Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, }) end - end, true, {help = TranslateCap('command_clearloadout'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} - }}) + end, true, { + help = TranslateCap('command_clearloadout'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' } + } + }) end ESX.RegisterCommand('setgroup', 'admin', function(xPlayer, args) if not args.playerId then args.playerId = xPlayer.source end - if args.group == "superadmin" then args.group = "admin" print("[^3WARNING^7] ^5Superadmin^7 detected, setting group to ^5admin^7") end + if args.group == "superadmin" then + args.group = "admin" + print("[^3WARNING^7] ^5Superadmin^7 detected, setting group to ^5admin^7") + end args.playerId.setGroup(args.group) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "/setgroup Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Group", value = args.group, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, + { name = "Group", value = args.group, inline = true }, }) end -end, true, {help = TranslateCap('command_setgroup'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'}, - {name = 'group', help = TranslateCap('command_setgroup_group'), type = 'string'}, -}}) +end, true, { + help = TranslateCap('command_setgroup'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' }, + { name = 'group', help = TranslateCap('command_setgroup_group'), type = 'string' }, + } +}) ESX.RegisterCommand('save', 'admin', function(_, args) Core.SavePlayer(args.playerId) - print("[^2Info^0] Saved Player - ^5".. args.playerId.source .. "^0") -end, true, {help = TranslateCap('command_save'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} -}}) + print("[^2Info^0] Saved Player - ^5" .. args.playerId.source .. "^0") +end, true, { + help = TranslateCap('command_save'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' } + } +}) ESX.RegisterCommand('saveall', 'admin', function() Core.SavePlayers() -end, true, {help = TranslateCap('command_saveall')}) +end, true, { help = TranslateCap('command_saveall') }) -ESX.RegisterCommand('group', {"user", "admin"}, function(xPlayer) - print(xPlayer.getName()..", You are currently: ^5".. xPlayer.getGroup() .. "^0") +ESX.RegisterCommand('group', { "user", "admin" }, function(xPlayer) + print(xPlayer.getName() .. ", You are currently: ^5" .. xPlayer.getGroup() .. "^0") end, true) -ESX.RegisterCommand('job', {"user", "admin"}, function(xPlayer) - print(xPlayer.getName()..", You are currently: ^5".. xPlayer.getJob().name.. "^0 - ^5".. xPlayer.getJob().grade_label .. "^0") +ESX.RegisterCommand('job', { "user", "admin" }, function(xPlayer) + print(xPlayer.getName() .. ", You are currently: ^5" .. xPlayer.getJob().name .. "^0 - ^5" .. xPlayer.getJob().grade_label .. "^0") end, true) -ESX.RegisterCommand('info', {"user", "admin"}, function(xPlayer) +ESX.RegisterCommand('info', { "user", "admin" }, function(xPlayer) local job = xPlayer.getJob().name - print("^2ID : ^5"..xPlayer.source.." ^0| ^2Name:^5"..xPlayer.getName().." ^0 | ^2Group:^5"..xPlayer.getGroup().."^0 | ^2Job:^5".. job.."^0") + print("^2ID : ^5" .. xPlayer.source .. " ^0| ^2Name:^5" .. xPlayer.getName() .. " ^0 | ^2Group:^5" .. xPlayer.getGroup() .. "^0 | ^2Job:^5" .. job .. "^0") end, true) ESX.RegisterCommand('coords', "admin", function(xPlayer) - local ped = GetPlayerPed(xPlayer.source) + local ped = GetPlayerPed(xPlayer.source) local coords = GetEntityCoords(ped, false) local heading = GetEntityHeading(ped) - print("Coords - Vector3: ^5".. vector3(coords.x,coords.y,coords.z).. "^0") - print("Coords - Vector4: ^5".. vector4(coords.x, coords.y, coords.z, heading) .. "^0") + print("Coords - Vector3: ^5" .. vector3(coords.x, coords.y, coords.z) .. "^0") + print("Coords - Vector4: ^5" .. vector4(coords.x, coords.y, coords.z, heading) .. "^0") end, true) ESX.RegisterCommand('tpm', "admin", function(xPlayer) xPlayer.triggerEvent("esx:tpm") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin Teleport /tpm Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, }) end end, true) @@ -383,15 +446,19 @@ ESX.RegisterCommand('goto', "admin", function(xPlayer, args) xPlayer.setCoords(targetCoords) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin Teleport /goto Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Target Coords", value = targetCoords, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, + { name = "Target Coords", value = targetCoords, inline = true }, }) end -end, true, {help = TranslateCap('command_goto'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} -}}) +end, true, { + help = TranslateCap('command_goto'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' } + } +}) ESX.RegisterCommand('bring', "admin", function(xPlayer, args) local targetCoords = args.playerId.getCoords() @@ -399,70 +466,86 @@ ESX.RegisterCommand('bring', "admin", function(xPlayer, args) args.playerId.setCoords(playerCoords) if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin Teleport /bring Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, - {name = "Target Coords", value = targetCoords, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, + { name = "Target Coords", value = targetCoords, inline = true }, }) end -end, true, {help = TranslateCap('command_bring'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} -}}) +end, true, { + help = TranslateCap('command_bring'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' } + } +}) ESX.RegisterCommand('kill', "admin", function(xPlayer, args) args.playerId.triggerEvent("esx:killPlayer") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Kill Command /kill Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, }) end -end, true, {help = TranslateCap('command_kill'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} -}}) +end, true, { + help = TranslateCap('command_kill'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' } + } +}) ESX.RegisterCommand('freeze', "admin", function(xPlayer, args) args.playerId.triggerEvent('esx:freezePlayer', "freeze") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin Freeze /freeze Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, }) end -end, true, {help = TranslateCap('command_freeze'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} -}}) +end, true, { + help = TranslateCap('command_freeze'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' } + } +}) ESX.RegisterCommand('unfreeze', "admin", function(xPlayer, args) args.playerId.triggerEvent('esx:freezePlayer', "unfreeze") if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin UnFreeze /unfreeze Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Target", value = args.playerId.name, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, }) end -end, true, {help = TranslateCap('command_unfreeze'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} -}}) +end, true, { + help = TranslateCap('command_unfreeze'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' } + } +}) ESX.RegisterCommand("noclip", 'admin', function(xPlayer) xPlayer.triggerEvent('esx:noclip') if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Admin NoClip /noclip Triggered!", "pink", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, }) end end, false) ESX.RegisterCommand('players', "admin", function() local xPlayers = ESX.GetExtendedPlayers() -- Returns all xPlayers - print("^5"..#xPlayers.." ^2online player(s)^0") + print("^5" .. #xPlayers .. " ^2online player(s)^0") for i = 1, #(xPlayers) do local xPlayer = xPlayers[i] - print("^1[ ^2ID : ^5"..xPlayer.source.." ^0| ^2Name : ^5"..xPlayer.getName().." ^0 | ^2Group : ^5"..xPlayer.getGroup().." ^0 | ^2Identifier : ^5".. xPlayer.identifier .."^1]^0\n") + print("^1[ ^2ID : ^5" .. xPlayer.source .. " ^0| ^2Name : ^5" .. xPlayer.getName() .. " ^0 | ^2Group : ^5" .. xPlayer.getGroup() .. " ^0 | ^2Identifier : ^5" .. xPlayer.identifier .. "^1]^0\n") end end, true) diff --git a/[core]/es_extended/server/common.lua b/[core]/es_extended/server/common.lua index 638593c0..c0749590 100644 --- a/[core]/es_extended/server/common.lua +++ b/[core]/es_extended/server/common.lua @@ -43,7 +43,7 @@ MySQL.ready(function() if not Config.OxInventory then local items = MySQL.query.await('SELECT * FROM items') for _, v in ipairs(items) do - ESX.Items[v.name] = {label = v.label, weight = v.weight, rare = v.rare, canRemove = v.can_remove} + ESX.Items[v.name] = { label = v.label, weight = v.weight, rare = v.rare, canRemove = v.can_remove } end else TriggerEvent('__cfx_export_ox_inventory_Items', function(ref) @@ -64,7 +64,7 @@ MySQL.ready(function() ESX.RefreshJobs() print(('[^2INFO^7] ESX ^5Legacy %s^0 initialized!'):format(GetResourceMetadata(GetCurrentResourceName(), "version", 0))) - + StartDBSync() if Config.EnablePaycheck then StartPayCheck() diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 01a63d5b..8a5670bf 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -32,7 +32,7 @@ function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion) TriggerClientEvent('chat:addSuggestion', -1, ('/%s'):format(name), suggestion.help, suggestion.arguments) end - Core.RegisteredCommands[name] = {group = group, cb = cb, allowConsole = allowConsole, suggestion = suggestion} + Core.RegisteredCommands[name] = { group = group, cb = cb, allowConsole = allowConsole, suggestion = suggestion } RegisterCommand(name, function(playerId, args) local command = Core.RegisteredCommands[name] @@ -100,10 +100,10 @@ function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion) end elseif v.type == 'any' then newArgs[v.name] = args[k] - elseif v.type == 'merge' then + elseif v.type == 'merge' then local lenght = 0 - for i = 1, k-1 do - lenght = lenght + string.len(args[i]) +1 + for i = 1, k - 1 do + lenght = lenght + string.len(args[i]) + 1 end local merge = table.concat(args, " ") @@ -188,7 +188,7 @@ function Core.SavePlayers(cb) if not next(xPlayers) then return end - + local startTime = os.time() local parameters = {} @@ -217,7 +217,7 @@ function Core.SavePlayers(cb) if type(cb) == 'function' then return cb() end - + print(('[^2INFO^7] Saved ^5%s^7 %s over ^5%s^7 ms'):format(#parameters, #parameters > 1 and 'players' or 'player', ESX.Math.Round((os.time() - startTime) / 1000000, 2))) end ) @@ -226,35 +226,35 @@ end ESX.GetPlayers = GetPlayers local function checkTable(key, val, player, xPlayers) - for valIndex = 1, #val do - local value = val[valIndex] - if not xPlayers[value] then - xPlayers[value] = {} - end - - if (key == 'job' and player.job.name == value) or player[key] == value then - xPlayers[value][#xPlayers[value] + 1] = player - end - end + for valIndex = 1, #val do + local value = val[valIndex] + if not xPlayers[value] then + xPlayers[value] = {} + end + + if (key == 'job' and player.job.name == value) or player[key] == value then + xPlayers[value][#xPlayers[value] + 1] = player + end + end end function ESX.GetExtendedPlayers(key, val) - if not key then return ESX.Players end + if not key then return ESX.Players end - local xPlayers = {} - if type(val) == "table" then - for _, v in pairs(ESX.Players) do - checkTable(key, val, v, xPlayers) - end - else - for _, v in pairs(ESX.Players) do - if (key == 'job' and v.job.name == val) or v[key] == val then - xPlayers[#xPlayers + 1] = v - end - end - end + local xPlayers = {} + if type(val) == "table" then + for _, v in pairs(ESX.Players) do + checkTable(key, val, v, xPlayers) + end + else + for _, v in pairs(ESX.Players) do + if (key == 'job' and v.job.name == val) or v[key] == val then + xPlayers[#xPlayers + 1] = v + end + end + end - return xPlayers + return xPlayers end function ESX.GetPlayerFromId(source) @@ -284,7 +284,7 @@ end function ESX.GetVehicleType(model, player, cb) model = type(model) == 'string' and joaat(model) or model - + if Core.vehicleTypesByModel[model] then return cb(Core.vehicleTypesByModel[model]) end @@ -296,50 +296,49 @@ function ESX.GetVehicleType(model, player, cb) end function ESX.DiscordLog(name, title, color, message) - local webHook = Config.DiscordLogs.Webhooks[name] or Config.DiscordLogs.Webhooks.default - local embedData = {{ - ['title'] = title, - ['color'] = Config.DiscordLogs.Colors[color] or Config.DiscordLogs.Colors.default, - ['footer'] = { - ['text'] = "| ESX Logs | " .. os.date(), - ['icon_url'] = "https://cdn.discordapp.com/attachments/944789399852417096/1020099828266586193/blanc-800x800.png" - }, - ['description'] = message, - ['author'] = { - ['name'] = "ESX Framework", - ['icon_url'] = "https://cdn.discordapp.com/emojis/939245183621558362.webp?size=128&quality=lossless" - } - }} + local embedData = { { + ['title'] = title, + ['color'] = Config.DiscordLogs.Colors[color] or Config.DiscordLogs.Colors.default, + ['footer'] = { + ['text'] = "| ESX Logs | " .. os.date(), + ['icon_url'] = "https://cdn.discordapp.com/attachments/944789399852417096/1020099828266586193/blanc-800x800.png" + }, + ['description'] = message, + ['author'] = { + ['name'] = "ESX Framework", + ['icon_url'] = "https://cdn.discordapp.com/emojis/939245183621558362.webp?size=128&quality=lossless" + } + } } PerformHttpRequest(webHook, nil, 'POST', json.encode({ - username = 'Logs', - embeds = embedData + username = 'Logs', + embeds = embedData }), { - ['Content-Type'] = 'application/json' + ['Content-Type'] = 'application/json' }) end function ESX.DiscordLogFields(name, title, color, fields) local webHook = Config.DiscordLogs.Webhooks[name] or Config.DiscordLogs.Webhooks.default - local embedData = {{ - ['title'] = title, - ['color'] = Config.DiscordLogs.Colors[color] or Config.DiscordLogs.Colors.default, - ['footer'] = { - ['text'] = "| ESX Logs | " .. os.date(), - ['icon_url'] = "https://cdn.discordapp.com/attachments/944789399852417096/1020099828266586193/blanc-800x800.png" - }, - ['fields'] = fields, - ['description'] = "", - ['author'] = { - ['name'] = "ESX Framework", - ['icon_url'] = "https://cdn.discordapp.com/emojis/939245183621558362.webp?size=128&quality=lossless" - } - }} + local embedData = { { + ['title'] = title, + ['color'] = Config.DiscordLogs.Colors[color] or Config.DiscordLogs.Colors.default, + ['footer'] = { + ['text'] = "| ESX Logs | " .. os.date(), + ['icon_url'] = "https://cdn.discordapp.com/attachments/944789399852417096/1020099828266586193/blanc-800x800.png" + }, + ['fields'] = fields, + ['description'] = "", + ['author'] = { + ['name'] = "ESX Framework", + ['icon_url'] = "https://cdn.discordapp.com/emojis/939245183621558362.webp?size=128&quality=lossless" + } + } } PerformHttpRequest(webHook, nil, 'POST', json.encode({ - username = 'Logs', - embeds = embedData + username = 'Logs', + embeds = embedData }), { - ['Content-Type'] = 'application/json' + ['Content-Type'] = 'application/json' }) end @@ -348,30 +347,30 @@ end --- @param label string --- @param grades table function ESX.CreateJob(name, label, grades) - if not name then - return print('[^3WARNING^7] missing argument `name(string)` while creating a job') - end - - if not label then - return print('[^3WARNING^7] missing argument `label(string)` while creating a job') - end - - if not grades or not next(grades) then - return print('[^3WARNING^7] missing argument `grades(table)` while creating a job!') - end + if not name then + return print('[^3WARNING^7] missing argument `name(string)` while creating a job') + end - local parameters = {} - local job = {name = name, label = label, grades = {}} + if not label then + return print('[^3WARNING^7] missing argument `label(string)` while creating a job') + end - for _,v in pairs(grades) do - job.grades[tostring(v.grade)] = {job_name = name, grade = v.grade, name = v.name, label = v.label, salary = v.salary, skin_male = {}, skin_female = {}} - parameters[#parameters + 1] = { name, v.grade, v.name, v.label, v.salary} - end + if not grades or not next(grades) then + return print('[^3WARNING^7] missing argument `grades(table)` while creating a job!') + end - MySQL.insert('INSERT IGNORE INTO jobs (name, label) VALUES (?, ?)', {name, label}) - MySQL.prepare('INSERT INTO job_grades (job_name, grade, name, label, salary) VALUES (?, ?, ?, ?, ?)', parameters) - - ESX.Jobs[name] = job + local parameters = {} + local job = { name = name, label = label, grades = {} } + + for _, v in pairs(grades) do + job.grades[tostring(v.grade)] = { job_name = name, grade = v.grade, name = v.name, label = v.label, salary = v.salary, skin_male = {}, skin_female = {} } + parameters[#parameters + 1] = { name, v.grade, v.name, v.label, v.salary } + end + + MySQL.insert('INSERT IGNORE INTO jobs (name, label) VALUES (?, ?)', { name, label }) + MySQL.prepare('INSERT INTO job_grades (job_name, grade, name, label, salary) VALUES (?, ?, ?, ?, ?)', parameters) + + ESX.Jobs[name] = job end function ESX.RefreshJobs() @@ -402,8 +401,10 @@ function ESX.RefreshJobs() if not Jobs then -- Fallback data, if no jobs exist - ESX.Jobs['unemployed'] = {label = 'Unemployed', - grades = {['0'] = {grade = 0, label = 'Unemployed', salary = 200, skin_male = {}, skin_female = {}}}} + ESX.Jobs['unemployed'] = { + label = 'Unemployed', + grades = { ['0'] = { grade = 0, label = 'Unemployed', salary = 200, skin_male = {}, skin_female = {} } } + } else ESX.Jobs = Jobs end @@ -422,7 +423,7 @@ function ESX.UseItem(source, item, ...) if not success then return result and print(result) or - print(('[^3WARNING^7] An error occured when using item ^5"%s"^7! This was not caused by ESX.'):format(item)) + print(('[^3WARNING^7] An error occured when using item ^5"%s"^7! This was not caused by ESX.'):format(item)) end end else @@ -475,7 +476,7 @@ if not Config.OxInventory then local xPlayer = ESX.Players[playerId] local coords = xPlayer.getCoords() - Core.Pickups[pickupId] = {type = type, name = name, count = count, label = label, coords = coords} + Core.Pickups[pickupId] = { type = type, name = name, count = count, label = label, coords = coords } if type == 'item_weapon' then Core.Pickups[pickupId].components = components diff --git a/[core]/es_extended/server/modules/actions.lua b/[core]/es_extended/server/modules/actions.lua index 049e0ca1..c0513126 100644 --- a/[core]/es_extended/server/modules/actions.lua +++ b/[core]/es_extended/server/modules/actions.lua @@ -6,7 +6,6 @@ RegisterServerEvent('esx:enteredVehicle') RegisterServerEvent('esx:exitedVehicle') if Config.EnableDebug then - AddEventHandler('esx:playerPedChanged', function(netId) print('esx:playerPedChanged', source, netId) end) @@ -30,5 +29,4 @@ if Config.EnableDebug then AddEventHandler('esx:exitedVehicle', function(plate, seat, displayName, netId) print('esx:exitedVehicle', 'source', source, 'plate', plate, 'seat', seat, 'displayName', displayName, 'netId', netId) end) - -end \ No newline at end of file +end diff --git a/[core]/es_extended/server/modules/callback.lua b/[core]/es_extended/server/modules/callback.lua index f517531e..d78e9d4a 100644 --- a/[core]/es_extended/server/modules/callback.lua +++ b/[core]/es_extended/server/modules/callback.lua @@ -35,7 +35,7 @@ end RegisterNetEvent('esx:clientCallback', function(requestId, invoker, ...) if not clientRequests[requestId] then - return print(('[^1ERROR^7] Client Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker)) + return print(('[^1ERROR^7] Client Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker)) end clientRequests[requestId](...) diff --git a/[core]/es_extended/server/onesync.lua b/[core]/es_extended/server/onesync.lua index e43f70b4..515b5145 100644 --- a/[core]/es_extended/server/onesync.lua +++ b/[core]/es_extended/server/onesync.lua @@ -27,12 +27,12 @@ local function getNearbyPlayers(source, closest, distance, ignore) local dist = #(source - coords) if dist <= distance then count = count + 1 - result[count] = {id = xPlayer.source, ped = NetworkGetNetworkIdFromEntity(entity), coords = coords, dist = dist} + result[count] = { id = xPlayer.source, ped = NetworkGetNetworkIdFromEntity(entity), coords = coords, dist = dist } end else local dist = #(source - coords) if dist <= (result.dist or distance) then - result = {id = xPlayer.source, ped = NetworkGetNetworkIdFromEntity(entity), coords = coords, dist = dist} + result = { id = xPlayer.source, ped = NetworkGetNetworkIdFromEntity(entity), coords = coords, dist = dist } end end end @@ -83,7 +83,6 @@ function ESX.OneSync.SpawnVehicle(model, coords, heading, properties, cb) end) end - ---@param model number|string ---@param coords vector3|table ---@param heading number @@ -133,7 +132,7 @@ local function getNearbyEntities(entities, coords, modelFilter, maxDistance, isP if not modelFilter or modelFilter[GetEntityModel(entity)] then local entityCoords = GetEntityCoords(entity) if not maxDistance or #(coords - entityCoords) <= maxDistance then - nearbyEntities[#nearbyEntities+1] = NetworkGetNetworkIdFromEntity(entity) + nearbyEntities[#nearbyEntities + 1] = NetworkGetNetworkIdFromEntity(entity) end end end diff --git a/[core]/es_extended/server/paycheck.lua b/[core]/es_extended/server/paycheck.lua index 1ef999de..98138293 100644 --- a/[core]/es_extended/server/paycheck.lua +++ b/[core]/es_extended/server/paycheck.lua @@ -1,7 +1,7 @@ function StartPayCheck() - CreateThread(function() - while true do - Wait(Config.PaycheckInterval) + CreateThread(function() + while true do + Wait(Config.PaycheckInterval) for player, xPlayer in pairs(ESX.Players) do local jobLabel = xPlayer.job.label local job = xPlayer.job.grade_name @@ -14,23 +14,23 @@ function StartPayCheck() 'CHAR_BANK_MAZE', 9) if Config.LogPaycheck then ESX.DiscordLogFields("Paycheck", "Paycheck - Unemployment Benefits", "green", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Amount", value = salary, inline = true} + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Amount", value = salary, inline = true } }) end elseif Config.EnableSocietyPayouts then -- possibly a society TriggerEvent('esx_society:getSociety', xPlayer.job.name, function(society) - if society ~= nil then -- verified society + if society ~= nil then -- verified society TriggerEvent('esx_addonaccount:getSharedAccount', society.account, function(account) if account.money >= salary then -- does the society money to pay its employees? xPlayer.addAccountMoney('bank', salary, "Paycheck") account.removeMoney(salary) if Config.LogPaycheck then - ESX.DiscordLogFields("Paycheck", "Paycheck - "..jobLabel, "green", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Amount", value = salary, inline = true} + ESX.DiscordLogFields("Paycheck", "Paycheck - " .. jobLabel, "green", { + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Amount", value = salary, inline = true } }) end @@ -43,10 +43,10 @@ function StartPayCheck() else -- not a society xPlayer.addAccountMoney('bank', salary, "Paycheck") if Config.LogPaycheck then - ESX.DiscordLogFields("Paycheck", "Paycheck - "..jobLabel, "green", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Amount", value = salary, inline = true} + ESX.DiscordLogFields("Paycheck", "Paycheck - " .. jobLabel, "green", { + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Amount", value = salary, inline = true } }) end TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), TranslateCap('received_paycheck'), TranslateCap('received_salary', salary), @@ -57,9 +57,9 @@ function StartPayCheck() xPlayer.addAccountMoney('bank', salary, "Paycheck") if Config.LogPaycheck then ESX.DiscordLogFields("Paycheck", "Paycheck - Generic", "green", { - {name = "Player", value = xPlayer.name, inline = true}, - {name = "ID", value = xPlayer.source, inline = true}, - {name = "Amount", value = salary, inline = true} + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Amount", value = salary, inline = true } }) end TriggerClientEvent('esx:showAdvancedNotification', player, TranslateCap('bank'), TranslateCap('received_paycheck'), TranslateCap('received_salary', salary), diff --git a/[core]/esx_context/config.lua b/[core]/esx_context/config.lua index c8812138..58301301 100644 --- a/[core]/esx_context/config.lua +++ b/[core]/esx_context/config.lua @@ -1 +1 @@ -PREVIEW_KEYBIND = "LMENU" \ No newline at end of file +PREVIEW_KEYBIND = "LMENU" diff --git a/[core]/esx_context/fxmanifest.lua b/[core]/esx_context/fxmanifest.lua index ff68b532..2841b9b3 100644 --- a/[core]/esx_context/fxmanifest.lua +++ b/[core]/esx_context/fxmanifest.lua @@ -4,7 +4,7 @@ game 'gta5' author 'ESX-Framework & Brayden' description 'Offical ESX Legacy Context Menu' lua54 'yes' -version '1.9.4' +version '1.9.5' ui_page 'index.html' @@ -21,4 +21,4 @@ files { dependencies { 'es_extended' -} \ No newline at end of file +} diff --git a/[core]/esx_identity/client/main.lua b/[core]/esx_identity/client/main.lua index ffabca5a..d81d30f3 100644 --- a/[core]/esx_identity/client/main.lua +++ b/[core]/esx_identity/client/main.lua @@ -39,7 +39,7 @@ if not Config.UseDeferrals then ClearTimecycleModifier() end - SendNUIMessage({type = "enableui", enable = state}) + SendNUIMessage({ type = "enableui", enable = state }) end RegisterNetEvent('esx_identity:showRegisterIdentity', function() diff --git a/[core]/esx_identity/config.lua b/[core]/esx_identity/config.lua index 8eeb007c..2c16096b 100644 --- a/[core]/esx_identity/config.lua +++ b/[core]/esx_identity/config.lua @@ -1,23 +1,23 @@ -Config = {} -Config.Locale = GetConvar('esx:locale', 'en') +Config = {} +Config.Locale = GetConvar('esx:locale', 'en') -- [Config.EnableCommands] -- Enables Commands Such As /char and /chardel -Config.EnableCommands = ESX.GetConfig().EnableDebug +Config.EnableCommands = ESX.GetConfig().EnableDebug -- EXPERIMENTAL Character Registration Method -Config.UseDeferrals = false +Config.UseDeferrals = false -- These values are for the date format in the registration menu -- Choices: DD/MM/YYYY | MM/DD/YYYY | YYYY/MM/DD -Config.DateFormat = 'DD/MM/YYYY' +Config.DateFormat = 'DD/MM/YYYY' -- These values are for the second input validation in server/main.lua -Config.MaxNameLength = 20 -- Max Name Length. -Config.MinHeight = 120 -- 120 cm lowest height -Config.MaxHeight = 220 -- 220 cm max height. -Config.LowestYear = 1900 -- 112 years old is the oldest you can be. -Config.HighestYear = 2005 -- 18 years old is the youngest you can be. +Config.MaxNameLength = 20 -- Max Name Length. +Config.MinHeight = 120 -- 120 cm lowest height +Config.MaxHeight = 220 -- 220 cm max height. +Config.LowestYear = 1900 -- 112 years old is the oldest you can be. +Config.HighestYear = 2005 -- 18 years old is the youngest you can be. -Config.FullCharDelete = true -- Delete all reference to character. -Config.EnableDebugging = ESX.GetConfig().EnableDebug -- prints for debugging :) +Config.FullCharDelete = true -- Delete all reference to character. +Config.EnableDebugging = ESX.GetConfig().EnableDebug -- prints for debugging :) diff --git a/[core]/esx_identity/fxmanifest.lua b/[core]/esx_identity/fxmanifest.lua index 618224aa..2a916e95 100644 --- a/[core]/esx_identity/fxmanifest.lua +++ b/[core]/esx_identity/fxmanifest.lua @@ -4,7 +4,7 @@ game 'gta5' description 'ESX Identity' lua54 'yes' -version '1.9.4' +version '1.9.5' shared_scripts { '@es_extended/imports.lua', @@ -32,4 +32,4 @@ files { 'html/css/style.css', } -dependency 'es_extended' \ No newline at end of file +dependency 'es_extended' diff --git a/[core]/esx_identity/locales/da.lua b/[core]/esx_identity/locales/da.lua index 68a4f5c4..aa4b83de 100644 --- a/[core]/esx_identity/locales/da.lua +++ b/[core]/esx_identity/locales/da.lua @@ -1,39 +1,38 @@ Locales["da"] = { - ["show_active_character"] = "Vis aktiv karakter", - ["active_character"] = "Aktiv karakter: %s", - ["error_active_character"] = "Der opstod en fejl under indhentning af dine data.", - ["delete_character"] = "Slet din nuværende karakter.", - ["deleted_character"] = "Karakter slettet", - ["error_delete_character"] = "Der opstod et problem med at slette din karakter.", - ["thank_you_for_registering"] = "Registreringen lykkedes. God fornøjelse!", - ["debug_xPlayer_get_first_name"] = "Returnerer dit fornavn", - ["debug_xPlayer_get_last_name"] = "Returnerer dit efternavn", - ["debug_xPlayer_get_full_name"] = "Returnerer dit fulde navn", - ["debug_xPlayer_get_sex"] = "Returnerer dit køn", - ["debug_xPlayer_get_dob"] = "Returnerer din fødselsdato", - ["debug_xPlayer_get_height"] = "Giver din højde tilbage", - ["error_debug_xPlayer_get_first_name"] = "Der opstod et problem med at få dit fornavn.", - ["error_debug_xPlayer_get_last_name"] = "Der opstod et problem med at få dit efternavn.", - ["error_debug_xPlayer_get_full_name"] = "Der opstod et problem under indhentning af dit fulde navn.", - ["error_debug_xPlayer_get_sex"] = "Der var et problem med at få dit sex.", - ["error_debug_xPlayer_get_dob"] = "Der var et problem med at få din fødselsdato.", - ["error_debug_xPlayer_get_height"] = "Der var et problem med at få din højde.", - ["return_debug_xPlayer_get_first_name"] = "Fornavn: %s", - ["return_debug_xPlayer_get_last_name"] = "Efternavn: %s", - ["return_debug_xPlayer_get_full_name"] = "Fulde Navn: %s", - ["return_debug_xPlayer_get_sex"] = "Køn: %s", - ["return_debug_xPlayer_get_dob"] = "Fødselsdato: %s", - ["return_debug_xPlayer_get_height"] = "Højde: %s Tommer", - ["data_incorrect"] = "Ugyldige data. Prøv venligst igen.", - ["invalid_format"] = "Ugyldigt dataformat. Prøv venligst igen.", - ["no_identifier"] = "[ESX Identitet]\nDer var et problem under indlæsning af din karakter!\nFejlkode: identifikator mangler\n\nDette skyldes, at din identifikator mangler. Venligst vend tilbage senere eller rapporter dette problem til serverejeren.", - ["missing_identity"] = "[ESX Identitet]\nDer var et problem med at indlæse din karakter!\nFejlkode: identitet mangler\n\nDet ser ud til, at din identitet mangler, prøv at oprette forbindelse igen.", - ["deleted_identity"] = "Tegn slettet. Tilmeld dig igen for at oprette en ny karakter.", - ["already_registered"] = "Du har allerede tilmeldt dig.", - ["invalid_firstname_format"] = "Ugyldigt format (fornavn): Prøv venligst igen.", - ["invalid_lastname_format"] = "Ugyldigt format (efternavn): Prøv igen.", - ["invalid_dob_format"] = "Ugyldigt format (DOB): Prøv venligst igen.", - ["invalid_sex_format"] = "Ugyldigt format (køn): Prøv venligst igen.", - ["invalid_height_format"] = "Ugyldigt format (højde): Prøv venligst igen.", - } - + ["show_active_character"] = "Vis aktiv karakter", + ["active_character"] = "Aktiv karakter: %s", + ["error_active_character"] = "Der opstod en fejl under indhentning af dine data.", + ["delete_character"] = "Slet din nuværende karakter.", + ["deleted_character"] = "Karakter slettet", + ["error_delete_character"] = "Der opstod et problem med at slette din karakter.", + ["thank_you_for_registering"] = "Registreringen lykkedes. God fornøjelse!", + ["debug_xPlayer_get_first_name"] = "Returnerer dit fornavn", + ["debug_xPlayer_get_last_name"] = "Returnerer dit efternavn", + ["debug_xPlayer_get_full_name"] = "Returnerer dit fulde navn", + ["debug_xPlayer_get_sex"] = "Returnerer dit køn", + ["debug_xPlayer_get_dob"] = "Returnerer din fødselsdato", + ["debug_xPlayer_get_height"] = "Giver din højde tilbage", + ["error_debug_xPlayer_get_first_name"] = "Der opstod et problem med at få dit fornavn.", + ["error_debug_xPlayer_get_last_name"] = "Der opstod et problem med at få dit efternavn.", + ["error_debug_xPlayer_get_full_name"] = "Der opstod et problem under indhentning af dit fulde navn.", + ["error_debug_xPlayer_get_sex"] = "Der var et problem med at få dit sex.", + ["error_debug_xPlayer_get_dob"] = "Der var et problem med at få din fødselsdato.", + ["error_debug_xPlayer_get_height"] = "Der var et problem med at få din højde.", + ["return_debug_xPlayer_get_first_name"] = "Fornavn: %s", + ["return_debug_xPlayer_get_last_name"] = "Efternavn: %s", + ["return_debug_xPlayer_get_full_name"] = "Fulde Navn: %s", + ["return_debug_xPlayer_get_sex"] = "Køn: %s", + ["return_debug_xPlayer_get_dob"] = "Fødselsdato: %s", + ["return_debug_xPlayer_get_height"] = "Højde: %s Tommer", + ["data_incorrect"] = "Ugyldige data. Prøv venligst igen.", + ["invalid_format"] = "Ugyldigt dataformat. Prøv venligst igen.", + ["no_identifier"] = "[ESX Identitet]\nDer var et problem under indlæsning af din karakter!\nFejlkode: identifikator mangler\n\nDette skyldes, at din identifikator mangler. Venligst vend tilbage senere eller rapporter dette problem til serverejeren.", + ["missing_identity"] = "[ESX Identitet]\nDer var et problem med at indlæse din karakter!\nFejlkode: identitet mangler\n\nDet ser ud til, at din identitet mangler, prøv at oprette forbindelse igen.", + ["deleted_identity"] = "Tegn slettet. Tilmeld dig igen for at oprette en ny karakter.", + ["already_registered"] = "Du har allerede tilmeldt dig.", + ["invalid_firstname_format"] = "Ugyldigt format (fornavn): Prøv venligst igen.", + ["invalid_lastname_format"] = "Ugyldigt format (efternavn): Prøv igen.", + ["invalid_dob_format"] = "Ugyldigt format (DOB): Prøv venligst igen.", + ["invalid_sex_format"] = "Ugyldigt format (køn): Prøv venligst igen.", + ["invalid_height_format"] = "Ugyldigt format (højde): Prøv venligst igen.", +} diff --git a/[core]/esx_identity/locales/es.lua b/[core]/esx_identity/locales/es.lua index 018ee8a2..d6385eac 100644 --- a/[core]/esx_identity/locales/es.lua +++ b/[core]/esx_identity/locales/es.lua @@ -1,38 +1,38 @@ Locales["es"] = { -["show_active_character"] = "Mostrar personaje actual", -["active_character"] = "Personaje actual: %s", -["error_active_character"] = "Se produjo un error al recuperar tu nombre. Por favor contacta con un administrador", -["delete_character"] = "Elimina tu personaje y crea uno nuevo", -["deleted_character"] = "Tu personaje ha sido eliminado", -["error_delete_character"] = "Se produjo un error al eliminar tu personaje. Por favor contacta con un administrador", -["thank_you_for_registering"] = "Gracias por registrarte. Bienvenido a la ciudad", -["debug_xPlayer_get_first_name"] = "Devuelve tu nombre", -["debug_xPlayer_get_last_name"] = "Devuelve tu apellido", -["debug_xPlayer_get_full_name"] = "Devuelve tu nombre completo", -["debug_xPlayer_get_sex"] = "Devuelve tu sexo", -["debug_xPlayer_get_dob"] = "Devuelve tu fecha de nacimiento", -["debug_xPlayer_get_height"] = "Devuelve tu altura", -["error_debug_xPlayer_get_first_name"] = "Se produjo un error al recuperar tu nombre", -["error_debug_xPlayer_get_last_name"] = "Se produjo un error al recuperar tu apellido", -["error_debug_xPlayer_get_full_name"] = "Se produjo un error al recuperar tu nombre completo", -["error_debug_xPlayer_get_sex"] = "Se produjo un error al recuperar tu sexo", -["error_debug_xPlayer_get_dob"] = "Se produjo un error al recuperar tu fecha de nacimiento", -["error_debug_xPlayer_get_height"] = "Se produjo un error al recuperar tu altura", -["return_debug_xPlayer_get_first_name"] = "Nombre: %s", -["return_debug_xPlayer_get_last_name"] = "Apellido: %s", -["return_debug_xPlayer_get_full_name"] = "Nombre completo: %s", -["return_debug_xPlayer_get_sex"] = "Sexo: %s", -["return_debug_xPlayer_get_dob"] = "Fecha de nacimiento: %s", -["return_debug_xPlayer_get_height"] = "Altura: %s centímetros", -["data_incorrect"] = "Datos introducidos de forma incorrecta. Inténtalo de nuevo", -["invalid_format"] = "Datos con formato incorrecto. Inténtalo de nuevo", -["no_identifier"] = "¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identifier-missing\n\nSe desconoce la causa de este error, no se pudo encontrar su identificador. Intentalo más tarde o informa de este problema al equipo administrativo del servidor", -["missing_identity"] = "¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identity-missing\n\nParece que falta su identidad, intenta conectarte nuevamente", -["deleted_identity"] = "Tu personaje ha sido borrado. Vuelva a iniciar sesión para crear un nuevo personaje", -["already_registered"] = "Ya estás registrado.", -["invalid_firstname_format"] = "Formato Inválido (Nombre): Inténtalo de nuevo.", -["invalid_lastname_format"] = "Formato Inválido (Apellido): Inténtalo de nuevo.", -["invalid_dob_format"] = "Formato Inválido (Fec. Nac.): Inténtalo de nuevo.", -["invalid_sex_format"] = "Formato Inválido (Sexo): Inténtalo de nuevo.", -["invalid_height_format"] = "Formato Inválido (Altura): Inténtalo de nuevo.", + ["show_active_character"] = "Mostrar personaje actual", + ["active_character"] = "Personaje actual: %s", + ["error_active_character"] = "Se produjo un error al recuperar tu nombre. Por favor contacta con un administrador", + ["delete_character"] = "Elimina tu personaje y crea uno nuevo", + ["deleted_character"] = "Tu personaje ha sido eliminado", + ["error_delete_character"] = "Se produjo un error al eliminar tu personaje. Por favor contacta con un administrador", + ["thank_you_for_registering"] = "Gracias por registrarte. Bienvenido a la ciudad", + ["debug_xPlayer_get_first_name"] = "Devuelve tu nombre", + ["debug_xPlayer_get_last_name"] = "Devuelve tu apellido", + ["debug_xPlayer_get_full_name"] = "Devuelve tu nombre completo", + ["debug_xPlayer_get_sex"] = "Devuelve tu sexo", + ["debug_xPlayer_get_dob"] = "Devuelve tu fecha de nacimiento", + ["debug_xPlayer_get_height"] = "Devuelve tu altura", + ["error_debug_xPlayer_get_first_name"] = "Se produjo un error al recuperar tu nombre", + ["error_debug_xPlayer_get_last_name"] = "Se produjo un error al recuperar tu apellido", + ["error_debug_xPlayer_get_full_name"] = "Se produjo un error al recuperar tu nombre completo", + ["error_debug_xPlayer_get_sex"] = "Se produjo un error al recuperar tu sexo", + ["error_debug_xPlayer_get_dob"] = "Se produjo un error al recuperar tu fecha de nacimiento", + ["error_debug_xPlayer_get_height"] = "Se produjo un error al recuperar tu altura", + ["return_debug_xPlayer_get_first_name"] = "Nombre: %s", + ["return_debug_xPlayer_get_last_name"] = "Apellido: %s", + ["return_debug_xPlayer_get_full_name"] = "Nombre completo: %s", + ["return_debug_xPlayer_get_sex"] = "Sexo: %s", + ["return_debug_xPlayer_get_dob"] = "Fecha de nacimiento: %s", + ["return_debug_xPlayer_get_height"] = "Altura: %s centímetros", + ["data_incorrect"] = "Datos introducidos de forma incorrecta. Inténtalo de nuevo", + ["invalid_format"] = "Datos con formato incorrecto. Inténtalo de nuevo", + ["no_identifier"] = "¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identifier-missing\n\nSe desconoce la causa de este error, no se pudo encontrar su identificador. Intentalo más tarde o informa de este problema al equipo administrativo del servidor", + ["missing_identity"] = "¡Se ha producido un error al cargar tu personaje!\nCódigo de error: identity-missing\n\nParece que falta su identidad, intenta conectarte nuevamente", + ["deleted_identity"] = "Tu personaje ha sido borrado. Vuelva a iniciar sesión para crear un nuevo personaje", + ["already_registered"] = "Ya estás registrado.", + ["invalid_firstname_format"] = "Formato Inválido (Nombre): Inténtalo de nuevo.", + ["invalid_lastname_format"] = "Formato Inválido (Apellido): Inténtalo de nuevo.", + ["invalid_dob_format"] = "Formato Inválido (Fec. Nac.): Inténtalo de nuevo.", + ["invalid_sex_format"] = "Formato Inválido (Sexo): Inténtalo de nuevo.", + ["invalid_height_format"] = "Formato Inválido (Altura): Inténtalo de nuevo.", } diff --git a/[core]/esx_identity/locales/fr.lua b/[core]/esx_identity/locales/fr.lua index b35b227d..08c93f41 100644 --- a/[core]/esx_identity/locales/fr.lua +++ b/[core]/esx_identity/locales/fr.lua @@ -1,38 +1,38 @@ Locales["fr"] = { - ["show_active_character"] = "Afficher le personnage actif", - ["active_character"] = "Personnage actif: %s", - ["error_active_character"] = "Une erreur s'est produite lors de l'obtention de vos données.", - ["delete_character"] = "Supprimez votre personnage actuel.", - ["deleted_character"] = "Caractère supprimé", - ["error_delete_character"] = "Un problème est survenu lors de la suppression de votre personnage.", - ["thank_you_for_registering"] = "Inscription réussi. Profitez!", - ["debug_xPlayer_get_first_name"] = "Renvoie votre prénom", - ["debug_xPlayer_get_last_name"] = "Renvoie votre nom de famille", - ["debug_xPlayer_get_full_name"] = "Renvoie votre nom complet", - ["debug_xPlayer_get_sex"] = "Renvoie votre sexe", - ["debug_xPlayer_get_dob"] = "Renvoie votre date de naissance", - ["debug_xPlayer_get_height"] = "Renvoie votre taille", - ["error_debug_xPlayer_get_first_name"] = "Un problème est survenu lors de l'obtention de votre prénom.", - ["error_debug_xPlayer_get_last_name"] = "Un problème est survenu lors de l'obtention de votre nom de famille.", - ["error_debug_xPlayer_get_full_name"] = "Un problème est survenu lors de l'obtention de votre nom complet.", - ["error_debug_xPlayer_get_sex"] = "Il y a eu un problème lors de l'obtention de votre sexe.", - ["error_debug_xPlayer_get_dob"] = "Un problème est survenu lors de l'obtention de votre date de naissance.", - ["error_debug_xPlayer_get_height"] = "Un problème est survenu lors de l'obtention de votre taille.", - ["return_debug_xPlayer_get_first_name"] = "Prénom: %s", - ["return_debug_xPlayer_get_last_name"] = "Nom de famille: %s", - ["return_debug_xPlayer_get_full_name"] = "Nom: %s", - ["return_debug_xPlayer_get_sex"] = "Sexe: %s", - ["return_debug_xPlayer_get_dob"] = "Date de naissance: %s", - ["return_debug_xPlayer_get_height"] = "Hauteur: %s pouces", - ["data_incorrect"] = "Données non valides, veuillez réessayer.", - ["invalid_format"] = "Format de données non valide, veuillez réessayer.", - ["no_identifier"] = "[ESX Identity]\nIl y a eu un problème lors du chargement de votre personnage !\nCode d'erreur : identifiant manquant\n\nCela est dû au fait que votre identifiant est manquant. Veuillez revenir plus tard ou signaler ce problème au propriétaire du serveur.", - ["missing_identity"] = "[ESX Identity]Un problème est survenu lors du chargement de votre personnage !Code d'erreur : identité manquante\n\nIl semble que votre identité soit manquante, essayez de vous reconnecter.", - ["deleted_identity"] = "Personnage supprimé. Veuillez vous réinscrire pour créer un nouveau personnage.", - ["already_registered"] = "Vous êtes déjà inscrit.", - ["invalid_firstname_format"] = "Format non valide (prénom) : veuillez réessayer.", - ["invalid_lastname_format"] = "Format non valide (nom de famille) : veuillez réessayer.", - ["invalid_dob_format"] = "Format non valide (DDN) : veuillez réessayer.", - ["invalid_sex_format"] = "Format non valide (sexe) : veuillez réessayer.", - ["invalid_height_format"] = "Format non valide (hauteur) : veuillez réessayer.", - } + ["show_active_character"] = "Afficher le personnage actif", + ["active_character"] = "Personnage actif: %s", + ["error_active_character"] = "Une erreur s'est produite lors de l'obtention de vos données.", + ["delete_character"] = "Supprimez votre personnage actuel.", + ["deleted_character"] = "Caractère supprimé", + ["error_delete_character"] = "Un problème est survenu lors de la suppression de votre personnage.", + ["thank_you_for_registering"] = "Inscription réussi. Profitez!", + ["debug_xPlayer_get_first_name"] = "Renvoie votre prénom", + ["debug_xPlayer_get_last_name"] = "Renvoie votre nom de famille", + ["debug_xPlayer_get_full_name"] = "Renvoie votre nom complet", + ["debug_xPlayer_get_sex"] = "Renvoie votre sexe", + ["debug_xPlayer_get_dob"] = "Renvoie votre date de naissance", + ["debug_xPlayer_get_height"] = "Renvoie votre taille", + ["error_debug_xPlayer_get_first_name"] = "Un problème est survenu lors de l'obtention de votre prénom.", + ["error_debug_xPlayer_get_last_name"] = "Un problème est survenu lors de l'obtention de votre nom de famille.", + ["error_debug_xPlayer_get_full_name"] = "Un problème est survenu lors de l'obtention de votre nom complet.", + ["error_debug_xPlayer_get_sex"] = "Il y a eu un problème lors de l'obtention de votre sexe.", + ["error_debug_xPlayer_get_dob"] = "Un problème est survenu lors de l'obtention de votre date de naissance.", + ["error_debug_xPlayer_get_height"] = "Un problème est survenu lors de l'obtention de votre taille.", + ["return_debug_xPlayer_get_first_name"] = "Prénom: %s", + ["return_debug_xPlayer_get_last_name"] = "Nom de famille: %s", + ["return_debug_xPlayer_get_full_name"] = "Nom: %s", + ["return_debug_xPlayer_get_sex"] = "Sexe: %s", + ["return_debug_xPlayer_get_dob"] = "Date de naissance: %s", + ["return_debug_xPlayer_get_height"] = "Hauteur: %s pouces", + ["data_incorrect"] = "Données non valides, veuillez réessayer.", + ["invalid_format"] = "Format de données non valide, veuillez réessayer.", + ["no_identifier"] = "[ESX Identity]\nIl y a eu un problème lors du chargement de votre personnage !\nCode d'erreur : identifiant manquant\n\nCela est dû au fait que votre identifiant est manquant. Veuillez revenir plus tard ou signaler ce problème au propriétaire du serveur.", + ["missing_identity"] = "[ESX Identity]Un problème est survenu lors du chargement de votre personnage !Code d'erreur : identité manquante\n\nIl semble que votre identité soit manquante, essayez de vous reconnecter.", + ["deleted_identity"] = "Personnage supprimé. Veuillez vous réinscrire pour créer un nouveau personnage.", + ["already_registered"] = "Vous êtes déjà inscrit.", + ["invalid_firstname_format"] = "Format non valide (prénom) : veuillez réessayer.", + ["invalid_lastname_format"] = "Format non valide (nom de famille) : veuillez réessayer.", + ["invalid_dob_format"] = "Format non valide (DDN) : veuillez réessayer.", + ["invalid_sex_format"] = "Format non valide (sexe) : veuillez réessayer.", + ["invalid_height_format"] = "Format non valide (hauteur) : veuillez réessayer.", +} diff --git a/[core]/esx_identity/locales/pt.lua b/[core]/esx_identity/locales/pt.lua index 0ad97de7..108f8cc2 100644 --- a/[core]/esx_identity/locales/pt.lua +++ b/[core]/esx_identity/locales/pt.lua @@ -1,38 +1,38 @@ Locales["pt"] = { - ["show_active_character"] = "Mostrar personagem ativa", - ["active_character"] = "Personagem ativa: %s", - ["error_active_character"] = "Houve um erro a obter os teus dados.", - ["delete_character"] = "Apagar a tua personagem atual.", - ["deleted_character"] = "Personagem apagada!", - ["error_delete_character"] = "Houve um problema ao apagar a tua personagem.", - ["thank_you_for_registering"] = "Registo concluído. Diverte-te!", - ["debug_xPlayer_get_first_name"] = "Retorna o teu primeiro nome", - ["debug_xPlayer_get_last_name"] = "Retorna o teu último nome", - ["debug_xPlayer_get_full_name"] = "Retorna o teu nome completo", - ["debug_xPlayer_get_sex"] = "Retorna o teu sexo", - ["debug_xPlayer_get_dob"] = "Retorna a tua data de nascimento", - ["debug_xPlayer_get_height"] = "Retorna a tua altura", - ["error_debug_xPlayer_get_first_name"] = "Houve um problema ao obter o teu primeiro nome.", - ["error_debug_xPlayer_get_last_name"] = "Houve um problema ao obter o teu último nome.", - ["error_debug_xPlayer_get_full_name"] = "Houve um problema ao obter o teu nome completo.", - ["error_debug_xPlayer_get_sex"] = "Houve um problema ao obter o teu sexo.", - ["error_debug_xPlayer_get_dob"] = "Houve um problema ao obter a tua data de nascimento.", - ["error_debug_xPlayer_get_height"] = "Houve um problema ao obter a tua altura.", - ["return_debug_xPlayer_get_first_name"] = "Primeiro nome: %s", - ["return_debug_xPlayer_get_last_name"] = "Último nome: %s", - ["return_debug_xPlayer_get_full_name"] = "Nome: %s", - ["return_debug_xPlayer_get_sex"] = "Sexo: %s", - ["return_debug_xPlayer_get_dob"] = "Data de nascimento: %s", - ["return_debug_xPlayer_get_height"] = "Altura: %s cm", - ["data_incorrect"] = "Dados inválidos, tenta novamente.", - ["invalid_format"] = "Formato dos dados inválido, tenta novamente.", - ["no_identifier"] = "[ESX Identity]\nHouve um erro ao carregar a tua personagem!\nCódigo do erro: identifier-missing\n\nEste erro é devido à falta do teu identificador. Porfavor volta mais tarde ou reporta este problema a um Administrador.", - ["missing_identity"] = "[ESX Identity]\nHouve um erro ao carregar a tua personagem!\nCódigo do erro: identity-missing\n\nParece que a tua identidade está em falta, experimenta reentrar no servidor!", - ["deleted_identity"] = "Personagem apagada. Porfavor reentra para criar uma nova personagem.", - ["already_registered"] = "Tu já estás registado.", - ["invalid_firstname_format"] = "Formato inválido (Primeiro nome): Porfavor tenta novamente!", - ["invalid_lastname_format"] = "Formato inválido (Último nome): Porfavor tenta novamente!", - ["invalid_dob_format"] = "Formato inválido (Data de nascimento): Porfavor tenta novamente!", - ["invalid_sex_format"] = "Formato inválido (Sexo): Porfavor tenta novamente!", - ["invalid_height_format"] = "Formato inválido (Altura): Porfavor tenta novamente!", - } + ["show_active_character"] = "Mostrar personagem ativa", + ["active_character"] = "Personagem ativa: %s", + ["error_active_character"] = "Houve um erro a obter os teus dados.", + ["delete_character"] = "Apagar a tua personagem atual.", + ["deleted_character"] = "Personagem apagada!", + ["error_delete_character"] = "Houve um problema ao apagar a tua personagem.", + ["thank_you_for_registering"] = "Registo concluído. Diverte-te!", + ["debug_xPlayer_get_first_name"] = "Retorna o teu primeiro nome", + ["debug_xPlayer_get_last_name"] = "Retorna o teu último nome", + ["debug_xPlayer_get_full_name"] = "Retorna o teu nome completo", + ["debug_xPlayer_get_sex"] = "Retorna o teu sexo", + ["debug_xPlayer_get_dob"] = "Retorna a tua data de nascimento", + ["debug_xPlayer_get_height"] = "Retorna a tua altura", + ["error_debug_xPlayer_get_first_name"] = "Houve um problema ao obter o teu primeiro nome.", + ["error_debug_xPlayer_get_last_name"] = "Houve um problema ao obter o teu último nome.", + ["error_debug_xPlayer_get_full_name"] = "Houve um problema ao obter o teu nome completo.", + ["error_debug_xPlayer_get_sex"] = "Houve um problema ao obter o teu sexo.", + ["error_debug_xPlayer_get_dob"] = "Houve um problema ao obter a tua data de nascimento.", + ["error_debug_xPlayer_get_height"] = "Houve um problema ao obter a tua altura.", + ["return_debug_xPlayer_get_first_name"] = "Primeiro nome: %s", + ["return_debug_xPlayer_get_last_name"] = "Último nome: %s", + ["return_debug_xPlayer_get_full_name"] = "Nome: %s", + ["return_debug_xPlayer_get_sex"] = "Sexo: %s", + ["return_debug_xPlayer_get_dob"] = "Data de nascimento: %s", + ["return_debug_xPlayer_get_height"] = "Altura: %s cm", + ["data_incorrect"] = "Dados inválidos, tenta novamente.", + ["invalid_format"] = "Formato dos dados inválido, tenta novamente.", + ["no_identifier"] = "[ESX Identity]\nHouve um erro ao carregar a tua personagem!\nCódigo do erro: identifier-missing\n\nEste erro é devido à falta do teu identificador. Porfavor volta mais tarde ou reporta este problema a um Administrador.", + ["missing_identity"] = "[ESX Identity]\nHouve um erro ao carregar a tua personagem!\nCódigo do erro: identity-missing\n\nParece que a tua identidade está em falta, experimenta reentrar no servidor!", + ["deleted_identity"] = "Personagem apagada. Porfavor reentra para criar uma nova personagem.", + ["already_registered"] = "Tu já estás registado.", + ["invalid_firstname_format"] = "Formato inválido (Primeiro nome): Porfavor tenta novamente!", + ["invalid_lastname_format"] = "Formato inválido (Último nome): Porfavor tenta novamente!", + ["invalid_dob_format"] = "Formato inválido (Data de nascimento): Porfavor tenta novamente!", + ["invalid_sex_format"] = "Formato inválido (Sexo): Porfavor tenta novamente!", + ["invalid_height_format"] = "Formato inválido (Altura): Porfavor tenta novamente!", +} diff --git a/[core]/esx_identity/locales/sl.lua b/[core]/esx_identity/locales/sl.lua index 2499f7c2..4096ba4a 100644 --- a/[core]/esx_identity/locales/sl.lua +++ b/[core]/esx_identity/locales/sl.lua @@ -1,38 +1,38 @@ Locales["sl"] = { - ["show_active_character"] = "Prikazi aktivni Karakter", - ["active_character"] = "Aktivni Karakter: %s", - ["error_active_character"] = "Pri pridobivanju vasih podatkov je prislo do napake.", - ["delete_character"] = "Izbrisi vas trenutni Karakter.", - ["deleted_character"] = "Karakter izbrisan", - ["error_delete_character"] = "Pri brisanju vasega lika je prislo do tezave.", - ["thank_you_for_registering"] = "Registracija uspesna. Uzivajte!", - ["debug_xPlayer_get_first_name"] = "Vrne vase ime", - ["debug_xPlayer_get_last_name"] = "Vrne vas priimek", - ["debug_xPlayer_get_full_name"] = "Vrne vase polno ime", - ["debug_xPlayer_get_sex"] = "Vrne vas spol", - ["debug_xPlayer_get_dob"] = "Vrne vas DOB", - ["debug_xPlayer_get_height"] = "Vrne vaso visino", - ["error_debug_xPlayer_get_first_name"] = "Pri pridobivanju vasega imena je prislo do tezave.", - ["error_debug_xPlayer_get_last_name"] = "Pri pridobivanju vasega priimka je prislo do tezave.", - ["error_debug_xPlayer_get_full_name"] = "Pri pridobivanju vasega polnega imena je prislo do tezave.", - ["error_debug_xPlayer_get_sex"] = "Pri pridobivanju vasega spola je prislo do tezave.", - ["error_debug_xPlayer_get_dob"] = "Pri pridobivanju vasega datuma rojstva je prislo do tezave.", - ["error_debug_xPlayer_get_height"] = "Pri pridobivanju vase visine je prislo do tezave.", - ["return_debug_xPlayer_get_first_name"] = "Ime: %s", - ["return_debug_xPlayer_get_last_name"] = "Priimek: %s", - ["return_debug_xPlayer_get_full_name"] = "Ime: %s", - ["return_debug_xPlayer_get_sex"] = "Spol: %s", - ["return_debug_xPlayer_get_dob"] = "DOB: %s", - ["return_debug_xPlayer_get_height"] = "Visina: %s palcev", - ["data_incorrect"] = "Neveljavni podatki, poskusite znova.", - ["invalid_format"] = "Neveljavna oblika podatkov, poskusite znova.", - ["no_identifier"] = "[ESX Identiteta]\nPri nalaganju vasega lika je prislo do tezave!\nKoda napake: identifikator-manjka\n\nTo je posledica tega, da manjka vas identifikator. Vrnite se pozneje ali prijavite to tezavo lastniku streznika.", - ["missing_identity"] = "[ESX Identity]\nPri nalaganju vasega lika je prislo do tezave!\nKoda napake: identity-missing\n\nVideti je, da vasa identiteta manjka, poskusite znova vzpostaviti povezavo.", - ["deleted_identity"] = "Karakter izbrisan. Ponovno se pridruzite, da ustvarite nov lik.", - ["already_registered"] = "Registrirali ste se ze.", - ["invalid_firstname_format"] = "Neveljavna oblika (ime): Prosimo, poskusite znova.", - ["invalid_lastname_format"] = "Neveljavna oblika (priimek): Poskusite ponovno.", - ["invalid_dob_format"] = "Neveljavna oblika (DOB): Prosimo, poskusite znova.", - ["invalid_sex_format"] = "Neveljavna oblika (spol): Poskusite ponovno.", - ["invalid_height_format"] = "Neveljavna oblika (visina): Prosimo, poskusite znova.", - } \ No newline at end of file + ["show_active_character"] = "Prikazi aktivni Karakter", + ["active_character"] = "Aktivni Karakter: %s", + ["error_active_character"] = "Pri pridobivanju vasih podatkov je prislo do napake.", + ["delete_character"] = "Izbrisi vas trenutni Karakter.", + ["deleted_character"] = "Karakter izbrisan", + ["error_delete_character"] = "Pri brisanju vasega lika je prislo do tezave.", + ["thank_you_for_registering"] = "Registracija uspesna. Uzivajte!", + ["debug_xPlayer_get_first_name"] = "Vrne vase ime", + ["debug_xPlayer_get_last_name"] = "Vrne vas priimek", + ["debug_xPlayer_get_full_name"] = "Vrne vase polno ime", + ["debug_xPlayer_get_sex"] = "Vrne vas spol", + ["debug_xPlayer_get_dob"] = "Vrne vas DOB", + ["debug_xPlayer_get_height"] = "Vrne vaso visino", + ["error_debug_xPlayer_get_first_name"] = "Pri pridobivanju vasega imena je prislo do tezave.", + ["error_debug_xPlayer_get_last_name"] = "Pri pridobivanju vasega priimka je prislo do tezave.", + ["error_debug_xPlayer_get_full_name"] = "Pri pridobivanju vasega polnega imena je prislo do tezave.", + ["error_debug_xPlayer_get_sex"] = "Pri pridobivanju vasega spola je prislo do tezave.", + ["error_debug_xPlayer_get_dob"] = "Pri pridobivanju vasega datuma rojstva je prislo do tezave.", + ["error_debug_xPlayer_get_height"] = "Pri pridobivanju vase visine je prislo do tezave.", + ["return_debug_xPlayer_get_first_name"] = "Ime: %s", + ["return_debug_xPlayer_get_last_name"] = "Priimek: %s", + ["return_debug_xPlayer_get_full_name"] = "Ime: %s", + ["return_debug_xPlayer_get_sex"] = "Spol: %s", + ["return_debug_xPlayer_get_dob"] = "DOB: %s", + ["return_debug_xPlayer_get_height"] = "Visina: %s palcev", + ["data_incorrect"] = "Neveljavni podatki, poskusite znova.", + ["invalid_format"] = "Neveljavna oblika podatkov, poskusite znova.", + ["no_identifier"] = "[ESX Identiteta]\nPri nalaganju vasega lika je prislo do tezave!\nKoda napake: identifikator-manjka\n\nTo je posledica tega, da manjka vas identifikator. Vrnite se pozneje ali prijavite to tezavo lastniku streznika.", + ["missing_identity"] = "[ESX Identity]\nPri nalaganju vasega lika je prislo do tezave!\nKoda napake: identity-missing\n\nVideti je, da vasa identiteta manjka, poskusite znova vzpostaviti povezavo.", + ["deleted_identity"] = "Karakter izbrisan. Ponovno se pridruzite, da ustvarite nov lik.", + ["already_registered"] = "Registrirali ste se ze.", + ["invalid_firstname_format"] = "Neveljavna oblika (ime): Prosimo, poskusite znova.", + ["invalid_lastname_format"] = "Neveljavna oblika (priimek): Poskusite ponovno.", + ["invalid_dob_format"] = "Neveljavna oblika (DOB): Prosimo, poskusite znova.", + ["invalid_sex_format"] = "Neveljavna oblika (spol): Poskusite ponovno.", + ["invalid_height_format"] = "Neveljavna oblika (visina): Prosimo, poskusite znova.", +} diff --git a/[core]/esx_identity/server/main.lua b/[core]/esx_identity/server/main.lua index ec992464..a2884c76 100644 --- a/[core]/esx_identity/server/main.lua +++ b/[core]/esx_identity/server/main.lua @@ -3,16 +3,12 @@ local alreadyRegistered = {} local multichar = ESX.GetConfig().Multichar local function deleteIdentityFromDatabase(xPlayer) - MySQL.query.await( - 'UPDATE users SET firstname = ?, lastname = ?, dateofbirth = ?, sex = ?, height = ?, skin = ? WHERE identifier = ?', - { nil, nil, nil, nil, nil, nil, xPlayer.identifier }) + MySQL.query.await('UPDATE users SET firstname = ?, lastname = ?, dateofbirth = ?, sex = ?, height = ?, skin = ? WHERE identifier = ?', { nil, nil, nil, nil, nil, nil, xPlayer.identifier }) if Config.FullCharDelete then - MySQL.update.await('UPDATE addon_account_data SET money = 0 WHERE account_name IN (?) AND owner = ?', - { { 'bank_savings', 'caution' }, xPlayer.identifier }) + MySQL.update.await('UPDATE addon_account_data SET money = 0 WHERE account_name IN (?) AND owner = ?', { { 'bank_savings', 'caution' }, xPlayer.identifier }) - MySQL.prepare.await('UPDATE datastore_data SET data = ? WHERE name IN (?) AND owner = ?', - { '\'{}\'', { 'user_ears', 'user_glasses', 'user_helmet', 'user_mask' }, xPlayer.identifier }) + MySQL.prepare.await('UPDATE datastore_data SET data = ? WHERE name IN (?) AND owner = ?', { '\'{}\'', { 'user_ears', 'user_glasses', 'user_helmet', 'user_mask' }, xPlayer.identifier }) end end @@ -31,9 +27,7 @@ local function deleteIdentity(xPlayer) end local function saveIdentityToDatabase(identifier, identity) - MySQL.update.await( - 'UPDATE users SET firstname = ?, lastname = ?, dateofbirth = ?, sex = ?, height = ? WHERE identifier = ?', - { identity.firstName, identity.lastName, identity.dateOfBirth, identity.sex, identity.height, identifier }) + MySQL.update.await('UPDATE users SET firstname = ?, lastname = ?, dateofbirth = ?, sex = ?, height = ? WHERE identifier = ?', { identity.firstName, identity.lastName, identity.dateOfBirth, identity.sex, identity.height, identifier }) end local function checkDOBFormat(str) @@ -125,22 +119,21 @@ if Config.UseDeferrals then Wait(100) if identifier then - MySQL.single('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = ?', - { identifier }, function(result) - if result then - if result.firstname then - playerIdentity[identifier] = { - firstName = result.firstname, - lastName = result.lastname, - dateOfBirth = result.dateofbirth, - sex = result.sex, - height = result.height - } + MySQL.single('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = ?', { identifier }, function(result) + if result then + if result.firstname then + playerIdentity[identifier] = { + firstName = result.firstname, + lastName = result.lastname, + dateOfBirth = result.dateofbirth, + sex = result.sex, + height = result.height + } - deferrals.done() - else - deferrals.presentCard( - [==[{"type": "AdaptiveCard","body":[{"type":"Container","items":[{"type":"ColumnSet", + deferrals.done() + else + deferrals.presentCard( + [==[{"type": "AdaptiveCard","body":[{"type":"Container","items":[{"type":"ColumnSet", "columns":[{"type":"Column","items":[{"type":"Input.Text","placeholder":"First Name", "id":"firstname","maxLength":15},{"type":"Input.Text","placeholder":"Date of Birth (MM/DD/YYYY)", "id":"dateofbirth","maxLength":10}],"width":"stretch"},{"type":"Column","width":"stretch", @@ -150,33 +143,33 @@ if Config.UseDeferrals then {"title":"Female","value":"f"}],"style":"expanded","id":"sex"}]},{"type": "ActionSet", "actions": [{"type":"Action.Submit","title":"Submit"}]}], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json","version":"1.0"}]==], - function(data) - if data.firstname == '' or data.lastname == '' or data.dateofbirth == '' or data.sex == - '' or data.height == '' then - deferrals.done(TranslateCap('data_incorrect')) - else - if checkNameFormat(data.firstname) and checkNameFormat(data.lastname) and - checkDOBFormat(data.dateofbirth) and checkSexFormat(data.sex) and - checkHeightFormat(data.height) then - playerIdentity[identifier] = { - firstName = formatName(data.firstname), - lastName = formatName(data.lastname), - dateOfBirth = data.dateofbirth, - sex = data.sex, - height = tonumber(data.height), - saveToDatabase = true - } + function(data) + if data.firstname == '' or data.lastname == '' or data.dateofbirth == '' or data.sex == + '' or data.height == '' then + deferrals.done(TranslateCap('data_incorrect')) + else + if checkNameFormat(data.firstname) and checkNameFormat(data.lastname) and + checkDOBFormat(data.dateofbirth) and checkSexFormat(data.sex) and + checkHeightFormat(data.height) then + playerIdentity[identifier] = { + firstName = formatName(data.firstname), + lastName = formatName(data.lastname), + dateOfBirth = data.dateofbirth, + sex = data.sex, + height = tonumber(data.height), + saveToDatabase = true + } - deferrals.done() - else - deferrals.done(TranslateCap('invalid_format')) - end + deferrals.done() + else + deferrals.done(TranslateCap('invalid_format')) end - end) - end - else - deferrals.presentCard( - [==[{"type": "AdaptiveCard","body":[{"type":"Container","items":[{"type":"ColumnSet","columns":[{ + end + end) + end + else + deferrals.presentCard( + [==[{"type": "AdaptiveCard","body":[{"type":"Container","items":[{"type":"ColumnSet","columns":[{ "type":"Column","items":[{"type":"Input.Text","placeholder":"First Name","id":"firstname", "maxLength":15},{"type":"Input.Text","placeholder":"Date of Birth (MM/DD/YYYY)","id":"dateofbirth", "maxLength":10}],"width":"stretch"},{"type":"Column","width":"stretch","items":[{"type":"Input.Text", @@ -185,39 +178,39 @@ if Config.UseDeferrals then "placeholder":"Sex","choices":[{"title":"Male","value":"m"},{"title":"Female","value":"f"}], "style":"expanded","id":"sex"}]},{"type": "ActionSet","actions": [{"type":"Action.Submit", "title":"Submit"}]}],"$schema": "http://adaptivecards.io/schemas/adaptive-card.json","version":"1.0"}]==], - function(data) - if data.firstname == '' or data.lastname == '' or data.dateofbirth == '' or data.sex == '' or data.height == '' then - return deferrals.done(TranslateCap('data_incorrect')) - end - if not checkNameFormat(data.firstname) then - return deferrals.done(TranslateCap('invalid_firstname_format')) - end - if not checkNameFormat(data.lastname) then - return deferrals.done(TranslateCap('invalid_lastname_format')) - end - if not checkDOBFormat(data.dateofbirth) then - return deferrals.done(TranslateCap('invalid_dob_format')) - end - if not checkSexFormat(data.sex) then - return deferrals.done(TranslateCap('invalid_sex_format')) - end - if not checkHeightFormat(data.height) then - return deferrals.done(TranslateCap('invalid_height_format')) - end + function(data) + if data.firstname == '' or data.lastname == '' or data.dateofbirth == '' or data.sex == '' or data.height == '' then + return deferrals.done(TranslateCap('data_incorrect')) + end + if not checkNameFormat(data.firstname) then + return deferrals.done(TranslateCap('invalid_firstname_format')) + end + if not checkNameFormat(data.lastname) then + return deferrals.done(TranslateCap('invalid_lastname_format')) + end + if not checkDOBFormat(data.dateofbirth) then + return deferrals.done(TranslateCap('invalid_dob_format')) + end + if not checkSexFormat(data.sex) then + return deferrals.done(TranslateCap('invalid_sex_format')) + end + if not checkHeightFormat(data.height) then + return deferrals.done(TranslateCap('invalid_height_format')) + end - playerIdentity[identifier] = { - firstName = formatName(data.firstname), - lastName = formatName(data.lastname), - dateOfBirth = formatDate(data.dateofbirth), - sex = data.sex, - height = tonumber(data.height), - saveToDatabase = true - } + playerIdentity[identifier] = { + firstName = formatName(data.firstname), + lastName = formatName(data.lastname), + dateOfBirth = formatDate(data.dateofbirth), + sex = data.sex, + height = tonumber(data.height), + saveToDatabase = true + } - deferrals.done() - end) - end - end) + deferrals.done() + end) + end + end) else deferrals.done(TranslateCap('no_identifier')) end @@ -267,29 +260,27 @@ else end local function checkIdentity(xPlayer) - MySQL.single('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = ?', - { xPlayer.identifier }, - function(result) - if not result then - return TriggerClientEvent('esx_identity:showRegisterIdentity', xPlayer.source) - end - if not result.firstname then - playerIdentity[xPlayer.identifier] = nil - alreadyRegistered[xPlayer.identifier] = false - return TriggerClientEvent('esx_identity:showRegisterIdentity', xPlayer.source) - end - - playerIdentity[xPlayer.identifier] = { - firstName = result.firstname, - lastName = result.lastname, - dateOfBirth = result.dateofbirth, - sex = result.sex, - height = result.height - } - - alreadyRegistered[xPlayer.identifier] = true - setIdentity(xPlayer) + MySQL.single('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = ?', { xPlayer.identifier }, function(result) + if not result then + return TriggerClientEvent('esx_identity:showRegisterIdentity', xPlayer.source) end + if not result.firstname then + playerIdentity[xPlayer.identifier] = nil + alreadyRegistered[xPlayer.identifier] = false + return TriggerClientEvent('esx_identity:showRegisterIdentity', xPlayer.source) + end + + playerIdentity[xPlayer.identifier] = { + firstName = result.firstname, + lastName = result.lastname, + dateOfBirth = result.dateofbirth, + sex = result.sex, + height = result.height + } + + alreadyRegistered[xPlayer.identifier] = true + setIdentity(xPlayer) + end ) end @@ -302,32 +293,30 @@ else if not identifier then return deferrals.done(TranslateCap('no_identifier')) end - MySQL.single('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = ?', - { identifier }, - function(result) - if not result then - playerIdentity[identifier] = nil - alreadyRegistered[identifier] = false - return deferrals.done() - end - if not result.firstname then - playerIdentity[identifier] = nil - alreadyRegistered[identifier] = false - return deferrals.done() - end + MySQL.single('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = ?', { identifier }, function(result) + if not result then + playerIdentity[identifier] = nil + alreadyRegistered[identifier] = false + return deferrals.done() + end + if not result.firstname then + playerIdentity[identifier] = nil + alreadyRegistered[identifier] = false + return deferrals.done() + end - playerIdentity[identifier] = { - firstName = result.firstname, - lastName = result.lastname, - dateOfBirth = result.dateofbirth, - sex = result.sex, - height = result.height - } + playerIdentity[identifier] = { + firstName = result.firstname, + lastName = result.lastname, + dateOfBirth = result.dateofbirth, + sex = result.sex, + height = result.height + } - alreadyRegistered[identifier] = true + alreadyRegistered[identifier] = true - deferrals.done() - end) + deferrals.done() + end) end) AddEventHandler('onResourceStart', function(resource) diff --git a/[core]/esx_loadingscreen/client/client.lua b/[core]/esx_loadingscreen/client/client.lua index 62125c3b..383454ce 100644 --- a/[core]/esx_loadingscreen/client/client.lua +++ b/[core]/esx_loadingscreen/client/client.lua @@ -1,6 +1,6 @@ local ClientLoadESX = false -AddEventHandler("playerSpawned", function () +AddEventHandler("playerSpawned", function() if not ClientLoadESX then ShutdownLoadingScreenNui() ClientLoadESX = true @@ -10,4 +10,4 @@ AddEventHandler("playerSpawned", function () DoScreenFadeIn(2500) end end -end) \ No newline at end of file +end) diff --git a/[core]/esx_loadingscreen/config.lua b/[core]/esx_loadingscreen/config.lua index 67f639b2..302c9a5c 100644 --- a/[core]/esx_loadingscreen/config.lua +++ b/[core]/esx_loadingscreen/config.lua @@ -1,3 +1,3 @@ Config = {} -Config.Fade = true \ No newline at end of file +Config.Fade = true diff --git a/[core]/esx_loadingscreen/fxmanifest.lua b/[core]/esx_loadingscreen/fxmanifest.lua index bf772ad6..d0d9a914 100644 --- a/[core]/esx_loadingscreen/fxmanifest.lua +++ b/[core]/esx_loadingscreen/fxmanifest.lua @@ -1,5 +1,5 @@ game 'common' -version '1.9.4' +version '1.9.5' fx_version 'cerulean' author 'ESX-Framework' lua54 'yes' @@ -11,4 +11,4 @@ loadscreen_manual_shutdown "yes" client_script 'client/client.lua' -files {'index.html', './vid/*.mp4', './vid/*.webm', './js/index.js', './css/index.css'} +files { 'index.html', './vid/*.mp4', './vid/*.webm', './js/index.js', './css/index.css' } diff --git a/[core]/esx_menu_default/client/main.lua b/[core]/esx_menu_default/client/main.lua index f1d37826..b1fbc586 100644 --- a/[core]/esx_menu_default/client/main.lua +++ b/[core]/esx_menu_default/client/main.lua @@ -26,7 +26,7 @@ local function closeMenu(namespace, name) end AddEventHandler('onResourceStop', function(resource) - if GetCurrentResourceName() == resource and OpenedMenus > 0 then + if GetCurrentResourceName() == resource and OpenedMenus > 0 then ESX.UI.Menu.CloseAll() elseif CurrentNameSpace ~= nil and CurrentNameSpace == resource and OpenedMenus > 0 then ESX.UI.Menu.CloseAll() diff --git a/[core]/esx_menu_default/fxmanifest.lua b/[core]/esx_menu_default/fxmanifest.lua index 8bab549c..7b82980b 100644 --- a/[core]/esx_menu_default/fxmanifest.lua +++ b/[core]/esx_menu_default/fxmanifest.lua @@ -4,12 +4,12 @@ game 'gta5' description 'ESX Menu Default' lua54 'yes' -version '1.9.4' +version '1.9.5' -client_scripts {'@es_extended/imports.lua', 'client/main.lua'} +client_scripts { '@es_extended/imports.lua', 'client/main.lua' } -ui_page {'html/ui.html'} +ui_page { 'html/ui.html' } -files {'html/ui.html', 'html/css/app.css', 'html/js/mustache.min.js', 'html/js/app.js'} +files { 'html/ui.html', 'html/css/app.css', 'html/js/mustache.min.js', 'html/js/app.js' } -dependencies {'es_extended'} +dependencies { 'es_extended' } diff --git a/[core]/esx_menu_dialog/client/main.lua b/[core]/esx_menu_dialog/client/main.lua index 2d5bfd0d..d9aab2cc 100644 --- a/[core]/esx_menu_dialog/client/main.lua +++ b/[core]/esx_menu_dialog/client/main.lua @@ -77,4 +77,4 @@ AddEventHandler('esx_menu_dialog:message:menu_change', function(data) if menu.change ~= nil then menu.change(data, menu) end -end) \ No newline at end of file +end) diff --git a/[core]/esx_menu_dialog/fxmanifest.lua b/[core]/esx_menu_dialog/fxmanifest.lua index 55ade7e8..62188ede 100644 --- a/[core]/esx_menu_dialog/fxmanifest.lua +++ b/[core]/esx_menu_dialog/fxmanifest.lua @@ -4,7 +4,7 @@ game 'gta5' description 'ESX Menu Dialog' lua54 'yes' -version '1.9.4' +version '1.9.5' client_scripts { '@es_extended/imports.lua', diff --git a/[core]/esx_menu_list/client/main.lua b/[core]/esx_menu_list/client/main.lua index 3ccc1e95..6b21b2e4 100644 --- a/[core]/esx_menu_list/client/main.lua +++ b/[core]/esx_menu_list/client/main.lua @@ -3,7 +3,6 @@ CreateThread(function() local OpenedMenus = {} local function openMenu(namespace, name, data) - OpenedMenus[namespace .. '_' .. name] = true SendNUIMessage({ @@ -13,12 +12,11 @@ CreateThread(function() data = data }) SetTimeout(200, function() - SetNuiFocus(true, true) - end) + SetNuiFocus(true, true) + end) end local function closeMenu(namespace, name) - OpenedMenus[namespace .. '_' .. name] = nil local OpenedMenuCount = 0 @@ -37,7 +35,6 @@ CreateThread(function() if OpenedMenuCount == 0 then SetNuiFocus(false) end - end ESX.UI.Menu.RegisterType(MenuType, openMenu, closeMenu) @@ -59,5 +56,4 @@ CreateThread(function() cb('OK') end) - end) diff --git a/[core]/esx_menu_list/fxmanifest.lua b/[core]/esx_menu_list/fxmanifest.lua index 292f5c81..09340c9b 100644 --- a/[core]/esx_menu_list/fxmanifest.lua +++ b/[core]/esx_menu_list/fxmanifest.lua @@ -4,7 +4,7 @@ game 'gta5' description 'ESX Menu List' lua54 'yes' -version '1.9.4' +version '1.9.5' client_scripts { '@es_extended/imports.lua', diff --git a/[core]/esx_multicharacter/client/main.lua b/[core]/esx_multicharacter/client/main.lua index 4e5c5915..572fd8ad 100644 --- a/[core]/esx_multicharacter/client/main.lua +++ b/[core]/esx_multicharacter/client/main.lua @@ -4,11 +4,10 @@ local mp_f_freemode_01 = `mp_f_freemode_01` local SpawnCoords = Config.Spawn[math.random(#Config.Spawn)] if ESX.GetConfig().Multichar then - CreateThread(function() while not ESX.PlayerLoaded do Wait(100) - + if NetworkIsPlayerActive(PlayerId()) then exports.spawnmanager:setAutoSpawn(false) DoScreenFadeOut(0) @@ -22,7 +21,7 @@ if ESX.GetConfig().Multichar then end) local canRelog, cam, spawned = true, nil, nil - local Characters = {} + local Characters = {} RegisterNetEvent('esx_multicharacter:SetupCharacters') AddEventHandler('esx_multicharacter:SetupCharacters', function() @@ -51,7 +50,7 @@ if ESX.GetConfig().Multichar then hidePlayers = true MumbleSetVolumeOverride(PlayerId(), 0.0) CreateThread(function() - local keys = {18, 27, 172, 173, 174, 175, 176, 177, 187, 188, 191, 201, 108, 109} + local keys = { 18, 27, 172, 173, 174, 175, 176, 177, 187, 188, 191, 201, 108, 109 } while hidePlayers do DisableAllControlActions(0) for i = 1, #keys do @@ -118,8 +117,7 @@ if ESX.GetConfig().Multichar then end DoScreenFadeIn(600) end) - repeat Wait(200) until not IsScreenFadedOut() - + repeat Wait(200) until not IsScreenFadedOut() elseif Characters[index] and Characters[index].skin then if Characters[spawned] and Characters[spawned].model then RequestModel(Characters[index].model) @@ -145,11 +143,11 @@ if ESX.GetConfig().Multichar then function CharacterDeleteConfirmation(Characters, slots, SelectedCharacter, value) local elements = { - {title = TranslateCap('char_delete_confirmation'), icon = "fa-solid fa-users", description = TranslateCap('char_delete_confirmation_description'), unselectable = true}, - {title = TranslateCap('char_delete'), icon ="fa-solid fa-xmark", description = TranslateCap('char_delete_yes_description'), action = 'delete', value = value}, - {title = TranslateCap('return'), unselectable = false, icon = "fa-solid fa-arrow-left", description = TranslateCap('char_delete_no_description'), action = "return"} + { title = TranslateCap('char_delete_confirmation'), icon = "fa-solid fa-users", description = TranslateCap('char_delete_confirmation_description'), unselectable = true }, + { title = TranslateCap('char_delete'), icon = "fa-solid fa-xmark", description = TranslateCap('char_delete_yes_description'), action = 'delete', value = value }, + { title = TranslateCap('return'), unselectable = false, icon = "fa-solid fa-arrow-left", description = TranslateCap('char_delete_no_description'), action = "return" } } - + ESX.OpenContext("left", elements, function(_, Action) if Action.action == "delete" then ESX.CloseContext() @@ -162,14 +160,14 @@ if ESX.GetConfig().Multichar then end function CharacterOptions(Characters, slots, SelectedCharacter) - local elements = {{title = TranslateCap('character', Characters[SelectedCharacter.value].firstname .. " ".. Characters[SelectedCharacter.value].lastname),icon = "fa-regular fa-user", unselectable = true}, - {title = TranslateCap('return'), unselectable = false,icon = "fa-solid fa-arrow-left",description = TranslateCap('return_description'), action = "return"}} + local elements = { { title = TranslateCap('character', Characters[SelectedCharacter.value].firstname .. " " .. Characters[SelectedCharacter.value].lastname), icon = "fa-regular fa-user", unselectable = true }, + { title = TranslateCap('return'), unselectable = false, icon = "fa-solid fa-arrow-left", description = TranslateCap('return_description'), action = "return" } } if not Characters[SelectedCharacter.value].disabled then - elements[3] = {title = TranslateCap('char_play'), description = TranslateCap('char_play_description'), icon ="fa-solid fa-play",action = 'play', value = SelectedCharacter.value} + elements[3] = { title = TranslateCap('char_play'), description = TranslateCap('char_play_description'), icon = "fa-solid fa-play", action = 'play', value = SelectedCharacter.value } else - elements[3] = {title = TranslateCap('char_disabled'), value = SelectedCharacter.value, icon ="fa-solid fa-xmark", description = TranslateCap('char_disabled_description'),} + elements[3] = { title = TranslateCap('char_disabled'), value = SelectedCharacter.value, icon = "fa-solid fa-xmark", description = TranslateCap('char_disabled_description'), } end - if Config.CanDelete then elements[4] = {title = TranslateCap('char_delete'),icon ="fa-solid fa-xmark",description = TranslateCap('char_delete_description'), action = 'delete', value = SelectedCharacter.value} end + if Config.CanDelete then elements[4] = { title = TranslateCap('char_delete'), icon = "fa-solid fa-xmark", description = TranslateCap('char_delete_description'), action = 'delete', value = SelectedCharacter.value } end ESX.OpenContext("left", elements, function(_, Action) if Action.action == "play" then SendNUIMessage({ @@ -187,21 +185,21 @@ if ESX.GetConfig().Multichar then function SelectCharacterMenu(Characters, slots) local Character = next(Characters) - local elements = {{title = TranslateCap('select_char') , icon = "fa-solid fa-users", description = TranslateCap('select_char_description') , unselectable = true}} + local elements = { { title = TranslateCap('select_char'), icon = "fa-solid fa-users", description = TranslateCap('select_char_description'), unselectable = true } } for k, v in pairs(Characters) do if not v.model and v.skin then if v.skin.model then v.model = v.skin.model elseif v.skin.sex == 1 then v.model = mp_f_freemode_01 else v.model = mp_m_freemode_01 end end if not spawned then SetupCharacter(Character) end - local label = v.firstname..' '..v.lastname + local label = v.firstname .. ' ' .. v.lastname if Characters[k].disabled then - elements[#elements+1] = {title = label,icon = "fa-regular fa-user", value = v.id} + elements[#elements + 1] = { title = label, icon = "fa-regular fa-user", value = v.id } else - elements[#elements+1] = {title = label,icon = "fa-regular fa-user", value = v.id} + elements[#elements + 1] = { title = label, icon = "fa-regular fa-user", value = v.id } end end if #elements - 1 < slots then - elements[#elements+1] = {title = TranslateCap('create_char'), icon = "fa-solid fa-plus", value = (#elements+1), new = true} + elements[#elements + 1] = { title = TranslateCap('create_char'), icon = "fa-solid fa-plus", value = (#elements + 1), new = true } end ESX.OpenContext("left", elements, function(_, SelectedCharacter) @@ -218,13 +216,13 @@ if ESX.GetConfig().Multichar then TriggerServerEvent('esx_multicharacter:CharacterChosen', slot, true) TriggerEvent('esx_identity:showRegisterIdentity') local playerPed = PlayerPedId() - SetPedAoBlobRendering(playerPed, false) - SetEntityAlpha(playerPed, 0) - SendNUIMessage({ - action = "closeui" - }) + SetPedAoBlobRendering(playerPed, false) + SetEntityAlpha(playerPed, 0) + SendNUIMessage({ + action = "closeui" + }) else - CharacterOptions(Characters,slots, SelectedCharacter) + CharacterOptions(Characters, slots, SelectedCharacter) SetupCharacter(SelectedCharacter.value) local playerPed = PlayerPedId() SetPedAoBlobRendering(playerPed, true) @@ -232,6 +230,7 @@ if ESX.GetConfig().Multichar then end end, nil, false) end + RegisterNetEvent('esx_multicharacter:SetupUI') AddEventHandler('esx_multicharacter:SetupUI', function(data, slots) DoScreenFadeOut(0) @@ -286,7 +285,9 @@ if ESX.GetConfig().Multichar then SetPedAoBlobRendering(playerPed, true) ResetEntityAlpha(playerPed) TriggerEvent('esx_skin:openSaveableMenu', function() - finished = true end, function() finished = true + finished = true + end, function() + finished = true end) end) repeat Wait(200) until finished @@ -331,5 +332,4 @@ if ESX.GetConfig().Multichar then end end) end - end diff --git a/[core]/esx_multicharacter/fxmanifest.lua b/[core]/esx_multicharacter/fxmanifest.lua index 9bf4734c..62cf6896 100644 --- a/[core]/esx_multicharacter/fxmanifest.lua +++ b/[core]/esx_multicharacter/fxmanifest.lua @@ -2,17 +2,17 @@ fx_version 'cerulean' game 'gta5' author 'ESX-Framework - Linden - KASH' description 'Official Multicharacter System For ESX Legacy' -version '1.9.4' +version '1.9.5' lua54 'yes' -dependencies {'es_extended', 'esx_context', 'esx_identity', 'esx_skin'} +dependencies { 'es_extended', 'esx_context', 'esx_identity', 'esx_skin' } -shared_scripts {'@es_extended/imports.lua', '@es_extended/locale.lua', 'locales/*.lua', 'config.lua'} +shared_scripts { '@es_extended/imports.lua', '@es_extended/locale.lua', 'locales/*.lua', 'config.lua' } -server_scripts {'@oxmysql/lib/MySQL.lua', 'server/*.lua'} +server_scripts { '@oxmysql/lib/MySQL.lua', 'server/*.lua' } -client_scripts {'client/*.lua'} +client_scripts { 'client/*.lua' } -ui_page {'html/ui.html'} +ui_page { 'html/ui.html' } -files {'html/ui.html', 'html/css/main.css', 'html/js/app.js', 'html/locales/*.js'} +files { 'html/ui.html', 'html/css/main.css', 'html/js/app.js', 'html/locales/*.js' } diff --git a/[core]/esx_multicharacter/locales/sl.lua b/[core]/esx_multicharacter/locales/sl.lua index aa203105..799a1563 100644 --- a/[core]/esx_multicharacter/locales/sl.lua +++ b/[core]/esx_multicharacter/locales/sl.lua @@ -10,11 +10,11 @@ Locales["sl"] = { ["char_disabled_description"] = "Ta znak je neuporaben.", ["char_delete"] = "Izbriši", ["char_delete_description"] = "Trajno odstrani ta znak.", - ["char_delete_confirmation"] = "Potrditev brisanja", - ["char_delete_confirmation_description"] = "Ali ste prepicani da hocete zbrisati svoj karakter*", - ["char_delete_yes_description"] = "Da", - ["char_delete_no_description"] = "Ne", - ["character"] = "Znak: %s", + ["char_delete_confirmation"] = "Potrditev brisanja", + ["char_delete_confirmation_description"] = "Ali ste prepicani da hocete zbrisati svoj karakter*", + ["char_delete_yes_description"] = "Da", + ["char_delete_no_description"] = "Ne", + ["character"] = "Znak: %s", ["return"] = "Vrni se", ["return_description"] = "Nazaj na izbiro znakov.", ["command_setslots"] = "Nastavi število večznakovnih mest za igralca", @@ -30,4 +30,4 @@ Locales["sl"] = { ["charenabled"] = "Omogočili ste znak #%s od %s", ["chardisabled"] = "Onemogočili ste znak #%s od %s", ["charnotfound"] = "Znak #%s od %s ne obstaja", -} \ No newline at end of file +} diff --git a/[core]/esx_multicharacter/locales/sr.lua b/[core]/esx_multicharacter/locales/sr.lua index e99474ae..261322f7 100644 --- a/[core]/esx_multicharacter/locales/sr.lua +++ b/[core]/esx_multicharacter/locales/sr.lua @@ -30,4 +30,4 @@ Locales["sr"] = { ["charenabled"] = "Dozvolili ste karakter #%s od %s", ["chardisabled"] = "Zabranili ste karakter #%s od %s", ["charnotfound"] = "Karakter #%s od %s ne postoji", -} \ No newline at end of file +} diff --git a/[core]/esx_multicharacter/server/commands.lua b/[core]/esx_multicharacter/server/commands.lua index 10ff74ce..bd35aec4 100644 --- a/[core]/esx_multicharacter/server/commands.lua +++ b/[core]/esx_multicharacter/server/commands.lua @@ -1,13 +1,17 @@ ESX.RegisterCommand('setslots', 'admin', function(xPlayer, args) - MySQL.insert('INSERT INTO `multicharacter_slots` (`identifier`, `slots`) VALUES (?, ?) ON DUPLICATE KEY UPDATE `slots` = VALUES(`slots`)', { - args.identifier, - args.slots, - }) - xPlayer.triggerEvent('esx:showNotification', TranslateCap('slotsadd', args.slots, args.identifier)) -end, true, {help = TranslateCap('command_setslots'), validate = true, arguments = { - {name = 'identifier', help = TranslateCap('command_identifier'), type = 'string'}, - {name = 'slots', help = TranslateCap('command_slots'), type = 'number'} -}}) + MySQL.insert('INSERT INTO `multicharacter_slots` (`identifier`, `slots`) VALUES (?, ?) ON DUPLICATE KEY UPDATE `slots` = VALUES(`slots`)', { + args.identifier, + args.slots, + }) + xPlayer.triggerEvent('esx:showNotification', TranslateCap('slotsadd', args.slots, args.identifier)) +end, true, { + help = TranslateCap('command_setslots'), + validate = true, + arguments = { + { name = 'identifier', help = TranslateCap('command_identifier'), type = 'string' }, + { name = 'slots', help = TranslateCap('command_slots'), type = 'number' } + } +}) ESX.RegisterCommand('remslots', 'admin', function(xPlayer, args) local slots = MySQL.scalar.await('SELECT `slots` FROM `multicharacter_slots` WHERE identifier = ?', { @@ -20,14 +24,17 @@ ESX.RegisterCommand('remslots', 'admin', function(xPlayer, args) }) xPlayer.triggerEvent('esx:showNotification', TranslateCap('slotsrem', args.identifier)) end -end, true, {help = TranslateCap('command_remslots'), validate = true, arguments = { - {name = 'identifier', help = TranslateCap('command_identifier'), type = 'string'} -}}) +end, true, { + help = TranslateCap('command_remslots'), + validate = true, + arguments = { + { name = 'identifier', help = TranslateCap('command_identifier'), type = 'string' } + } +}) ESX.RegisterCommand('enablechar', 'admin', function(xPlayer, args) + local selectedCharacter = 'char' .. args.charslot .. ':' .. args.identifier; - local selectedCharacter = 'char'..args.charslot..':'..args.identifier; - MySQL.update('UPDATE `users` SET `disabled` = 0 WHERE identifier = ?', { selectedCharacter }, function(result) @@ -37,16 +44,18 @@ ESX.RegisterCommand('enablechar', 'admin', function(xPlayer, args) xPlayer.triggerEvent('esx:showNotification', TranslateCap('charnotfound', args.charslot, args.identifier)) end end) - -end, true, {help = TranslateCap('command_enablechar'), validate = true, arguments = { - {name = 'identifier', help = TranslateCap('command_identifier'), type = 'string'}, - {name = 'charslot', help = TranslateCap('command_charslot'), type = 'number'} -}}) +end, true, { + help = TranslateCap('command_enablechar'), + validate = true, + arguments = { + { name = 'identifier', help = TranslateCap('command_identifier'), type = 'string' }, + { name = 'charslot', help = TranslateCap('command_charslot'), type = 'number' } + } +}) ESX.RegisterCommand('disablechar', 'admin', function(xPlayer, args) + local selectedCharacter = 'char' .. args.charslot .. ':' .. args.identifier; - local selectedCharacter = 'char'..args.charslot..':'..args.identifier; - MySQL.update('UPDATE `users` SET `disabled` = 1 WHERE identifier = ?', { selectedCharacter }, function(result) @@ -56,12 +65,15 @@ ESX.RegisterCommand('disablechar', 'admin', function(xPlayer, args) xPlayer.triggerEvent('esx:showNotification', TranslateCap('charnotfound', args.charslot, args.identifier)) end end) - -end, true, {help = TranslateCap('command_disablechar'), validate = true, arguments = { - {name = 'identifier', help = TranslateCap('command_identifier'), type = 'string'}, - {name = 'charslot', help = TranslateCap('command_charslot'), type = 'number'} -}}) +end, true, { + help = TranslateCap('command_disablechar'), + validate = true, + arguments = { + { name = 'identifier', help = TranslateCap('command_identifier'), type = 'string' }, + { name = 'charslot', help = TranslateCap('command_charslot'), type = 'number' } + } +}) RegisterCommand('forcelog', function(source) TriggerEvent('esx:playerLogout', source) -end, true) \ No newline at end of file +end, true) diff --git a/[core]/esx_notify/Notify.lua b/[core]/esx_notify/Notify.lua index f1798c72..e2ab2644 100644 --- a/[core]/esx_notify/Notify.lua +++ b/[core]/esx_notify/Notify.lua @@ -4,11 +4,10 @@ local Debug = ESX.GetConfig().EnableDebug ---@param length number the length of the notification ---@param message any the message :D local function Notify(notificatonType, length, message) - if Debug then - print("1 ".. tostring(notificatonType)) - print("2 "..tostring(length)) - print("3 "..message) + print("1 " .. tostring(notificatonType)) + print("2 " .. tostring(length)) + print("3 " .. message) end if type(notificatonType) ~= "string" then @@ -20,9 +19,9 @@ local function Notify(notificatonType, length, message) end if Debug then - print("4 ".. tostring(notificatonType)) - print("5 "..tostring(length)) - print("6 "..message) + print("4 " .. tostring(notificatonType)) + print("5 " .. tostring(length)) + print("6 " .. message) end SendNuiMessage(json.encode({ @@ -56,4 +55,4 @@ if Debug then RegisterCommand("notify3", function() ESX.ShowNotification("You Did something ~r~WRONG~s~!", "error", 3000) end) -end \ No newline at end of file +end diff --git a/[core]/esx_notify/fxmanifest.lua b/[core]/esx_notify/fxmanifest.lua index 62fd6195..a8719b76 100644 --- a/[core]/esx_notify/fxmanifest.lua +++ b/[core]/esx_notify/fxmanifest.lua @@ -1,7 +1,7 @@ fx_version 'adamant' lua54 'yes' game 'gta5' -version '1.9.4' +version '1.9.5' author 'ESX-Framework' description 'Official NUI Notification system for ESX' diff --git a/[core]/esx_progressbar/Progress.lua b/[core]/esx_progressbar/Progress.lua index ab11bd24..abcffec7 100644 --- a/[core]/esx_progressbar/Progress.lua +++ b/[core]/esx_progressbar/Progress.lua @@ -1,6 +1,6 @@ local CurrentProgress = nil -local function Progressbar(message,length,Options) +local function Progressbar(message, length, Options) if CurrentProgress then return false end @@ -8,7 +8,7 @@ local function Progressbar(message,length,Options) if CurrentProgress.animation then if CurrentProgress.animation.type == "anim" then ESX.Streaming.RequestAnimDict(CurrentProgress.animation.dict, function() - TaskPlayAnim(ESX.PlayerData.ped, CurrentProgress.animation.dict, CurrentProgress.animation.lib, 1.0, 1.0, length, 1, 1.0, false,false,false) + TaskPlayAnim(ESX.PlayerData.ped, CurrentProgress.animation.dict, CurrentProgress.animation.lib, 1.0, 1.0, length, 1, 1.0, false, false, false) RemoveAnimDict(CurrentProgress.animation.dict) end) elseif CurrentProgress.animation.type == "Scenario" then diff --git a/[core]/esx_progressbar/fxmanifest.lua b/[core]/esx_progressbar/fxmanifest.lua index 0939b36f..5982fb01 100644 --- a/[core]/esx_progressbar/fxmanifest.lua +++ b/[core]/esx_progressbar/fxmanifest.lua @@ -2,7 +2,7 @@ fx_version 'adamant' game 'gta5' author 'ESX-Framework' lua54 'yes' -version '1.9.4' +version '1.9.5' description 'ESX Progressbar' client_scripts { 'Progress.lua' } diff --git a/[core]/esx_skin/client/main.lua b/[core]/esx_skin/client/main.lua index de5b919f..572692a7 100644 --- a/[core]/esx_skin/client/main.lua +++ b/[core]/esx_skin/client/main.lua @@ -23,7 +23,7 @@ function OpenMenu(submitCb, cancelCb, restrict) for i = 1, #components, 1 do local found = false - for j=1, #restrict, 1 do + for j = 1, #restrict, 1 do if components[i].name == restrict[j] then found = true end @@ -49,7 +49,7 @@ function OpenMenu(submitCb, cancelCb, restrict) value = value, min = _components[i].min, textureof = _components[i].textureof, - zoomOffset= _components[i].zoomOffset, + zoomOffset = _components[i].zoomOffset, camOffset = _components[i].camOffset, type = 'slider' } @@ -112,7 +112,7 @@ function OpenMenu(submitCb, cancelCb, restrict) newData.value = 0 end - menu.update({name = elements[i].name}, newData) + menu.update({ name = elements[i].name }, newData) end menu.refresh() @@ -161,16 +161,16 @@ CreateThread(function() DisableControlAction(0, 25, true) -- Input Aim DisableControlAction(0, 24, true) -- Input Attack - local playerPed = PlayerPedId() - local coords = GetEntityCoords(playerPed) + local playerPed = PlayerPedId() + local coords = GetEntityCoords(playerPed) - local angle = heading * math.pi / 180.0 - local theta = { + local angle = heading * math.pi / 180.0 + local theta = { x = math.cos(angle), y = math.sin(angle) } - local pos = { + local pos = { x = coords.x + (zoomOffset * theta.x), y = coords.y + (zoomOffset * theta.y) } @@ -224,7 +224,7 @@ CreateThread(function() heading = angle + 0.0 end - Wait(sleep) + Wait(sleep) end end) @@ -242,7 +242,6 @@ function OpenSaveableMenu(submitCb, cancelCb, restrict) submitCb(data, menu) end end) - end, cancelCb, restrict) end @@ -260,7 +259,7 @@ AddEventHandler('esx_skin:playerRegistered', function() if firstSpawn then ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin) if skin == nil then - TriggerEvent('skinchanger:loadSkin', {sex = 0}, OpenSaveableMenu) + TriggerEvent('skinchanger:loadSkin', { sex = 0 }, OpenSaveableMenu) Wait(100) else TriggerEvent('skinchanger:loadSkin', skin) diff --git a/[core]/esx_skin/fxmanifest.lua b/[core]/esx_skin/fxmanifest.lua index 58e5386c..2af52b09 100644 --- a/[core]/esx_skin/fxmanifest.lua +++ b/[core]/esx_skin/fxmanifest.lua @@ -4,7 +4,7 @@ game 'gta5' description 'ESX Skin' -version '1.9.4' +version '1.9.5' lua54 'yes' shared_script '@es_extended/imports.lua' diff --git a/[core]/esx_skin/locales/da.lua b/[core]/esx_skin/locales/da.lua index 3a1963a8..5d8c452f 100644 --- a/[core]/esx_skin/locales/da.lua +++ b/[core]/esx_skin/locales/da.lua @@ -3,4 +3,4 @@ Locales["da"] = { ["use_rotate_view"] = "brug ~INPUT_FRONTEND_LS~ og ~INPUT_CHARACTER_WHEEL~ for at dreje kameraet.", ["skin"] = "skift udseende", ["saveskin"] = "gem udseende til en fil", -} \ No newline at end of file +} diff --git a/[core]/esx_skin/locales/pt.lua b/[core]/esx_skin/locales/pt.lua index f35017f7..fdf5a8f7 100644 --- a/[core]/esx_skin/locales/pt.lua +++ b/[core]/esx_skin/locales/pt.lua @@ -1,6 +1,6 @@ Locales["pt"] = { - ["skin_menu"] = "Menu de Skin", - ["use_rotate_view"] = "Usa ~INPUT_FRONTEND_LS~ e ~INPUT_CHARACTER_WHEEL~ para rodar a câmara.", - ["skin"] = "alterar skin", - ["saveskin"] = "salvar a skin num ficheiro", - } + ["skin_menu"] = "Menu de Skin", + ["use_rotate_view"] = "Usa ~INPUT_FRONTEND_LS~ e ~INPUT_CHARACTER_WHEEL~ para rodar a câmara.", + ["skin"] = "alterar skin", + ["saveskin"] = "salvar a skin num ficheiro", +} diff --git a/[core]/esx_skin/locales/zh-cn.lua b/[core]/esx_skin/locales/zh-cn.lua index 858fce10..49d2f09e 100644 --- a/[core]/esx_skin/locales/zh-cn.lua +++ b/[core]/esx_skin/locales/zh-cn.lua @@ -1,6 +1,6 @@ Locales["zh-cn"] = { - ["skin_menu"] = "皮肤选单", - ["use_rotate_view"] = "使用 ~INPUT_FRONTEND_LS~ 和 ~INPUT_CHARACTER_WHEEL~ 旋转镜头视角.", - ["skin"] = "更换皮肤数据", - ["saveskin"] = "保存皮肤数据", - } + ["skin_menu"] = "皮肤选单", + ["use_rotate_view"] = "使用 ~INPUT_FRONTEND_LS~ 和 ~INPUT_CHARACTER_WHEEL~ 旋转镜头视角.", + ["skin"] = "更换皮肤数据", + ["saveskin"] = "保存皮肤数据", +} diff --git a/[core]/esx_skin/server/main.lua b/[core]/esx_skin/server/main.lua index 29d3da28..7528c8c2 100644 --- a/[core]/esx_skin/server/main.lua +++ b/[core]/esx_skin/server/main.lua @@ -21,18 +21,18 @@ end) RegisterServerEvent('esx_skin:setWeight') AddEventHandler('esx_skin:setWeight', function(skin) - local xPlayer = ESX.GetPlayerFromId(source) + local xPlayer = ESX.GetPlayerFromId(source) - if not ESX.GetConfig().OxInventory then - local defaultMaxWeight = ESX.GetConfig().MaxWeight - local backpackModifier = Config.BackpackWeight[skin.bags_1] + if not ESX.GetConfig().OxInventory then + local defaultMaxWeight = ESX.GetConfig().MaxWeight + local backpackModifier = Config.BackpackWeight[skin.bags_1] - if backpackModifier then - xPlayer.setMaxWeight(defaultMaxWeight + backpackModifier) - else - xPlayer.setMaxWeight(defaultMaxWeight) - end - end + if backpackModifier then + xPlayer.setMaxWeight(defaultMaxWeight + backpackModifier) + else + xPlayer.setMaxWeight(defaultMaxWeight) + end + end end) RegisterServerEvent('esx_skin:responseSaveSkin') @@ -73,8 +73,8 @@ end) ESX.RegisterCommand('skin', 'admin', function(xPlayer) xPlayer.triggerEvent('esx_skin:openSaveableMenu') -end, false, {help = TranslateCap('skin')}) +end, false, { help = TranslateCap('skin') }) ESX.RegisterCommand('skinsave', 'admin', function(xPlayer) xPlayer.triggerEvent('esx_skin:requestSaveSkin') -end, false, {help = TranslateCap('saveskin')}) +end, false, { help = TranslateCap('saveskin') }) diff --git a/[core]/esx_textui/TextUI.lua b/[core]/esx_textui/TextUI.lua index b70709f9..68aea84e 100644 --- a/[core]/esx_textui/TextUI.lua +++ b/[core]/esx_textui/TextUI.lua @@ -12,8 +12,8 @@ local function TextUI(message, typ) end local function HideUI() - if not isShowing then return end - isShowing = false + if not isShowing then return end + isShowing = false SendNUIMessage({ action = 'hide' }) diff --git a/[core]/esx_textui/fxmanifest.lua b/[core]/esx_textui/fxmanifest.lua index 54925025..3c276e99 100644 --- a/[core]/esx_textui/fxmanifest.lua +++ b/[core]/esx_textui/fxmanifest.lua @@ -1,7 +1,7 @@ fx_version 'adamant' game 'gta5' author 'ESX-Framework' -version '1.9.4' +version '1.9.5' description 'ESX TextUI' lua54 'yes' client_scripts { 'TextUI.lua' } diff --git a/[core]/skinchanger/client/main.lua b/[core]/skinchanger/client/main.lua index ea03d602..d19befd1 100644 --- a/[core]/skinchanger/client/main.lua +++ b/[core]/skinchanger/client/main.lua @@ -178,47 +178,47 @@ function ApplySkin(skin, clothes) SetPedHeadBlendData(playerPed, Character['mom'], Character['dad'], 0, Character['mom'], Character['dad'], 0, face_weight, skin_weight, 0.0, false) - SetPedFaceFeature(playerPed, 0, (Character['nose_1'] / 10) + 0.0) -- Nose Width - SetPedFaceFeature(playerPed, 1, (Character['nose_2'] / 10) + 0.0) -- Nose Peak Height - SetPedFaceFeature(playerPed, 2, (Character['nose_3'] / 10) + 0.0) -- Nose Peak Length - SetPedFaceFeature(playerPed, 3, (Character['nose_4'] / 10) + 0.0) -- Nose Bone Height - SetPedFaceFeature(playerPed, 4, (Character['nose_5'] / 10) + 0.0) -- Nose Peak Lowering - SetPedFaceFeature(playerPed, 5, (Character['nose_6'] / 10) + 0.0) -- Nose Bone Twist - SetPedFaceFeature(playerPed, 6, (Character['eyebrows_5'] / 10) + 0.0) -- Eyebrow height - SetPedFaceFeature(playerPed, 7, (Character['eyebrows_6'] / 10) + 0.0) -- Eyebrow depth - SetPedFaceFeature(playerPed, 8, (Character['cheeks_1'] / 10) + 0.0) -- Cheekbones Height - SetPedFaceFeature(playerPed, 9, (Character['cheeks_2'] / 10) + 0.0) -- Cheekbones Width - SetPedFaceFeature(playerPed, 10, (Character['cheeks_3'] / 10) + 0.0) -- Cheeks Width - SetPedFaceFeature(playerPed, 11, (Character['eye_squint'] / 10) + 0.0) -- Eyes squint - SetPedFaceFeature(playerPed, 12, (Character['lip_thickness'] / 10) + 0.0) -- Lip Fullness - SetPedFaceFeature(playerPed, 13, (Character['jaw_1'] / 10) + 0.0) -- Jaw Bone Width - SetPedFaceFeature(playerPed, 14, (Character['jaw_2'] / 10) + 0.0) -- Jaw Bone Length - SetPedFaceFeature(playerPed, 15, (Character['chin_1'] / 10) + 0.0) -- Chin Height - SetPedFaceFeature(playerPed, 16, (Character['chin_2'] / 10) + 0.0) -- Chin Length - SetPedFaceFeature(playerPed, 17, (Character['chin_3'] / 10) + 0.0) -- Chin Width - SetPedFaceFeature(playerPed, 18, (Character['chin_4'] / 10) + 0.0) -- Chin Hole Size - SetPedFaceFeature(playerPed, 19, (Character['neck_thickness'] / 10) + 0.0) -- Neck Thickness + SetPedFaceFeature(playerPed, 0, (Character['nose_1'] / 10) + 0.0) -- Nose Width + SetPedFaceFeature(playerPed, 1, (Character['nose_2'] / 10) + 0.0) -- Nose Peak Height + SetPedFaceFeature(playerPed, 2, (Character['nose_3'] / 10) + 0.0) -- Nose Peak Length + SetPedFaceFeature(playerPed, 3, (Character['nose_4'] / 10) + 0.0) -- Nose Bone Height + SetPedFaceFeature(playerPed, 4, (Character['nose_5'] / 10) + 0.0) -- Nose Peak Lowering + SetPedFaceFeature(playerPed, 5, (Character['nose_6'] / 10) + 0.0) -- Nose Bone Twist + SetPedFaceFeature(playerPed, 6, (Character['eyebrows_5'] / 10) + 0.0) -- Eyebrow height + SetPedFaceFeature(playerPed, 7, (Character['eyebrows_6'] / 10) + 0.0) -- Eyebrow depth + SetPedFaceFeature(playerPed, 8, (Character['cheeks_1'] / 10) + 0.0) -- Cheekbones Height + SetPedFaceFeature(playerPed, 9, (Character['cheeks_2'] / 10) + 0.0) -- Cheekbones Width + SetPedFaceFeature(playerPed, 10, (Character['cheeks_3'] / 10) + 0.0) -- Cheeks Width + SetPedFaceFeature(playerPed, 11, (Character['eye_squint'] / 10) + 0.0) -- Eyes squint + SetPedFaceFeature(playerPed, 12, (Character['lip_thickness'] / 10) + 0.0) -- Lip Fullness + SetPedFaceFeature(playerPed, 13, (Character['jaw_1'] / 10) + 0.0) -- Jaw Bone Width + SetPedFaceFeature(playerPed, 14, (Character['jaw_2'] / 10) + 0.0) -- Jaw Bone Length + SetPedFaceFeature(playerPed, 15, (Character['chin_1'] / 10) + 0.0) -- Chin Height + SetPedFaceFeature(playerPed, 16, (Character['chin_2'] / 10) + 0.0) -- Chin Length + SetPedFaceFeature(playerPed, 17, (Character['chin_3'] / 10) + 0.0) -- Chin Width + SetPedFaceFeature(playerPed, 18, (Character['chin_4'] / 10) + 0.0) -- Chin Hole Size + SetPedFaceFeature(playerPed, 19, (Character['neck_thickness'] / 10) + 0.0) -- Neck Thickness - SetPedHairColor(playerPed, Character['hair_color_1'], Character['hair_color_2']) -- Hair Color - SetPedHeadOverlay(playerPed, 3, Character['age_1'], (Character['age_2'] / 10) + 0.0) -- Age + opacity - SetPedHeadOverlay(playerPed, 0, Character['blemishes_1'], (Character['blemishes_2'] / 10) + 0.0) -- Blemishes + opacity - SetPedHeadOverlay(playerPed, 1, Character['beard_1'], (Character['beard_2'] / 10) + 0.0) -- Beard + opacity - SetPedEyeColor(playerPed, Character['eye_color']) -- Eyes color - SetPedHeadOverlay(playerPed, 2, Character['eyebrows_1'], (Character['eyebrows_2'] / 10) + 0.0) -- Eyebrows + opacity - SetPedHeadOverlay(playerPed, 4, Character['makeup_1'], (Character['makeup_2'] / 10) + 0.0) -- Makeup + opacity - SetPedHeadOverlay(playerPed, 8, Character['lipstick_1'], (Character['lipstick_2'] / 10) + 0.0) -- Lipstick + opacity - SetPedComponentVariation(playerPed, 2, Character['hair_1'], Character['hair_2'], 2) -- Hair - SetPedHeadOverlayColor(playerPed, 1, 1, Character['beard_3'], Character['beard_4']) -- Beard Color - SetPedHeadOverlayColor(playerPed, 2, 1, Character['eyebrows_3'], Character['eyebrows_4']) -- Eyebrows Color - SetPedHeadOverlayColor(playerPed, 4, 2, Character['makeup_3'], Character['makeup_4']) -- Makeup Color - SetPedHeadOverlayColor(playerPed, 8, 1, Character['lipstick_3'], Character['lipstick_4']) -- Lipstick Color - SetPedHeadOverlay(playerPed, 5, Character['blush_1'], (Character['blush_2'] / 10) + 0.0) -- Blush + opacity - SetPedHeadOverlayColor(playerPed, 5, 2, Character['blush_3']) -- Blush Color + SetPedHairColor(playerPed, Character['hair_color_1'], Character['hair_color_2']) -- Hair Color + SetPedHeadOverlay(playerPed, 3, Character['age_1'], (Character['age_2'] / 10) + 0.0) -- Age + opacity + SetPedHeadOverlay(playerPed, 0, Character['blemishes_1'], (Character['blemishes_2'] / 10) + 0.0) -- Blemishes + opacity + SetPedHeadOverlay(playerPed, 1, Character['beard_1'], (Character['beard_2'] / 10) + 0.0) -- Beard + opacity + SetPedEyeColor(playerPed, Character['eye_color']) -- Eyes color + SetPedHeadOverlay(playerPed, 2, Character['eyebrows_1'], (Character['eyebrows_2'] / 10) + 0.0) -- Eyebrows + opacity + SetPedHeadOverlay(playerPed, 4, Character['makeup_1'], (Character['makeup_2'] / 10) + 0.0) -- Makeup + opacity + SetPedHeadOverlay(playerPed, 8, Character['lipstick_1'], (Character['lipstick_2'] / 10) + 0.0) -- Lipstick + opacity + SetPedComponentVariation(playerPed, 2, Character['hair_1'], Character['hair_2'], 2) -- Hair + SetPedHeadOverlayColor(playerPed, 1, 1, Character['beard_3'], Character['beard_4']) -- Beard Color + SetPedHeadOverlayColor(playerPed, 2, 1, Character['eyebrows_3'], Character['eyebrows_4']) -- Eyebrows Color + SetPedHeadOverlayColor(playerPed, 4, 2, Character['makeup_3'], Character['makeup_4']) -- Makeup Color + SetPedHeadOverlayColor(playerPed, 8, 1, Character['lipstick_3'], Character['lipstick_4']) -- Lipstick Color + SetPedHeadOverlay(playerPed, 5, Character['blush_1'], (Character['blush_2'] / 10) + 0.0) -- Blush + opacity + SetPedHeadOverlayColor(playerPed, 5, 2, Character['blush_3']) -- Blush Color SetPedHeadOverlay(playerPed, 6, Character['complexion_1'], (Character['complexion_2'] / 10) + 0.0) -- Complexion + opacity - SetPedHeadOverlay(playerPed, 7, Character['sun_1'], (Character['sun_2'] / 10) + 0.0) -- Sun Damage + opacity - SetPedHeadOverlay(playerPed, 9, Character['moles_1'], (Character['moles_2'] / 10) + 0.0) -- Moles/Freckles + opacity - SetPedHeadOverlay(playerPed, 10, Character['chest_1'], (Character['chest_2'] / 10) + 0.0) -- Chest Hair + opacity - SetPedHeadOverlayColor(playerPed, 10, 1, Character['chest_3']) -- Torso Color + SetPedHeadOverlay(playerPed, 7, Character['sun_1'], (Character['sun_2'] / 10) + 0.0) -- Sun Damage + opacity + SetPedHeadOverlay(playerPed, 9, Character['moles_1'], (Character['moles_2'] / 10) + 0.0) -- Moles/Freckles + opacity + SetPedHeadOverlay(playerPed, 10, Character['chest_1'], (Character['chest_2'] / 10) + 0.0) -- Chest Hair + opacity + SetPedHeadOverlayColor(playerPed, 10, 1, Character['chest_3']) -- Torso Color if Character['bodyb_1'] == -1 then SetPedHeadOverlay(playerPed, 11, 255, (Character['bodyb_2'] / 10) + 0.0) -- Body Blemishes + opacity @@ -238,16 +238,16 @@ function ApplySkin(skin, clothes) SetPedPropIndex(playerPed, 2, Character['ears_1'], Character['ears_2'], 2) -- Ears Accessories end - SetPedComponentVariation(playerPed, 8, Character['tshirt_1'], Character['tshirt_2'], 2) -- Tshirt - SetPedComponentVariation(playerPed, 11, Character['torso_1'], Character['torso_2'], 2) -- torso parts - SetPedComponentVariation(playerPed, 3, Character['arms'], Character['arms_2'], 2) -- Arms + SetPedComponentVariation(playerPed, 8, Character['tshirt_1'], Character['tshirt_2'], 2) -- Tshirt + SetPedComponentVariation(playerPed, 11, Character['torso_1'], Character['torso_2'], 2) -- torso parts + SetPedComponentVariation(playerPed, 3, Character['arms'], Character['arms_2'], 2) -- Arms SetPedComponentVariation(playerPed, 10, Character['decals_1'], Character['decals_2'], 2) -- decals - SetPedComponentVariation(playerPed, 4, Character['pants_1'], Character['pants_2'], 2) -- pants - SetPedComponentVariation(playerPed, 6, Character['shoes_1'], Character['shoes_2'], 2) -- shoes - SetPedComponentVariation(playerPed, 1, Character['mask_1'], Character['mask_2'], 2) -- mask - SetPedComponentVariation(playerPed, 9, Character['bproof_1'], Character['bproof_2'], 2) -- bulletproof - SetPedComponentVariation(playerPed, 7, Character['chain_1'], Character['chain_2'], 2) -- chain - SetPedComponentVariation(playerPed, 5, Character['bags_1'], Character['bags_2'], 2) -- Bag + SetPedComponentVariation(playerPed, 4, Character['pants_1'], Character['pants_2'], 2) -- pants + SetPedComponentVariation(playerPed, 6, Character['shoes_1'], Character['shoes_2'], 2) -- shoes + SetPedComponentVariation(playerPed, 1, Character['mask_1'], Character['mask_2'], 2) -- mask + SetPedComponentVariation(playerPed, 9, Character['bproof_1'], Character['bproof_2'], 2) -- bulletproof + SetPedComponentVariation(playerPed, 7, Character['chain_1'], Character['chain_2'], 2) -- chain + SetPedComponentVariation(playerPed, 5, Character['bags_1'], Character['bags_2'], 2) -- Bag if Character['helmet_1'] == -1 then ClearPedProp(playerPed, 0) diff --git a/[core]/skinchanger/config.lua b/[core]/skinchanger/config.lua index ee7c4f33..02e5715d 100644 --- a/[core]/skinchanger/config.lua +++ b/[core]/skinchanger/config.lua @@ -2,7 +2,7 @@ Config = {} Config.Locale = GetConvar('esx:locale', 'en') -Config.Components = {{ +Config.Components = { { label = TranslateCap('sex'), name = 'sex', value = 0, @@ -702,4 +702,4 @@ Config.Components = {{ min = 0, zoomOffset = 0.4, camOffset = 0.65 -}} +} } diff --git a/[core]/skinchanger/fxmanifest.lua b/[core]/skinchanger/fxmanifest.lua index abd1ca5a..b10e3fb3 100644 --- a/[core]/skinchanger/fxmanifest.lua +++ b/[core]/skinchanger/fxmanifest.lua @@ -6,7 +6,7 @@ lua54 'yes' description 'Official ESX-Legacy resource for handling the Player`s Skin' -version '1.9.4' +version '1.9.5' client_scripts { '@es_extended/locale.lua', diff --git a/[core]/skinchanger/locales/da.lua b/[core]/skinchanger/locales/da.lua index 6a5e85c6..ab6d6c93 100644 --- a/[core]/skinchanger/locales/da.lua +++ b/[core]/skinchanger/locales/da.lua @@ -97,4 +97,4 @@ Locales["da"] = { ["bodyb_size"] = "krops pletter tykkelse", ["bodyb_extra"] = "pletter kropseffekt", ["bodyb_extra_thickness"] = "pletter kropseffekt tykkelse", -} \ No newline at end of file +} diff --git a/[core]/skinchanger/locales/fi.lua b/[core]/skinchanger/locales/fi.lua index 7b902c97..bf3bbe59 100644 --- a/[core]/skinchanger/locales/fi.lua +++ b/[core]/skinchanger/locales/fi.lua @@ -56,7 +56,7 @@ Locales["fi"] = { ["bag"] = "Reput", ["bag_color"] = "Repun väri", ["blemishes"] = "Pisamat", - ["blemishes_size"]= "Pisamien vahvuus", + ["blemishes_size"] = "Pisamien vahvuus", ["ageing"] = "Ikääntyminen", ["ageing_1"] = "Ikääntyminen vahvuus", ["blush"] = "Punastuminen", diff --git a/[core]/skinchanger/locales/nl.lua b/[core]/skinchanger/locales/nl.lua index 432940c0..a371fada 100644 --- a/[core]/skinchanger/locales/nl.lua +++ b/[core]/skinchanger/locales/nl.lua @@ -1,100 +1,100 @@ Locales["nl"] = { - ["sex"] = "geslacht", - ["mom"] = "gezicht moeder", - ["dad"] = "gezicht vader", - ["resemblance"] = "gelijkenis", - ["skin_tone"] = "huidskleur", - ["nose_1"] = "neusbreedte", - ["nose_2"] = "neuspiek hoogte", - ["nose_3"] = "neuspiek lengte", - ["nose_4"] = "neusbeen hoogte", - ["nose_5"] = "neusbeen verlaging", - ["nose_6"] = "neusbeen verdraaiing", - ["cheeks_1"] = "jukbeenderen hoogte", - ["cheeks_2"] = "jukbeenderen breedte", - ["cheeks_3"] = "wangen breedte", - ["lip_fullness"] = "lipvolheid", - ["jaw_bone_width"] = "kaakbeen breedte", - ["jaw_bone_length"] = "kaakbeen lengte", - ["chin_height"] = "kin hoogte", - ["chin_length"] = "kin lengte", - ["chin_width"] = "kin breedte", - ["chin_hole"] = "grootte van het kin-gat", - ["neck_thickness"] = "nek dikte", - ["wrinkles"] = "rimpels", - ["wrinkle_thickness"] = "rimpels dikte", - ["beard_type"] = "baard type", - ["beard_size"] = "baard grootte", - ["beard_color_1"] = "baard kleur 1", - ["beard_color_2"] = "baard kleur 2", - ["hair_1"] = "haar 1", - ["hair_2"] = "haar 2", - ["hair_color_1"] = "haar kleur 1", - ["hair_color_2"] = "haar kleur 2", - ["eye_color"] = "oogkleur", - ["eye_squint"] = "oog scheelte", - ["eyebrow_type"] = "wenkbrauw type", - ["eyebrow_size"] = "wenkbrauw formaat", - ["eyebrow_color_1"] = "wenkbrauw kleur 1", - ["eyebrow_color_2"] = "wenkbrauw kleur 2", - ["eyebrow_depth"] = "wenkbrauw diepte", - ["eyebrow_height"] = "wenkbrauw hoogte", - ["makeup_type"] = "makeup type", - ["makeup_thickness"] = "makeup dikte", - ["makeup_color_1"] = "makeup kleur 1", - ["makeup_color_2"] = "makeup kleur 2", - ["lipstick_type"] = "lippenstift type", - ["lipstick_thickness"] = "lippenstift dikte", - ["lipstick_color_1"] = "lippenstift kleur 1", - ["lipstick_color_2"] = "lippenstift kleur 2", - ["ear_accessories"] = "ooraccessoires", - ["ear_accessories_color"] = "ooraccessoires kleur", - ["tshirt_1"] = "t-shirt 1", - ["tshirt_2"] = "t-shirt 2", - ["torso_1"] = "vest 1", - ["torso_2"] = "vest 2", - ["decals_1"] = "stickers 1", - ["decals_2"] = "stickers 2", - ["arms"] = "armen", - ["arms_2"] = "armen 2", - ["pants_1"] = "broek 1", - ["pants_2"] = "broek 2", - ["shoes_1"] = "shoenen 1", - ["shoes_2"] = "shoenen 2", - ["mask_1"] = "masker 1", - ["mask_2"] = "masker 2", - ["bproof_1"] = "kogelvrij vest 1", - ["bproof_2"] = "kogelvrij vest 2", - ["chain_1"] = "ketting 1", - ["chain_2"] = "ketting 2", - ["helmet_1"] = "helm 1", - ["helmet_2"] = "helm 2", - ["watches_1"] = "horloge 1", - ["watches_2"] = "horloge 2", - ["bracelets_1"] = "armband(en) 1", - ["bracelets_2"] = "armband(en) 2", - ["glasses_1"] = "bril 1", - ["glasses_2"] = "bril 2", - ["bag"] = "rugzak", - ["bag_color"] = "rugzak kleur", - ["blemishes"] = "vlekken", - ["blemishes_size"] = "vlekken dikte", - ["ageing"] = "veroudering", - ["ageing_1"] = "veroudering zichtbaarheid", - ["blush"] = "blozen", - ["blush_1"] = "blozen zichtbaarheid", - ["blush_color"] = "blozen kleur", - ["complexion"] = "gelaatskleur", - ["complexion_1"] = "gelaatskleur 1", - ["sun"] = "zon", - ["sun_1"] = "zon dikte", - ["freckles"] = "sproeten", - ["freckles_1"] = "sproeten dikte", - ["chest_hair"] = "borsthaar", - ["chest_hair_1"] = "borsthaar dikte", - ["chest_color"] = "borsthaar kleur", - ["bodyb"] = "lichaamsvlekken", - ["bodyb_size"] = "lichaamsvlekken zichtbaarheid", - ["bodyb_extra"] = "lichaamsvlekken effect", - ["bodyb_extra_thickness"] = "lichaamsvlekken effect zichtbaarheid", - } + ["sex"] = "geslacht", + ["mom"] = "gezicht moeder", + ["dad"] = "gezicht vader", + ["resemblance"] = "gelijkenis", + ["skin_tone"] = "huidskleur", + ["nose_1"] = "neusbreedte", + ["nose_2"] = "neuspiek hoogte", + ["nose_3"] = "neuspiek lengte", + ["nose_4"] = "neusbeen hoogte", + ["nose_5"] = "neusbeen verlaging", + ["nose_6"] = "neusbeen verdraaiing", + ["cheeks_1"] = "jukbeenderen hoogte", + ["cheeks_2"] = "jukbeenderen breedte", + ["cheeks_3"] = "wangen breedte", + ["lip_fullness"] = "lipvolheid", + ["jaw_bone_width"] = "kaakbeen breedte", + ["jaw_bone_length"] = "kaakbeen lengte", + ["chin_height"] = "kin hoogte", + ["chin_length"] = "kin lengte", + ["chin_width"] = "kin breedte", + ["chin_hole"] = "grootte van het kin-gat", + ["neck_thickness"] = "nek dikte", + ["wrinkles"] = "rimpels", + ["wrinkle_thickness"] = "rimpels dikte", + ["beard_type"] = "baard type", + ["beard_size"] = "baard grootte", + ["beard_color_1"] = "baard kleur 1", + ["beard_color_2"] = "baard kleur 2", + ["hair_1"] = "haar 1", + ["hair_2"] = "haar 2", + ["hair_color_1"] = "haar kleur 1", + ["hair_color_2"] = "haar kleur 2", + ["eye_color"] = "oogkleur", + ["eye_squint"] = "oog scheelte", + ["eyebrow_type"] = "wenkbrauw type", + ["eyebrow_size"] = "wenkbrauw formaat", + ["eyebrow_color_1"] = "wenkbrauw kleur 1", + ["eyebrow_color_2"] = "wenkbrauw kleur 2", + ["eyebrow_depth"] = "wenkbrauw diepte", + ["eyebrow_height"] = "wenkbrauw hoogte", + ["makeup_type"] = "makeup type", + ["makeup_thickness"] = "makeup dikte", + ["makeup_color_1"] = "makeup kleur 1", + ["makeup_color_2"] = "makeup kleur 2", + ["lipstick_type"] = "lippenstift type", + ["lipstick_thickness"] = "lippenstift dikte", + ["lipstick_color_1"] = "lippenstift kleur 1", + ["lipstick_color_2"] = "lippenstift kleur 2", + ["ear_accessories"] = "ooraccessoires", + ["ear_accessories_color"] = "ooraccessoires kleur", + ["tshirt_1"] = "t-shirt 1", + ["tshirt_2"] = "t-shirt 2", + ["torso_1"] = "vest 1", + ["torso_2"] = "vest 2", + ["decals_1"] = "stickers 1", + ["decals_2"] = "stickers 2", + ["arms"] = "armen", + ["arms_2"] = "armen 2", + ["pants_1"] = "broek 1", + ["pants_2"] = "broek 2", + ["shoes_1"] = "shoenen 1", + ["shoes_2"] = "shoenen 2", + ["mask_1"] = "masker 1", + ["mask_2"] = "masker 2", + ["bproof_1"] = "kogelvrij vest 1", + ["bproof_2"] = "kogelvrij vest 2", + ["chain_1"] = "ketting 1", + ["chain_2"] = "ketting 2", + ["helmet_1"] = "helm 1", + ["helmet_2"] = "helm 2", + ["watches_1"] = "horloge 1", + ["watches_2"] = "horloge 2", + ["bracelets_1"] = "armband(en) 1", + ["bracelets_2"] = "armband(en) 2", + ["glasses_1"] = "bril 1", + ["glasses_2"] = "bril 2", + ["bag"] = "rugzak", + ["bag_color"] = "rugzak kleur", + ["blemishes"] = "vlekken", + ["blemishes_size"] = "vlekken dikte", + ["ageing"] = "veroudering", + ["ageing_1"] = "veroudering zichtbaarheid", + ["blush"] = "blozen", + ["blush_1"] = "blozen zichtbaarheid", + ["blush_color"] = "blozen kleur", + ["complexion"] = "gelaatskleur", + ["complexion_1"] = "gelaatskleur 1", + ["sun"] = "zon", + ["sun_1"] = "zon dikte", + ["freckles"] = "sproeten", + ["freckles_1"] = "sproeten dikte", + ["chest_hair"] = "borsthaar", + ["chest_hair_1"] = "borsthaar dikte", + ["chest_color"] = "borsthaar kleur", + ["bodyb"] = "lichaamsvlekken", + ["bodyb_size"] = "lichaamsvlekken zichtbaarheid", + ["bodyb_extra"] = "lichaamsvlekken effect", + ["bodyb_extra_thickness"] = "lichaamsvlekken effect zichtbaarheid", +} diff --git a/[core]/skinchanger/locales/pl.lua b/[core]/skinchanger/locales/pl.lua index cd7f5cb0..b8cf29b1 100644 --- a/[core]/skinchanger/locales/pl.lua +++ b/[core]/skinchanger/locales/pl.lua @@ -80,7 +80,7 @@ Locales["pl"] = { ["bag"] = "torba", ["bag_color"] = "kolor torby", ["blemishes"] = "skazy", - ["blemishes_size"]= "wielkość skaz", + ["blemishes_size"] = "wielkość skaz", ["ageing"] = "starzenie", ["ageing_1"] = "wielkość starzenia", ["blush"] = "rumieńce", diff --git a/[core]/skinchanger/locales/pt.lua b/[core]/skinchanger/locales/pt.lua index 268c2373..32592146 100644 --- a/[core]/skinchanger/locales/pt.lua +++ b/[core]/skinchanger/locales/pt.lua @@ -1,100 +1,100 @@ Locales["pt"] = { - ["sex"] = "sexo", - ["mom"] = "cara da mãe", - ["dad"] = "cara do pai", - ["resemblance"] = "semelhanças", - ["skin_tone"] = "tom de pele", - ["nose_1"] = "largura do nariz", - ["nose_2"] = "altura da ponta do nariz", - ["nose_3"] = "tamanho da ponta do nariz", - ["nose_4"] = "altura do nariz", - ["nose_5"] = "reduzir ponta do nariz", - ["nose_6"] = "torcer o nariz", - ["cheeks_1"] = "altura das maçãs do rosto", - ["cheeks_2"] = "largura das maçãs do rosto", - ["cheeks_3"] = "largura das bochechas", - ["lip_fullness"] = "preenchimento labial", - ["jaw_bone_width"] = "largura do maxilar", - ["jaw_bone_length"] = "comprimento do maxilar", - ["chin_height"] = "altura do queixo", - ["chin_length"] = "comprimento do queixo", - ["chin_width"] = "largura do queixo", - ["chin_hole"] = "tamanho do buraco do queixo", - ["neck_thickness"] = "espessura do pescoço", - ["wrinkles"] = "rugas", - ["wrinkle_thickness"] = "espessura das rugas", - ["beard_type"] = "tipo de barba", - ["beard_size"] = "tamanho da barba", - ["beard_color_1"] = "cor da barba 1", - ["beard_color_2"] = "cor da barba 2", - ["hair_1"] = "cabelo 1", - ["hair_2"] = "cabelo 2", - ["hair_color_1"] = "cor do cabelo 1", - ["hair_color_2"] = "cor do cabelo 2", - ["eye_color"] = "cor dos olhos", - ["eye_squint"] = "estrabismo", - ["eyebrow_type"] = "tipo de sobrancelha", - ["eyebrow_size"] = "tamanho da sobrancelha", - ["eyebrow_color_1"] = "cor da sobrancelha 1", - ["eyebrow_color_2"] = "cor da sobrancelha 2", - ["eyebrow_depth"] = "profundidade da sobrancelha", - ["eyebrow_height"] = "altura da sobrancelha", - ["makeup_type"] = "tipo de maquiagem", - ["makeup_thickness"] = "espessura da maquiagem", - ["makeup_color_1"] = "cor da maquiagem 1", - ["makeup_color_2"] = "cor da maquiagem 2", - ["lipstick_type"] = "tipo de batom", - ["lipstick_thickness"] = "espessura do batom", - ["lipstick_color_1"] = "cor do batom 1", - ["lipstick_color_2"] = "cor do batom 2", - ["ear_accessories"] = "acessórios de ouvido", - ["ear_accessories_color"] = "cor dos acessórios de ouvido", - ["tshirt_1"] = "t-Shirt 1", - ["tshirt_2"] = "t-Shirt 2", - ["torso_1"] = "casaco 1", - ["torso_2"] = "casaco 2", - ["decals_1"] = "autocolantes 1", - ["decals_2"] = "autocolantes 2", - ["arms"] = "braços", - ["arms_2"] = "braços 2", - ["pants_1"] = "calças 1", - ["pants_2"] = "calças 2", - ["shoes_1"] = "sapatos 1", - ["shoes_2"] = "sapatos 2", - ["mask_1"] = "máscara 1", - ["mask_2"] = "máscara 2", - ["bproof_1"] = "colete 1", - ["bproof_2"] = "colete 2", - ["chain_1"] = "colar 1", - ["chain_2"] = "colar 2", - ["helmet_1"] = "capacete 1", - ["helmet_2"] = "capacete 2", - ["watches_1"] = "relógio 1", - ["watches_2"] = "relógio 2", - ["bracelets_1"] = "pulseiras 1", - ["bracelets_2"] = "pulseiras 2", - ["glasses_1"] = "óculos 1", - ["glasses_2"] = "óculos 2", - ["bag"] = "mochila", - ["bag_color"] = "cor da mochila", - ["blemishes"] = "manchas", - ["blemishes_size"] = "espessura de manchas", - ["ageing"] = "envelhecimento", - ["ageing_1"] = "espessura de envelhecimento", - ["blush"] = "corar", - ["blush_1"] = "espessura do blush", - ["blush_color"] = "cor de blush", - ["complexion"] = "aparência", - ["complexion_1"] = "aparência 2", - ["sun"] = "sol", - ["sun_1"] = "espessura do sol", - ["freckles"] = "sardas", - ["freckles_1"] = "espessura das sardas", - ["chest_hair"] = "pelos no peito", - ["chest_hair_1"] = "espessura dos pelos do peito", - ["chest_color"] = "cor dos pelos dos peitos", - ["bodyb"] = "manchas no corpo", - ["bodyb_size"] = "espessura das manchas no corpo", - ["bodyb_extra"] = "extra das manchas no corpo", - ["bodyb_extra_thickness"] = "cor do extra das manchas no corpo", - } + ["sex"] = "sexo", + ["mom"] = "cara da mãe", + ["dad"] = "cara do pai", + ["resemblance"] = "semelhanças", + ["skin_tone"] = "tom de pele", + ["nose_1"] = "largura do nariz", + ["nose_2"] = "altura da ponta do nariz", + ["nose_3"] = "tamanho da ponta do nariz", + ["nose_4"] = "altura do nariz", + ["nose_5"] = "reduzir ponta do nariz", + ["nose_6"] = "torcer o nariz", + ["cheeks_1"] = "altura das maçãs do rosto", + ["cheeks_2"] = "largura das maçãs do rosto", + ["cheeks_3"] = "largura das bochechas", + ["lip_fullness"] = "preenchimento labial", + ["jaw_bone_width"] = "largura do maxilar", + ["jaw_bone_length"] = "comprimento do maxilar", + ["chin_height"] = "altura do queixo", + ["chin_length"] = "comprimento do queixo", + ["chin_width"] = "largura do queixo", + ["chin_hole"] = "tamanho do buraco do queixo", + ["neck_thickness"] = "espessura do pescoço", + ["wrinkles"] = "rugas", + ["wrinkle_thickness"] = "espessura das rugas", + ["beard_type"] = "tipo de barba", + ["beard_size"] = "tamanho da barba", + ["beard_color_1"] = "cor da barba 1", + ["beard_color_2"] = "cor da barba 2", + ["hair_1"] = "cabelo 1", + ["hair_2"] = "cabelo 2", + ["hair_color_1"] = "cor do cabelo 1", + ["hair_color_2"] = "cor do cabelo 2", + ["eye_color"] = "cor dos olhos", + ["eye_squint"] = "estrabismo", + ["eyebrow_type"] = "tipo de sobrancelha", + ["eyebrow_size"] = "tamanho da sobrancelha", + ["eyebrow_color_1"] = "cor da sobrancelha 1", + ["eyebrow_color_2"] = "cor da sobrancelha 2", + ["eyebrow_depth"] = "profundidade da sobrancelha", + ["eyebrow_height"] = "altura da sobrancelha", + ["makeup_type"] = "tipo de maquiagem", + ["makeup_thickness"] = "espessura da maquiagem", + ["makeup_color_1"] = "cor da maquiagem 1", + ["makeup_color_2"] = "cor da maquiagem 2", + ["lipstick_type"] = "tipo de batom", + ["lipstick_thickness"] = "espessura do batom", + ["lipstick_color_1"] = "cor do batom 1", + ["lipstick_color_2"] = "cor do batom 2", + ["ear_accessories"] = "acessórios de ouvido", + ["ear_accessories_color"] = "cor dos acessórios de ouvido", + ["tshirt_1"] = "t-Shirt 1", + ["tshirt_2"] = "t-Shirt 2", + ["torso_1"] = "casaco 1", + ["torso_2"] = "casaco 2", + ["decals_1"] = "autocolantes 1", + ["decals_2"] = "autocolantes 2", + ["arms"] = "braços", + ["arms_2"] = "braços 2", + ["pants_1"] = "calças 1", + ["pants_2"] = "calças 2", + ["shoes_1"] = "sapatos 1", + ["shoes_2"] = "sapatos 2", + ["mask_1"] = "máscara 1", + ["mask_2"] = "máscara 2", + ["bproof_1"] = "colete 1", + ["bproof_2"] = "colete 2", + ["chain_1"] = "colar 1", + ["chain_2"] = "colar 2", + ["helmet_1"] = "capacete 1", + ["helmet_2"] = "capacete 2", + ["watches_1"] = "relógio 1", + ["watches_2"] = "relógio 2", + ["bracelets_1"] = "pulseiras 1", + ["bracelets_2"] = "pulseiras 2", + ["glasses_1"] = "óculos 1", + ["glasses_2"] = "óculos 2", + ["bag"] = "mochila", + ["bag_color"] = "cor da mochila", + ["blemishes"] = "manchas", + ["blemishes_size"] = "espessura de manchas", + ["ageing"] = "envelhecimento", + ["ageing_1"] = "espessura de envelhecimento", + ["blush"] = "corar", + ["blush_1"] = "espessura do blush", + ["blush_color"] = "cor de blush", + ["complexion"] = "aparência", + ["complexion_1"] = "aparência 2", + ["sun"] = "sol", + ["sun_1"] = "espessura do sol", + ["freckles"] = "sardas", + ["freckles_1"] = "espessura das sardas", + ["chest_hair"] = "pelos no peito", + ["chest_hair_1"] = "espessura dos pelos do peito", + ["chest_color"] = "cor dos pelos dos peitos", + ["bodyb"] = "manchas no corpo", + ["bodyb_size"] = "espessura das manchas no corpo", + ["bodyb_extra"] = "extra das manchas no corpo", + ["bodyb_extra_thickness"] = "cor do extra das manchas no corpo", +} From 3087ca18f55c943b74223f41821c171db5421944 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 29 Jun 2023 22:46:03 +0200 Subject: [PATCH 208/236] fix(license): "Newest version" --- LICENSE | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index c99ad3e4..6977f644 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found. GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see -. +. The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. \ No newline at end of file +. From 684faffdc9cc4799775076d024b343b539a65625 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 29 Jun 2023 22:58:08 +0200 Subject: [PATCH 209/236] refactor(es_extended/config.lua): Remove default ESX Plates --- [core]/es_extended/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/config.lua b/[core]/es_extended/config.lua index 7f0c7989..6bafa027 100644 --- a/[core]/es_extended/config.lua +++ b/[core]/es_extended/config.lua @@ -83,7 +83,7 @@ Config.RemoveHudCommonents = { } Config.SpawnVehMaxUpgrades = true -- admin vehicles spawn with max vehcle settings -Config.CustomAIPlates = 'ESX.A111' -- Custom plates for AI vehicles +Config.CustomAIPlates = '........' -- Custom plates for AI vehicles -- Pattern string format --1 will lead to a random number from 0-9. --A will lead to a random letter from A-Z. From 7294fe9b4e2e7fc4e8cc1bd826def4b2f3f6da3a Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 29 Jun 2023 23:09:15 +0200 Subject: [PATCH 210/236] fix(player.lua): Change v.itemName --- [core]/es_extended/server/classes/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/classes/player.lua b/[core]/es_extended/server/classes/player.lua index a3ee47f5..52b72225 100644 --- a/[core]/es_extended/server/classes/player.lua +++ b/[core]/es_extended/server/classes/player.lua @@ -256,7 +256,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory, function self.getInventoryItem(itemName) for _, v in ipairs(self.inventory) do - if v.itemName == itemName then + if v.name == itemName then return v end end From dade5079cb0f6ad5cd31359f61ef0bab88cee778 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 29 Jun 2023 23:15:37 +0200 Subject: [PATCH 211/236] Update bug_report.md --- .github/ISSUE_TEMPLATE/bug_report.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 8e1786f5..db7c127d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -3,7 +3,9 @@ name: Bug report about: Create a report to help us improve title: "[Bug] - esx_script - Issue" labels: bug -assignees: Benzo00 +assignees: + - TheFantomas + - Gellipapa --- From 2da76832aa5d5edff6e40f269f3ddf03ddbd3d3f Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Thu, 29 Jun 2023 23:15:48 +0200 Subject: [PATCH 212/236] Update feature_request.md --- .github/ISSUE_TEMPLATE/feature_request.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 235933f2..bc4eaaba 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -3,7 +3,9 @@ name: Feature Request about: Help us improve esx with your ideas title: "[Feature Request] - esx_script - Add better configuration" labels: enhancement -assignees: Benzo00 +assignees: + - TheFantomas + - Gellipapa --- From 5fc822299b5e83e028c3650226f9f93141309d43 Mon Sep 17 00:00:00 2001 From: thesysadmindev <92863996+thesysadmindev@users.noreply.github.com> Date: Fri, 30 Jun 2023 09:08:16 +1000 Subject: [PATCH 213/236] refactor(es_extended/server/commands.lua) Added missed config Added missed xPlayer.getName() config from group command. --- [core]/es_extended/server/commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index 4d791291..0a9fe5df 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -352,7 +352,7 @@ ESX.RegisterCommand('group', {"user", "admin"}, function(xPlayer, _, _) end, true) ESX.RegisterCommand('job', {"user", "admin"}, function(xPlayer, _, _) - print(('%s, your job is: ^5%s^0 - ^5%s^0'):format(xPlayer.getJob().name, xPlayer.getJob().grade_label)) + print(('%s, your job is: ^5%s^0 - ^5%s^0'):format(xPlayer.getName(), xPlayer.getJob().name, xPlayer.getJob().grade_label)) end, true) ESX.RegisterCommand('info', {"user", "admin"}, function(xPlayer) From efbc18da9b04a2878dc12b5a6ef8d066119e90f2 Mon Sep 17 00:00:00 2001 From: Jordi <82180160+xxjordi@users.noreply.github.com> Date: Fri, 30 Jun 2023 15:39:25 +0200 Subject: [PATCH 214/236] Fix oxinventory.lua mone -> money --- [core]/es_extended/server/classes/overrides/oxinventory.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/classes/overrides/oxinventory.lua b/[core]/es_extended/server/classes/overrides/oxinventory.lua index 7aa52c07..85a1a439 100644 --- a/[core]/es_extended/server/classes/overrides/oxinventory.lua +++ b/[core]/es_extended/server/classes/overrides/oxinventory.lua @@ -89,7 +89,7 @@ Core.PlayerFunctionOverrides.OxInventory = { if account then money = account.round and ESX.Math.Round(money) or money - self.accounts[account.index].money = self.accounts[account.index].mone - money + self.accounts[account.index].money = self.accounts[account.index].money - money self.triggerEvent('esx:setAccountMoney', account) TriggerEvent('esx:removeAccountMoney', self.source, accountName, money, reason) if Inventory.accounts[accountName] then From b130a152c8e7d631ffab1fac5f94a803641e117d Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sat, 1 Jul 2023 18:54:57 +0200 Subject: [PATCH 215/236] refactor(esx_identity): jquery removal by MoskalykA --- [core]/esx_identity/html/css/style.css | 25 ++-- [core]/esx_identity/html/index.html | 182 ++++++++++--------------- [core]/esx_identity/html/js/script.js | 87 ++++++------ 3 files changed, 128 insertions(+), 166 deletions(-) diff --git a/[core]/esx_identity/html/css/style.css b/[core]/esx_identity/html/css/style.css index 939753f7..1a7fff35 100644 --- a/[core]/esx_identity/html/css/style.css +++ b/[core]/esx_identity/html/css/style.css @@ -3,25 +3,25 @@ body { font-family: sans-serif; overflow: hidden; + background-color: transparent; +} + +.none { display: none; } .dialog { width: 332px; opacity: 0.95; - position: absolute; - margin-left: auto; - margin-right: auto; - top: 30%; padding: 20px; - left: 50%; /* à 50%/50% du parent référent */ - transform: translate(-50%); /* décalage de 50% de sa propre taille */ + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); background-color: #152029; border-radius: 10px; box-shadow: 0 -5px 3px -3px #21303d, 0 5px 3px -3px #21303d; border: none; - margin: 5px; - margin-bottom: 20px; color: #ffffff; } @@ -52,7 +52,8 @@ input { color: rgba(84, 97, 105, 255); font-family: "Oswald", sans-serif; font-weight: 200; - opacity: 1; /* Firefox */ + opacity: 1; + /* Firefox */ } .radio-toolbar input[type="radio"] { @@ -75,7 +76,7 @@ input { width: 36%; } -.radio-toolbar input[type="radio"]:checked + label { +.radio-toolbar input[type="radio"]:checked+label { width: 36%; background-color: rgba(15, 15, 15, 0.9); border: none; @@ -84,7 +85,7 @@ input { color: #ffffff; } -.radio-toolbar input[type="radio"]:focus + label { +.radio-toolbar input[type="radio"]:focus+label { background-color: rgba(15, 15, 15, 0.9); border: none; border-bottom: 1px solid #93a3b6; @@ -149,4 +150,4 @@ h1 { color: black; top: -1px; left: 50%; -} +} \ No newline at end of file diff --git a/[core]/esx_identity/html/index.html b/[core]/esx_identity/html/index.html index aee90298..1d5a9ad3 100644 --- a/[core]/esx_identity/html/index.html +++ b/[core]/esx_identity/html/index.html @@ -1,119 +1,77 @@ - - - - - ESX Identity - + + + - -
-
IDENTITY
-
-
- First Name -
-
-
- Last Name -
-
-
- Date of Birth (MM/DD/YYYY) -
-
-
- Height -
-
-
-
- - + ESX Identity + - - -
-
- -
+ +
+
IDENTITY
+
+
+ First Name +
+
+
+ Last Name +
+
+
+ Date of Birth (MM/DD/YYYY) +
+
+
+ Height +
+
- If the submit button doesn't work, please ensure that you've entered - the fields correctly. +
+ + + + + +
-
- - - - + + +
+ If the submit button doesn't work, please ensure that you've entered + the fields correctly. +
+
+ + + + + + \ No newline at end of file diff --git a/[core]/esx_identity/html/js/script.js b/[core]/esx_identity/html/js/script.js index e5ffea11..bca1d09b 100644 --- a/[core]/esx_identity/html/js/script.js +++ b/[core]/esx_identity/html/js/script.js @@ -1,43 +1,46 @@ -$(document).ready(function () { - $.post("http://esx_identity/ready", JSON.stringify({})); - - window.addEventListener("message", function (event) { - if (event.data.type === "enableui") { - event.data.enable ? $(document.body).show() : $(document.body).hide(); - } - }); - - $("#register").submit(function (event) { - event.preventDefault(); - - const dofVal = $("#dateofbirth").val(); - if (!dofVal) return; - - const dateCheck = new Date(dofVal); - - const year = new Intl.DateTimeFormat("en", { year: "numeric" }).format( - dateCheck - ); - const month = new Intl.DateTimeFormat("en", { month: "2-digit" }).format( - dateCheck - ); - const day = new Intl.DateTimeFormat("en", { day: "2-digit" }).format( - dateCheck - ); - - const formattedDate = `${day}/${month}/${year}`; - - $.post( - "http://esx_identity/register", - JSON.stringify({ - firstname: $("#firstname").val(), - lastname: $("#lastname").val(), - dateofbirth: formattedDate, - sex: $("input[type='radio'][name='sex']:checked").val(), - height: $("#height").val(), - }) - ); - - $("#register").trigger("reset"); - }); +window.addEventListener("message", (event) => { + if (event.data.type === "enableui") { + document.body.classList[event.data.enable ? "remove" : "add"]("none"); + } }); + +document.querySelector("#register").addEventListener("submit", (event) => { + event.preventDefault(); + + const dofVal = document.querySelector("#dateofbirth").value; + if (!dofVal) return; + + const dateCheck = new Date(dofVal); + + const year = new Intl.DateTimeFormat("en", { year: "numeric" }).format( + dateCheck + ); + const month = new Intl.DateTimeFormat("en", { month: "2-digit" }).format( + dateCheck + ); + const day = new Intl.DateTimeFormat("en", { day: "2-digit" }).format( + dateCheck + ); + + const formattedDate = `${day}/${month}/${year}`; + fetch("http://esx_identity/register", { + method: "POST", + body: JSON.stringify({ + firstname: document.querySelector("#firstname").value, + lastname: document.querySelector("#lastname").value, + dateofbirth: formattedDate, + sex: document.querySelector("input[type='radio'][name='sex']:checked") + .value, + height: document.querySelector("#height").value, + }), + }); + + document.querySelector("#register").reset(); +}); + +document.addEventListener("DOMContentLoaded", () => { + fetch("http://esx_identity/ready", { + method: "POST", + body: JSON.stringify({}), + }); +}); \ No newline at end of file From da04c37aaafc64a2f298cc0c02eef667784712d6 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sat, 1 Jul 2023 21:46:02 +0200 Subject: [PATCH 216/236] fix(esx_context): Lint fixes --- [core]/esx_context/main.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/[core]/esx_context/main.lua b/[core]/esx_context/main.lua index 65d51c8f..b1aa609b 100644 --- a/[core]/esx_context/main.lua +++ b/[core]/esx_context/main.lua @@ -189,9 +189,9 @@ if Debug then return end - for _, ele in ipairs(menu.eles) do - if ele.input then - print(ele.name, ele.inputType, ele.inputValue) + for _, element in ipairs(menu.eles) do + if element.input then + print(element.name, element.inputType, element.inputValue) end end @@ -215,7 +215,7 @@ if Debug then end) RegisterCommand("ctx:form", function() - local eles = { + local formMenu = { { unselectable = true, icon = "fas fa-info-circle", @@ -255,6 +255,6 @@ if Debug then } } - exports["esx_context"]:Open(position, eles, onSelect, onClose) + exports["esx_context"]:Open(position, formMenu, onSelect, onClose) end) end From f22b78617aee12a0b0b77c3378359c3ba8f10a5d Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sat, 1 Jul 2023 21:53:38 +0200 Subject: [PATCH 217/236] fix(esx_skin): unused variable --- [core]/esx_skin/client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/esx_skin/client/main.lua b/[core]/esx_skin/client/main.lua index 572692a7..966f9ab5 100644 --- a/[core]/esx_skin/client/main.lua +++ b/[core]/esx_skin/client/main.lua @@ -1,5 +1,5 @@ local lastSkin, cam, isCameraActive -local firstSpawn, zoomOffset, camOffset, heading = true, 0.0, 0.0, 90.0, false +local firstSpawn, zoomOffset, camOffset, heading = true, 0.0, 0.0, 90.0 RegisterNetEvent('esx:playerLoaded') AddEventHandler('esx:playerLoaded', function(_, _, skin) From f19b2cfe97e694ed1c7a0c47457715b10cbbcc5a Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sat, 1 Jul 2023 21:55:23 +0200 Subject: [PATCH 218/236] fix(es_extended): remove trailing whitespace --- [core]/es_extended/server/commands.lua | 35 ++++++++++++++++---------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index bed0e7d5..7e160870 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -110,7 +110,8 @@ ESX.RegisterCommand({ 'cardel', 'dv' }, 'admin', function(xPlayer, args) if DoesEntityExist(PedVehicle) then DeleteEntity(PedVehicle) end - local Vehicles = ESX.OneSync.GetVehiclesInArea(GetEntityCoords(GetPlayerPed(xPlayer.source)), tonumber(args.radius) or 5.0) + local Vehicles = ESX.OneSync.GetVehiclesInArea(GetEntityCoords(GetPlayerPed(xPlayer.source)), + tonumber(args.radius) or 5.0) for i = 1, #Vehicles do local Vehicle = NetworkGetEntityFromNetworkId(Vehicles[i]) if DoesEntityExist(Vehicle) then @@ -283,7 +284,8 @@ if not Config.OxInventory then else args.playerId.addWeaponComponent(args.weaponName, args.componentName) if Config.AdminLogging then - ESX.DiscordLogFields("UserActions", "Give Weapon Component /giveweaponcomponent Triggered!", "pink", { + ESX.DiscordLogFields("UserActions", "Give Weapon Component /giveweaponcomponent Triggered!", + "pink", { { name = "Player", value = xPlayer.name, inline = true }, { name = "ID", value = xPlayer.source, inline = true }, { name = "Target", value = args.playerId.name, inline = true }, @@ -398,34 +400,40 @@ end, true, { ESX.RegisterCommand('save', 'admin', function(_, args) Core.SavePlayer(args.playerId) print(('[^2Info^0] Saved Player - ^5%s^0'):format(args.playerId.source)) -end, true, {help = TranslateCap('command_save'), validate = true, arguments = { - {name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player'} -}}) +end, true, { + help = TranslateCap('command_save'), + validate = true, + arguments = { + { name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' } + } +}) ESX.RegisterCommand('saveall', 'admin', function() Core.SavePlayers() end, true, { help = TranslateCap('command_saveall') }) -ESX.RegisterCommand('group', {"user", "admin"}, function(xPlayer, _, _) +ESX.RegisterCommand('group', { "user", "admin" }, function(xPlayer, _, _) print(('%s, you are currently: ^5%s^0'):format(xPlayer.getName(), xPlayer.getGroup())) end, true) -ESX.RegisterCommand('job', {"user", "admin"}, function(xPlayer, _, _) - print(('%s, your job is: ^5%s^0 - ^5%s^0'):format(xPlayer.getName(), xPlayer.getJob().name, xPlayer.getJob().grade_label)) +ESX.RegisterCommand('job', { "user", "admin" }, function(xPlayer, _, _) + print(('%s, your job is: ^5%s^0 - ^5%s^0'):format(xPlayer.getName(), xPlayer.getJob().name, + xPlayer.getJob().grade_label)) end, true) ESX.RegisterCommand('info', { "user", "admin" }, function(xPlayer) local job = xPlayer.getJob().name local jobgrade = xPlayer.getJob().grade_name - print(('^2ID: ^5%s^0 | ^2Name: ^5%s^0 | ^2Group: ^5%s^0 | ^2Job: ^5%s^0'):format(xPlayer.source, xPlayer.getName(), xPlayer.getGroup(), job)) + print(('^2ID: ^5%s^0 | ^2Name: ^5%s^0 | ^2Group: ^5%s^0 | ^2Job: ^5%s^0'):format(xPlayer.source, xPlayer.getName(), + xPlayer.getGroup(), job)) end, true) ESX.RegisterCommand('coords', "admin", function(xPlayer) local ped = GetPlayerPed(xPlayer.source) local coords = GetEntityCoords(ped, false) local heading = GetEntityHeading(ped) - print(('Coords - Vector3: ^5%s^0'):format(vector3(coords.x,coords.y,coords.z))) - print(('Coords - Vector4: ^5%s^0'):format(vector4(coords.x,coords.y,coords.z, heading))) + print(('Coords - Vector3: ^5%s^0'):format(vector3(coords.x, coords.y, coords.z))) + print(('Coords - Vector4: ^5%s^0'):format(vector4(coords.x, coords.y, coords.z, heading))) end, true) ESX.RegisterCommand('tpm', "admin", function(xPlayer) @@ -541,8 +549,9 @@ end, false) ESX.RegisterCommand('players', "admin", function() local xPlayers = ESX.GetExtendedPlayers() -- Returns all xPlayers print(('^5%s^2 online player(s)^0'):format(#xPlayers)) - for i = 1, #(xPlayers) do + for i = 1, #(xPlayers) do local xPlayer = xPlayers[i] - print(('^1[^2ID: ^5%s^0 | ^2Name : ^5%s^0 | ^2Group : ^5%s^0 | ^2Identifier : ^5%s^1]^0\n'):format(xPlayer.source, xPlayer.getName(), xPlayer.getGroup(), xPlayer.identifier)) + print(('^1[^2ID: ^5%s^0 | ^2Name : ^5%s^0 | ^2Group : ^5%s^0 | ^2Identifier : ^5%s^1]^0\n'):format( + xPlayer.source, xPlayer.getName(), xPlayer.getGroup(), xPlayer.identifier)) end end, true) From da35da2d7b5e05861ecdc260c3801ba7378f1aab Mon Sep 17 00:00:00 2001 From: Epyi Date: Wed, 5 Jul 2023 14:14:45 +0200 Subject: [PATCH 219/236] Update fr.lua - Update fr language - added languages that are in en.lua and missing in fr.lua - removal of languages that are in fr.lua and missing from en.lua --- [core]/es_extended/locales/fr.lua | 531 +++++++++++++++++++----------- 1 file changed, 331 insertions(+), 200 deletions(-) diff --git a/[core]/es_extended/locales/fr.lua b/[core]/es_extended/locales/fr.lua index eef72dd9..d474b5ab 100644 --- a/[core]/es_extended/locales/fr.lua +++ b/[core]/es_extended/locales/fr.lua @@ -1,226 +1,361 @@ Locales["fr"] = { -- Inventory - ["inventory"] = "inventaire %s / %s", - ["use"] = "utiliser", - ["give"] = "donner", - ["remove"] = "jeter", - ["return"] = "retour", - ["give_to"] = "donner à", - ["amount"] = "quantité", - ["giveammo"] = "donner munitions", - ["amountammo"] = "nombre de munitions", - ["noammo"] = "tu n'as pas toutes ces munitions!", - ["gave_item"] = "vous avez donné %sx %s à %s", - ["received_item"] = "vous avez reçu %sx %s par %s", - ["gave_weapon"] = "vous avez donné 1x %s à %s", - ["gave_weapon_ammo"] = "vous avez donné ~o~%sx %s pour %s à %s", - ["gave_weapon_withammo"] = "vous avez donné 1x %s avec ~o~%sx %s à %s", - ["gave_weapon_hasalready"] = "%s a déjà %s", + ["inventory"] = "Inventaire ( Poids %s / %s )", + ["use"] = "Utiliser", + ["give"] = "Donner", + ["remove"] = "Jeter", + ["return"] = "Retour", + ["give_to"] = "Donner à", + ["amount"] = "Quantité", + ["giveammo"] = "Donner des munitions", + ["amountammo"] = "Nombre de munitions", + ["noammo"] = "Vous n'avez pas autant de munitions!", + ["gave_item"] = "Vous avez donné %sx %s à %s", + ["received_item"] = "Vous avez reçu %sx %s de %s", + ["gave_weapon"] = "Vous avez donné 1x %s à %s", + ["gave_weapon_ammo"] = "Vous avez donné ~o~%sx %s pour %s à %s", + ["gave_weapon_withammo"] = "Vous avez donné 1x %s avec ~o~%sx %s à %s", + ["gave_weapon_hasalready"] = "%s a déjà 1x %s", ["gave_weapon_noweapon"] = "%s n'a pas cette arme", - ["received_weapon"] = "vous recevez 1x %s de %s", - ["received_weapon_ammo"] = "vous avez reçu ~o~%sx %s pour votre %s de %s", - ["received_weapon_withammo"] = "vous avez reçu 1x %s avec ~o~%sx %s de %s", - ["received_weapon_hasalready"] = "%s a tenté de vous donner %s, mais vous en aviez déjà un exemplaire", - ["received_weapon_noweapon"] = "%s tente de vous donner des munitions pour %s, mais vous n'en avez pas", - ["gave_account_money"] = "vous avez donné $%s (%s) à %s", - ["received_account_money"] = "vous avez reçu $%s (%s) par %s", - ["amount_invalid"] = "montant invalide", - ["players_nearby"] = "aucun joueur à proximité", - ["ex_inv_lim"] = "action impossible, depassement de la limite d'inventaire pour %s", - ["imp_invalid_quantity"] = "action impossible, ~r~quantité invalide", - ["imp_invalid_amount"] = "action impossible, ~r~montant invalide", - ["threw_standard"] = "vous avez jeté %sx %s", - ["threw_account"] = "vous avez jeté $%s %s", - ["threw_weapon"] = "vous avez jeté 1x %s", - ["threw_weapon_ammo"] = "vous avez jeté 1x %s avec ~o~%sx %s", - ["threw_weapon_already"] = "vous portez déjà cette arme", - ["threw_cannot_pickup"] = "vous ne pouvez pas ramasser ça votre inventaire est plein !", - ["threw_pickup_prompt"] = "appuyez sur E pour ramasser", + ["received_weapon"] = "Vous avez reçu 1x %s de %s", + ["received_weapon_ammo"] = "Vous avez reçu ~o~%sx %s pour votre %s de %s", + ["received_weapon_withammo"] = "Vous avez reçu 1x %s avec ~o~%sx %s de %s", + ["received_weapon_hasalready"] = "%s a tenté de vous donner 1x %s, mais vous en aviez déjà un exemplaire", + ["received_weapon_noweapon"] = "%s a tenté de vous donner des munitions pour %s, mais vous n'avez pas cette arme", + ["gave_account_money"] = "Vous avez donné $%s (%s) à %s", + ["received_account_money"] = "Vous avez reçu $%s (%s) de %s", + ["amount_invalid"] = "Le montant est invalide", + ["players_nearby"] = "Aucun joueur n'est à proximité", + ["ex_inv_lim"] = "Action impossible, dépassement du poids maximum de %s", + ["imp_invalid_quantity"] = "Action impossible, la quantité est invalide", + ["imp_invalid_amount"] = "Action impossible, le montant est invalide", + ["threw_standard"] = "Vous avez jeté %sx %s", + ["threw_account"] = "Vous avez jeté $%s %s", + ["threw_weapon"] = "Vous avez jeté 1x %s", + ["threw_weapon_ammo"] = "Vous avez jeté 1x %s avec ~o~%sx %s", + ["threw_weapon_already"] = "Vous avez déjà cette arme", + ["threw_cannot_pickup"] = "Votre inventaire est plein, vous ne pouvez donc pas ramasser cela!", + ["threw_pickup_prompt"] = "Appuyez sur E pour ramasser", -- Key mapping - ["keymap_showinventory"] = "montrer l'inventaire", + ["keymap_showinventory"] = "Afficher l'inventaire", -- Salary related - ["received_salary"] = "vous avez reçu votre salaire: $%s", - ["received_help"] = "vous avez reçu une aide de l'état: $%s", - ["company_nomoney"] = "votre entreprise n'a plus d'argent pour vous payer!", - ["received_paycheck"] = "paiement reçu", - ["bank"] = "banque", - ["account_bank"] = "banque", - ["account_black_money"] = "argent sale", - ["account_money"] = "espèces", + ["received_salary"] = "Vous avez reçu votre salaire: $%s", + ["received_help"] = "Vous avez reçu une aide de l'état: $%s", + ["company_nomoney"] = "Votre entreprise n'a pas assez d'argent pour vous payer", + ["received_paycheck"] = "Paiement reçu", + ["bank"] = "Banque", + ["account_bank"] = "Banque", + ["account_black_money"] = "Argent sale", + ["account_money"] = "Espèces", - ["act_imp"] = "action impossible", - ["in_vehicle"] = "Vous ne pouvez rien donner à quelqu'un dans un véhicule", + ["act_imp"] = "Action impossible", + ["in_vehicle"] = "Action impossible, le joueur est dans un véhicule", -- Commands - ["command_car"] = "faire appaitre un véhicule", - ["command_car_car"] = "nom ou hash du véhicule", - ["command_cardel"] = "supprimer le véhicule à proximité", - ["command_cardel_radius"] = "optionnel, supprime les véhicules dans un rayon spécifié", - ["command_clear"] = "vider le chat", - ["command_clearall"] = "vider le chat pour tous", - ["command_clearinventory"] = "vider l'inventaire d'un joueur", - ["command_clearloadout"] = "vider le loadout d'un joueur", - ["command_giveaccountmoney"] = "donner de l'argent sur un compte", - ["command_giveaccountmoney_account"] = "nom de compte valide", - ["command_giveaccountmoney_amount"] = "quantité à ajouter", - ["command_giveaccountmoney_invalid"] = "nom de compte invalide", - ["command_giveitem"] = "donner un objet à un joueur", - ["command_giveitem_item"] = "nom de l'objet", - ["command_giveitem_count"] = "quantité de l'objet", - ["command_giveweapon"] = "donner une arme à un joueur", - ["command_giveweapon_weapon"] = "nom de l'arme", - ["command_giveweapon_ammo"] = "quantité de munitions", - ["command_giveweapon_hasalready"] = "le joueur a déjà cette arme", - ["command_giveweaponcomponent"] = "donner un accessoire d'arme", - ["command_giveweaponcomponent_component"] = "nom de l'accessoire", - ["command_giveweaponcomponent_invalid"] = "accessoire invalide", - ["command_giveweaponcomponent_hasalready"] = "le joueur a déjà cet accessoire", - ["command_giveweaponcomponent_missingweapon"] = "le joueur n'a pas cette arme", - ["command_save"] = "sauvegarder un joueur dans la base de données", - ["command_saveall"] = "sauvegarder tous les joueurs dans la base de données", - ["command_setaccountmoney"] = "définir la somme d'argent pour un joueur", - ["command_setaccountmoney_amount"] = "quantité d'argent à définir", - ["command_setcoords"] = "se téléporter aux coordonnées", - ["command_setcoords_x"] = "axe X", - ["command_setcoords_y"] = "axe Y", - ["command_setcoords_z"] = "axe Z", - ["command_setjob"] = "assigner job à un joueur", - ["command_setjob_job"] = "nom du job", - ["command_setjob_grade"] = "grade du job", - ["command_setjob_invalid"] = "le job, le grade ou les deux sont invalides", - ["command_setgroup"] = "assigner un groupe à un joueur", - ["command_setgroup_group"] = "nom du groupe", - ["commanderror_argumentmismatch"] = "argument count mismatch (passed %s, wanted %s)", - ["commanderror_argumentmismatch_number"] = "argument #%s type mismatch (passed string, wanted number)", - ["commanderror_invaliditem"] = "nom de l'objet invalide", - ["commanderror_invalidweapon"] = "arme invalide", - ["commanderror_console"] = "cette commande ne peut pas être utilisée dans la console", - ["commanderror_invalidcommand"] = "/%s n'est pas une commande valide!", - ["commanderror_invalidplayerid"] = "il n'ya aucun joueur avec cet ID en jeu", - ["commandgeneric_playerid"] = "id joueur", + ["command_bring"] = "Téléporter un joueur sur vous", + ["command_car"] = "Faire appaitre un véhicule", + ["command_car_car"] = "Nom ou hash du véhicule", + ["command_cardel"] = "Supprimer les véhicules à proximité", + ["command_cardel_radius"] = "Supprime tous les véhicules dans un rayon spécifié", + ["command_clear"] = "Effacer le chat", + ["command_clearall"] = "Effacer le chat de tous les joueurs", + ["command_clearinventory"] = "Retirer tous les objets de l'inventaire du joueur", + ["command_clearloadout"] = "Retirer toutes les armes du joueur", + ["command_freeze"] = "Geler un joueur sur place", + ["command_unfreeze"] = "Dégeler un joueur", + ["command_giveaccountmoney"] = "Donner de l'argent à un compte spécifique", + ["command_giveaccountmoney_account"] = "Compte à créditer", + ["command_giveaccountmoney_amount"] = "Quantité d'argent à créditer", + ["command_giveaccountmoney_invalid"] = "Le nom de compte spécifié est invalide", + ["command_removeaccountmoney"] = "Retirer de l'argent d'un compte spécifique", + ["command_removeaccountmoney_account"] = "Compte à débiter", + ["command_removeaccountmoney_amount"] = "Quantité d'argent à débiter", + ["command_removeaccountmoney_invalid"] = "Le nom de compte spécifié est invalide", + ["command_giveitem"] = "Donner un objet à un joueur", + ["command_giveitem_item"] = "Nom de l'objet à donner", + ["command_giveitem_count"] = "Quantité à donner", + ["command_giveweapon"] = "Donner une arme à un joueur", + ["command_giveweapon_weapon"] = "Nom de l'arme à donner", + ["command_giveweapon_ammo"] = "Quantité de munitions à donner", + ["command_giveweapon_hasalready"] = "Le joueur a déjà cette arme", + ["command_giveweaponcomponent"] = "Donner un accessoire d'arme à un joueur", + ["command_giveweaponcomponent_component"] = "Nom de l'accessoire à donner", + ["command_giveweaponcomponent_invalid"] = "Le nom de l'accessoire d'arme spécifié est invalide", + ["command_giveweaponcomponent_hasalready"] = "Le joueur a déjà cet accessoire", + ["command_giveweaponcomponent_missingweapon"] = "Le joueur n'a pas l'arme associée à cet accessoire", + ["command_goto"] = "Se téléporter vers un joueur", + ["command_kill"] = "Tuer un joueur", + ["command_save"] = "Forcer la sauvegarde des données d'un joueur", + ["command_saveall"] = "Forcer la sauvegarde des données de tous les joueurs", + ["command_setaccountmoney"] = "Définir le montant d'argent d'un compte spécifique", + ["command_setaccountmoney_amount"] = "Montant d'argent à définir", + ["command_setcoords"] = "Se téléporter à des coordonnées spécifiques", + ["command_setcoords_x"] = "Valeur de l'axe X", + ["command_setcoords_y"] = "Valeur de l'axe Y", + ["command_setcoords_z"] = "Valeur de l'axe Z", + ["command_setjob"] = "Définir le métier d'un joueur", + ["command_setjob_job"] = "Nom du métier à définir", + ["command_setjob_grade"] = "Grade du métier", + ["command_setjob_invalid"] = "Le métier, le grade, ou les deux sont invalides", + ["command_setgroup"] = "Définir le groupe de permissions d'un joueur", + ["command_setgroup_group"] = "Nom du groupe à définir", + ["commanderror_argumentmismatch"] = "Le nombre d'arguments est invalide (Argument·s donné·s: %s, Argument·s demandé·s: %s)", + ["commanderror_argumentmismatch_number"] = "Type de données de l'argument #%s invalide (Type donné: texte, Type demandé: nombre)", + ["commanderror_invaliditem"] = "Le nom de l'objet est invalide", + ["commanderror_invalidweapon"] = "Le nom de l'arme est invalide", + ["commanderror_console"] = "Cette commande ne peut pas être éxécutée depuis la console", + ["commanderror_invalidcommand"] = "Commande invalide - /%s", + ["commanderror_invalidplayerid"] = "Le joueur spécifié n'est pas connecté", + ["commandgeneric_playerid"] = "Identifiant serveur du joueur", ["command_giveammo_noweapon_found"] = "%s n'a pas cette arme", ["command_giveammo_weapon"] = "Nom de l'arme", ["command_giveammo_ammo"] = "Quantité de munitions", + ["tpm_nowaypoint"] = "Aucun point n'est défini sur la carte", + ["tpm_success"] = "Vous avez bien été téléporté", + + ["noclip_message"] = "Le mode noclip a été %s", + ["enabled"] = "~g~activé~s~", + ["disabled"] = "~r~désactivé~s~", -- Locale settings ["locale_digit_grouping_symbol"] = " ", ["locale_currency"] = "$%s", -- Weapons - ["weapon_knife"] = "couteau", - ["weapon_nightstick"] = "matraque", - ["weapon_hammer"] = "marteau", - ["weapon_bat"] = "batte", - ["weapon_golfclub"] = "club de golf", - ["weapon_crowbar"] = "pied de biche", - ["weapon_pistol"] = "pistolet", - ["weapon_combatpistol"] = "pistolet de combat", - ["weapon_appistol"] = "pistolet automatique", - ["weapon_pistol50"] = "pistolet calibre 50", - ["weapon_microsmg"] = "micro smg", - ["weapon_smg"] = "smg", - ["weapon_assaultsmg"] = "smg d'assaut", - ["weapon_assaultrifle"] = "fusil d'assaut", - ["weapon_carbinerifle"] = "carabine d'assaut", - ["weapon_advancedrifle"] = "fusil avancé", - ["weapon_mg"] = "mitrailleuse", - ["weapon_combatmg"] = "mitrailleuse de combat", - ["weapon_pumpshotgun"] = "fusil à pompe", - ["weapon_sawnoffshotgun"] = "carabine à canon scié", - ["weapon_assaultshotgun"] = "carabine d'assaut", - ["weapon_bullpupshotgun"] = "carabine bullpup", - ["weapon_stungun"] = "tazer", - ["weapon_sniperrifle"] = "fusil de sniper", - ["weapon_heavysniper"] = "fusil de sniper lourd", - ["weapon_grenadelauncher"] = "lance-grenade", - ["weapon_rpg"] = "lance-rocket", - ["weapon_minigun"] = "minigun", - ["weapon_grenade"] = "grenade", - ["weapon_stickybomb"] = "bombe collante", - ["weapon_smokegrenade"] = "grenade fumigène", - ["weapon_bzgas"] = "grenade à gaz bz", - ["weapon_molotov"] = "cocktail molotov", - ["weapon_fireextinguisher"] = "extincteur", - ["weapon_petrolcan"] = "jerrican d'essence", - ["weapon_ball"] = "balle", - ["weapon_snspistol"] = "pistolet sns", - ["weapon_bottle"] = "bouteille", - ["weapon_gusenberg"] = "balayeuse gusenberg", - ["weapon_specialcarbine"] = "carabine spéciale", - ["weapon_heavypistol"] = "pistolet lourd", - ["weapon_bullpuprifle"] = "fusil bullpup", - ["weapon_dagger"] = "poignard", - ["weapon_vintagepistol"] = "pistolet vintage", - ["weapon_firework"] = "feu d'artifice", - ["weapon_musket"] = "mousquet", - ["weapon_heavyshotgun"] = "fusil à pompe lourd", - ["weapon_marksmanrifle"] = "fusil marksman", - ["weapon_hominglauncher"] = "lance tête-chercheuse", - ["weapon_proxmine"] = "mine de proximité", - ["weapon_snowball"] = "boule de neige", - ["weapon_flaregun"] = "lance fusée de détresse", - ["weapon_combatpdw"] = "arme de défense personnelle", - ["weapon_marksmanpistol"] = "pistolet marksman", - ["weapon_knuckle"] = "poing américain", - ["weapon_hatchet"] = "hachette", - ["weapon_railgun"] = "canon éléctrique", - ["weapon_machete"] = "machette", - ["weapon_machinepistol"] = "pistolet mitrailleur", - ["weapon_switchblade"] = "couteau à cran d'arrêt", - ["weapon_revolver"] = "revolver", - ["weapon_dbshotgun"] = "fusil à pompe double canon", - ["weapon_compactrifle"] = "fusil compact", - ["weapon_autoshotgun"] = "fusil à pompe automatique", - ["weapon_battleaxe"] = "hache de combat", - ["weapon_compactlauncher"] = "lanceur compact", - ["weapon_minismg"] = "mini smg", - ["weapon_pipebomb"] = "bombe tuyau", - ["weapon_poolcue"] = "queue de billard", - ["weapon_wrench"] = "clé", - ["weapon_flashlight"] = "lampe torche", - ["gadget_parachute"] = "parachute", - ["weapon_flare"] = "fusée de détresse", - ["weapon_doubleaction"] = "revolver double action", + + -- Melee + ["weapon_dagger"] = "Dague", + ["weapon_bat"] = "Batte", + ["weapon_battleaxe"] = "Hache de combat", + ["weapon_bottle"] = "Bouteille", + ["weapon_crowbar"] = "Pied de biche", + ["weapon_flashlight"] = "Lampte torche", + ["weapon_golfclub"] = "Club de golf", + ["weapon_hammer"] = "Marteau", + ["weapon_hatchet"] = "Hachette", + ["weapon_knife"] = "Couteau", + ["weapon_knuckle"] = "Poing américain", + ["weapon_machete"] = "Machette", + ["weapon_nightstick"] = "Matraque", + ["weapon_wrench"] = "Clé à pipe", + ["weapon_poolcue"] = "Queue de billard", + ["weapon_stone_hatchet"] = "Hachette en pierre", + ["weapon_switchblade"] = "Couteau à cran d'arrêt", + + -- Handguns + ["weapon_appistol"] = "Pistolet automatique", + ["weapon_ceramicpistol"] = "Pistolet en céramique", + ["weapon_combatpistol"] = "Pistolet de combat", + ["weapon_doubleaction"] = "Revolver à double action", + ["weapon_navyrevolver"] = "Revolver de marine", + ["weapon_flaregun"] = "Pistolet de détresse", + ["weapon_gadgetpistol"] = "Pistolet gadget", + ["weapon_heavypistol"] = "Pistolet lourd", + ["weapon_revolver"] = "Revolver lourd", + ["weapon_revolver_mk2"] = "Revolver lourd MK2", + ["weapon_marksmanpistol"] = "Pistolet Marksman", + ["weapon_pistol"] = "Pistolet", + ["weapon_pistol_mk2"] = "Pistolet MK2", + ["weapon_pistol50"] = "Pistolet .50", + ["weapon_snspistol"] = "Pistolet SNS", + ["weapon_snspistol_mk2"] = "Pistolet SNS MK2", + ["weapon_stungun"] = "Taser", + ["weapon_raypistol"] = "Atomiseur", + ["weapon_vintagepistol"] = "Pistolet vintage", + + -- Shotguns + ["weapon_assaultshotgun"] = "Fusil d'assaut", + ["weapon_autoshotgun"] = "Fusil à pompe automatique", + ["weapon_bullpupshotgun"] = "Fusil à pompe Bullpup", + ["weapon_combatshotgun"] = "Fusil de combat", + ["weapon_dbshotgun"] = "Fusil à pompe à double canon", + ["weapon_heavyshotgun"] = "Fusil à pompe lourd", + ["weapon_musket"] = "Mousquet", + ["weapon_pumpshotgun"] = "Fusil à pompe", + ["weapon_pumpshotgun_mk2"] = "Fusil à pompe MK2", + ["weapon_sawnoffshotgun"] = "Fusil à canon scié", + + -- SMG & LMG + ["weapon_assaultsmg"] = "SMG s'assaut", + ["weapon_combatmg"] = "MG de combat", + ["weapon_combatmg_mk2"] = "MG de combat MK2", + ["weapon_combatpdw"] = "PDW de combat", + ["weapon_gusenberg"] = "Balayeuse Gusenberg", + ["weapon_machinepistol"] = "Pistolet-mitrailleur", + ["weapon_mg"] = "MG", + ["weapon_microsmg"] = "Micro SMG", + ["weapon_minismg"] = "Mini SMG", + ["weapon_smg"] = "SMG", + ["weapon_smg_mk2"] = "SMG MK2", + ["weapon_raycarbine"] = "Carabine à rayons", + + -- Rifles + ["weapon_advancedrifle"] = "Fusil avancé", + ["weapon_assaultrifle"] = "Fusil d'assaut", + ["weapon_assaultrifle_mk2"] = "Fusil d'assaut MK2", + ["weapon_bullpuprifle"] = "Fusil Bullpup", + ["weapon_bullpuprifle_mk2"] = "Fusil Bullpup MK2", + ["weapon_carbinerifle"] = "Fusil carabine", + ["weapon_carbinerifle_mk2"] = "Fusil carabine MK2", + ["weapon_compactrifle"] = "Fusil compacte", + ["weapon_militaryrifle"] = "Fusil militaire", + ["weapon_specialcarbine"] = "Carabine spéciale", + ["weapon_specialcarbine_mk2"] = "Carabine spéciale MK2", + + -- Sniper + ["weapon_heavysniper"] = "Sniper lourd", + ["weapon_heavysniper_mk2"] = "Sniper lourd MK2", + ["weapon_marksmanrifle"] = "Fusil Marksman", + ["weapon_marksmanrifle_mk2"] = "Fusil Marksman MK2", + ["weapon_sniperrifle"] = "Fusil sniper", + + -- Heavy / Launchers + ["weapon_compactlauncher"] = "Lanceur compacte", + ["weapon_firework"] = "Lanceur de feu d'artifice", + ["weapon_grenadelauncher"] = "Lanceur de grenade", + ["weapon_hominglauncher"] = "Lanceur de tête chercheuse", + ["weapon_minigun"] = "Minigun", + ["weapon_railgun"] = "Fusil à rail", + ["weapon_rpg"] = "Lanceur de rockette", + ["weapon_rayminigun"] = "Exterminateur", + + -- Criminal Enterprises DLC + ["weapon_metaldetector"] = "Détecteur de métaux", + ["weapon_precisionrifle"] = "Fusil de précision", + ["weapon_tactilerifle"] = "Carabine tactique", + + -- Thrown + ["weapon_ball"] = "Base-ball", + ["weapon_bzgas"] = "Gaz BZ", + ["weapon_flare"] = "Fusée éclairante", + ["weapon_grenade"] = "Grenade", + ["weapon_petrolcan"] = "Jerrycan", + ["weapon_hazardcan"] = "Jerrycan dangereux", + ["weapon_molotov"] = "Cocktail Molotov", + ["weapon_proxmine"] = "Mine de proximité", + ["weapon_pipebomb"] = "Bombe tuyau", + ["weapon_snowball"] = "Boule de neige", + ["weapon_stickybomb"] = "Bombe collante", + ["weapon_smokegrenade"] = "Gaz lacrymogène", + + -- Special + ["weapon_fireextinguisher"] = "Extincteur", + ["weapon_digiscanner"] = "Scanner", + ["weapon_garbagebag"] = "Sac d'ordures", + ["weapon_handcuffs"] = "Menottes", + ["gadget_nightvision"] = "Vision nocturne", + ["gadget_parachute"] = "Parachute", -- Weapon Components - ["component_clip_default"] = "chargeur par défaut", - ["component_clip_extended"] = "chargeur grande capacité", - ["component_clip_drum"] = "chargeur tambour", - ["component_clip_box"] = "chargeur très grande capacité", - ["component_flashlight"] = "torche", - ["component_scope"] = "viseur", - ["component_scope_advanced"] = "lunette", - ["component_suppressor"] = "réducteur de son", - ["component_grip"] = "poignée", - ["component_luxary_finish"] = "finition de luxe", + ["component_knuckle_base"] = "Modèle par défaut", + ["component_knuckle_pimp"] = "le Pimp", + ["component_knuckle_ballas"] = "le Ballas", + ["component_knuckle_dollar"] = "le Hustler", + ["component_knuckle_diamond"] = "le Rock", + ["component_knuckle_hate"] = "le Hater", + ["component_knuckle_love"] = "le Lover", + ["component_knuckle_player"] = "le Joueur", + ["component_knuckle_king"] = "le Roi", + ["component_knuckle_vagos"] = "le Vagos", - -- Drug Wars DLC - ['weapon_candycane'] = 'Candy Cane', -- not translated - ['weapon_acidpackage'] = 'Acid Package', -- not translated - ['weapon_pistolxm3'] = 'WM 29 Pistol', -- not translated - ['weapon_railgunxm3'] = 'Railgun', -- not translated + ["component_luxary_finish"] = "Finition d'arme de luxe", + + ["component_handle_default"] = "Poignée par défaut", + ["component_handle_vip"] = "Poignée VIP", + ["component_handle_bodyguard"] = "Poignée bodyguard", + + ["component_vip_finish"] = "Finition VIP", + ["component_bodyguard_finish"] = "Finition bodyguard", + + ["component_camo_finish"] = "Camouflage numérique", + ["component_camo_finish2"] = "Camouflage pinceau", + ["component_camo_finish3"] = "Camouflage des bois", + ["component_camo_finish4"] = "Camouflage crâne", + ["component_camo_finish5"] = "Camouflage sessanta Nove", + ["component_camo_finish6"] = "Camouflage perseus", + ["component_camo_finish7"] = "Camouflage léopard", + ["component_camo_finish8"] = "Camouflage zèbre", + ["component_camo_finish9"] = "Camouflage géométrique", + ["component_camo_finish10"] = "Camouflage explosif", + ["component_camo_finish11"] = "Camouflage patriotique", + + ["component_camo_slide_finish"] = "Finitions slide à camouflage numérique", + ["component_camo_slide_finish2"] = "Finitions slide à camouflage pinceau", + ["component_camo_slide_finish3"] = "Finitions slide à camouflage des bois", + ["component_camo_slide_finish4"] = "Finitions slide à camouflage crâne", + ["component_camo_slide_finish5"] = "Finitions slide à camouflage sessanta Nove", + ["component_camo_slide_finish6"] = "Finitions slide à camouflage perseus", + ["component_camo_slide_finish7"] = "Finitions slide à camouflage léopard", + ["component_camo_slide_finish8"] = "Finitions slide à camouflage zèbre", + ["component_camo_slide_finish9"] = "Finitions slide à camouflage géométrique", + ["component_camo_slide_finish10"] = "Finitions slide à camouflage explosive", + ["component_camo_slide_finish11"] = "Finitions slide à camouflage patriotique", + + ["component_clip_default"] = "Chargeur par défaut", + ["component_clip_extended"] = "Chargeur à grande capacité", + ["component_clip_drum"] = "Chargeur à tambour", + ["component_clip_box"] = "Chargeur à très grande capacité", + + ["component_scope_holo"] = "Viseur holographique", + ["component_scope_small"] = "Viseur de petite taille", + ["component_scope_medium"] = "Viseur de taille moyenne", + ["component_scope_large"] = "Viseur de grande taille", + ["component_scope"] = "Viseur monté", + ["component_scope_advanced"] = "Viseur avancé", + ["component_ironsights"] = "Viseur à marqueurs alignés", + + ["component_suppressor"] = "silencieux", + ["component_compensator"] = "compensateur", + + ["component_muzzle_flat"] = "Frein plat", + ["component_muzzle_tactical"] = "Frein tactique", + ["component_muzzle_fat"] = "Frein large", + ["component_muzzle_precision"] = "Frein de précision", + ["component_muzzle_heavy"] = "Frein polyvalent", + ["component_muzzle_slanted"] = "Frein incliné", + ["component_muzzle_split"] = "Frein fendu", + ["component_muzzle_squared"] = "Frein carré", + + ["component_flashlight"] = "lampe torche", + ["component_grip"] = "poignée", + + ["component_barrel_default"] = "Canon par défaut", + ["component_barrel_heavy"] = "Canon lourd", + + ["component_ammo_tracer"] = "Munition traceuse", + ["component_ammo_incendiary"] = "Munition incendiaire", + ["component_ammo_hollowpoint"] = "Munition à pointe creuse", + ["component_ammo_fmj"] = "Munition fMJ", + ["component_ammo_armor"] = "Munition perforante", + ["component_ammo_explosive"] = "Munition perforante et Munition incendiaire", + + ["component_shells_default"] = "Coque par défaut", + ["component_shells_incendiary"] = "Coque souffle de dragon", + ["component_shells_armor"] = "Coque à chevrotine en acier", + ["component_shells_hollowpoint"] = "Coque à fléchettes", + ["component_shells_explosive"] = "Coque à limaces explosives", -- Weapon Ammo ["ammo_rounds"] = "cartouche(s)", ["ammo_shells"] = "obus", - ["ammo_charge"] = "charge(s)", + ["ammo_charge"] = "charge·s", ["ammo_petrol"] = "jerrican d'essence", - ["ammo_firework"] = "feu(x) d'artifice", - ["ammo_rockets"] = "roquette(s)", - ["ammo_grenadelauncher"] = "grenade(s)", - ["ammo_grenade"] = "grenade(s)", - ["ammo_stickybomb"] = "bombe(s)", - ["ammo_pipebomb"] = "bombe(s)", - ["ammo_smokebomb"] = "bombe(s)", - ["ammo_molotov"] = "cocktail(s)", - ["ammo_proxmine"] = "mine(s)", - ["ammo_bzgas"] = "grenade(s)", - ["ammo_ball"] = "balle(s)", - ["ammo_snowball"] = "boule(s) de neige", - ["ammo_flare"] = "fusée(s) éclairante(s)", - ["ammo_flaregun"] = "fusée(s)", + ["ammo_firework"] = "feu·x d'artifice", + ["ammo_rockets"] = "roquette·s", + ["ammo_grenadelauncher"] = "grenade·s", + ["ammo_grenade"] = "grenade·s", + ["ammo_stickybomb"] = "bombe·s", + ["ammo_pipebomb"] = "bombe·s", + ["ammo_smokebomb"] = "bombe·s", + ["ammo_molotov"] = "cocktail·s", + ["ammo_proxmine"] = "mine·s", + ["ammo_bzgas"] = "grenade·s", + ["ammo_ball"] = "balle·s", + ["ammo_snowball"] = "boule·s de neige", + ["ammo_flare"] = "fusée·s éclairante·s", + ["ammo_flaregun"] = "fusée·s", -- Weapon Tints ["tint_default"] = "skin par défaut", @@ -231,8 +366,4 @@ Locales["fr"] = { ["tint_lspd"] = "skin bleu", ["tint_orange"] = "skin orange", ["tint_platinum"] = "skin platine", - - -- Duty related - ["stopped_duty"] = "Vous êtes maintenant hors-service.", - ["started_duty"] = "Vous êtes maintenant en-service.", } From 303ddcee554c79c99c1b5378774f54c34592b712 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Thu, 6 Jul 2023 00:31:08 +1000 Subject: [PATCH 220/236] fix(esx_multicharacter/server): indentation --- [core]/esx_multicharacter/server/main.lua | 390 +++++++++++----------- 1 file changed, 195 insertions(+), 195 deletions(-) diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index e09b48de..b677c7ad 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -22,230 +22,230 @@ local DATABASE do end end - local DB_TABLES = {users = 'identifier'} - local FETCH = nil - local SLOTS = Config.Slots or 4 - local PREFIX = Config.Prefix or 'char' - local PRIMARY_IDENTIFIER = ESX.GetConfig().Identifier or GetConvar('sv_lan', '') == 'true' and 'ip' or "license" +local DB_TABLES = {users = 'identifier'} +local FETCH = nil +local SLOTS = Config.Slots or 4 +local PREFIX = Config.Prefix or 'char' +local PRIMARY_IDENTIFIER = ESX.GetConfig().Identifier or GetConvar('sv_lan', '') == 'true' and 'ip' or "license" - local function GetIdentifier(source) - local fxDk = GetConvarInt('sv_fxdkMode', 0) - if fxDk == 1 then - return "ESX-DEBUG-LICENCE" +local function GetIdentifier(source) + local fxDk = GetConvarInt('sv_fxdkMode', 0) + if fxDk == 1 then + return "ESX-DEBUG-LICENCE" + end + local identifier = PRIMARY_IDENTIFIER..':' + for _, v in pairs(GetPlayerIdentifiers(source)) do + if string.match(v, identifier) then + identifier = string.gsub(v, identifier, '') + return identifier end - local identifier = PRIMARY_IDENTIFIER..':' - for _, v in pairs(GetPlayerIdentifiers(source)) do - if string.match(v, identifier) then - identifier = string.gsub(v, identifier, '') - return identifier + end +end + +if next(ESX.Players) then + local players = table.clone(ESX.Players) + table.wipe(ESX.Players) + for _, v in pairs(players) do + ESX.Players[GetIdentifier(v.source)] = true + end +else ESX.Players = {} end + +local function SetupCharacters(source) + while not FETCH do Wait(100) end + local identifier = GetIdentifier(source) + ESX.Players[identifier] = true + + local slots = MySQL.scalar.await('SELECT slots FROM multicharacter_slots WHERE identifier = ?', { identifier }) or SLOTS + identifier = PREFIX..'%:'..identifier + + local result = MySQL.query.await(FETCH, {identifier, slots}) + local characters + + if result then + local characterCount = #result + characters = table.create(0, characterCount) + + for i = 1, characterCount, 1 do + local v = result[i] + local job, grade = v.job or 'unemployed', tostring(v.job_grade) + + if ESX.Jobs[job] and ESX.Jobs[job].grades[grade] then + if job ~= 'unemployed' then grade = ESX.Jobs[job].grades[grade].label else grade = '' end + job = ESX.Jobs[job].label end + + local accounts = json.decode(v.accounts) + local id = tonumber(string.sub(v.identifier, #PREFIX+1, string.find(v.identifier, ':')-1)) + + characters[id] = { + id = id, + bank = accounts.bank, + money = accounts.money, + job = job, + job_grade = grade, + firstname = v.firstname, + lastname = v.lastname, + dateofbirth = v.dateofbirth, + skin = v.skin and json.decode(v.skin) or {}, + disabled = v.disabled, + sex = v.sex == 'm' and TranslateCap('male') or TranslateCap('female') + } end end - if next(ESX.Players) then - local players = table.clone(ESX.Players) - table.wipe(ESX.Players) - for _, v in pairs(players) do - ESX.Players[GetIdentifier(v.source)] = true - end - else ESX.Players = {} end + TriggerClientEvent('esx_multicharacter:SetupUI', source, characters, slots) +end - local function SetupCharacters(source) - while not FETCH do Wait(100) end - local identifier = GetIdentifier(source) - ESX.Players[identifier] = true - - local slots = MySQL.scalar.await('SELECT slots FROM multicharacter_slots WHERE identifier = ?', { identifier }) or SLOTS - identifier = PREFIX..'%:'..identifier - - local result = MySQL.query.await(FETCH, {identifier, slots}) - local characters - - if result then - local characterCount = #result - characters = table.create(0, characterCount) - - for i = 1, characterCount, 1 do - local v = result[i] - local job, grade = v.job or 'unemployed', tostring(v.job_grade) - - if ESX.Jobs[job] and ESX.Jobs[job].grades[grade] then - if job ~= 'unemployed' then grade = ESX.Jobs[job].grades[grade].label else grade = '' end - job = ESX.Jobs[job].label - end - - local accounts = json.decode(v.accounts) - local id = tonumber(string.sub(v.identifier, #PREFIX+1, string.find(v.identifier, ':')-1)) - - characters[id] = { - id = id, - bank = accounts.bank, - money = accounts.money, - job = job, - job_grade = grade, - firstname = v.firstname, - lastname = v.lastname, - dateofbirth = v.dateofbirth, - skin = v.skin and json.decode(v.skin) or {}, - disabled = v.disabled, - sex = v.sex == 'm' and TranslateCap('male') or TranslateCap('female') - } - end - end - - TriggerClientEvent('esx_multicharacter:SetupUI', source, characters, slots) +AddEventHandler('playerConnecting', function(_, _, deferrals) + deferrals.defer() + local identifier = GetIdentifier(source) + if oneSyncState == "off" or oneSyncState == "legacy" then + return deferrals.done(('[ESX] ESX Requires Onesync Infinity to work. This server currently has Onesync set to: %s'):format(oneSyncState)) end - AddEventHandler('playerConnecting', function(_, _, deferrals) - deferrals.defer() - local identifier = GetIdentifier(source) - if oneSyncState == "off" or oneSyncState == "legacy" then - return deferrals.done(('[ESX] ESX Requires Onesync Infinity to work. This server currently has Onesync set to: %s'):format(oneSyncState)) - end + if not databaseFound then + deferrals.done('[ESX] Cannot Find the servers mysql_connection_string. Please make sure it is correctly configured in your server.cfg') + end - if not databaseFound then - deferrals.done('[ESX] Cannot Find the servers mysql_connection_string. Please make sure it is correctly configured in your server.cfg') - end + if not databaseConnected then + deferrals.done('[ESX] OxMySQL Was Unable To Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') + end - if not databaseConnected then - deferrals.done('[ESX] OxMySQL Was Unable To Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') - end - - if identifier then - - if not ESX.GetConfig().EnableDebug then - if ESX.Players[identifier] then - deferrals.done(('[ESX Multicharacter] A player is already connected to the server with this identifier.\nYour identifier: %s:%s'):format(PRIMARY_IDENTIFIER, identifier)) - else - deferrals.done() - end + if identifier then + + if not ESX.GetConfig().EnableDebug then + if ESX.Players[identifier] then + deferrals.done(('[ESX Multicharacter] A player is already connected to the server with this identifier.\nYour identifier: %s:%s'):format(PRIMARY_IDENTIFIER, identifier)) else deferrals.done() end else - deferrals.done(('Unable to retrieve player identifier.\nIdentifier type: %s'):format(PRIMARY_IDENTIFIER)) + deferrals.done() end - end) + else + deferrals.done(('Unable to retrieve player identifier.\nIdentifier type: %s'):format(PRIMARY_IDENTIFIER)) + end +end) - local function DeleteCharacter(source, charid) - local identifier = ('%s%s:%s'):format(PREFIX, charid, GetIdentifier(source)) - local query = 'DELETE FROM %s WHERE %s = ?' - local queries = {} - local count = 0 +local function DeleteCharacter(source, charid) + local identifier = ('%s%s:%s'):format(PREFIX, charid, GetIdentifier(source)) + local query = 'DELETE FROM %s WHERE %s = ?' + local queries = {} + local count = 0 - for table, column in pairs(DB_TABLES) do - count = count + 1 - queries[count] = {query = query:format(table, column), values = {identifier}} - end - - MySQL.transaction(queries, function(result) - if result then - print(('[^2INFO^7] Player ^5%s %s^7 has deleted a character ^5(%s)^7'):format(GetPlayerName(source), source, identifier)) - Wait(50) - SetupCharacters(source) - else - error('\n^1Transaction failed while trying to delete '..identifier..'^0') - end - end) + for table, column in pairs(DB_TABLES) do + count = count + 1 + queries[count] = {query = query:format(table, column), values = {identifier}} end - MySQL.ready(function() - local length = 42 + #PREFIX - local DB_COLUMNS = MySQL.query.await(('SELECT TABLE_NAME, COLUMN_NAME, CHARACTER_MAXIMUM_LENGTH FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = "%s" AND DATA_TYPE = "varchar" AND COLUMN_NAME IN (?)'):format(DATABASE, length), { - {'identifier', 'owner'} - }) - - if DB_COLUMNS then - local columns = {} - local count = 0 - - for i = 1, #DB_COLUMNS do - local column = DB_COLUMNS[i] - DB_TABLES[column.TABLE_NAME] = column.COLUMN_NAME - - if column?.CHARACTER_MAXIMUM_LENGTH ~= length then - count = count + 1 - columns[column.TABLE_NAME] = column.COLUMN_NAME - end - end - - if next(columns) then - local query = 'ALTER TABLE `%s` MODIFY COLUMN `%s` VARCHAR(%s)' - local queries = table.create(count, 0) - - for k, v in pairs(columns) do - queries[#queries+1] = {query = query:format(k, v, length)} - end - - if MySQL.transaction.await(queries) then - print(('[^2INFO^7] Updated ^5%s^7 columns to use ^5VARCHAR(%s)^7'):format(count, length)) - else - print(('[^2INFO^7] Unable to update ^5%s^7 columns to use ^5VARCHAR(%s)^7'):format(count, length)) - end - end - - ESX.Jobs = {} - - local function GetJobs() - if ESX.GetJobs then - return ESX.GetJobs() - end - return exports.es_extended:getSharedObject().Jobs - end - - repeat - ESX.Jobs = GetJobs() - Wait(50) - until next(ESX.Jobs) - - FETCH = 'SELECT identifier, accounts, job, job_grade, firstname, lastname, dateofbirth, sex, skin, disabled FROM users WHERE identifier LIKE ? LIMIT ?' - databaseConnected = true + MySQL.transaction(queries, function(result) + if result then + print(('[^2INFO^7] Player ^5%s %s^7 has deleted a character ^5(%s)^7'):format(GetPlayerName(source), source, identifier)) + Wait(50) + SetupCharacters(source) + else + error('\n^1Transaction failed while trying to delete '..identifier..'^0') end end) +end - RegisterNetEvent('esx_multicharacter:SetupCharacters', function() - SetupCharacters(source) - end) +MySQL.ready(function() + local length = 42 + #PREFIX + local DB_COLUMNS = MySQL.query.await(('SELECT TABLE_NAME, COLUMN_NAME, CHARACTER_MAXIMUM_LENGTH FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = "%s" AND DATA_TYPE = "varchar" AND COLUMN_NAME IN (?)'):format(DATABASE, length), { + {'identifier', 'owner'} + }) - local awaitingRegistration = {} + if DB_COLUMNS then + local columns = {} + local count = 0 - RegisterNetEvent('esx_multicharacter:CharacterChosen', function(charid, isNew) - if type(charid) == 'number' and string.len(charid) <= 2 and type(isNew) == 'boolean' then - if isNew then - awaitingRegistration[source] = charid + for i = 1, #DB_COLUMNS do + local column = DB_COLUMNS[i] + DB_TABLES[column.TABLE_NAME] = column.COLUMN_NAME + + if column?.CHARACTER_MAXIMUM_LENGTH ~= length then + count = count + 1 + columns[column.TABLE_NAME] = column.COLUMN_NAME + end + end + + if next(columns) then + local query = 'ALTER TABLE `%s` MODIFY COLUMN `%s` VARCHAR(%s)' + local queries = table.create(count, 0) + + for k, v in pairs(columns) do + queries[#queries+1] = {query = query:format(k, v, length)} + end + + if MySQL.transaction.await(queries) then + print(('[^2INFO^7] Updated ^5%s^7 columns to use ^5VARCHAR(%s)^7'):format(count, length)) else - if not ESX.GetConfig().EnableDebug then - local identifier = PREFIX..charid .. ':' .. GetIdentifier(source) - if ESX.GetPlayerFromIdentifier(identifier) then - DropPlayer(source, 'Your identifier '..identifier..' is already on the server!') - return - end - end - - TriggerEvent('esx:onPlayerJoined', source, PREFIX..charid) - ESX.Players[GetIdentifier(source)] = true + print(('[^2INFO^7] Unable to update ^5%s^7 columns to use ^5VARCHAR(%s)^7'):format(count, length)) end end - end) - AddEventHandler('esx_identity:completedRegistration', function(source, data) - TriggerEvent('esx:onPlayerJoined', source, PREFIX..awaitingRegistration[source], data) - awaitingRegistration[source] = nil - ESX.Players[GetIdentifier(source)] = true - end) + ESX.Jobs = {} - AddEventHandler('playerDropped', function() - awaitingRegistration[source] = nil - ESX.Players[GetIdentifier(source)] = nil - end) - - RegisterNetEvent('esx_multicharacter:DeleteCharacter', function(charid) - if Config.CanDelete and type(charid) == 'number' and string.len(charid) <= 2 then - DeleteCharacter(source, charid) + local function GetJobs() + if ESX.GetJobs then + return ESX.GetJobs() + end + return exports.es_extended:getSharedObject().Jobs end - end) - RegisterNetEvent('esx_multicharacter:relog', function() - local source = source - TriggerEvent('esx:playerLogout', source) - end) + repeat + ESX.Jobs = GetJobs() + Wait(50) + until next(ESX.Jobs) + + FETCH = 'SELECT identifier, accounts, job, job_grade, firstname, lastname, dateofbirth, sex, skin, disabled FROM users WHERE identifier LIKE ? LIMIT ?' + databaseConnected = true + end +end) + +RegisterNetEvent('esx_multicharacter:SetupCharacters', function() + SetupCharacters(source) +end) + +local awaitingRegistration = {} + +RegisterNetEvent('esx_multicharacter:CharacterChosen', function(charid, isNew) + if type(charid) == 'number' and string.len(charid) <= 2 and type(isNew) == 'boolean' then + if isNew then + awaitingRegistration[source] = charid + else + if not ESX.GetConfig().EnableDebug then + local identifier = PREFIX..charid .. ':' .. GetIdentifier(source) + if ESX.GetPlayerFromIdentifier(identifier) then + DropPlayer(source, 'Your identifier '..identifier..' is already on the server!') + return + end + end + + TriggerEvent('esx:onPlayerJoined', source, PREFIX..charid) + ESX.Players[GetIdentifier(source)] = true + end + end +end) + +AddEventHandler('esx_identity:completedRegistration', function(source, data) + TriggerEvent('esx:onPlayerJoined', source, PREFIX..awaitingRegistration[source], data) + awaitingRegistration[source] = nil + ESX.Players[GetIdentifier(source)] = true +end) + +AddEventHandler('playerDropped', function() + awaitingRegistration[source] = nil + ESX.Players[GetIdentifier(source)] = nil +end) + +RegisterNetEvent('esx_multicharacter:DeleteCharacter', function(charid) + if Config.CanDelete and type(charid) == 'number' and string.len(charid) <= 2 then + DeleteCharacter(source, charid) + end +end) + +RegisterNetEvent('esx_multicharacter:relog', function() + local source = source + TriggerEvent('esx:playerLogout', source) +end) From 6234d5da9ce4b837c393a6d79e6e7e24b244778e Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Thu, 6 Jul 2023 00:31:56 +1000 Subject: [PATCH 221/236] refactor(esx_multicharacter/server): remove hacky jobs workaround --- [core]/esx_multicharacter/server/main.lua | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index b677c7ad..6d61489d 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -184,20 +184,11 @@ MySQL.ready(function() end end - ESX.Jobs = {} - - local function GetJobs() - if ESX.GetJobs then - return ESX.GetJobs() - end - return exports.es_extended:getSharedObject().Jobs + while not next(ESX.Jobs) do + Wait(500) + ESX.Jobs = ESX.GetJobs() end - repeat - ESX.Jobs = GetJobs() - Wait(50) - until next(ESX.Jobs) - FETCH = 'SELECT identifier, accounts, job, job_grade, firstname, lastname, dateofbirth, sex, skin, disabled FROM users WHERE identifier LIKE ? LIMIT ?' databaseConnected = true end From f8197b7d47200211c47af832fddcbb808ec98996 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Thu, 6 Jul 2023 00:32:35 +1000 Subject: [PATCH 222/236] refactor(esx_multicharacter/server): await databaseConnected for setup --- [core]/esx_multicharacter/server/main.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index 6d61489d..63ffe2ed 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -23,7 +23,6 @@ local DATABASE do end local DB_TABLES = {users = 'identifier'} -local FETCH = nil local SLOTS = Config.Slots or 4 local PREFIX = Config.Prefix or 'char' local PRIMARY_IDENTIFIER = ESX.GetConfig().Identifier or GetConvar('sv_lan', '') == 'true' and 'ip' or "license" @@ -51,14 +50,15 @@ if next(ESX.Players) then else ESX.Players = {} end local function SetupCharacters(source) - while not FETCH do Wait(100) end + while not databaseConnected do Wait(100) end + local identifier = GetIdentifier(source) ESX.Players[identifier] = true local slots = MySQL.scalar.await('SELECT slots FROM multicharacter_slots WHERE identifier = ?', { identifier }) or SLOTS identifier = PREFIX..'%:'..identifier - local result = MySQL.query.await(FETCH, {identifier, slots}) + local result = MySQL.query.await('SELECT identifier, accounts, job, job_grade, firstname, lastname, dateofbirth, sex, skin, disabled FROM users WHERE identifier LIKE ? LIMIT ?', {identifier, slots}) local characters if result then @@ -189,7 +189,6 @@ MySQL.ready(function() ESX.Jobs = ESX.GetJobs() end - FETCH = 'SELECT identifier, accounts, job, job_grade, firstname, lastname, dateofbirth, sex, skin, disabled FROM users WHERE identifier LIKE ? LIMIT ?' databaseConnected = true end end) From 7d0872746ec37d2a16a5437154d92ad0bd7ffa7b Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Thu, 6 Jul 2023 00:33:08 +1000 Subject: [PATCH 223/236] fix(esx_multicharacter/server): don't rely on jobs for databaseConnected --- [core]/esx_multicharacter/server/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index 63ffe2ed..042292ce 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -184,12 +184,12 @@ MySQL.ready(function() end end + databaseConnected = true + while not next(ESX.Jobs) do Wait(500) ESX.Jobs = ESX.GetJobs() end - - databaseConnected = true end end) From 713e77b66015c8dfa23e1de309cd5855315392ef Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Thu, 6 Jul 2023 00:34:23 +1000 Subject: [PATCH 224/236] fix(esx_multicharacter/server): only set databaseFound on match --- [core]/esx_multicharacter/server/main.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index 042292ce..15058c75 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -4,6 +4,7 @@ local oneSyncState = GetConvar('onesync', 'off') local DATABASE do local connectionString = GetConvar('mysql_connection_string', ''); + if connectionString == '' then error(connectionString..'\n^1Unable to start Multicharacter - unable to determine database from mysql_connection_string^0', 0) elseif connectionString:find('mysql://') then @@ -12,13 +13,15 @@ local DATABASE do databaseFound = true else connectionString = {string.strsplit(';', connectionString)} + for i = 1, #connectionString do local v = connectionString[i] if v:match('database') then DATABASE = v:sub(10, #v) + databaseFound = true + break end end - databaseFound = true end end From 525f83f266c8bcff1546065ab378930b60b8f9fc Mon Sep 17 00:00:00 2001 From: Epyi Date: Thu, 6 Jul 2023 14:45:29 +0200 Subject: [PATCH 225/236] Update esx_identity/locales/fr.lua - Correction of some mistakes --- [core]/esx_identity/locales/fr.lua | 34 +++++++++++++++--------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/[core]/esx_identity/locales/fr.lua b/[core]/esx_identity/locales/fr.lua index 08c93f41..8fe519cf 100644 --- a/[core]/esx_identity/locales/fr.lua +++ b/[core]/esx_identity/locales/fr.lua @@ -2,37 +2,37 @@ Locales["fr"] = { ["show_active_character"] = "Afficher le personnage actif", ["active_character"] = "Personnage actif: %s", ["error_active_character"] = "Une erreur s'est produite lors de l'obtention de vos données.", - ["delete_character"] = "Supprimez votre personnage actuel.", - ["deleted_character"] = "Caractère supprimé", + ["delete_character"] = "Supprimer votre personnage actuel.", + ["deleted_character"] = "Personnage supprimé", ["error_delete_character"] = "Un problème est survenu lors de la suppression de votre personnage.", - ["thank_you_for_registering"] = "Inscription réussi. Profitez!", + ["thank_you_for_registering"] = "Inscription réussie. Bon jeu à vous!", ["debug_xPlayer_get_first_name"] = "Renvoie votre prénom", ["debug_xPlayer_get_last_name"] = "Renvoie votre nom de famille", ["debug_xPlayer_get_full_name"] = "Renvoie votre nom complet", - ["debug_xPlayer_get_sex"] = "Renvoie votre sexe", + ["debug_xPlayer_get_sex"] = "Renvoie votre genre", ["debug_xPlayer_get_dob"] = "Renvoie votre date de naissance", ["debug_xPlayer_get_height"] = "Renvoie votre taille", ["error_debug_xPlayer_get_first_name"] = "Un problème est survenu lors de l'obtention de votre prénom.", ["error_debug_xPlayer_get_last_name"] = "Un problème est survenu lors de l'obtention de votre nom de famille.", ["error_debug_xPlayer_get_full_name"] = "Un problème est survenu lors de l'obtention de votre nom complet.", - ["error_debug_xPlayer_get_sex"] = "Il y a eu un problème lors de l'obtention de votre sexe.", + ["error_debug_xPlayer_get_sex"] = "Un problème est survenu lors de l'obtention de votre genre.", ["error_debug_xPlayer_get_dob"] = "Un problème est survenu lors de l'obtention de votre date de naissance.", ["error_debug_xPlayer_get_height"] = "Un problème est survenu lors de l'obtention de votre taille.", ["return_debug_xPlayer_get_first_name"] = "Prénom: %s", ["return_debug_xPlayer_get_last_name"] = "Nom de famille: %s", ["return_debug_xPlayer_get_full_name"] = "Nom: %s", - ["return_debug_xPlayer_get_sex"] = "Sexe: %s", + ["return_debug_xPlayer_get_sex"] = "Genre: %s", ["return_debug_xPlayer_get_dob"] = "Date de naissance: %s", - ["return_debug_xPlayer_get_height"] = "Hauteur: %s pouces", - ["data_incorrect"] = "Données non valides, veuillez réessayer.", - ["invalid_format"] = "Format de données non valide, veuillez réessayer.", - ["no_identifier"] = "[ESX Identity]\nIl y a eu un problème lors du chargement de votre personnage !\nCode d'erreur : identifiant manquant\n\nCela est dû au fait que votre identifiant est manquant. Veuillez revenir plus tard ou signaler ce problème au propriétaire du serveur.", - ["missing_identity"] = "[ESX Identity]Un problème est survenu lors du chargement de votre personnage !Code d'erreur : identité manquante\n\nIl semble que votre identité soit manquante, essayez de vous reconnecter.", + ["return_debug_xPlayer_get_height"] = "Taille: %s pouces", + ["data_incorrect"] = "Données invalides, veuillez réessayer.", + ["invalid_format"] = "Format de données invalide, veuillez réessayer.", + ["no_identifier"] = "[ESX Identity]\nUn problème est survenu lors du chargement de votre personnage !\nCode d'erreur : identifier-missing\n\nIl semble que votre identifiant soit manquant. Veuillez revenir plus tard ou signaler ce problème au propriétaire du serveur.", + ["missing_identity"] = "[ESX Identity]Un problème est survenu lors du chargement de votre personnage !\nCode d'erreur : identity-missing\n\nIl semble que votre identité soit manquante, essayez de vous reconnecter.", ["deleted_identity"] = "Personnage supprimé. Veuillez vous réinscrire pour créer un nouveau personnage.", - ["already_registered"] = "Vous êtes déjà inscrit.", - ["invalid_firstname_format"] = "Format non valide (prénom) : veuillez réessayer.", - ["invalid_lastname_format"] = "Format non valide (nom de famille) : veuillez réessayer.", - ["invalid_dob_format"] = "Format non valide (DDN) : veuillez réessayer.", - ["invalid_sex_format"] = "Format non valide (sexe) : veuillez réessayer.", - ["invalid_height_format"] = "Format non valide (hauteur) : veuillez réessayer.", + ["already_registered"] = "Vous êtes déjà enregistré.", + ["invalid_firstname_format"] = "Format invalide (Prénom) : Veuillez réessayer.", + ["invalid_lastname_format"] = "Format invalide (Nom de famille) : Veuillez réessayer.", + ["invalid_dob_format"] = "Format invalide (Date de naissance) : Veuillez réessayer.", + ["invalid_sex_format"] = "Format invalide (Genre) : Veuillez réessayer.", + ["invalid_height_format"] = "Format invalide (Taille) : Veuillez réessayer.", } From 866899e7966c6d8c5631db297a8d4cabb7591dda Mon Sep 17 00:00:00 2001 From: Gellipapa Date: Fri, 7 Jul 2023 21:31:22 +0200 Subject: [PATCH 226/236] :ambulance: hotfix regsiter command in es_extended --- [core]/es_extended/server/functions.lua | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index b77c713f..c301a199 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -85,7 +85,12 @@ function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion) error = TranslateCap('commanderror_argumentmismatch_number', k) end elseif v.type == 'string' then - newArgs[v.name] = args[k] + local newArg = tonumber(args[k]) + if not newArg then + newArgs[v.name] = args[k] + else + error = TranslateCap('commanderror_argumentmismatch_string', k) + end elseif v.type == 'item' then if ESX.Items[args[k]] then newArgs[v.name] = args[k] @@ -110,8 +115,9 @@ function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion) newArgs[v.name] = string.sub(merge, lenght) end end - - if not v.validate then + + --backwards compatibility + if not v.validate and not v.type then error = nil end @@ -131,10 +137,6 @@ function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion) xPlayer.showNotification(error) end else - if ESX.Table.SizeOf(args) == 0 then - xPlayer.showNotification(TranslateCap('commanderror_invalidplayerid')) - return - end cb(xPlayer or false, args, function(msg) if playerId == 0 then print(('[^3WARNING^7] %s^7'):format(msg)) From cfc6a863719479b7eee17304bf04ac5c125ab47b Mon Sep 17 00:00:00 2001 From: Gellipapa Date: Fri, 7 Jul 2023 21:32:17 +0200 Subject: [PATCH 227/236] :package: Add new translate text handle string value is only string not accepted number anymore --- [core]/es_extended/locales/cs.lua | 1 + [core]/es_extended/locales/da.lua | 1 + [core]/es_extended/locales/de.lua | 1 + [core]/es_extended/locales/en.lua | 1 + [core]/es_extended/locales/es.lua | 1 + [core]/es_extended/locales/fi.lua | 1 + [core]/es_extended/locales/fr.lua | 1 + [core]/es_extended/locales/hu.lua | 1 + [core]/es_extended/locales/it.lua | 1 + [core]/es_extended/locales/nl.lua | 1 + [core]/es_extended/locales/pl.lua | 1 + [core]/es_extended/locales/sl.lua | 1 + [core]/es_extended/locales/sr.lua | 1 + [core]/es_extended/locales/zh-cn.lua | 1 + 14 files changed, 14 insertions(+) diff --git a/[core]/es_extended/locales/cs.lua b/[core]/es_extended/locales/cs.lua index 67744f15..37ff49d4 100644 --- a/[core]/es_extended/locales/cs.lua +++ b/[core]/es_extended/locales/cs.lua @@ -99,6 +99,7 @@ Locales['cs'] = { ['command_setgroup_group'] = 'Název skupiny', ['commanderror_argumentmismatch'] = 'Chybný počet hodnot (správně %s, potřebných %s)', ['commanderror_argumentmismatch_number'] = 'Chybně zadaná hodnot #%s (správně, špatně)', + ['commanderror_argumentmismatch_string'] = 'Invalid Argument #%s data type (passed number, wanted string)', ['commanderror_invaliditem'] = 'Špatný předmět', ['commanderror_invalidweapon'] = 'Špatná zbraň', ['commanderror_console'] = 'příkaz nelze být zpracován v konzoli', diff --git a/[core]/es_extended/locales/da.lua b/[core]/es_extended/locales/da.lua index c5a7a771..0c0c6602 100644 --- a/[core]/es_extended/locales/da.lua +++ b/[core]/es_extended/locales/da.lua @@ -99,6 +99,7 @@ Locales['da'] = { ['command_setgroup_group'] = 'Navn på gruppe', ['commanderror_argumentmismatch'] = 'Antal ugyldige argumenter (bestået %s, ønsket %s)', ['commanderror_argumentmismatch_number'] = 'Ugyldigt argument #%s datatype (bestået streng, ønsket nummer)', + ['commanderror_argumentmismatch_string'] = 'Invalid Argument #%s data type (passed number, wanted string)', ['commanderror_invaliditem'] = 'Ugyldig genstand', ['commanderror_invalidweapon'] = 'Ugyldigt våben', ['commanderror_console'] = 'Kommandoen kan ikke udføres fra konsollen', diff --git a/[core]/es_extended/locales/de.lua b/[core]/es_extended/locales/de.lua index 635d9a75..ab39e43d 100644 --- a/[core]/es_extended/locales/de.lua +++ b/[core]/es_extended/locales/de.lua @@ -99,6 +99,7 @@ Locales['de'] = { ['command_setgroup_group'] = 'Name der Gruppe', ['commanderror_argumentmismatch'] = 'Ungültiger Argument (gegeben %s, gewollt %s)', ['commanderror_argumentmismatch_number'] = 'Ungültiges Argument #%s daten typ (string gegeben, gewollte nummer)', + ['commanderror_argumentmismatch_string'] = 'Invalid Argument #%s data type (passed number, wanted string)', ['commanderror_invaliditem'] = 'Ungültiges Item', ['commanderror_invalidweapon'] = 'Ungültige Waffe', ['commanderror_console'] = 'Befehl kann nicht von der Konsole aus ausgeführt werden', diff --git a/[core]/es_extended/locales/en.lua b/[core]/es_extended/locales/en.lua index 50de5d0e..09b4427f 100644 --- a/[core]/es_extended/locales/en.lua +++ b/[core]/es_extended/locales/en.lua @@ -103,6 +103,7 @@ Locales['en'] = { ['command_setgroup_group'] = 'Name of Group', ['commanderror_argumentmismatch'] = 'Invalid Argument Count (passed %s, wanted %s)', ['commanderror_argumentmismatch_number'] = 'Invalid Argument #%s data type (passed string, wanted number)', + ['commanderror_argumentmismatch_string'] = 'Invalid Argument #%s data type (passed number, wanted string)', ['commanderror_invaliditem'] = 'Invalid item', ['commanderror_invalidweapon'] = 'Invalid weapon', ['commanderror_console'] = 'Command Cannot be executed from console', diff --git a/[core]/es_extended/locales/es.lua b/[core]/es_extended/locales/es.lua index efd3d1c6..7061eea4 100644 --- a/[core]/es_extended/locales/es.lua +++ b/[core]/es_extended/locales/es.lua @@ -99,6 +99,7 @@ Locales['es'] = { ['command_setgroup_group'] = 'Nombre del grupo', ['commanderror_argumentmismatch'] = 'Error en el recuento de argumentos (pasado %s, deseado %s)', ['commanderror_argumentmismatch_number'] = 'Argumento #%s tipo no coincide (cadena pasada, número deseado)', + ['commanderror_argumentmismatch_string'] = 'Invalid Argument #%s data type (passed number, wanted string)', ['commanderror_invaliditem'] = 'Nombre del artículo no válido', ['commanderror_invalidweapon'] = 'Arma inválida', ['commanderror_console'] = 'Ese comando no se puede ejecutar desde la consola', diff --git a/[core]/es_extended/locales/fi.lua b/[core]/es_extended/locales/fi.lua index 1a8e8e09..6c4c62f6 100644 --- a/[core]/es_extended/locales/fi.lua +++ b/[core]/es_extended/locales/fi.lua @@ -94,6 +94,7 @@ Locales['fi'] = { ['command_setgroup_group'] = 'Ryhmän nimi', ['commanderror_argumentmismatch'] = 'Argumenttien määrä ei täsmää (hyväksytty %s, haluttu %s)', ['commanderror_argumentmismatch_number'] = 'Argumentin #%s tyyppi ei täsmää (syötetty merkkijono, haluttu numero)', + ['commanderror_argumentmismatch_string'] = 'Invalid Argument #%s data type (passed number, wanted string)', ['commanderror_invaliditem'] = 'Virheellinen esineen nimi', ['commanderror_invalidweapon'] = 'Virheellinen ase', ['commanderror_console'] = 'Komentoa ei voi suorittaa konsolissa', diff --git a/[core]/es_extended/locales/fr.lua b/[core]/es_extended/locales/fr.lua index 74e105a8..4cc1873f 100644 --- a/[core]/es_extended/locales/fr.lua +++ b/[core]/es_extended/locales/fr.lua @@ -94,6 +94,7 @@ Locales['fr'] = { ['command_setgroup_group'] = 'nom du groupe', ['commanderror_argumentmismatch'] = 'argument count mismatch (passed %s, wanted %s)', ['commanderror_argumentmismatch_number'] = 'argument #%s type mismatch (passed string, wanted number)', + ['commanderror_argumentmismatch_string'] = 'Invalid Argument #%s data type (passed number, wanted string)', ['commanderror_invaliditem'] = 'nom de l\'objet invalide', ['commanderror_invalidweapon'] = 'arme invalide', ['commanderror_console'] = 'cette commande ne peut pas être utilisée dans la console', diff --git a/[core]/es_extended/locales/hu.lua b/[core]/es_extended/locales/hu.lua index da859972..21685996 100644 --- a/[core]/es_extended/locales/hu.lua +++ b/[core]/es_extended/locales/hu.lua @@ -99,6 +99,7 @@ Locales["hu"] = { ["command_setgroup_group"] = "Csoport neve", ["commanderror_argumentmismatch"] = "Érvénytelen argumentumszám (%s megadva, %s szükséges)", ["commanderror_argumentmismatch_number"] = "Érvénytelen argumentum #%s adat típus (szöveg megadva, szám szükséges)", + ['commanderror_argumentmismatch_string'] = 'Invalid Argument #%s data type (passed number, wanted string)', ["commanderror_invaliditem"] = "Érvénytelen tárgy", ["commanderror_invalidweapon"] = "Érvénytelen fegyver", ["commanderror_console"] = "Parancs nem használható konzolból", diff --git a/[core]/es_extended/locales/it.lua b/[core]/es_extended/locales/it.lua index daff7efd..702ef4cb 100644 --- a/[core]/es_extended/locales/it.lua +++ b/[core]/es_extended/locales/it.lua @@ -99,6 +99,7 @@ Locales['it'] = { ['command_setgroup_group'] = 'Nome del gruppo', ['commanderror_argumentmismatch'] = 'Conta argomenti non valida (passati %s, richiesti %s)', ['commanderror_argumentmismatch_number'] = 'Argomento #%s di tipologia errata (passato testo, richiesto numero)', + ['commanderror_argumentmismatch_string'] = 'Invalid Argument #%s data type (passed number, wanted string)', ['commanderror_invaliditem'] = 'Oggetto non valido', ['commanderror_invalidweapon'] = 'Arma non valida', ['commanderror_console'] = 'Comando non eseguibile dalla console', diff --git a/[core]/es_extended/locales/nl.lua b/[core]/es_extended/locales/nl.lua index 85998877..c37f2777 100644 --- a/[core]/es_extended/locales/nl.lua +++ b/[core]/es_extended/locales/nl.lua @@ -99,6 +99,7 @@ Locales['nl'] = { ['command_setgroup_group'] = 'Naam van groep', ['commanderror_argumentmismatch'] = 'Ongeldig aantal argumenten (geslaagd %s, gezocht %s)', ['commanderror_argumentmismatch_number'] = 'Ongeldig argument #%s gegevenstype (doorgegeven string, gewenst nummer)', + ['commanderror_argumentmismatch_string'] = 'Invalid Argument #%s data type (passed number, wanted string)', ['commanderror_invaliditem'] = 'Ongeldig item', ['commanderror_invalidweapon'] = 'Ongeldig wapen', ['commanderror_console'] = 'Command kan niet worden uitgevoerd vanaf console.', diff --git a/[core]/es_extended/locales/pl.lua b/[core]/es_extended/locales/pl.lua index 96e543c5..79bacd0a 100644 --- a/[core]/es_extended/locales/pl.lua +++ b/[core]/es_extended/locales/pl.lua @@ -93,6 +93,7 @@ Locales['pl'] = { ['command_setgroup_group'] = 'nazwa grupy', ['commanderror_argumentmismatch'] = 'nieprawiłowa ilość argumentów (przeszło %s, wymagane %s)', ['commanderror_argumentmismatch_number'] = 'nieprawidłowy typ argumentu #%s (przeszedł tekst, wymagany numer)', + ['commanderror_argumentmismatch_string'] = 'Invalid Argument #%s data type (passed number, wanted string)', ['commanderror_invaliditem'] = 'nieprawidłowa nazwa przedmiotu', ['commanderror_invalidweapon'] = 'nieprawidłowa broń', ['commanderror_console'] = 'podana komenda nie może zostać uruchomiona przez konsole', diff --git a/[core]/es_extended/locales/sl.lua b/[core]/es_extended/locales/sl.lua index 880ef536..9e7810fc 100644 --- a/[core]/es_extended/locales/sl.lua +++ b/[core]/es_extended/locales/sl.lua @@ -99,6 +99,7 @@ Locales['sl'] = { ['command_setgroup_group'] = 'Ime skupine', ['commanderror_argumentmismatch'] = 'Neveljavno stetje argumentov (podano %s, zeleno %s)', ['commanderror_argumentmismatch_number'] = 'Neveljaven podatkovni tip argumenta #%s (posredovan niz, zeleno stevilo)', + ['commanderror_argumentmismatch_string'] = 'Invalid Argument #%s data type (passed number, wanted string)', ['commanderror_invaliditem'] = 'Neveljaven element', ['commanderror_invalidweapon'] = 'Neveljavno orozje', ['commanderror_console'] = 'Ukaza ni mogoce izvesti s konzole', diff --git a/[core]/es_extended/locales/sr.lua b/[core]/es_extended/locales/sr.lua index e3fe777c..7543b327 100644 --- a/[core]/es_extended/locales/sr.lua +++ b/[core]/es_extended/locales/sr.lua @@ -99,6 +99,7 @@ Locales['sr'] = { ['command_setgroup_group'] = 'Ime grupe', ['commanderror_argumentmismatch'] = 'Nevazeci broj argumenata (položio %s, željeno %s)', ['commanderror_argumentmismatch_number'] = 'Nevažeći argument #%s tip podataka (položeno, željeno)', + ['commanderror_argumentmismatch_string'] = 'Invalid Argument #%s data type (passed number, wanted string)', ['commanderror_invaliditem'] = 'Nevažeći item', ['commanderror_invalidweapon'] = 'Nevažeće oružje', ['commanderror_console'] = 'Komanda se ne može izvršiti iz konzole', diff --git a/[core]/es_extended/locales/zh-cn.lua b/[core]/es_extended/locales/zh-cn.lua index c9951bc7..07d237ac 100644 --- a/[core]/es_extended/locales/zh-cn.lua +++ b/[core]/es_extended/locales/zh-cn.lua @@ -99,6 +99,7 @@ Locales['zh-cn'] = { ['command_setgroup_group'] = '用户组代码', ['commanderror_argumentmismatch'] = '参数计数不匹配 (该类型为 %s, 需要传输 %s)', ['commanderror_argumentmismatch_number'] = '参数 #%s 类型不匹配 (该类型为字符串,需要传递数字类型)', + ['commanderror_argumentmismatch_string'] = 'Invalid Argument #%s data type (passed number, wanted string)', ['commanderror_invaliditem'] = '无效的物品代码', ['commanderror_invalidweapon'] = '无效的武器代码', ['commanderror_console'] = '控制台无法执行此命令!', From c6c99980f32f43932868c6120e926614ae72c5d3 Mon Sep 17 00:00:00 2001 From: Mycroft Date: Fri, 7 Jul 2023 22:00:34 +0100 Subject: [PATCH 228/236] tweak(readme): general changes looks better imo --- readme.md | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/readme.md b/readme.md index 8731c473..709429bb 100644 --- a/readme.md +++ b/readme.md @@ -1,8 +1,8 @@

ESX Legacy

Discord - Website - Documentation -

Want more resources? You can browse the ESX Community Github or Cfx.re Releases board for more! -

ESX is the leading framework, trusted by thousands of communities for the highest quality roleplay servers on FiveM

+

Want more resources? You can browse the Cfx.re Releases board for more! +

ESX is the leading framework, trusted By over 12,000 communities to provide the highest quality roleplay servers on FiveM


@@ -18,17 +18,29 @@ Interested in helping us? [Take a look at our patreon](https://www.patreon.com/e | CONGRESS KW - Michael Hein - Smery sitbon - daZepelin - CMF Community | ------ -### 📌 License -ESX-legacy - ESX framework for FiveM +
+ +

Legal Notices

+ESX Core (ESX-legacy) - Copyright (C) 2015-2023 ESX-Framework + Copyright (C) 2015-2023 [ESX-Framework](https://github.com/esx-framework) - This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version. +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. - This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details. - You should have received a copy Of the GNU General Public License along with this program. If Not, see . ---- +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + + +You should have received a copy of the GNU General Public License +along with this program. +If not, see +
Powered by [Oxygenserv](https://www.oxygenserv.com/en/) From 8efbde6abf0d3cb9cec7e1eb07997c3897ab5109 Mon Sep 17 00:00:00 2001 From: Mycroft Date: Fri, 7 Jul 2023 22:01:57 +0100 Subject: [PATCH 229/236] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 709429bb..1e6f00c6 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@

Discord - Website - Documentation

Want more resources? You can browse the Cfx.re Releases board for more! -

ESX is the leading framework, trusted By over 12,000 communities to provide the highest quality roleplay servers on FiveM

+

ESX is the leading framework, trusted by over 12,000 communities to provide the highest quality roleplay servers on FiveM


From 80b8285db132b7a3bddd9e1a423a31109af6c76b Mon Sep 17 00:00:00 2001 From: Gellipapa Date: Sat, 8 Jul 2023 21:02:07 +0200 Subject: [PATCH 230/236] :package: Added lot of new stuff GetVehicle,SetVehicle properties :package: Change extra ID range to 20 :package: RollupWindow in GetVehicleprops :package: Add bulletprof tyres option :package: Add vehicle roof livery :fix: fix modWindows props :package: replace SmashVehicleWindow to RemoveVehicleWindow --- [core]/es_extended/client/functions.lua | 130 ++++++++++++++---------- 1 file changed, 74 insertions(+), 56 deletions(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index da7ae46e..47466708 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -26,7 +26,7 @@ end function ESX.SearchInventory(items, count) if type(items) == 'string' then - items = { items } + items = {items} end local returnData = {} @@ -154,7 +154,7 @@ if GetResourceState("esx_context") ~= "missing" then end function ESX.RefreshContext(...) - exports["esx_context"]:Refresh(...) + exports["esx_context"]:Refresh(...) end else function ESX.OpenContext() @@ -203,6 +203,7 @@ function ESX.UI.Menu.Open(type, namespace, name, data, submit, cancel, change, c menu.change = change menu.close = function() + ESX.UI.Menu.RegisteredTypes[type].close(namespace, name) for i = 1, #ESX.UI.Menu.Opened, 1 do @@ -217,9 +218,11 @@ function ESX.UI.Menu.Open(type, namespace, name, data, submit, cancel, change, c if close then close() end + end menu.update = function(query, newData) + for i = 1, #menu.data.elements, 1 do local match = true @@ -235,6 +238,7 @@ function ESX.UI.Menu.Open(type, namespace, name, data, submit, cancel, change, c end end end + end menu.refresh = function() @@ -262,6 +266,7 @@ function ESX.UI.Menu.Open(type, namespace, name, data, submit, cancel, change, c break end end + end end end @@ -491,6 +496,7 @@ function ESX.Game.GetPlayers(onlyOtherPlayers, returnKeyValue, returnPeds) return players end + function ESX.Game.GetClosestObject(coords, modelFilter) return ESX.Game.GetClosestEntity(ESX.Game.GetObjects(), false, coords, modelFilter) end @@ -598,23 +604,23 @@ function ESX.Game.GetVehicleProperties(vehicle) local interiorColor = GetVehicleInteriorColour(vehicle) local customPrimaryColor = nil if hasCustomPrimaryColor then - customPrimaryColor = { GetVehicleCustomPrimaryColour(vehicle) } + customPrimaryColor = {GetVehicleCustomPrimaryColour(vehicle)} end local hasCustomXenonColor, customXenonColorR, customXenonColorG, customXenonColorB = GetVehicleXenonLightsCustomColor(vehicle) local customXenonColor = nil if hasCustomXenonColor then - customXenonColor = { customXenonColorR, customXenonColorG, customXenonColorB } + customXenonColor = {customXenonColorR, customXenonColorG, customXenonColorB} end local hasCustomSecondaryColor = GetIsVehicleSecondaryColourCustom(vehicle) local customSecondaryColor = nil if hasCustomSecondaryColor then - customSecondaryColor = { GetVehicleCustomSecondaryColour(vehicle) } + customSecondaryColor = {GetVehicleCustomSecondaryColour(vehicle)} end local extras = {} - for extraId = 0, 12 do + for extraId = 0, 20 do if DoesExtraExist(vehicle, extraId) then extras[tostring(extraId)] = IsVehicleExtraTurnedOn(vehicle, extraId) end @@ -628,11 +634,11 @@ function ESX.Game.GetVehicleProperties(vehicle) local doorsBroken, windowsBroken, tyreBurst = {}, {}, {} local numWheels = tostring(GetVehicleNumberOfWheels(vehicle)) - local TyresIndex = { -- Wheel index list according to the number of vehicle wheels. - ['2'] = { 0, 4 }, -- Bike and cycle. - ['3'] = { 0, 1, 4, 5 }, -- Vehicle with 3 wheels (get for wheels because some 3 wheels vehicles have 2 wheels on front and one rear or the reverse). - ['4'] = { 0, 1, 4, 5 }, -- Vehicle with 4 wheels. - ['6'] = { 0, 1, 2, 3, 4, 5 } -- Vehicle with 6 wheels. + local TyresIndex = { -- Wheel index list according to the number of vehicle wheels. + ['2'] = {0, 4}, -- Bike and cycle. + ['3'] = {0, 1, 4, 5}, -- Vehicle with 3 wheels (get for wheels because some 3 wheels vehicles have 2 wheels on front and one rear or the reverse). + ['4'] = {0, 1, 4, 5}, -- Vehicle with 4 wheels. + ['6'] = {0, 1, 2, 3, 4, 5} -- Vehicle with 6 wheels. } if TyresIndex[numWheels] then @@ -642,6 +648,7 @@ function ESX.Game.GetVehicleProperties(vehicle) end for windowId = 0, 7 do -- 13 + RollUpWindow(vehicle, windowId) --fix when you put the car away with the window down windowsBroken[tostring(windowId)] = not IsVehicleWindowIntact(vehicle, windowId) end @@ -657,6 +664,7 @@ function ESX.Game.GetVehicleProperties(vehicle) doorsBroken = doorsBroken, windowsBroken = windowsBroken, tyreBurst = tyreBurst, + tyresCanBurst = GetVehicleTyresCanBurst(vehicle), plate = ESX.Math.Trim(GetVehicleNumberPlateText(vehicle)), plateIndex = GetVehicleNumberPlateTextIndex(vehicle), @@ -682,8 +690,8 @@ function ESX.Game.GetVehicleProperties(vehicle) xenonColor = GetVehicleXenonLightsColor(vehicle), customXenonColor = customXenonColor, - neonEnabled = { IsVehicleNeonLightEnabled(vehicle, 0), IsVehicleNeonLightEnabled(vehicle, 1), - IsVehicleNeonLightEnabled(vehicle, 2), IsVehicleNeonLightEnabled(vehicle, 3) }, + neonEnabled = {IsVehicleNeonLightEnabled(vehicle, 0), IsVehicleNeonLightEnabled(vehicle, 1), + IsVehicleNeonLightEnabled(vehicle, 2), IsVehicleNeonLightEnabled(vehicle, 3)}, neonColor = table.pack(GetVehicleNeonLightsColour(vehicle)), extras = extras, @@ -701,6 +709,7 @@ function ESX.Game.GetVehicleProperties(vehicle) modFender = GetVehicleMod(vehicle, 8), modRightFender = GetVehicleMod(vehicle, 9), modRoof = GetVehicleMod(vehicle, 10), + modRoofLivery = GetVehicleRoofLivery(vehicle), modEngine = GetVehicleMod(vehicle, 11), modBrakes = GetVehicleMod(vehicle, 12), @@ -714,7 +723,7 @@ function ESX.Game.GetVehicleProperties(vehicle) modXenon = IsToggleModOn(vehicle, 22), modFrontWheels = GetVehicleMod(vehicle, 23), - modCustomFrontWheels = GetVehicleModVariation(vehicle, 23), + modCustomFrontWheels = GetVehicleModVariation(vehicle, 23), modBackWheels = GetVehicleMod(vehicle, 24), modCustomBackWheels = GetVehicleModVariation(vehicle, 24), @@ -739,7 +748,7 @@ function ESX.Game.GetVehicleProperties(vehicle) modAerials = GetVehicleMod(vehicle, 43), modTrimB = GetVehicleMod(vehicle, 44), modTank = GetVehicleMod(vehicle, 45), - modDoorR = GetVehicleMod(vehicle, 47), + modWindows = GetVehicleMod(vehicle, 46), modLivery = GetVehicleMod(vehicle, 48) == -1 and GetVehicleLivery(vehicle) or GetVehicleMod(vehicle, 48), modLightbar = GetVehicleMod(vehicle, 49) } @@ -753,6 +762,10 @@ function ESX.Game.SetVehicleProperties(vehicle, props) local pearlescentColor, wheelColor = GetVehicleExtraColours(vehicle) SetVehicleModKit(vehicle, 0) + if props.tyresCanBurst ~= nil then + SetVehicleTyresCanBurst(vehicle, props.tyresCanBurst) + end + if props.plate ~= nil then SetVehicleNumberPlateText(vehicle, props.plate) end @@ -823,7 +836,7 @@ function ESX.Game.SetVehicleProperties(vehicle, props) end end - if props.driftTyresEnabled then + if props.driftTyresEnabled then SetDriftTyresEnabled(vehicle, true) end @@ -876,6 +889,11 @@ function ESX.Game.SetVehicleProperties(vehicle, props) if props.modRoof ~= nil then SetVehicleMod(vehicle, 10, props.modRoof, false) end + + if props.modRoofLivery ~= nil then + SetVehicleRoofLivery(vehicle, props.modRoofLivery) + end + if props.modEngine ~= nil then SetVehicleMod(vehicle, 11, props.modEngine, false) end @@ -903,8 +921,8 @@ function ESX.Game.SetVehicleProperties(vehicle, props) if props.modFrontWheels ~= nil then SetVehicleMod(vehicle, 23, props.modFrontWheels, false) end - if props.modCustomFrontWheels ~= nil then - SetVehicleMod(vehicle, 23, props.modCustomFrontWheels, false) + if props.modCustomFrontWheels ~= nil then + SetVehicleMod(vehicle, 23, props.modCustomFrontWheels, false) end if props.modBackWheels ~= nil then SetVehicleMod(vehicle, 24, props.modBackWheels, false) @@ -987,7 +1005,7 @@ function ESX.Game.SetVehicleProperties(vehicle, props) if props.windowsBroken ~= nil then for k, v in pairs(props.windowsBroken) do if v then - SmashVehicleWindow(vehicle, tonumber(k)) + RemoveVehicleWindow(vehicle, tonumber(k)) end end end @@ -1056,7 +1074,7 @@ function ESX.ShowInventory() local playerPed = ESX.PlayerData.ped local elements = { - { unselectable = true, icon = 'fas fa-box', title = 'Player Inventory' } + {unselectable = true, icon = 'fas fa-box', title = 'Player Inventory'} } local currentWeight = 0 @@ -1065,7 +1083,7 @@ function ESX.ShowInventory() local formattedMoney = TranslateCap('locale_currency', ESX.Math.GroupDigits(ESX.PlayerData.accounts[i].money)) local canDrop = ESX.PlayerData.accounts[i].name ~= 'bank' - elements[#elements + 1] = { + elements[#elements+1] = { icon = 'fas fa-money-bill-wave', title = ('%s: %s'):format(ESX.PlayerData.accounts[i].label, formattedMoney), count = ESX.PlayerData.accounts[i].money, @@ -1082,7 +1100,7 @@ function ESX.ShowInventory() if v.count > 0 then currentWeight = currentWeight + (v.weight * v.count) - elements[#elements + 1] = { + elements[#elements+1] = { icon = 'fas fa-box', title = ('%s x%s'):format(v.label, v.count), count = v.count, @@ -1101,7 +1119,7 @@ function ESX.ShowInventory() if HasPedGotWeapon(playerPed, weaponHash, false) then local ammo = GetAmmoInPedWeapon(playerPed, weaponHash) - elements[#elements + 1] = { + elements[#elements+1] = { icon = 'fas fa-gun', title = v.ammo and ('%s - %s %s'):format(v.label, ammo, v.ammo.label) or v.label, count = 1, @@ -1116,10 +1134,10 @@ function ESX.ShowInventory() end end - elements[#elements + 1] = { + elements[#elements+1] = { unselectable = true, icon = "fas fa-weight", - title = "Current Weight: " .. currentWeight + title = "Current Weight: "..currentWeight } ESX.CloseContext() @@ -1130,7 +1148,7 @@ function ESX.ShowInventory() local elements2 = {} if element.usable then - elements2[#elements2 + 1] = { + elements2[#elements2+1] = { icon = "fas fa-utensils", title = TranslateCap('use'), action = 'use', @@ -1141,7 +1159,7 @@ function ESX.ShowInventory() if element.canRemove then if player ~= -1 and distance <= 3.0 then - elements2[#elements2 + 1] = { + elements2[#elements2+1] = { icon = "fas fa-hands", title = TranslateCap('give'), action = 'give', @@ -1150,7 +1168,7 @@ function ESX.ShowInventory() } end - elements2[#elements2 + 1] = { + elements2[#elements2+1] = { icon = "fas fa-trash", title = TranslateCap('remove'), action = 'remove', @@ -1160,7 +1178,7 @@ function ESX.ShowInventory() end if element.type == 'item_weapon' and element.canGiveAmmo and element.ammo > 0 and player ~= -1 and distance <= 3.0 then - elements2[#elements2 + 1] = { + elements2[#elements2+1] = { icon = "fas fa-gun", title = TranslateCap('giveammo'), action = 'give_ammo', @@ -1169,7 +1187,7 @@ function ESX.ShowInventory() } end - elements2[#elements2 + 1] = { + elements2[#elements2+1] = { icon = "fas fa-arrow-left", title = TranslateCap('return'), action = 'return' @@ -1184,7 +1202,7 @@ function ESX.ShowInventory() if #playersNearby > 0 then local players = {} local elements3 = { - { unselectable = true, icon = "fas fa-users", title = "Nearby Players" } + {unselectable = true, icon = "fas fa-users", title = "Nearby Players"} } for _, playerNearby in ipairs(playersNearby) do @@ -1193,7 +1211,7 @@ function ESX.ShowInventory() ESX.TriggerServerCallback('esx:getPlayerNames', function(returnedPlayers) for playerId, playerName in pairs(returnedPlayers) do - elements3[#elements3 + 1] = { + elements3[#elements3+1] = { icon = "fas fa-user", title = playerName, playerId = playerId @@ -1214,12 +1232,12 @@ function ESX.ShowInventory() ESX.CloseContext() else local elementsG = { - { unselectable = true, icon = "fas fa-trash", title = element.title }, - { icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to give..", inputMin = 1, inputMax = 1000 }, - { icon = "fas fa-check-double", title = "Confirm", val = "confirm" } + {unselectable = true, icon = "fas fa-trash", title = element.title}, + {icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to give..", inputMin = 1, inputMax = 1000}, + {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} } - ESX.OpenContext("right", elementsG, function(menuG) + ESX.OpenContext("right", elementsG, function(menuG, _) local quantity = tonumber(menuG.eles[2].inputValue) if quantity and quantity > 0 and element.count >= quantity then @@ -1253,12 +1271,12 @@ function ESX.ShowInventory() TriggerServerEvent('esx:removeInventoryItem', type, item) else local elementsR = { - { unselectable = true, icon = "fas fa-trash", title = element.title }, - { icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to remove..", inputMin = 1, inputMax = 1000 }, - { icon = "fas fa-check-double", title = "Confirm", val = "confirm" } + {unselectable = true, icon = "fas fa-trash", title = element.title}, + {icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to remove..", inputMin = 1, inputMax = 1000}, + {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} } - ESX.OpenContext("right", elementsR, function(menuR) + ESX.OpenContext("right", elementsR, function(menuR, _) local quantity = tonumber(menuR.eles[2].inputValue) if quantity and quantity > 0 and element.count >= quantity then @@ -1288,12 +1306,12 @@ function ESX.ShowInventory() if closestPlayer ~= -1 and closestDistance < 3.0 then if pedAmmo > 0 then local elementsGA = { - { unselectable = true, icon = "fas fa-trash", title = element.title }, - { icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to give..", inputMin = 1, inputMax = 1000 }, - { icon = "fas fa-check-double", title = "Confirm", val = "confirm" } + {unselectable = true, icon = "fas fa-trash", title = element.title}, + {icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to give..", inputMin = 1, inputMax = 1000}, + {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} } - ESX.OpenContext("right", elementsGA, function(menuGA) + ESX.OpenContext("right", elementsGA, function(menuGA, _) local quantity = tonumber(menuGA.eles[2].inputValue) if quantity and quantity > 0 then @@ -1342,20 +1360,20 @@ end) function ESX.GetVehicleType(model) model = type(model) == 'string' and joaat(model) or model - if model == `submersible` or model == `submersible2` then + if model == `submersible` or model == `submersible2` then return 'submarine' - end + end - local vehicleType = GetVehicleClassFromName(model) - local types = { - [8] = "bike", - [11] = "trailer", - [13] = "bike", - [14] = "boat", - [15] = "heli", - [16] = "plane", - [21] = "train", - } + local vehicleType = GetVehicleClassFromName(model) + local types = { + [8] = "bike", + [11] = "trailer", + [13] = "bike", + [14] = "boat", + [15] = "heli", + [16] = "plane", + [21] = "train", + } return types[vehicleType] or "automobile" end From 332fa8a3d8fd1a5aafb95e8f3142d638ab365f46 Mon Sep 17 00:00:00 2001 From: Gellipapa Date: Sat, 8 Jul 2023 21:04:30 +0200 Subject: [PATCH 231/236] :coffin: Remove ShowInventory method in add,remove inventory trigger --- [core]/es_extended/client/main.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/[core]/es_extended/client/main.lua b/[core]/es_extended/client/main.lua index 34a0f3e2..93c95429 100644 --- a/[core]/es_extended/client/main.lua +++ b/[core]/es_extended/client/main.lua @@ -293,8 +293,6 @@ if not Config.OxInventory then if showNotification then ESX.UI.ShowInventoryItemNotification(true, item, count) end - - ESX.ShowInventory() end) RegisterNetEvent('esx:removeInventoryItem') @@ -310,8 +308,6 @@ if not Config.OxInventory then if showNotification then ESX.UI.ShowInventoryItemNotification(false, item, count) end - - ESX.ShowInventory() end) RegisterNetEvent('esx:addWeapon') From 9049c98d76674bd8e253beee327207a8e7a1b5e8 Mon Sep 17 00:00:00 2001 From: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun, 9 Jul 2023 17:00:36 +0200 Subject: [PATCH 232/236] formatting(all): Format with prettier and lua formatter --- .editorconfig | 10 + [core]/cron/server/main.lua | 10 +- [core]/es_extended/client/functions.lua | 108 ++- [core]/es_extended/config.lua | 84 +- [core]/es_extended/config.weapons.lua | 16 +- [core]/es_extended/html/css/app.css | 99 ++- [core]/es_extended/html/js/app.js | 62 +- [core]/es_extended/html/js/mustache.min.js | 348 +++++++- [core]/es_extended/html/js/wrapper.js | 49 +- [core]/es_extended/html/ui.html | 18 +- [core]/es_extended/locales/fr.lua | 2 +- [core]/es_extended/locales/nl.lua | 4 +- [core]/es_extended/locales/sl.lua | 4 +- [core]/es_extended/server/commands.lua | 14 +- [core]/es_extended/server/functions.lua | 4 +- [core]/es_extended/server/main.lua | 483 ++++++----- [core]/esx_context/index.html | 816 +++++++++--------- [core]/esx_identity/config.lua | 14 +- [core]/esx_identity/html/css/style.css | 208 ++--- [core]/esx_identity/html/index.html | 112 +-- [core]/esx_identity/html/js/script.js | 61 +- [core]/esx_loadingscreen/css/index.css | 132 +-- [core]/esx_loadingscreen/index.html | 39 +- [core]/esx_loadingscreen/js/index.js | 14 +- [core]/esx_menu_default/html/css/app.css | 116 +-- [core]/esx_menu_default/html/js/app.js | 728 ++++++++-------- .../esx_menu_default/html/js/mustache.min.js | 348 +++++++- [core]/esx_menu_default/html/ui.html | 33 +- [core]/esx_menu_dialog/html/css/app.css | 162 ++-- [core]/esx_menu_dialog/html/js/app.js | 305 ++++--- .../esx_menu_dialog/html/js/mustache.min.js | 348 +++++++- [core]/esx_menu_dialog/html/ui.html | 35 +- [core]/esx_menu_list/html/css/app.css | 58 +- [core]/esx_menu_list/html/js/app.js | 358 ++++---- [core]/esx_menu_list/html/js/mustache.min.js | 348 +++++++- [core]/esx_menu_list/html/ui.html | 20 +- [core]/esx_multicharacter/client/main.lua | 2 +- [core]/esx_multicharacter/html/css/main.css | 96 +-- [core]/esx_multicharacter/html/js/app.js | 118 ++- [core]/esx_multicharacter/html/ui.html | 47 +- [core]/esx_notify/nui/css/style.css | 88 +- [core]/esx_notify/nui/index.html | 27 +- [core]/esx_notify/nui/js/script.js | 86 +- [core]/esx_progressbar/nui/css/style.css | 12 +- [core]/esx_progressbar/nui/index.html | 157 ++-- [core]/esx_progressbar/nui/js/script.js | 96 +-- [core]/esx_textui/nui/css/style.css | 84 +- [core]/esx_textui/nui/index.html | 55 +- [core]/esx_textui/nui/js/script.js | 112 +-- 49 files changed, 3915 insertions(+), 2635 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..383d3ca5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +trim_trailing_whitespace = true +max_line_length = 300 +indent_size = 4 +indent_style = space \ No newline at end of file diff --git a/[core]/cron/server/main.lua b/[core]/cron/server/main.lua index d82214a7..fb47a435 100644 --- a/[core]/cron/server/main.lua +++ b/[core]/cron/server/main.lua @@ -3,8 +3,8 @@ local LastTime = nil function RunAt(h, m, cb) Jobs[#Jobs + 1] = { - h = h, - m = m, + h = h, + m = m, cb = cb } end @@ -15,7 +15,11 @@ function GetTime() local h = tonumber(os.date('%H', timestamp)) local m = tonumber(os.date('%M', timestamp)) - return { d = d, h = h, m = m } + return { + d = d, + h = h, + m = m + } end function OnTime(d, h, m) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index 47466708..7ba5dcc3 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -26,7 +26,7 @@ end function ESX.SearchInventory(items, count) if type(items) == 'string' then - items = {items} + items = { items } end local returnData = {} @@ -154,7 +154,7 @@ if GetResourceState("esx_context") ~= "missing" then end function ESX.RefreshContext(...) - exports["esx_context"]:Refresh(...) + exports["esx_context"]:Refresh(...) end else function ESX.OpenContext() @@ -203,7 +203,6 @@ function ESX.UI.Menu.Open(type, namespace, name, data, submit, cancel, change, c menu.change = change menu.close = function() - ESX.UI.Menu.RegisteredTypes[type].close(namespace, name) for i = 1, #ESX.UI.Menu.Opened, 1 do @@ -218,11 +217,9 @@ function ESX.UI.Menu.Open(type, namespace, name, data, submit, cancel, change, c if close then close() end - end menu.update = function(query, newData) - for i = 1, #menu.data.elements, 1 do local match = true @@ -238,7 +235,6 @@ function ESX.UI.Menu.Open(type, namespace, name, data, submit, cancel, change, c end end end - end menu.refresh = function() @@ -266,7 +262,6 @@ function ESX.UI.Menu.Open(type, namespace, name, data, submit, cancel, change, c break end end - end end end @@ -496,7 +491,6 @@ function ESX.Game.GetPlayers(onlyOtherPlayers, returnKeyValue, returnPeds) return players end - function ESX.Game.GetClosestObject(coords, modelFilter) return ESX.Game.GetClosestEntity(ESX.Game.GetObjects(), false, coords, modelFilter) end @@ -604,19 +598,19 @@ function ESX.Game.GetVehicleProperties(vehicle) local interiorColor = GetVehicleInteriorColour(vehicle) local customPrimaryColor = nil if hasCustomPrimaryColor then - customPrimaryColor = {GetVehicleCustomPrimaryColour(vehicle)} + customPrimaryColor = { GetVehicleCustomPrimaryColour(vehicle) } end local hasCustomXenonColor, customXenonColorR, customXenonColorG, customXenonColorB = GetVehicleXenonLightsCustomColor(vehicle) local customXenonColor = nil if hasCustomXenonColor then - customXenonColor = {customXenonColorR, customXenonColorG, customXenonColorB} + customXenonColor = { customXenonColorR, customXenonColorG, customXenonColorB } end local hasCustomSecondaryColor = GetIsVehicleSecondaryColourCustom(vehicle) local customSecondaryColor = nil if hasCustomSecondaryColor then - customSecondaryColor = {GetVehicleCustomSecondaryColour(vehicle)} + customSecondaryColor = { GetVehicleCustomSecondaryColour(vehicle) } end local extras = {} @@ -634,11 +628,11 @@ function ESX.Game.GetVehicleProperties(vehicle) local doorsBroken, windowsBroken, tyreBurst = {}, {}, {} local numWheels = tostring(GetVehicleNumberOfWheels(vehicle)) - local TyresIndex = { -- Wheel index list according to the number of vehicle wheels. - ['2'] = {0, 4}, -- Bike and cycle. - ['3'] = {0, 1, 4, 5}, -- Vehicle with 3 wheels (get for wheels because some 3 wheels vehicles have 2 wheels on front and one rear or the reverse). - ['4'] = {0, 1, 4, 5}, -- Vehicle with 4 wheels. - ['6'] = {0, 1, 2, 3, 4, 5} -- Vehicle with 6 wheels. + local TyresIndex = { -- Wheel index list according to the number of vehicle wheels. + ['2'] = { 0, 4 }, -- Bike and cycle. + ['3'] = { 0, 1, 4, 5 }, -- Vehicle with 3 wheels (get for wheels because some 3 wheels vehicles have 2 wheels on front and one rear or the reverse). + ['4'] = { 0, 1, 4, 5 }, -- Vehicle with 4 wheels. + ['6'] = { 0, 1, 2, 3, 4, 5 } -- Vehicle with 6 wheels. } if TyresIndex[numWheels] then @@ -647,7 +641,7 @@ function ESX.Game.GetVehicleProperties(vehicle) end end - for windowId = 0, 7 do -- 13 + for windowId = 0, 7 do -- 13 RollUpWindow(vehicle, windowId) --fix when you put the car away with the window down windowsBroken[tostring(windowId)] = not IsVehicleWindowIntact(vehicle, windowId) end @@ -690,8 +684,8 @@ function ESX.Game.GetVehicleProperties(vehicle) xenonColor = GetVehicleXenonLightsColor(vehicle), customXenonColor = customXenonColor, - neonEnabled = {IsVehicleNeonLightEnabled(vehicle, 0), IsVehicleNeonLightEnabled(vehicle, 1), - IsVehicleNeonLightEnabled(vehicle, 2), IsVehicleNeonLightEnabled(vehicle, 3)}, + neonEnabled = { IsVehicleNeonLightEnabled(vehicle, 0), IsVehicleNeonLightEnabled(vehicle, 1), + IsVehicleNeonLightEnabled(vehicle, 2), IsVehicleNeonLightEnabled(vehicle, 3) }, neonColor = table.pack(GetVehicleNeonLightsColour(vehicle)), extras = extras, @@ -723,7 +717,7 @@ function ESX.Game.GetVehicleProperties(vehicle) modXenon = IsToggleModOn(vehicle, 22), modFrontWheels = GetVehicleMod(vehicle, 23), - modCustomFrontWheels = GetVehicleModVariation(vehicle, 23), + modCustomFrontWheels = GetVehicleModVariation(vehicle, 23), modBackWheels = GetVehicleMod(vehicle, 24), modCustomBackWheels = GetVehicleModVariation(vehicle, 24), @@ -836,7 +830,7 @@ function ESX.Game.SetVehicleProperties(vehicle, props) end end - if props.driftTyresEnabled then + if props.driftTyresEnabled then SetDriftTyresEnabled(vehicle, true) end @@ -921,8 +915,8 @@ function ESX.Game.SetVehicleProperties(vehicle, props) if props.modFrontWheels ~= nil then SetVehicleMod(vehicle, 23, props.modFrontWheels, false) end - if props.modCustomFrontWheels ~= nil then - SetVehicleMod(vehicle, 23, props.modCustomFrontWheels, false) + if props.modCustomFrontWheels ~= nil then + SetVehicleMod(vehicle, 23, props.modCustomFrontWheels, false) end if props.modBackWheels ~= nil then SetVehicleMod(vehicle, 24, props.modBackWheels, false) @@ -1074,7 +1068,7 @@ function ESX.ShowInventory() local playerPed = ESX.PlayerData.ped local elements = { - {unselectable = true, icon = 'fas fa-box', title = 'Player Inventory'} + { unselectable = true, icon = 'fas fa-box', title = 'Player Inventory' } } local currentWeight = 0 @@ -1083,7 +1077,7 @@ function ESX.ShowInventory() local formattedMoney = TranslateCap('locale_currency', ESX.Math.GroupDigits(ESX.PlayerData.accounts[i].money)) local canDrop = ESX.PlayerData.accounts[i].name ~= 'bank' - elements[#elements+1] = { + elements[#elements + 1] = { icon = 'fas fa-money-bill-wave', title = ('%s: %s'):format(ESX.PlayerData.accounts[i].label, formattedMoney), count = ESX.PlayerData.accounts[i].money, @@ -1100,7 +1094,7 @@ function ESX.ShowInventory() if v.count > 0 then currentWeight = currentWeight + (v.weight * v.count) - elements[#elements+1] = { + elements[#elements + 1] = { icon = 'fas fa-box', title = ('%s x%s'):format(v.label, v.count), count = v.count, @@ -1119,7 +1113,7 @@ function ESX.ShowInventory() if HasPedGotWeapon(playerPed, weaponHash, false) then local ammo = GetAmmoInPedWeapon(playerPed, weaponHash) - elements[#elements+1] = { + elements[#elements + 1] = { icon = 'fas fa-gun', title = v.ammo and ('%s - %s %s'):format(v.label, ammo, v.ammo.label) or v.label, count = 1, @@ -1134,10 +1128,10 @@ function ESX.ShowInventory() end end - elements[#elements+1] = { + elements[#elements + 1] = { unselectable = true, icon = "fas fa-weight", - title = "Current Weight: "..currentWeight + title = "Current Weight: " .. currentWeight } ESX.CloseContext() @@ -1148,7 +1142,7 @@ function ESX.ShowInventory() local elements2 = {} if element.usable then - elements2[#elements2+1] = { + elements2[#elements2 + 1] = { icon = "fas fa-utensils", title = TranslateCap('use'), action = 'use', @@ -1159,7 +1153,7 @@ function ESX.ShowInventory() if element.canRemove then if player ~= -1 and distance <= 3.0 then - elements2[#elements2+1] = { + elements2[#elements2 + 1] = { icon = "fas fa-hands", title = TranslateCap('give'), action = 'give', @@ -1168,7 +1162,7 @@ function ESX.ShowInventory() } end - elements2[#elements2+1] = { + elements2[#elements2 + 1] = { icon = "fas fa-trash", title = TranslateCap('remove'), action = 'remove', @@ -1178,7 +1172,7 @@ function ESX.ShowInventory() end if element.type == 'item_weapon' and element.canGiveAmmo and element.ammo > 0 and player ~= -1 and distance <= 3.0 then - elements2[#elements2+1] = { + elements2[#elements2 + 1] = { icon = "fas fa-gun", title = TranslateCap('giveammo'), action = 'give_ammo', @@ -1187,7 +1181,7 @@ function ESX.ShowInventory() } end - elements2[#elements2+1] = { + elements2[#elements2 + 1] = { icon = "fas fa-arrow-left", title = TranslateCap('return'), action = 'return' @@ -1202,7 +1196,7 @@ function ESX.ShowInventory() if #playersNearby > 0 then local players = {} local elements3 = { - {unselectable = true, icon = "fas fa-users", title = "Nearby Players"} + { unselectable = true, icon = "fas fa-users", title = "Nearby Players" } } for _, playerNearby in ipairs(playersNearby) do @@ -1211,7 +1205,7 @@ function ESX.ShowInventory() ESX.TriggerServerCallback('esx:getPlayerNames', function(returnedPlayers) for playerId, playerName in pairs(returnedPlayers) do - elements3[#elements3+1] = { + elements3[#elements3 + 1] = { icon = "fas fa-user", title = playerName, playerId = playerId @@ -1232,9 +1226,9 @@ function ESX.ShowInventory() ESX.CloseContext() else local elementsG = { - {unselectable = true, icon = "fas fa-trash", title = element.title}, - {icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to give..", inputMin = 1, inputMax = 1000}, - {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} + { unselectable = true, icon = "fas fa-trash", title = element.title }, + { icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to give..", inputMin = 1, inputMax = 1000 }, + { icon = "fas fa-check-double", title = "Confirm", val = "confirm" } } ESX.OpenContext("right", elementsG, function(menuG, _) @@ -1271,9 +1265,9 @@ function ESX.ShowInventory() TriggerServerEvent('esx:removeInventoryItem', type, item) else local elementsR = { - {unselectable = true, icon = "fas fa-trash", title = element.title}, - {icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to remove..", inputMin = 1, inputMax = 1000}, - {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} + { unselectable = true, icon = "fas fa-trash", title = element.title }, + { icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to remove..", inputMin = 1, inputMax = 1000 }, + { icon = "fas fa-check-double", title = "Confirm", val = "confirm" } } ESX.OpenContext("right", elementsR, function(menuR, _) @@ -1306,9 +1300,9 @@ function ESX.ShowInventory() if closestPlayer ~= -1 and closestDistance < 3.0 then if pedAmmo > 0 then local elementsGA = { - {unselectable = true, icon = "fas fa-trash", title = element.title}, - {icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to give..", inputMin = 1, inputMax = 1000}, - {icon = "fas fa-check-double", title = "Confirm", val = "confirm"} + { unselectable = true, icon = "fas fa-trash", title = element.title }, + { icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to give..", inputMin = 1, inputMax = 1000 }, + { icon = "fas fa-check-double", title = "Confirm", val = "confirm" } } ESX.OpenContext("right", elementsGA, function(menuGA, _) @@ -1360,20 +1354,20 @@ end) function ESX.GetVehicleType(model) model = type(model) == 'string' and joaat(model) or model - if model == `submersible` or model == `submersible2` then + if model == `submersible` or model == `submersible2` then return 'submarine' - end + end - local vehicleType = GetVehicleClassFromName(model) - local types = { - [8] = "bike", - [11] = "trailer", - [13] = "bike", - [14] = "boat", - [15] = "heli", - [16] = "plane", - [21] = "train", - } + local vehicleType = GetVehicleClassFromName(model) + local types = { + [8] = "bike", + [11] = "trailer", + [13] = "bike", + [14] = "boat", + [15] = "heli", + [16] = "plane", + [21] = "train", + } return types[vehicleType] or "automobile" end diff --git a/[core]/es_extended/config.lua b/[core]/es_extended/config.lua index 6bafa027..a2bf5b6a 100644 --- a/[core]/es_extended/config.lua +++ b/[core]/es_extended/config.lua @@ -33,56 +33,56 @@ Config.AdminGroups = { } -Config.EnablePaycheck = true -- enable paycheck -Config.LogPaycheck = false -- Logs paychecks to a nominated Discord channel via webhook (default is false) -Config.EnableSocietyPayouts = false -- pay from the society account that the player is employed at? Requirement: esx_society -Config.MaxWeight = 24 -- the max inventory weight without backpack +Config.EnablePaycheck = true -- enable paycheck +Config.LogPaycheck = false -- Logs paychecks to a nominated Discord channel via webhook (default is false) +Config.EnableSocietyPayouts = false -- pay from the society account that the player is employed at? Requirement: esx_society +Config.MaxWeight = 24 -- the max inventory weight without backpack Config.PaycheckInterval = 7 * 60000 -- how often to recieve pay checks in milliseconds -Config.EnableDebug = false -- Use Debug options? -Config.EnableDefaultInventory = true -- Display the default Inventory ( F2 ) -Config.EnableWantedLevel = false -- Use Normal GTA wanted Level? -Config.EnablePVP = true -- Allow Player to player combat +Config.EnableDebug = false -- Use Debug options? +Config.EnableDefaultInventory = true -- Display the default Inventory ( F2 ) +Config.EnableWantedLevel = false -- Use Normal GTA wanted Level? +Config.EnablePVP = true -- Allow Player to player combat Config.Multichar = GetResourceState("esx_multicharacter") ~= "missing" -Config.Identity = true -- Select a characters identity data before they have loaded in (this happens by default with multichar) -Config.DistanceGive = 4.0 -- Max distance when giving items, weapons etc. +Config.Identity = true -- Select a characters identity data before they have loaded in (this happens by default with multichar) +Config.DistanceGive = 4.0 -- Max distance when giving items, weapons etc. -Config.AdminLogging = false -- Logs the usage of certain commands by those with group.admin ace permissions (default is false) +Config.AdminLogging = false -- Logs the usage of certain commands by those with group.admin ace permissions (default is false) -Config.DisableHealthRegeneration = false -- Player will no longer regenerate health -Config.DisableVehicleRewards = false -- Disables Player Recieving weapons from vehicles -Config.DisableNPCDrops = false -- stops NPCs from dropping weapons on death -Config.DisableDispatchServices = false -- Disable Dispatch services -Config.DisableScenarios = false -- Disable Scenarios -Config.DisableWeaponWheel = false -- Disables default weapon wheel -Config.DisableAimAssist = false -- disables AIM assist (mainly on controllers) -Config.DisableVehicleSeatShuff = false -- Disables vehicle seat shuff +Config.DisableHealthRegeneration = false -- Player will no longer regenerate health +Config.DisableVehicleRewards = false -- Disables Player Recieving weapons from vehicles +Config.DisableNPCDrops = false -- stops NPCs from dropping weapons on death +Config.DisableDispatchServices = false -- Disable Dispatch services +Config.DisableScenarios = false -- Disable Scenarios +Config.DisableWeaponWheel = false -- Disables default weapon wheel +Config.DisableAimAssist = false -- disables AIM assist (mainly on controllers) +Config.DisableVehicleSeatShuff = false -- Disables vehicle seat shuff Config.RemoveHudCommonents = { - [1] = false, --WANTED_STARS, - [2] = false, --WEAPON_ICON - [3] = false, --CASH - [4] = false, --MP_CASH - [5] = false, --MP_MESSAGE - [6] = false, --VEHICLE_NAME - [7] = false, -- AREA_NAME - [8] = false, -- VEHICLE_CLASS - [9] = false, --STREET_NAME - [10] = false, --HELP_TEXT - [11] = false, --FLOATING_HELP_TEXT_1 - [12] = false, --FLOATING_HELP_TEXT_2 - [13] = false, --CASH_CHANGE - [14] = false, --RETICLE - [15] = false, --SUBTITLE_TEXT - [16] = false, --RADIO_STATIONS - [17] = false, --SAVING_GAME, - [18] = false, --GAME_STREAM - [19] = false, --WEAPON_WHEEL - [20] = false, --WEAPON_WHEEL_STATS - [21] = false, --HUD_COMPONENTS - [22] = false, --HUD_WEAPONS + [1] = false, --WANTED_STARS, + [2] = false, --WEAPON_ICON + [3] = false, --CASH + [4] = false, --MP_CASH + [5] = false, --MP_MESSAGE + [6] = false, --VEHICLE_NAME + [7] = false, -- AREA_NAME + [8] = false, -- VEHICLE_CLASS + [9] = false, --STREET_NAME + [10] = false, --HELP_TEXT + [11] = false, --FLOATING_HELP_TEXT_1 + [12] = false, --FLOATING_HELP_TEXT_2 + [13] = false, --CASH_CHANGE + [14] = false, --RETICLE + [15] = false, --SUBTITLE_TEXT + [16] = false, --RADIO_STATIONS + [17] = false, --SAVING_GAME, + [18] = false, --GAME_STREAM + [19] = false, --WEAPON_WHEEL + [20] = false, --WEAPON_WHEEL_STATS + [21] = false, --HUD_COMPONENTS + [22] = false, --HUD_WEAPONS } -Config.SpawnVehMaxUpgrades = true -- admin vehicles spawn with max vehcle settings +Config.SpawnVehMaxUpgrades = true -- admin vehicles spawn with max vehcle settings Config.CustomAIPlates = '........' -- Custom plates for AI vehicles -- Pattern string format --1 will lead to a random number from 0-9. diff --git a/[core]/es_extended/config.weapons.lua b/[core]/es_extended/config.weapons.lua index cd9bc1ec..83bdd8d7 100644 --- a/[core]/es_extended/config.weapons.lua +++ b/[core]/es_extended/config.weapons.lua @@ -317,7 +317,7 @@ Config.Weapons = { { name = 'grip', label = TranslateCap('component_grip'), hash = `COMPONENT_AT_AR_AFGRIP` } } }, - { name = 'WEAPON_MUSKET', label = TranslateCap('weapon_musket'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SHOTGUN` } }, + { name = 'WEAPON_MUSKET', label = TranslateCap('weapon_musket'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_SHOTGUN` } }, { name = 'WEAPON_PUMPSHOTGUN', label = TranslateCap('weapon_pumpshotgun'), @@ -937,14 +937,14 @@ Config.Weapons = { } }, -- Heavy / Launchers - { name = 'WEAPON_COMPACTLAUNCHER', label = TranslateCap('weapon_compactlauncher'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_grenadelauncher'), hash = `AMMO_GRENADELAUNCHER` } }, + { name = 'WEAPON_COMPACTLAUNCHER', label = TranslateCap('weapon_compactlauncher'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_grenadelauncher'), hash = `AMMO_GRENADELAUNCHER` } }, { name = 'WEAPON_FIREWORK', label = TranslateCap('weapon_firework'), components = {}, ammo = { label = TranslateCap('ammo_firework'), hash = `AMMO_FIREWORK` } }, - { name = 'WEAPON_GRENADELAUNCHER', label = TranslateCap('weapon_grenadelauncher'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_grenadelauncher'), hash = `AMMO_GRENADELAUNCHER` } }, - { name = 'WEAPON_HOMINGLAUNCHER', label = TranslateCap('weapon_hominglauncher'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rockets'), hash = `AMMO_HOMINGLAUNCHER` } }, - { name = 'WEAPON_MINIGUN', label = TranslateCap('weapon_minigun'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_MINIGUN` } }, - { name = 'WEAPON_RAILGUN', label = TranslateCap('weapon_railgun'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RAILGUN` } }, - { name = 'WEAPON_RPG', label = TranslateCap('weapon_rpg'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rockets'), hash = `AMMO_RPG` } }, - { name = 'WEAPON_RAYMINIGUN', label = TranslateCap('weapon_rayminigun'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_MINIGUN` } }, + { name = 'WEAPON_GRENADELAUNCHER', label = TranslateCap('weapon_grenadelauncher'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_grenadelauncher'), hash = `AMMO_GRENADELAUNCHER` } }, + { name = 'WEAPON_HOMINGLAUNCHER', label = TranslateCap('weapon_hominglauncher'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rockets'), hash = `AMMO_HOMINGLAUNCHER` } }, + { name = 'WEAPON_MINIGUN', label = TranslateCap('weapon_minigun'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_MINIGUN` } }, + { name = 'WEAPON_RAILGUN', label = TranslateCap('weapon_railgun'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_RAILGUN` } }, + { name = 'WEAPON_RPG', label = TranslateCap('weapon_rpg'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rockets'), hash = `AMMO_RPG` } }, + { name = 'WEAPON_RAYMINIGUN', label = TranslateCap('weapon_rayminigun'), tints = Config.DefaultWeaponTints, components = {}, ammo = { label = TranslateCap('ammo_rounds'), hash = `AMMO_MINIGUN` } }, -- Thrown { name = 'WEAPON_BALL', label = TranslateCap('weapon_ball'), components = {}, ammo = { label = TranslateCap('ammo_ball'), hash = `AMMO_BALL` } }, { name = 'WEAPON_BZGAS', label = TranslateCap('weapon_bzgas'), components = {}, ammo = { label = TranslateCap('ammo_bzgas'), hash = `AMMO_BZGAS` } }, diff --git a/[core]/es_extended/html/css/app.css b/[core]/es_extended/html/css/app.css index cfd2f67b..6d4b095c 100644 --- a/[core]/es_extended/html/css/app.css +++ b/[core]/es_extended/html/css/app.css @@ -1,76 +1,75 @@ @font-face { - font-family: "Pricedown"; - src: url("../fonts/pdown.ttf"); + font-family: "Pricedown"; + src: url("../fonts/pdown.ttf"); } @font-face { - font-family: "bankgothic"; - src: url("../fonts/bankgothic.ttf"); + font-family: "bankgothic"; + src: url("../fonts/bankgothic.ttf"); } html { - overflow: hidden; + overflow: hidden; } #inventory_notifications { - font-family: bankgothic; - position: absolute; - right: 40; - bottom: 40; - font-size: 2em; - font-weight: bold; - color: #fff; - text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, - 1px 1px 0 #000; + font-family: bankgothic; + position: absolute; + right: 40; + bottom: 40; + font-size: 2em; + font-weight: bold; + color: #fff; + text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; } .menu { - font-family: "Open Sans", sans-serif; - min-width: 400px; - min-height: 250px; - color: #fff; - position: absolute; - left: 40; - top: 0; + font-family: "Open Sans", sans-serif; + min-width: 400px; + min-height: 250px; + color: #fff; + position: absolute; + left: 40; + top: 0; } .menu .head { - font-family: "Open Sans", sans-serif; - font-size: 28px; - padding: 10px; - background: #1a1a1a; - border-bottom: 3px solid #bc1635; - border-radius: 10px 10px 0 0; - -webkit-border-radius: 10px 10px 0 0; - -moz-border-radius: 10px 10px 0 0; - -o-border-radius: 10px 10px 0 0; - box-shadow: inset 0px 1px 0 rgba(255, 255, 255, 0.28); - -webkit-box-shadow: inset 0px 1px 0 rgba(255, 255, 255, 0.28); - -moz-box-shadow: inset 0px 1px 0 rgba(255, 255, 255, 0.28); - -o-box-shadow: inset 0px 1px 0 rgba(255, 255, 255, 0.28); - box-shadow: 1px 1px 10px 4px rgba(0, 0, 0, 0.4); + font-family: "Open Sans", sans-serif; + font-size: 28px; + padding: 10px; + background: #1a1a1a; + border-bottom: 3px solid #bc1635; + border-radius: 10px 10px 0 0; + -webkit-border-radius: 10px 10px 0 0; + -moz-border-radius: 10px 10px 0 0; + -o-border-radius: 10px 10px 0 0; + box-shadow: inset 0px 1px 0 rgba(255, 255, 255, 0.28); + -webkit-box-shadow: inset 0px 1px 0 rgba(255, 255, 255, 0.28); + -moz-box-shadow: inset 0px 1px 0 rgba(255, 255, 255, 0.28); + -o-box-shadow: inset 0px 1px 0 rgba(255, 255, 255, 0.28); + box-shadow: 1px 1px 10px 4px rgba(0, 0, 0, 0.4); } .menu .head span { - font-family: "Pricedown"; - font-size: 28px; - padding-left: 15px; - padding-top: 6px; + font-family: "Pricedown"; + font-size: 28px; + padding-left: 15px; + padding-top: 6px; } .menu .menu-items .menu-item { - font-family: "Open Sans", sans-serif; - font-size: 14px; - height: 40px; - display: block; - background-color: #f1f1f1; - box-shadow: inset 1px 0px 0px 1px #b8b8b8; - height: 32px; - line-height: 32px; - color: #3a3a3a; - text-align: center; + font-family: "Open Sans", sans-serif; + font-size: 14px; + height: 40px; + display: block; + background-color: #f1f1f1; + box-shadow: inset 1px 0px 0px 1px #b8b8b8; + height: 32px; + line-height: 32px; + color: #3a3a3a; + text-align: center; } .menu .menu-items .menu-item.selected { - background-color: #ccc; + background-color: #ccc; } diff --git a/[core]/es_extended/html/js/app.js b/[core]/es_extended/html/js/app.js index 029ecc00..4a95fe12 100644 --- a/[core]/es_extended/html/js/app.js +++ b/[core]/es_extended/html/js/app.js @@ -1,40 +1,40 @@ (() => { - ESX = {}; + ESX = {}; - ESX.inventoryNotification = function (add, label, count) { - let notif = ""; + ESX.inventoryNotification = function (add, label, count) { + let notif = ""; - if (add) { - notif += "+"; - } else { - notif += "-"; - } + if (add) { + notif += "+"; + } else { + notif += "-"; + } - if (count) { - notif += count + " " + label; - } else { - notif += " " + label; - } + if (count) { + notif += count + " " + label; + } else { + notif += " " + label; + } - let elem = $("
" + notif + "
"); - $("#inventory_notifications").append(elem); + let elem = $("
" + notif + "
"); + $("#inventory_notifications").append(elem); - $(elem) - .delay(3000) - .fadeOut(1000, function () { - elem.remove(); - }); - }; + $(elem) + .delay(3000) + .fadeOut(1000, function () { + elem.remove(); + }); + }; - window.onData = (data) => { - if (data.action === "inventoryNotification") { - ESX.inventoryNotification(data.add, data.item, data.count); - } - }; + window.onData = (data) => { + if (data.action === "inventoryNotification") { + ESX.inventoryNotification(data.add, data.item, data.count); + } + }; - window.onload = function (e) { - window.addEventListener("message", (event) => { - onData(event.data); - }); - }; + window.onload = function (e) { + window.addEventListener("message", (event) => { + onData(event.data); + }); + }; })(); diff --git a/[core]/es_extended/html/js/mustache.min.js b/[core]/es_extended/html/js/mustache.min.js index 520cfcb9..f3656597 100644 --- a/[core]/es_extended/html/js/mustache.min.js +++ b/[core]/es_extended/html/js/mustache.min.js @@ -1 +1,347 @@ -(function defineMustache(global,factory){if(typeof exports==="object"&&exports&&typeof exports.nodeName!=="string"){factory(exports)}else if(typeof define==="function"&&define.amd){define(["exports"],factory)}else{global.Mustache={};factory(global.Mustache)}})(this,function mustacheFactory(mustache){var objectToString=Object.prototype.toString;var isArray=Array.isArray||function isArrayPolyfill(object){return objectToString.call(object)==="[object Array]"};function isFunction(object){return typeof object==="function"}function typeStr(obj){return isArray(obj)?"array":typeof obj}function escapeRegExp(string){return string.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function hasProperty(obj,propName){return obj!=null&&typeof obj==="object"&&propName in obj}var regExpTest=RegExp.prototype.test;function testRegExp(re,string){return regExpTest.call(re,string)}var nonSpaceRe=/\S/;function isWhitespace(string){return!testRegExp(nonSpaceRe,string)}var entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};function escapeHtml(string){return String(string).replace(/[&<>"'`=\/]/g,function fromEntityMap(s){return entityMap[s]})}var whiteRe=/\s*/;var spaceRe=/\s+/;var equalsRe=/\s*=/;var curlyRe=/\s*\}/;var tagRe=/#|\^|\/|>|\{|&|=|!/;function parseTemplate(template,tags){if(!template)return[];var sections=[];var tokens=[];var spaces=[];var hasTag=false;var nonSpace=false;function stripSpace(){if(hasTag&&!nonSpace){while(spaces.length)delete tokens[spaces.pop()]}else{spaces=[]}hasTag=false;nonSpace=false}var openingTagRe,closingTagRe,closingCurlyRe;function compileTags(tagsToCompile){if(typeof tagsToCompile==="string")tagsToCompile=tagsToCompile.split(spaceRe,2);if(!isArray(tagsToCompile)||tagsToCompile.length!==2)throw new Error("Invalid tags: "+tagsToCompile);openingTagRe=new RegExp(escapeRegExp(tagsToCompile[0])+"\\s*");closingTagRe=new RegExp("\\s*"+escapeRegExp(tagsToCompile[1]));closingCurlyRe=new RegExp("\\s*"+escapeRegExp("}"+tagsToCompile[1]))}compileTags(tags||mustache.tags);var scanner=new Scanner(template);var start,type,value,chr,token,openSection;while(!scanner.eos()){start=scanner.pos;value=scanner.scanUntil(openingTagRe);if(value){for(var i=0,valueLength=value.length;i0?sections[sections.length-1][4]:nestedTokens;break;default:collector.push(token)}}return nestedTokens}function Scanner(string){this.string=string;this.tail=string;this.pos=0}Scanner.prototype.eos=function eos(){return this.tail===""};Scanner.prototype.scan=function scan(re){var match=this.tail.match(re);if(!match||match.index!==0)return"";var string=match[0];this.tail=this.tail.substring(string.length);this.pos+=string.length;return string};Scanner.prototype.scanUntil=function scanUntil(re){var index=this.tail.search(re),match;switch(index){case-1:match=this.tail;this.tail="";break;case 0:match="";break;default:match=this.tail.substring(0,index);this.tail=this.tail.substring(index)}this.pos+=match.length;return match};function Context(view,parentContext){this.view=view;this.cache={".":this.view};this.parent=parentContext}Context.prototype.push=function push(view){return new Context(view,this)};Context.prototype.lookup=function lookup(name){var cache=this.cache;var value;if(cache.hasOwnProperty(name)){value=cache[name]}else{var context=this,names,index,lookupHit=false;while(context){if(name.indexOf(".")>0){value=context.view;names=name.split(".");index=0;while(value!=null&&index")value=this.renderPartial(token,context,partials,originalTemplate);else if(symbol==="&")value=this.unescapedValue(token,context);else if(symbol==="name")value=this.escapedValue(token,context);else if(symbol==="text")value=this.rawValue(token);if(value!==undefined)buffer+=value}return buffer};Writer.prototype.renderSection=function renderSection(token,context,partials,originalTemplate){var self=this;var buffer="";var value=context.lookup(token[1]);function subRender(template){return self.render(template,context,partials)}if(!value)return;if(isArray(value)){for(var j=0,valueLength=value.length;j": ">", '"': """, "'": "'", "/": "/", "`": "`", "=": "=" }; + function escapeHtml(string) { + return String(string).replace(/[&<>"'`=\/]/g, function fromEntityMap(s) { + return entityMap[s]; + }); + } + var whiteRe = /\s*/; + var spaceRe = /\s+/; + var equalsRe = /\s*=/; + var curlyRe = /\s*\}/; + var tagRe = /#|\^|\/|>|\{|&|=|!/; + function parseTemplate(template, tags) { + if (!template) return []; + var sections = []; + var tokens = []; + var spaces = []; + var hasTag = false; + var nonSpace = false; + function stripSpace() { + if (hasTag && !nonSpace) { + while (spaces.length) delete tokens[spaces.pop()]; + } else { + spaces = []; + } + hasTag = false; + nonSpace = false; + } + var openingTagRe, closingTagRe, closingCurlyRe; + function compileTags(tagsToCompile) { + if (typeof tagsToCompile === "string") tagsToCompile = tagsToCompile.split(spaceRe, 2); + if (!isArray(tagsToCompile) || tagsToCompile.length !== 2) throw new Error("Invalid tags: " + tagsToCompile); + openingTagRe = new RegExp(escapeRegExp(tagsToCompile[0]) + "\\s*"); + closingTagRe = new RegExp("\\s*" + escapeRegExp(tagsToCompile[1])); + closingCurlyRe = new RegExp("\\s*" + escapeRegExp("}" + tagsToCompile[1])); + } + compileTags(tags || mustache.tags); + var scanner = new Scanner(template); + var start, type, value, chr, token, openSection; + while (!scanner.eos()) { + start = scanner.pos; + value = scanner.scanUntil(openingTagRe); + if (value) { + for (var i = 0, valueLength = value.length; i < valueLength; ++i) { + chr = value.charAt(i); + if (isWhitespace(chr)) { + spaces.push(tokens.length); + } else { + nonSpace = true; + } + tokens.push(["text", chr, start, start + 1]); + start += 1; + if (chr === "\n") stripSpace(); + } + } + if (!scanner.scan(openingTagRe)) break; + hasTag = true; + type = scanner.scan(tagRe) || "name"; + scanner.scan(whiteRe); + if (type === "=") { + value = scanner.scanUntil(equalsRe); + scanner.scan(equalsRe); + scanner.scanUntil(closingTagRe); + } else if (type === "{") { + value = scanner.scanUntil(closingCurlyRe); + scanner.scan(curlyRe); + scanner.scanUntil(closingTagRe); + type = "&"; + } else { + value = scanner.scanUntil(closingTagRe); + } + if (!scanner.scan(closingTagRe)) throw new Error("Unclosed tag at " + scanner.pos); + token = [type, value, start, scanner.pos]; + tokens.push(token); + if (type === "#" || type === "^") { + sections.push(token); + } else if (type === "/") { + openSection = sections.pop(); + if (!openSection) throw new Error('Unopened section "' + value + '" at ' + start); + if (openSection[1] !== value) throw new Error('Unclosed section "' + openSection[1] + '" at ' + start); + } else if (type === "name" || type === "{" || type === "&") { + nonSpace = true; + } else if (type === "=") { + compileTags(value); + } + } + openSection = sections.pop(); + if (openSection) throw new Error('Unclosed section "' + openSection[1] + '" at ' + scanner.pos); + return nestTokens(squashTokens(tokens)); + } + function squashTokens(tokens) { + var squashedTokens = []; + var token, lastToken; + for (var i = 0, numTokens = tokens.length; i < numTokens; ++i) { + token = tokens[i]; + if (token) { + if (token[0] === "text" && lastToken && lastToken[0] === "text") { + lastToken[1] += token[1]; + lastToken[3] = token[3]; + } else { + squashedTokens.push(token); + lastToken = token; + } + } + } + return squashedTokens; + } + function nestTokens(tokens) { + var nestedTokens = []; + var collector = nestedTokens; + var sections = []; + var token, section; + for (var i = 0, numTokens = tokens.length; i < numTokens; ++i) { + token = tokens[i]; + switch (token[0]) { + case "#": + case "^": + collector.push(token); + sections.push(token); + collector = token[4] = []; + break; + case "/": + section = sections.pop(); + section[5] = token[2]; + collector = sections.length > 0 ? sections[sections.length - 1][4] : nestedTokens; + break; + default: + collector.push(token); + } + } + return nestedTokens; + } + function Scanner(string) { + this.string = string; + this.tail = string; + this.pos = 0; + } + Scanner.prototype.eos = function eos() { + return this.tail === ""; + }; + Scanner.prototype.scan = function scan(re) { + var match = this.tail.match(re); + if (!match || match.index !== 0) return ""; + var string = match[0]; + this.tail = this.tail.substring(string.length); + this.pos += string.length; + return string; + }; + Scanner.prototype.scanUntil = function scanUntil(re) { + var index = this.tail.search(re), + match; + switch (index) { + case -1: + match = this.tail; + this.tail = ""; + break; + case 0: + match = ""; + break; + default: + match = this.tail.substring(0, index); + this.tail = this.tail.substring(index); + } + this.pos += match.length; + return match; + }; + function Context(view, parentContext) { + this.view = view; + this.cache = { ".": this.view }; + this.parent = parentContext; + } + Context.prototype.push = function push(view) { + return new Context(view, this); + }; + Context.prototype.lookup = function lookup(name) { + var cache = this.cache; + var value; + if (cache.hasOwnProperty(name)) { + value = cache[name]; + } else { + var context = this, + names, + index, + lookupHit = false; + while (context) { + if (name.indexOf(".") > 0) { + value = context.view; + names = name.split("."); + index = 0; + while (value != null && index < names.length) { + if (index === names.length - 1) lookupHit = hasProperty(value, names[index]); + value = value[names[index++]]; + } + } else { + value = context.view[name]; + lookupHit = hasProperty(context.view, name); + } + if (lookupHit) break; + context = context.parent; + } + cache[name] = value; + } + if (isFunction(value)) value = value.call(this.view); + return value; + }; + function Writer() { + this.cache = {}; + } + Writer.prototype.clearCache = function clearCache() { + this.cache = {}; + }; + Writer.prototype.parse = function parse(template, tags) { + var cache = this.cache; + var tokens = cache[template]; + if (tokens == null) tokens = cache[template] = parseTemplate(template, tags); + return tokens; + }; + Writer.prototype.render = function render(template, view, partials) { + var tokens = this.parse(template); + var context = view instanceof Context ? view : new Context(view); + return this.renderTokens(tokens, context, partials, template); + }; + Writer.prototype.renderTokens = function renderTokens(tokens, context, partials, originalTemplate) { + var buffer = ""; + var token, symbol, value; + for (var i = 0, numTokens = tokens.length; i < numTokens; ++i) { + value = undefined; + token = tokens[i]; + symbol = token[0]; + if (symbol === "#") value = this.renderSection(token, context, partials, originalTemplate); + else if (symbol === "^") value = this.renderInverted(token, context, partials, originalTemplate); + else if (symbol === ">") value = this.renderPartial(token, context, partials, originalTemplate); + else if (symbol === "&") value = this.unescapedValue(token, context); + else if (symbol === "name") value = this.escapedValue(token, context); + else if (symbol === "text") value = this.rawValue(token); + if (value !== undefined) buffer += value; + } + return buffer; + }; + Writer.prototype.renderSection = function renderSection(token, context, partials, originalTemplate) { + var self = this; + var buffer = ""; + var value = context.lookup(token[1]); + function subRender(template) { + return self.render(template, context, partials); + } + if (!value) return; + if (isArray(value)) { + for (var j = 0, valueLength = value.length; j < valueLength; ++j) { + buffer += this.renderTokens(token[4], context.push(value[j]), partials, originalTemplate); + } + } else if (typeof value === "object" || typeof value === "string" || typeof value === "number") { + buffer += this.renderTokens(token[4], context.push(value), partials, originalTemplate); + } else if (isFunction(value)) { + if (typeof originalTemplate !== "string") throw new Error("Cannot use higher-order sections without the original template"); + value = value.call(context.view, originalTemplate.slice(token[3], token[5]), subRender); + if (value != null) buffer += value; + } else { + buffer += this.renderTokens(token[4], context, partials, originalTemplate); + } + return buffer; + }; + Writer.prototype.renderInverted = function renderInverted(token, context, partials, originalTemplate) { + var value = context.lookup(token[1]); + if (!value || (isArray(value) && value.length === 0)) return this.renderTokens(token[4], context, partials, originalTemplate); + }; + Writer.prototype.renderPartial = function renderPartial(token, context, partials) { + if (!partials) return; + var value = isFunction(partials) ? partials(token[1]) : partials[token[1]]; + if (value != null) return this.renderTokens(this.parse(value), context, partials, value); + }; + Writer.prototype.unescapedValue = function unescapedValue(token, context) { + var value = context.lookup(token[1]); + if (value != null) return value; + }; + Writer.prototype.escapedValue = function escapedValue(token, context) { + var value = context.lookup(token[1]); + if (value != null) return mustache.escape(value); + }; + Writer.prototype.rawValue = function rawValue(token) { + return token[1]; + }; + mustache.name = "mustache.js"; + mustache.version = "2.3.0"; + mustache.tags = ["{{", "}}"]; + var defaultWriter = new Writer(); + mustache.clearCache = function clearCache() { + return defaultWriter.clearCache(); + }; + mustache.parse = function parse(template, tags) { + return defaultWriter.parse(template, tags); + }; + mustache.render = function render(template, view, partials) { + if (typeof template !== "string") { + throw new TypeError('Invalid template! Template should be a "string" ' + 'but "' + typeStr(template) + '" was given as the first ' + "argument for mustache#render(template, view, partials)"); + } + return defaultWriter.render(template, view, partials); + }; + mustache.to_html = function to_html(template, view, partials, send) { + var result = mustache.render(template, view, partials); + if (isFunction(send)) { + send(result); + } else { + return result; + } + }; + mustache.escape = escapeHtml; + mustache.Scanner = Scanner; + mustache.Context = Context; + mustache.Writer = Writer; + return mustache; +}); diff --git a/[core]/es_extended/html/js/wrapper.js b/[core]/es_extended/html/js/wrapper.js index e4c47650..ee20f261 100644 --- a/[core]/es_extended/html/js/wrapper.js +++ b/[core]/es_extended/html/js/wrapper.js @@ -1,35 +1,34 @@ (() => { - let ESXWrapper = {}; - ESXWrapper.MessageSize = 1024; - ESXWrapper.messageId = 0; + let ESXWrapper = {}; + ESXWrapper.MessageSize = 1024; + ESXWrapper.messageId = 0; - window.SendMessage = function (namespace, type, msg) { - ESXWrapper.messageId = - ESXWrapper.messageId < 65535 ? ESXWrapper.messageId + 1 : 0; - const str = JSON.stringify(msg); + window.SendMessage = function (namespace, type, msg) { + ESXWrapper.messageId = ESXWrapper.messageId < 65535 ? ESXWrapper.messageId + 1 : 0; + const str = JSON.stringify(msg); - for (let i = 0; i < str.length; i++) { - let count = 0; - let chunk = ""; + for (let i = 0; i < str.length; i++) { + let count = 0; + let chunk = ""; - while (count < ESXWrapper.MessageSize && i < str.length) { - chunk += str[i]; + while (count < ESXWrapper.MessageSize && i < str.length) { + chunk += str[i]; - count++; - i++; - } + count++; + i++; + } - i--; + i--; - const data = { - __type: type, - id: ESXWrapper.messageId, - chunk: chunk, - }; + const data = { + __type: type, + id: ESXWrapper.messageId, + chunk: chunk, + }; - if (i === str.length - 1) data.end = true; + if (i === str.length - 1) data.end = true; - $.post("http://" + namespace + "/__chunk", JSON.stringify(data)); - } - }; + $.post("http://" + namespace + "/__chunk", JSON.stringify(data)); + } + }; })(); diff --git a/[core]/es_extended/html/ui.html b/[core]/es_extended/html/ui.html index 86ad62be..bbc9c005 100644 --- a/[core]/es_extended/html/ui.html +++ b/[core]/es_extended/html/ui.html @@ -1,12 +1,12 @@ - - - - -
+ + + + +
- - - - + + + + diff --git a/[core]/es_extended/locales/fr.lua b/[core]/es_extended/locales/fr.lua index e3c3166e..bc5289d5 100644 --- a/[core]/es_extended/locales/fr.lua +++ b/[core]/es_extended/locales/fr.lua @@ -113,7 +113,7 @@ Locales["fr"] = { ["command_giveammo_weapon"] = "Nom de l'arme", ["command_giveammo_ammo"] = "Quantité de munitions", ["tpm_nowaypoint"] = "Aucun point n'est défini sur la carte", - ["tpm_success"] = "Vous avez bien été téléporté", + ["tpm_success"] = "Vous avez bien été téléporté", ["noclip_message"] = "Le mode noclip a été %s", ["enabled"] = "~g~activé~s~", diff --git a/[core]/es_extended/locales/nl.lua b/[core]/es_extended/locales/nl.lua index 9de0115e..af4b920f 100644 --- a/[core]/es_extended/locales/nl.lua +++ b/[core]/es_extended/locales/nl.lua @@ -111,11 +111,11 @@ Locales["nl"] = { ['command_giveammo_ammo'] = 'Ammo Hoeveelheid', ['tpm_nowaypoint'] = 'Geen waypoint gezet.', ['tpm_success'] = 'Successvol geteleporteerd', - + ['noclip_message'] = 'Noclip is %s', ['enabled'] = '~g~aangezet~s~', ['disabled'] = '~r~uitgezet~s~', - + -- Locale settings ["locale_digit_grouping_symbol"] = ",", ["locale_currency"] = "€%s", diff --git a/[core]/es_extended/locales/sl.lua b/[core]/es_extended/locales/sl.lua index 4a485fd3..0e5de612 100644 --- a/[core]/es_extended/locales/sl.lua +++ b/[core]/es_extended/locales/sl.lua @@ -111,11 +111,11 @@ Locales["sl"] = { ['command_giveammo_ammo'] = 'Kolicina streliva', ['tpm_nowaypoint'] = 'Ni nastavljene poti!.', ['tpm_success'] = 'Uspesno teleportiran', - + ['noclip_message'] = 'Noclip je bil %s', ['enabled'] = '~g~Vkljucen~s~', ['disabled'] = '~r~Izkljucen~s~', - + -- Locale settings ["locale_digit_grouping_symbol"] = ",", ["locale_currency"] = "€%s", diff --git a/[core]/es_extended/server/commands.lua b/[core]/es_extended/server/commands.lua index 7e160870..86c64b46 100644 --- a/[core]/es_extended/server/commands.lua +++ b/[core]/es_extended/server/commands.lua @@ -286,12 +286,12 @@ if not Config.OxInventory then if Config.AdminLogging then ESX.DiscordLogFields("UserActions", "Give Weapon Component /giveweaponcomponent Triggered!", "pink", { - { name = "Player", value = xPlayer.name, inline = true }, - { name = "ID", value = xPlayer.source, inline = true }, - { name = "Target", value = args.playerId.name, inline = true }, - { name = "Weapon", value = args.weaponName, inline = true }, - { name = "Component", value = args.componentName, inline = true }, - }) + { name = "Player", value = xPlayer.name, inline = true }, + { name = "ID", value = xPlayer.source, inline = true }, + { name = "Target", value = args.playerId.name, inline = true }, + { name = "Weapon", value = args.weaponName, inline = true }, + { name = "Component", value = args.componentName, inline = true }, + }) end end else @@ -552,6 +552,6 @@ ESX.RegisterCommand('players', "admin", function() for i = 1, #(xPlayers) do local xPlayer = xPlayers[i] print(('^1[^2ID: ^5%s^0 | ^2Name : ^5%s^0 | ^2Group : ^5%s^0 | ^2Identifier : ^5%s^1]^0\n'):format( - xPlayer.source, xPlayer.getName(), xPlayer.getGroup(), xPlayer.identifier)) + xPlayer.source, xPlayer.getName(), xPlayer.getGroup(), xPlayer.identifier)) end end, true) diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 7e15b197..d70369a1 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -115,7 +115,7 @@ function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion) newArgs[v.name] = string.sub(merge, lenght) end end - + --backwards compatibility if not v.validate and not v.type then error = nil @@ -403,7 +403,7 @@ function ESX.RefreshJobs() if not Jobs then -- Fallback data, if no jobs exist - ESX.Jobs['unemployed'] = {label = 'Unemployed', grades = {['0'] = {grade = 0, label = 'Unemployed', salary = 200, skin_male = {}, skin_female = {}}}} + ESX.Jobs['unemployed'] = { label = 'Unemployed', grades = { ['0'] = { grade = 0, label = 'Unemployed', salary = 200, skin_male = {}, skin_female = {} } } } else ESX.Jobs = Jobs end diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 607b86a3..d1bc6e0f 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -52,11 +52,10 @@ function onPlayerJoined(playerId) ('there was an error loading your character!\nError code: identifier-active-ingame\n\nThis error is caused by a player on this server who has the same identifier as you have. Make sure you are not playing on the same Rockstar account.\n\nYour Rockstar identifier: %s'):format( identifier)) else - local result = MySQL.scalar.await('SELECT 1 FROM users WHERE identifier = ?', {identifier}) + local result = MySQL.scalar.await('SELECT 1 FROM users WHERE identifier = ?', { identifier }) if result then loadESXPlayer(identifier, playerId, false) else - createESXPlayer(identifier, playerId) end end @@ -80,12 +79,12 @@ function createESXPlayer(identifier, playerId, data) end if not Config.Multichar then - MySQL.prepare(newPlayer, {json.encode(accounts), identifier, defaultGroup}, function() + MySQL.prepare(newPlayer, { json.encode(accounts), identifier, defaultGroup }, function() loadESXPlayer(identifier, playerId, true) end) else MySQL.prepare(newPlayer, - {json.encode(accounts), identifier, defaultGroup, data.firstname, data.lastname, data.dateofbirth, data.sex, data.height}, function() + { json.encode(accounts), identifier, defaultGroup, data.firstname, data.lastname, data.dateofbirth, data.sex, data.height }, function() loadESXPlayer(identifier, playerId, true) end) end @@ -104,7 +103,7 @@ if not Config.Multichar then if not Core.DatabaseConnected then return deferrals.done('[ESX] OxMySQL Was Unable To Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') end - + if identifier then if ESX.GetPlayerFromIdentifier(identifier) then return deferrals.done( @@ -121,249 +120,248 @@ if not Config.Multichar then end function loadESXPlayer(identifier, playerId, isNew) - local userData = { - accounts = {}, - inventory = {}, - job = {}, - loadout = {}, - playerName = GetPlayerName(playerId), - weight = 0, - metadata = {} - } - local result = MySQL.prepare.await(loadPlayer, { identifier }) - local job, grade, jobObject, gradeObject = result.job, tostring(result.job_grade) - local foundAccounts, foundItems = {}, {} + local userData = { + accounts = {}, + inventory = {}, + job = {}, + loadout = {}, + playerName = GetPlayerName(playerId), + weight = 0, + metadata = {} + } + local result = MySQL.prepare.await(loadPlayer, { identifier }) + local job, grade, jobObject, gradeObject = result.job, tostring(result.job_grade) + local foundAccounts, foundItems = {}, {} - -- Accounts - if result.accounts and result.accounts ~= '' then - local accounts = json.decode(result.accounts) + -- Accounts + if result.accounts and result.accounts ~= '' then + local accounts = json.decode(result.accounts) - for account, money in pairs(accounts) do - foundAccounts[account] = money - end - end + for account, money in pairs(accounts) do + foundAccounts[account] = money + end + end - for account, data in pairs(Config.Accounts) do - if data.round == nil then - data.round = true - end - local index = #userData.accounts + 1 - userData.accounts[index] = { - name = account, - money = foundAccounts[account] or Config.StartingAccountMoney[account] or 0, - label = data.label, - round = data.round, - index = index - } - end + for account, data in pairs(Config.Accounts) do + if data.round == nil then + data.round = true + end + local index = #userData.accounts + 1 + userData.accounts[index] = { + name = account, + money = foundAccounts[account] or Config.StartingAccountMoney[account] or 0, + label = data.label, + round = data.round, + index = index + } + end - -- Job - if ESX.DoesJobExist(job, grade) then - jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] - else - print(('[^3WARNING^7] Ignoring invalid job for ^5%s^7 [job: ^5%s^7, grade: ^5%s^7]'):format(identifier, job, grade)) - job, grade = 'unemployed', '0' - jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] - end + -- Job + if ESX.DoesJobExist(job, grade) then + jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] + else + print(('[^3WARNING^7] Ignoring invalid job for ^5%s^7 [job: ^5%s^7, grade: ^5%s^7]'):format(identifier, job, grade)) + job, grade = 'unemployed', '0' + jobObject, gradeObject = ESX.Jobs[job], ESX.Jobs[job].grades[grade] + end - userData.job.id = jobObject.id - userData.job.name = jobObject.name - userData.job.label = jobObject.label + userData.job.id = jobObject.id + userData.job.name = jobObject.name + userData.job.label = jobObject.label - userData.job.grade = tonumber(grade) - userData.job.grade_name = gradeObject.name - userData.job.grade_label = gradeObject.label - userData.job.grade_salary = gradeObject.salary + userData.job.grade = tonumber(grade) + userData.job.grade_name = gradeObject.name + userData.job.grade_label = gradeObject.label + userData.job.grade_salary = gradeObject.salary - userData.job.skin_male = {} - userData.job.skin_female = {} + userData.job.skin_male = {} + userData.job.skin_female = {} - if gradeObject.skin_male then - userData.job.skin_male = json.decode(gradeObject.skin_male) - end - if gradeObject.skin_female then - userData.job.skin_female = json.decode(gradeObject.skin_female) - end + if gradeObject.skin_male then + userData.job.skin_male = json.decode(gradeObject.skin_male) + end + if gradeObject.skin_female then + userData.job.skin_female = json.decode(gradeObject.skin_female) + end - -- Inventory - if not Config.OxInventory then - if result.inventory and result.inventory ~= '' then - local inventory = json.decode(result.inventory) + -- Inventory + if not Config.OxInventory then + if result.inventory and result.inventory ~= '' then + local inventory = json.decode(result.inventory) - for name, count in pairs(inventory) do - local item = ESX.Items[name] + for name, count in pairs(inventory) do + local item = ESX.Items[name] - if item then - foundItems[name] = count - else - print(('[^3WARNING^7] Ignoring invalid item ^5"%s"^7 for ^5"%s^7"'):format(name, identifier)) - end - end - end + if item then + foundItems[name] = count + else + print(('[^3WARNING^7] Ignoring invalid item ^5"%s"^7 for ^5"%s^7"'):format(name, identifier)) + end + end + end - for name, item in pairs(ESX.Items) do - local count = foundItems[name] or 0 - if count > 0 then - userData.weight = userData.weight + (item.weight * count) - end + for name, item in pairs(ESX.Items) do + local count = foundItems[name] or 0 + if count > 0 then + userData.weight = userData.weight + (item.weight * count) + end - table.insert(userData.inventory, - { - name = name, - count = count, - label = item.label, - weight = item.weight, - usable = Core.UsableItemsCallbacks[name] ~= nil, - rare = item.rare, - canRemove = item.canRemove - }) - end + table.insert(userData.inventory, + { + name = name, + count = count, + label = item.label, + weight = item.weight, + usable = Core.UsableItemsCallbacks[name] ~= nil, + rare = item.rare, + canRemove = item.canRemove + }) + end - table.sort(userData.inventory, function(a, b) - return a.label < b.label - end) - else - if result.inventory and result.inventory ~= '' then - userData.inventory = json.decode(result.inventory) - else - userData.inventory = {} - end - end + table.sort(userData.inventory, function(a, b) + return a.label < b.label + end) + else + if result.inventory and result.inventory ~= '' then + userData.inventory = json.decode(result.inventory) + else + userData.inventory = {} + end + end - -- Group - if result.group then - if result.group == "superadmin" then - userData.group = "admin" - print("[^3WARNING^7] ^5Superadmin^7 detected, setting group to ^5admin^7") - else - userData.group = result.group - end - else - userData.group = 'user' - end + -- Group + if result.group then + if result.group == "superadmin" then + userData.group = "admin" + print("[^3WARNING^7] ^5Superadmin^7 detected, setting group to ^5admin^7") + else + userData.group = result.group + end + else + userData.group = 'user' + end - -- Loadout - if not Config.OxInventory then - if result.loadout and result.loadout ~= '' then - local loadout = json.decode(result.loadout) + -- Loadout + if not Config.OxInventory then + if result.loadout and result.loadout ~= '' then + local loadout = json.decode(result.loadout) - for name, weapon in pairs(loadout) do - local label = ESX.GetWeaponLabel(name) + for name, weapon in pairs(loadout) do + local label = ESX.GetWeaponLabel(name) - if label then - if not weapon.components then - weapon.components = {} - end - if not weapon.tintIndex then - weapon.tintIndex = 0 - end + if label then + if not weapon.components then + weapon.components = {} + end + if not weapon.tintIndex then + weapon.tintIndex = 0 + end - table.insert(userData.loadout, - { - name = name, - ammo = weapon.ammo, - label = label, - components = weapon.components, - tintIndex = weapon.tintIndex - }) - end - end - end - end + table.insert(userData.loadout, + { + name = name, + ammo = weapon.ammo, + label = label, + components = weapon.components, + tintIndex = weapon.tintIndex + }) + end + end + end + end - -- Position - userData.coords = json.decode(result.position) or Config.DefaultSpawns[math.random(#Config.DefaultSpawns)] + -- Position + userData.coords = json.decode(result.position) or Config.DefaultSpawns[math.random(#Config.DefaultSpawns)] - -- Skin - if result.skin and result.skin ~= '' then - userData.skin = json.decode(result.skin) - else - if userData.sex == 'f' then - userData.skin = { sex = 1 } - else - userData.skin = { sex = 0 } - end - end + -- Skin + if result.skin and result.skin ~= '' then + userData.skin = json.decode(result.skin) + else + if userData.sex == 'f' then + userData.skin = { sex = 1 } + else + userData.skin = { sex = 0 } + end + end - -- Identity - if result.firstname and result.firstname ~= '' then - userData.firstname = result.firstname - userData.lastname = result.lastname - userData.playerName = userData.firstname .. ' ' .. userData.lastname - if result.dateofbirth then - userData.dateofbirth = result.dateofbirth - end - if result.sex then - userData.sex = result.sex - end - if result.height then - userData.height = result.height - end - end + -- Identity + if result.firstname and result.firstname ~= '' then + userData.firstname = result.firstname + userData.lastname = result.lastname + userData.playerName = userData.firstname .. ' ' .. userData.lastname + if result.dateofbirth then + userData.dateofbirth = result.dateofbirth + end + if result.sex then + userData.sex = result.sex + end + if result.height then + userData.height = result.height + end + end - if result.metadata and result.metadata ~= '' then - local metadata = json.decode(result.metadata) - userData.metadata = metadata - end + if result.metadata and result.metadata ~= '' then + local metadata = json.decode(result.metadata) + userData.metadata = metadata + end - local xPlayer = CreateExtendedPlayer(playerId, identifier, userData.group, userData.accounts, userData.inventory, userData.weight, userData.job, userData.loadout, userData.playerName, userData.coords, userData.metadata) - ESX.Players[playerId] = xPlayer - Core.playersByIdentifier[identifier] = xPlayer + local xPlayer = CreateExtendedPlayer(playerId, identifier, userData.group, userData.accounts, userData.inventory, userData.weight, userData.job, userData.loadout, userData.playerName, userData.coords, userData.metadata) + ESX.Players[playerId] = xPlayer + Core.playersByIdentifier[identifier] = xPlayer - if userData.firstname then - xPlayer.set('firstName', userData.firstname) - xPlayer.set('lastName', userData.lastname) - if userData.dateofbirth then - xPlayer.set('dateofbirth', userData.dateofbirth) - end - if userData.sex then - xPlayer.set('sex', userData.sex) - end - if userData.height then - xPlayer.set('height', userData.height) - end - end + if userData.firstname then + xPlayer.set('firstName', userData.firstname) + xPlayer.set('lastName', userData.lastname) + if userData.dateofbirth then + xPlayer.set('dateofbirth', userData.dateofbirth) + end + if userData.sex then + xPlayer.set('sex', userData.sex) + end + if userData.height then + xPlayer.set('height', userData.height) + end + end - TriggerEvent('esx:playerLoaded', playerId, xPlayer, isNew) + TriggerEvent('esx:playerLoaded', playerId, xPlayer, isNew) - xPlayer.triggerEvent('esx:playerLoaded', - { - accounts = xPlayer.getAccounts(), - coords = userData.coords, - identifier = xPlayer.getIdentifier(), - inventory = xPlayer.getInventory(), - job = xPlayer.getJob(), - loadout = xPlayer.getLoadout(), - maxWeight = xPlayer.getMaxWeight(), - money = xPlayer.getMoney(), - sex = xPlayer.get("sex") or "m", - firstName = xPlayer.get("firstName") or "John", - lastName = xPlayer.get("lastName") or "Doe", - dateofbirth = xPlayer.get("dateofbirth") or "01/01/2000", - height = xPlayer.get("height") or 120, - dead = false, - metadata = xPlayer.getMeta() - }, isNew, - userData.skin) + xPlayer.triggerEvent('esx:playerLoaded', + { + accounts = xPlayer.getAccounts(), + coords = userData.coords, + identifier = xPlayer.getIdentifier(), + inventory = xPlayer.getInventory(), + job = xPlayer.getJob(), + loadout = xPlayer.getLoadout(), + maxWeight = xPlayer.getMaxWeight(), + money = xPlayer.getMoney(), + sex = xPlayer.get("sex") or "m", + firstName = xPlayer.get("firstName") or "John", + lastName = xPlayer.get("lastName") or "Doe", + dateofbirth = xPlayer.get("dateofbirth") or "01/01/2000", + height = xPlayer.get("height") or 120, + dead = false, + metadata = xPlayer.getMeta() + }, isNew, + userData.skin) - if not Config.OxInventory then - xPlayer.triggerEvent('esx:createMissingPickups', Core.Pickups) - else - exports.ox_inventory:setPlayerInventory(xPlayer, userData.inventory) + if not Config.OxInventory then + xPlayer.triggerEvent('esx:createMissingPickups', Core.Pickups) + else + exports.ox_inventory:setPlayerInventory(xPlayer, userData.inventory) - if isNew then - for account, money in pairs(Config.StartingAccountMoney) do - if account == 'money' or account == 'black_money' then - exports.ox_inventory:AddItem(playerId, account, money) - end - end - end - end - xPlayer.triggerEvent('esx:registerSuggestions', Core.RegisteredCommands) - print(('[^2INFO^0] Player ^5"%s"^0 has connected to the server. ID: ^5%s^7'):format(xPlayer.getName(), playerId)) + if isNew then + for account, money in pairs(Config.StartingAccountMoney) do + if account == 'money' or account == 'black_money' then + exports.ox_inventory:AddItem(playerId, account, money) + end + end + end + end + xPlayer.triggerEvent('esx:registerSuggestions', Core.RegisteredCommands) + print(('[^2INFO^0] Player ^5"%s"^0 has connected to the server. ID: ^5%s^7'):format(xPlayer.getName(), playerId)) end - AddEventHandler('chatMessage', function(playerId, _, message) local xPlayer = ESX.GetPlayerFromId(playerId) if message:sub(1, 1) == '/' and playerId > 0 then @@ -621,8 +619,16 @@ end ESX.RegisterServerCallback('esx:getPlayerData', function(source, cb) local xPlayer = ESX.GetPlayerFromId(source) - cb({identifier = xPlayer.identifier, accounts = xPlayer.getAccounts(), inventory = xPlayer.getInventory(), job = xPlayer.getJob(), - loadout = xPlayer.getLoadout(), money = xPlayer.getMoney(), position = xPlayer.getCoords(true), metadata = xPlayer.getMeta()}) + cb({ + identifier = xPlayer.identifier, + accounts = xPlayer.getAccounts(), + inventory = xPlayer.getInventory(), + job = xPlayer.getJob(), + loadout = xPlayer.getLoadout(), + money = xPlayer.getMoney(), + position = xPlayer.getCoords(true), + metadata = xPlayer.getMeta() + }) end) ESX.RegisterServerCallback('esx:isUserAdmin', function(source, cb) @@ -636,8 +642,16 @@ end) ESX.RegisterServerCallback('esx:getOtherPlayerData', function(_, cb, target) local xPlayer = ESX.GetPlayerFromId(target) - cb({identifier = xPlayer.identifier, accounts = xPlayer.getAccounts(), inventory = xPlayer.getInventory(), job = xPlayer.getJob(), - loadout = xPlayer.getLoadout(), money = xPlayer.getMoney(), position = xPlayer.getCoords(true), metadata = xPlayer.getMeta()}) + cb({ + identifier = xPlayer.identifier, + accounts = xPlayer.getAccounts(), + inventory = xPlayer.getInventory(), + job = xPlayer.getJob(), + loadout = xPlayer.getLoadout(), + money = xPlayer.getMoney(), + position = xPlayer.getCoords(true), + metadata = xPlayer.getMeta() + }) end) ESX.RegisterServerCallback('esx:getPlayerNames', function(source, cb, players) @@ -656,20 +670,20 @@ ESX.RegisterServerCallback('esx:getPlayerNames', function(source, cb, players) cb(players) end) -ESX.RegisterServerCallback("esx:spawnVehicle", function(source,cb,vehData) - local ped = GetPlayerPed(source) - ESX.OneSync.SpawnVehicle(vehData.model or `ADDER`, vehData.coords or GetEntityCoords(ped), vehData.coords.w or 0.0, vehData.props or {}, function(id) - if vehData.warp then +ESX.RegisterServerCallback("esx:spawnVehicle", function(source, cb, vehData) + local ped = GetPlayerPed(source) + ESX.OneSync.SpawnVehicle(vehData.model or `ADDER`, vehData.coords or GetEntityCoords(ped), vehData.coords.w or 0.0, vehData.props or {}, function(id) + if vehData.warp then local vehicle = NetworkGetEntityFromNetworkId(id) - local timeout = 0 - while GetVehiclePedIsIn(ped) ~= vehicle and timeout <= 15 do - Wait(0) - TaskWarpPedIntoVehicle(ped, vehicle, -1) - timeout += 1 - end - end - cb(id) - end) + local timeout = 0 + while GetVehiclePedIsIn(ped) ~= vehicle and timeout <= 15 do + Wait(0) + TaskWarpPedIntoVehicle(ped, vehicle, -1) + timeout += 1 + end + end + cb(id) + end) end) AddEventHandler('txAdmin:events:scheduledRestart', function(eventData) @@ -684,4 +698,3 @@ end) AddEventHandler('txAdmin:events:serverShuttingDown', function() Core.SavePlayers() end) - diff --git a/[core]/esx_context/index.html b/[core]/esx_context/index.html index cd967955..9e40e850 100644 --- a/[core]/esx_context/index.html +++ b/[core]/esx_context/index.html @@ -1,462 +1,452 @@ - - - - + + + + - - - ESX Context HUD + + + ESX Context HUD - - + /* Show the checkmark when checked */ + .container input:checked ~ .checkmark:after { + display: block; + } + + - -
-
- -
- Unselectable Item - Testing, testing a description here. + +
+
+ +
+ Unselectable Item + Testing, testing a description here. +
+
+
+ +
+ Disabled Item + Testing, testing a description here. +
+
+
+ +
+ Item + Testing, testing a description here. Generic words to force overflow. +
+
-
-
- -
- Disabled Item - Testing, testing a description here. -
-
-
- -
- Item - Testing, testing a description here. Generic words to force - overflow. -
-
-
- - + // Open([ + // { + // unselectable:true, + // icon:"fas fa-info-circle", + // title:"Unselectable Item (Header/Label?)", + // }, + // { + // icon:"fas fa-check", + // title:"Item A", + // description:"Some description here. Add some words to make the text overflow." + // }, + // { + // disabled:true, + // icon:"fas fa-times", + // title:"Disabled Item", + // description:"Some description here. Add some words to make the text overflow." + // }, + // { + // icon:"fas fa-check", + // title:"Item B", + // description:"Some description here. Add some words to make the text overflow." + // }, + // { + // input:true, + // icon:"fas fa-times", + // title:"Input Text", + // inputType:"text", + // inputPlaceholder:"Placeholder..." + // }, + // { + // input:true, + // icon:"", + // title:"Input Number", + // inputType:"number", + // inputPlaceholder:"Placeholder...", + // inputValue:0, + // inputMin:0, + // inputMax:50 + // }, + // { + // input:true, + // icon:"", + // title:"Input Radio", + // inputType:"radio", + // inputPlaceholder:"turbocharger", + // inputValue:"supercharger", + // inputValues:[ + // { + // value:"turbocharger", + // title:"Turbocharger" + // }, + // { + // value:"supercharger", + // title:"Supercharger" + // }, + // ] + // } + // ]) + + diff --git a/[core]/esx_identity/config.lua b/[core]/esx_identity/config.lua index 2c16096b..7e450c23 100644 --- a/[core]/esx_identity/config.lua +++ b/[core]/esx_identity/config.lua @@ -13,11 +13,11 @@ Config.UseDeferrals = false Config.DateFormat = 'DD/MM/YYYY' -- These values are for the second input validation in server/main.lua -Config.MaxNameLength = 20 -- Max Name Length. -Config.MinHeight = 120 -- 120 cm lowest height -Config.MaxHeight = 220 -- 220 cm max height. -Config.LowestYear = 1900 -- 112 years old is the oldest you can be. -Config.HighestYear = 2005 -- 18 years old is the youngest you can be. +Config.MaxNameLength = 20 -- Max Name Length. +Config.MinHeight = 120 -- 120 cm lowest height +Config.MaxHeight = 220 -- 220 cm max height. +Config.LowestYear = 1900 -- 112 years old is the oldest you can be. +Config.HighestYear = 2005 -- 18 years old is the youngest you can be. -Config.FullCharDelete = true -- Delete all reference to character. -Config.EnableDebugging = ESX.GetConfig().EnableDebug -- prints for debugging :) +Config.FullCharDelete = true -- Delete all reference to character. +Config.EnableDebugging = ESX.GetConfig().EnableDebug -- prints for debugging :) diff --git a/[core]/esx_identity/html/css/style.css b/[core]/esx_identity/html/css/style.css index 1a7fff35..45f2404a 100644 --- a/[core]/esx_identity/html/css/style.css +++ b/[core]/esx_identity/html/css/style.css @@ -1,153 +1,153 @@ @import url("https://fonts.googleapis.com/css2?family=Oswald&display=swap"); body { - font-family: sans-serif; - overflow: hidden; - background-color: transparent; + font-family: sans-serif; + overflow: hidden; + background-color: transparent; } .none { - display: none; + display: none; } .dialog { - width: 332px; - opacity: 0.95; - padding: 20px; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - background-color: #152029; - border-radius: 10px; - box-shadow: 0 -5px 3px -3px #21303d, 0 5px 3px -3px #21303d; - border: none; - color: #ffffff; + width: 332px; + opacity: 0.95; + padding: 20px; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + background-color: #152029; + border-radius: 10px; + box-shadow: 0 -5px 3px -3px #21303d, 0 5px 3px -3px #21303d; + border: none; + color: #ffffff; } .title { - font-family: "Oswald", sans-serif; - font-size: 22px; - text-align: center; - padding: 5px; - margin-bottom: 20px; + font-family: "Oswald", sans-serif; + font-size: 22px; + text-align: center; + padding: 5px; + margin-bottom: 20px; } input { - margin-bottom: 15px; - border: none; - border-bottom: 2px solid #58636c; - width: 100%; - outline: none; - padding: 10px; - padding-left: 0; - font-family: "Oswald", sans-serif; - color: #ffffff; - text-align: left; - background-color: #152029; + margin-bottom: 15px; + border: none; + border-bottom: 2px solid #58636c; + width: 100%; + outline: none; + padding: 10px; + padding-left: 0; + font-family: "Oswald", sans-serif; + color: #ffffff; + text-align: left; + background-color: #152029; } ::placeholder { - /* Chrome, Firefox, Opera, Safari 10.1+ */ - color: rgba(84, 97, 105, 255); - font-family: "Oswald", sans-serif; - font-weight: 200; - opacity: 1; - /* Firefox */ + /* Chrome, Firefox, Opera, Safari 10.1+ */ + color: rgba(84, 97, 105, 255); + font-family: "Oswald", sans-serif; + font-weight: 200; + opacity: 1; + /* Firefox */ } .radio-toolbar input[type="radio"] { - opacity: 0; - position: absolute; - width: 36%; + opacity: 0; + position: absolute; + width: 36%; } .radio-toolbar label { - display: inline-block; - margin-top: 5px; - background-color: rgba(15, 15, 15, 0.9); - padding: 10px 20px; - font-family: "Oswald", sans-serif; - font-weight: 500; - font-size: 16px; - color: #ffffff; - border: none; - border-radius: 5px; - width: 36%; + display: inline-block; + margin-top: 5px; + background-color: rgba(15, 15, 15, 0.9); + padding: 10px 20px; + font-family: "Oswald", sans-serif; + font-weight: 500; + font-size: 16px; + color: #ffffff; + border: none; + border-radius: 5px; + width: 36%; } -.radio-toolbar input[type="radio"]:checked+label { - width: 36%; - background-color: rgba(15, 15, 15, 0.9); - border: none; - border-bottom: 1px solid #93a3b6; - border-radius: 5px; - color: #ffffff; +.radio-toolbar input[type="radio"]:checked + label { + width: 36%; + background-color: rgba(15, 15, 15, 0.9); + border: none; + border-bottom: 1px solid #93a3b6; + border-radius: 5px; + color: #ffffff; } -.radio-toolbar input[type="radio"]:focus+label { - background-color: rgba(15, 15, 15, 0.9); - border: none; - border-bottom: 1px solid #93a3b6; - border-radius: 5px; - color: #ffffff; +.radio-toolbar input[type="radio"]:focus + label { + background-color: rgba(15, 15, 15, 0.9); + border: none; + border-bottom: 1px solid #93a3b6; + border-radius: 5px; + color: #ffffff; } .radio-toolbar label:hover { - background-color: rgba(28, 24, 24, 0.931); - width: 36%; - color: #ffffff; + background-color: rgba(28, 24, 24, 0.931); + width: 36%; + color: #ffffff; } button { - display: block; - margin-top: 35px; - /*padding: 10px;*/ - background-color: #4569c6; - outline: none; - border: 2px double rgba(40, 40, 40, 0.9); - color: #ffffff; - height: 30px; - width: 100%; + display: block; + margin-top: 35px; + /*padding: 10px;*/ + background-color: #4569c6; + outline: none; + border: 2px double rgba(40, 40, 40, 0.9); + color: #ffffff; + height: 30px; + width: 100%; } h1 { - display: block; - margin-top: 5px; - margin-right: 5px; - padding: 10px; - background-color: rgba(15, 15, 15, 0.9); - color: #ffffff; - width: 93%; - text-align: center; + display: block; + margin-top: 5px; + margin-right: 5px; + padding: 10px; + background-color: rgba(15, 15, 15, 0.9); + color: #ffffff; + width: 93%; + text-align: center; } .range-wrap { - position: relative; - margin: 0 auto 3rem; + position: relative; + margin: 0 auto 3rem; } .range { - width: 100%; + width: 100%; } .bubble { - background: rgba(15, 15, 15, 0.9); - color: #ffffff; - padding: 4px 12px; - position: absolute; - border-radius: 4px; - left: 50%; - transform: translateX(-50%); + background: rgba(15, 15, 15, 0.9); + color: #ffffff; + padding: 4px 12px; + position: absolute; + border-radius: 4px; + left: 50%; + transform: translateX(-50%); } .bubble::after { - content: ""; - position: absolute; - width: 2px; - height: 2px; - background: rgba(15, 15, 15, 0.9); - color: black; - top: -1px; - left: 50%; -} \ No newline at end of file + content: ""; + position: absolute; + width: 2px; + height: 2px; + background: rgba(15, 15, 15, 0.9); + color: black; + top: -1px; + left: 50%; +} diff --git a/[core]/esx_identity/html/index.html b/[core]/esx_identity/html/index.html index 1d5a9ad3..f1320ea7 100644 --- a/[core]/esx_identity/html/index.html +++ b/[core]/esx_identity/html/index.html @@ -1,77 +1,49 @@ + + + - - - + ESX Identity + - ESX Identity - + +
+
IDENTITY
+
+
First Name
+
+
Last Name
+
+
Date of Birth (MM/DD/YYYY)
+
+
Height
+
+
+
+ + - -
-
IDENTITY
- -
- First Name -
-
-
- Last Name -
-
-
- Date of Birth (MM/DD/YYYY) -
-
-
- Height -
-
-
-
- - - - - + + +
+
+ + +
+ If the submit button doesn't work, please ensure that you've entered the fields correctly. +
-
- - -
- If the submit button doesn't work, please ensure that you've entered - the fields correctly. -
-
- - - - - \ No newline at end of file + + + + diff --git a/[core]/esx_identity/html/js/script.js b/[core]/esx_identity/html/js/script.js index bca1d09b..75cd203f 100644 --- a/[core]/esx_identity/html/js/script.js +++ b/[core]/esx_identity/html/js/script.js @@ -1,46 +1,39 @@ window.addEventListener("message", (event) => { - if (event.data.type === "enableui") { - document.body.classList[event.data.enable ? "remove" : "add"]("none"); - } + if (event.data.type === "enableui") { + document.body.classList[event.data.enable ? "remove" : "add"]("none"); + } }); document.querySelector("#register").addEventListener("submit", (event) => { - event.preventDefault(); + event.preventDefault(); - const dofVal = document.querySelector("#dateofbirth").value; - if (!dofVal) return; + const dofVal = document.querySelector("#dateofbirth").value; + if (!dofVal) return; - const dateCheck = new Date(dofVal); + const dateCheck = new Date(dofVal); - const year = new Intl.DateTimeFormat("en", { year: "numeric" }).format( - dateCheck - ); - const month = new Intl.DateTimeFormat("en", { month: "2-digit" }).format( - dateCheck - ); - const day = new Intl.DateTimeFormat("en", { day: "2-digit" }).format( - dateCheck - ); + const year = new Intl.DateTimeFormat("en", { year: "numeric" }).format(dateCheck); + const month = new Intl.DateTimeFormat("en", { month: "2-digit" }).format(dateCheck); + const day = new Intl.DateTimeFormat("en", { day: "2-digit" }).format(dateCheck); - const formattedDate = `${day}/${month}/${year}`; - fetch("http://esx_identity/register", { - method: "POST", - body: JSON.stringify({ - firstname: document.querySelector("#firstname").value, - lastname: document.querySelector("#lastname").value, - dateofbirth: formattedDate, - sex: document.querySelector("input[type='radio'][name='sex']:checked") - .value, - height: document.querySelector("#height").value, - }), - }); + const formattedDate = `${day}/${month}/${year}`; + fetch("http://esx_identity/register", { + method: "POST", + body: JSON.stringify({ + firstname: document.querySelector("#firstname").value, + lastname: document.querySelector("#lastname").value, + dateofbirth: formattedDate, + sex: document.querySelector("input[type='radio'][name='sex']:checked").value, + height: document.querySelector("#height").value, + }), + }); - document.querySelector("#register").reset(); + document.querySelector("#register").reset(); }); document.addEventListener("DOMContentLoaded", () => { - fetch("http://esx_identity/ready", { - method: "POST", - body: JSON.stringify({}), - }); -}); \ No newline at end of file + fetch("http://esx_identity/ready", { + method: "POST", + body: JSON.stringify({}), + }); +}); diff --git a/[core]/esx_loadingscreen/css/index.css b/[core]/esx_loadingscreen/css/index.css index 6cb39671..474a89b8 100644 --- a/[core]/esx_loadingscreen/css/index.css +++ b/[core]/esx_loadingscreen/css/index.css @@ -14,104 +14,104 @@ html, body { - margin: 0; - padding: 0; - font-family: "Quicksand", sans-serif; - overflow: hidden; + margin: 0; + padding: 0; + font-family: "Quicksand", sans-serif; + overflow: hidden; } #esx_intro { - z-index: 2; + z-index: 2; } #esx_loop { - z-index: 1; + z-index: 1; } #loading_txt { - bottom: 5%; - left: 50%; - margin-left: -80px; - position: absolute; - z-index: 999; + bottom: 5%; + left: 50%; + margin-left: -80px; + position: absolute; + z-index: 999; - -webkit-animation: fadein 5s; - -moz-animation: fadein 5s; - -ms-animation: fadein 5s; - -o-animation: fadein 5s; - animation: fadein 5s; + -webkit-animation: fadein 5s; + -moz-animation: fadein 5s; + -ms-animation: fadein 5s; + -o-animation: fadein 5s; + animation: fadein 5s; } p { - color: white; - font-size: 32px; + color: white; + font-size: 32px; } .text_thing:after { - content: " ."; - animation: dots 2s steps(5, end) infinite; + content: " ."; + animation: dots 2s steps(5, end) infinite; } @keyframes dots { - 0%, - 20% { - color: rgba(0, 0, 0, 0); - text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0); - } - 40% { - color: white; - text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0); - } - 60% { - text-shadow: 0.25em 0 0 white, 0.5em 0 0 rgba(0, 0, 0, 0); - } - 80%, - 100% { - text-shadow: 0.25em 0 0 white, 0.5em 0 0 white; - } + 0%, + 20% { + color: rgba(0, 0, 0, 0); + text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0); + } + 40% { + color: white; + text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0); + } + 60% { + text-shadow: 0.25em 0 0 white, 0.5em 0 0 rgba(0, 0, 0, 0); + } + 80%, + 100% { + text-shadow: 0.25em 0 0 white, 0.5em 0 0 white; + } } @keyframes fadein { - from { - opacity: 0; - } - to { - opacity: 1; - } + from { + opacity: 0; + } + to { + opacity: 1; + } } @-moz-keyframes fadein { - from { - opacity: 0; - } - to { - opacity: 1; - } + from { + opacity: 0; + } + to { + opacity: 1; + } } @-webkit-keyframes fadein { - from { - opacity: 0; - } - to { - opacity: 1; - } + from { + opacity: 0; + } + to { + opacity: 1; + } } @-ms-keyframes fadein { - from { - opacity: 0; - } - to { - opacity: 1; - } + from { + opacity: 0; + } + to { + opacity: 1; + } } @-o-keyframes fadein { - from { - opacity: 0; - } - to { - opacity: 1; - } + from { + opacity: 0; + } + to { + opacity: 1; + } } diff --git a/[core]/esx_loadingscreen/index.html b/[core]/esx_loadingscreen/index.html index 212b9e7e..590de522 100644 --- a/[core]/esx_loadingscreen/index.html +++ b/[core]/esx_loadingscreen/index.html @@ -1,25 +1,22 @@ - - - - - + + + + + - -
-
-

Loading

-
+ +
+
+

Loading

+
- - -
- + + +
+ diff --git a/[core]/esx_loadingscreen/js/index.js b/[core]/esx_loadingscreen/js/index.js index e2312b4a..c77c76ca 100644 --- a/[core]/esx_loadingscreen/js/index.js +++ b/[core]/esx_loadingscreen/js/index.js @@ -11,12 +11,12 @@ // This copyright should appear in every part of the project code document.addEventListener("DOMContentLoaded", () => { - const introTag = document.getElementById("esx_intro"); - const loopTag = document.getElementById("esx_loop"); + const introTag = document.getElementById("esx_intro"); + const loopTag = document.getElementById("esx_loop"); - introTag.onended = () => { - introTag.style.display = "none"; - loopTag.loop = true; // true - loopTag.play(); - }; + introTag.onended = () => { + introTag.style.display = "none"; + loopTag.loop = true; // true + loopTag.play(); + }; }); diff --git a/[core]/esx_menu_default/html/css/app.css b/[core]/esx_menu_default/html/css/app.css index e7f07e2b..4658b79d 100644 --- a/[core]/esx_menu_default/html/css/app.css +++ b/[core]/esx_menu_default/html/css/app.css @@ -1,110 +1,110 @@ @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&display=swap"); ::-webkit-scrollbar { - display: none; + display: none; } .menu { - font-family: "Poppins", sans-serif; - min-width: 350px; - color: #fff; - position: absolute; - background: rgba(33, 33, 33, 0); - text-align: center; + font-family: "Poppins", sans-serif; + min-width: 350px; + color: #fff; + position: absolute; + background: rgba(33, 33, 33, 0); + text-align: center; } .head { - display: block; - overflow: hidden; - padding-bottom: 3px; - text-align: center; - margin-bottom: 5px; - white-space: nowrap; - background: rgba(10, 10, 10, 0.9); + display: block; + overflow: hidden; + padding-bottom: 3px; + text-align: center; + margin-bottom: 5px; + white-space: nowrap; + background: rgba(10, 10, 10, 0.9); } .menu .head { - text-align: center; - height: 28px; - color: #ffffff; - font-weight: 700; - font-size: 20px; + text-align: center; + height: 28px; + color: #ffffff; + font-weight: 700; + font-size: 20px; } .menu .menu-items { - max-height: 450px; - overflow-y: auto; - font-weight: 550; + max-height: 450px; + overflow-y: auto; + font-weight: 550; } .menu-items { - margin-bottom: 2px; + margin-bottom: 2px; } .menu .menu-items .menu-item { - display: block; - padding: 7px; - font-size: 13px; - height: 16px; - text-indent: 5px; - margin-top: 5px; - background: rgba(40, 40, 40, 0.8); - color: rgb(202, 202, 202); - border-radius: 5px; - margin-bottom: 6px; + display: block; + padding: 7px; + font-size: 13px; + height: 16px; + text-indent: 5px; + margin-top: 5px; + background: rgba(40, 40, 40, 0.8); + color: rgb(202, 202, 202); + border-radius: 5px; + margin-bottom: 6px; } .menu .menu-items .menu-item.selected { - border: 1px solid rgba(55, 55, 55, 0.9); - background: rgba(20, 20, 20, 0.9); - color: rgba(243, 243, 243); - letter-spacing: 0.2px; - font-weight: 500; + border: 1px solid rgba(55, 55, 55, 0.9); + background: rgba(20, 20, 20, 0.9); + color: rgba(243, 243, 243); + letter-spacing: 0.2px; + font-weight: 500; } .menu.align-left { - left: 0; - top: 50%; + left: 0; + top: 50%; } .menu.align-top-left { - left: 3rem; - top: 0; + left: 3rem; + top: 0; } .menu.align-top { - left: 50%; - top: 0; + left: 50%; + top: 0; } .menu.align-top-right { - right: 3rem; - top: 0; + right: 3rem; + top: 0; } .menu.align-right { - right: 0; - top: 50%; + right: 0; + top: 50%; } .menu.align-bottom-right { - right: 3rem; - bottom: 0; + right: 3rem; + bottom: 0; } .menu.align-bottom { - left: 50%; - bottom: 0; - transform: translate(0, -50%); + left: 50%; + bottom: 0; + transform: translate(0, -50%); } .menu.align-bottom-left { - left: 3rem; - bottom: 0; + left: 3rem; + bottom: 0; } .menu.align-center { - left: 50%; - top: 35%; - transform: translate(-50%, 50%); + left: 50%; + top: 35%; + transform: translate(-50%, 50%); } diff --git a/[core]/esx_menu_default/html/js/app.js b/[core]/esx_menu_default/html/js/app.js index 24db7603..36b960d1 100644 --- a/[core]/esx_menu_default/html/js/app.js +++ b/[core]/esx_menu_default/html/js/app.js @@ -1,378 +1,366 @@ (function () { - let MenuTpl = - '" + - "
"; - window.ESX_MENU = {}; - ESX_MENU.ResourceName = "esx_menu_default"; - ESX_MENU.opened = {}; - ESX_MENU.focus = []; - ESX_MENU.pos = {}; + let MenuTpl = + '" + + ""; + window.ESX_MENU = {}; + ESX_MENU.ResourceName = "esx_menu_default"; + ESX_MENU.opened = {}; + ESX_MENU.focus = []; + ESX_MENU.pos = {}; - ESX_MENU.open = function (namespace, name, data) { - if (typeof ESX_MENU.opened[namespace] === "undefined") { - ESX_MENU.opened[namespace] = {}; - } - - if (typeof ESX_MENU.opened[namespace][name] != "undefined") { - ESX_MENU.close(namespace, name); - } - - if (typeof ESX_MENU.pos[namespace] === "undefined") { - ESX_MENU.pos[namespace] = {}; - } - - for (let i = 0; i < data.elements.length; i++) { - if (typeof data.elements[i].type === "undefined") { - data.elements[i].type = "default"; - } - } - - data._index = ESX_MENU.focus.length; - data._namespace = namespace; - data._name = name; - - for (let i = 0; i < data.elements.length; i++) { - data.elements[i]._namespace = namespace; - data.elements[i]._name = name; - } - - ESX_MENU.opened[namespace][name] = data; - ESX_MENU.pos[namespace][name] = 0; - - for (let i = 0; i < data.elements.length; i++) { - if (data.elements[i].selected) { - ESX_MENU.pos[namespace][name] = i; - } else { - data.elements[i].selected = false; - } - } - - ESX_MENU.focus.push({ - namespace: namespace, - name: name, - }); - - ESX_MENU.render(); - $("#menu_" + namespace + "_" + name) - .find(".menu-item.selected")[0] - .scrollIntoView(); - }; - - ESX_MENU.close = function (namespace, name) { - delete ESX_MENU.opened[namespace][name]; - - for (let i = 0; i < ESX_MENU.focus.length; i++) { - if ( - ESX_MENU.focus[i].namespace === namespace && - ESX_MENU.focus[i].name === name - ) { - ESX_MENU.focus.splice(i, 1); - break; - } - } - - ESX_MENU.render(); - }; - - ESX_MENU.render = function () { - let menuContainer = document.getElementById("menus"); - let focused = ESX_MENU.getFocused(); - menuContainer.innerHTML = ""; - $(menuContainer).hide(); - - for (let namespace in ESX_MENU.opened) { - for (let name in ESX_MENU.opened[namespace]) { - let menuData = ESX_MENU.opened[namespace][name]; - let view = JSON.parse(JSON.stringify(menuData)); - - for (let i = 0; i < menuData.elements.length; i++) { - let element = view.elements[i]; - - switch (element.type) { - case "default": - break; - - case "slider": { - element.isSlider = true; - element.sliderLabel = - typeof element.options === "undefined" - ? element.value - : element.options[element.value]; - - break; - } - - default: - break; - } - - if (i === ESX_MENU.pos[namespace][name]) { - element.selected = true; - } + ESX_MENU.open = function (namespace, name, data) { + if (typeof ESX_MENU.opened[namespace] === "undefined") { + ESX_MENU.opened[namespace] = {}; } - let menu = $(Mustache.render(MenuTpl, view))[0]; - $(menu).hide(); - menuContainer.appendChild(menu); - } - } - - if (typeof focused != "undefined") { - $("#menu_" + focused.namespace + "_" + focused.name).show(); - } - - $(menuContainer).show(); - }; - - ESX_MENU.submit = function (namespace, name, data) { - $.post( - "http://" + ESX_MENU.ResourceName + "/menu_submit", - JSON.stringify({ - _namespace: namespace, - _name: name, - current: data, - elements: ESX_MENU.opened[namespace][name].elements, - }) - ); - }; - - ESX_MENU.cancel = function (namespace, name) { - $.post( - "http://" + ESX_MENU.ResourceName + "/menu_cancel", - JSON.stringify({ - _namespace: namespace, - _name: name, - }) - ); - }; - - ESX_MENU.change = function (namespace, name, data) { - $.post( - "http://" + ESX_MENU.ResourceName + "/menu_change", - JSON.stringify({ - _namespace: namespace, - _name: name, - current: data, - elements: ESX_MENU.opened[namespace][name].elements, - }) - ); - }; - - ESX_MENU.getFocused = function () { - return ESX_MENU.focus[ESX_MENU.focus.length - 1]; - }; - - window.onData = (data) => { - switch (data.action) { - case "openMenu": { - ESX_MENU.open(data.namespace, data.name, data.data); - break; - } - - case "closeMenu": { - ESX_MENU.close(data.namespace, data.name); - break; - } - - case "controlPressed": { - switch (data.control) { - case "ENTER": { - let focused = ESX_MENU.getFocused(); - - if (typeof focused != "undefined") { - let menu = ESX_MENU.opened[focused.namespace][focused.name]; - let pos = ESX_MENU.pos[focused.namespace][focused.name]; - let elem = menu.elements[pos]; - - if (menu.elements.length > 0) { - ESX_MENU.submit(focused.namespace, focused.name, elem); - } - } - - break; - } - - case "BACKSPACE": { - let focused = ESX_MENU.getFocused(); - - if (typeof focused != "undefined") { - ESX_MENU.cancel(focused.namespace, focused.name); - } - - break; - } - - case "TOP": { - let focused = ESX_MENU.getFocused(); - - if (typeof focused != "undefined") { - let menu = ESX_MENU.opened[focused.namespace][focused.name]; - let pos = ESX_MENU.pos[focused.namespace][focused.name]; - - if (pos > 0) { - ESX_MENU.pos[focused.namespace][focused.name]--; - } else { - ESX_MENU.pos[focused.namespace][focused.name] = - menu.elements.length - 1; - } - - let elem = - menu.elements[ESX_MENU.pos[focused.namespace][focused.name]]; - - for (let i = 0; i < menu.elements.length; i++) { - if (i === ESX_MENU.pos[focused.namespace][focused.name]) { - menu.elements[i].selected = true; - } else { - menu.elements[i].selected = false; - } - } - - ESX_MENU.change(focused.namespace, focused.name, elem); - ESX_MENU.render(); - - $("#menu_" + focused.namespace + "_" + focused.name) - .find(".menu-item.selected")[0] - .scrollIntoView(); - } - - break; - } - - case "DOWN": { - let focused = ESX_MENU.getFocused(); - - if (typeof focused != "undefined") { - let menu = ESX_MENU.opened[focused.namespace][focused.name]; - let pos = ESX_MENU.pos[focused.namespace][focused.name]; - let length = menu.elements.length; - - if (pos < length - 1) { - ESX_MENU.pos[focused.namespace][focused.name]++; - } else { - ESX_MENU.pos[focused.namespace][focused.name] = 0; - } - - let elem = - menu.elements[ESX_MENU.pos[focused.namespace][focused.name]]; - - for (let i = 0; i < menu.elements.length; i++) { - if (i === ESX_MENU.pos[focused.namespace][focused.name]) { - menu.elements[i].selected = true; - } else { - menu.elements[i].selected = false; - } - } - - ESX_MENU.change(focused.namespace, focused.name, elem); - ESX_MENU.render(); - - $("#menu_" + focused.namespace + "_" + focused.name) - .find(".menu-item.selected")[0] - .scrollIntoView(); - } - - break; - } - - case "LEFT": { - let focused = ESX_MENU.getFocused(); - - if (typeof focused != "undefined") { - let menu = ESX_MENU.opened[focused.namespace][focused.name]; - let pos = ESX_MENU.pos[focused.namespace][focused.name]; - let elem = menu.elements[pos]; - - switch (elem.type) { - case "default": - break; - - case "slider": { - let min = typeof elem.min === "undefined" ? 0 : elem.min; - - if (elem.value > min) { - elem.value--; - ESX_MENU.change(focused.namespace, focused.name, elem); - } - - ESX_MENU.render(); - break; - } - - default: - break; - } - - $("#menu_" + focused.namespace + "_" + focused.name) - .find(".menu-item.selected")[0] - .scrollIntoView(); - } - - break; - } - - case "RIGHT": { - let focused = ESX_MENU.getFocused(); - - if (typeof focused != "undefined") { - let menu = ESX_MENU.opened[focused.namespace][focused.name]; - let pos = ESX_MENU.pos[focused.namespace][focused.name]; - let elem = menu.elements[pos]; - - switch (elem.type) { - case "default": - break; - - case "slider": { - if ( - typeof elem.options != "undefined" && - elem.value < elem.options.length - 1 - ) { - elem.value++; - ESX_MENU.change(focused.namespace, focused.name, elem); - } - - if (typeof elem.max != "undefined" && elem.value < elem.max) { - elem.value++; - ESX_MENU.change(focused.namespace, focused.name, elem); - } - - ESX_MENU.render(); - break; - } - - default: - break; - } - - $("#menu_" + focused.namespace + "_" + focused.name) - .find(".menu-item.selected")[0] - .scrollIntoView(); - } - - break; - } - - default: - break; + if (typeof ESX_MENU.opened[namespace][name] != "undefined") { + ESX_MENU.close(namespace, name); } - break; - } - } - }; + if (typeof ESX_MENU.pos[namespace] === "undefined") { + ESX_MENU.pos[namespace] = {}; + } - window.onload = function (e) { - window.addEventListener("message", (event) => { - onData(event.data); - }); - }; + for (let i = 0; i < data.elements.length; i++) { + if (typeof data.elements[i].type === "undefined") { + data.elements[i].type = "default"; + } + } + + data._index = ESX_MENU.focus.length; + data._namespace = namespace; + data._name = name; + + for (let i = 0; i < data.elements.length; i++) { + data.elements[i]._namespace = namespace; + data.elements[i]._name = name; + } + + ESX_MENU.opened[namespace][name] = data; + ESX_MENU.pos[namespace][name] = 0; + + for (let i = 0; i < data.elements.length; i++) { + if (data.elements[i].selected) { + ESX_MENU.pos[namespace][name] = i; + } else { + data.elements[i].selected = false; + } + } + + ESX_MENU.focus.push({ + namespace: namespace, + name: name, + }); + + ESX_MENU.render(); + $("#menu_" + namespace + "_" + name) + .find(".menu-item.selected")[0] + .scrollIntoView(); + }; + + ESX_MENU.close = function (namespace, name) { + delete ESX_MENU.opened[namespace][name]; + + for (let i = 0; i < ESX_MENU.focus.length; i++) { + if (ESX_MENU.focus[i].namespace === namespace && ESX_MENU.focus[i].name === name) { + ESX_MENU.focus.splice(i, 1); + break; + } + } + + ESX_MENU.render(); + }; + + ESX_MENU.render = function () { + let menuContainer = document.getElementById("menus"); + let focused = ESX_MENU.getFocused(); + menuContainer.innerHTML = ""; + $(menuContainer).hide(); + + for (let namespace in ESX_MENU.opened) { + for (let name in ESX_MENU.opened[namespace]) { + let menuData = ESX_MENU.opened[namespace][name]; + let view = JSON.parse(JSON.stringify(menuData)); + + for (let i = 0; i < menuData.elements.length; i++) { + let element = view.elements[i]; + + switch (element.type) { + case "default": + break; + + case "slider": { + element.isSlider = true; + element.sliderLabel = typeof element.options === "undefined" ? element.value : element.options[element.value]; + + break; + } + + default: + break; + } + + if (i === ESX_MENU.pos[namespace][name]) { + element.selected = true; + } + } + + let menu = $(Mustache.render(MenuTpl, view))[0]; + $(menu).hide(); + menuContainer.appendChild(menu); + } + } + + if (typeof focused != "undefined") { + $("#menu_" + focused.namespace + "_" + focused.name).show(); + } + + $(menuContainer).show(); + }; + + ESX_MENU.submit = function (namespace, name, data) { + $.post( + "http://" + ESX_MENU.ResourceName + "/menu_submit", + JSON.stringify({ + _namespace: namespace, + _name: name, + current: data, + elements: ESX_MENU.opened[namespace][name].elements, + }) + ); + }; + + ESX_MENU.cancel = function (namespace, name) { + $.post( + "http://" + ESX_MENU.ResourceName + "/menu_cancel", + JSON.stringify({ + _namespace: namespace, + _name: name, + }) + ); + }; + + ESX_MENU.change = function (namespace, name, data) { + $.post( + "http://" + ESX_MENU.ResourceName + "/menu_change", + JSON.stringify({ + _namespace: namespace, + _name: name, + current: data, + elements: ESX_MENU.opened[namespace][name].elements, + }) + ); + }; + + ESX_MENU.getFocused = function () { + return ESX_MENU.focus[ESX_MENU.focus.length - 1]; + }; + + window.onData = (data) => { + switch (data.action) { + case "openMenu": { + ESX_MENU.open(data.namespace, data.name, data.data); + break; + } + + case "closeMenu": { + ESX_MENU.close(data.namespace, data.name); + break; + } + + case "controlPressed": { + switch (data.control) { + case "ENTER": { + let focused = ESX_MENU.getFocused(); + + if (typeof focused != "undefined") { + let menu = ESX_MENU.opened[focused.namespace][focused.name]; + let pos = ESX_MENU.pos[focused.namespace][focused.name]; + let elem = menu.elements[pos]; + + if (menu.elements.length > 0) { + ESX_MENU.submit(focused.namespace, focused.name, elem); + } + } + + break; + } + + case "BACKSPACE": { + let focused = ESX_MENU.getFocused(); + + if (typeof focused != "undefined") { + ESX_MENU.cancel(focused.namespace, focused.name); + } + + break; + } + + case "TOP": { + let focused = ESX_MENU.getFocused(); + + if (typeof focused != "undefined") { + let menu = ESX_MENU.opened[focused.namespace][focused.name]; + let pos = ESX_MENU.pos[focused.namespace][focused.name]; + + if (pos > 0) { + ESX_MENU.pos[focused.namespace][focused.name]--; + } else { + ESX_MENU.pos[focused.namespace][focused.name] = menu.elements.length - 1; + } + + let elem = menu.elements[ESX_MENU.pos[focused.namespace][focused.name]]; + + for (let i = 0; i < menu.elements.length; i++) { + if (i === ESX_MENU.pos[focused.namespace][focused.name]) { + menu.elements[i].selected = true; + } else { + menu.elements[i].selected = false; + } + } + + ESX_MENU.change(focused.namespace, focused.name, elem); + ESX_MENU.render(); + + $("#menu_" + focused.namespace + "_" + focused.name) + .find(".menu-item.selected")[0] + .scrollIntoView(); + } + + break; + } + + case "DOWN": { + let focused = ESX_MENU.getFocused(); + + if (typeof focused != "undefined") { + let menu = ESX_MENU.opened[focused.namespace][focused.name]; + let pos = ESX_MENU.pos[focused.namespace][focused.name]; + let length = menu.elements.length; + + if (pos < length - 1) { + ESX_MENU.pos[focused.namespace][focused.name]++; + } else { + ESX_MENU.pos[focused.namespace][focused.name] = 0; + } + + let elem = menu.elements[ESX_MENU.pos[focused.namespace][focused.name]]; + + for (let i = 0; i < menu.elements.length; i++) { + if (i === ESX_MENU.pos[focused.namespace][focused.name]) { + menu.elements[i].selected = true; + } else { + menu.elements[i].selected = false; + } + } + + ESX_MENU.change(focused.namespace, focused.name, elem); + ESX_MENU.render(); + + $("#menu_" + focused.namespace + "_" + focused.name) + .find(".menu-item.selected")[0] + .scrollIntoView(); + } + + break; + } + + case "LEFT": { + let focused = ESX_MENU.getFocused(); + + if (typeof focused != "undefined") { + let menu = ESX_MENU.opened[focused.namespace][focused.name]; + let pos = ESX_MENU.pos[focused.namespace][focused.name]; + let elem = menu.elements[pos]; + + switch (elem.type) { + case "default": + break; + + case "slider": { + let min = typeof elem.min === "undefined" ? 0 : elem.min; + + if (elem.value > min) { + elem.value--; + ESX_MENU.change(focused.namespace, focused.name, elem); + } + + ESX_MENU.render(); + break; + } + + default: + break; + } + + $("#menu_" + focused.namespace + "_" + focused.name) + .find(".menu-item.selected")[0] + .scrollIntoView(); + } + + break; + } + + case "RIGHT": { + let focused = ESX_MENU.getFocused(); + + if (typeof focused != "undefined") { + let menu = ESX_MENU.opened[focused.namespace][focused.name]; + let pos = ESX_MENU.pos[focused.namespace][focused.name]; + let elem = menu.elements[pos]; + + switch (elem.type) { + case "default": + break; + + case "slider": { + if (typeof elem.options != "undefined" && elem.value < elem.options.length - 1) { + elem.value++; + ESX_MENU.change(focused.namespace, focused.name, elem); + } + + if (typeof elem.max != "undefined" && elem.value < elem.max) { + elem.value++; + ESX_MENU.change(focused.namespace, focused.name, elem); + } + + ESX_MENU.render(); + break; + } + + default: + break; + } + + $("#menu_" + focused.namespace + "_" + focused.name) + .find(".menu-item.selected")[0] + .scrollIntoView(); + } + + break; + } + + default: + break; + } + + break; + } + } + }; + + window.onload = function (e) { + window.addEventListener("message", (event) => { + onData(event.data); + }); + }; })(); diff --git a/[core]/esx_menu_default/html/js/mustache.min.js b/[core]/esx_menu_default/html/js/mustache.min.js index 520cfcb9..f3656597 100644 --- a/[core]/esx_menu_default/html/js/mustache.min.js +++ b/[core]/esx_menu_default/html/js/mustache.min.js @@ -1 +1,347 @@ -(function defineMustache(global,factory){if(typeof exports==="object"&&exports&&typeof exports.nodeName!=="string"){factory(exports)}else if(typeof define==="function"&&define.amd){define(["exports"],factory)}else{global.Mustache={};factory(global.Mustache)}})(this,function mustacheFactory(mustache){var objectToString=Object.prototype.toString;var isArray=Array.isArray||function isArrayPolyfill(object){return objectToString.call(object)==="[object Array]"};function isFunction(object){return typeof object==="function"}function typeStr(obj){return isArray(obj)?"array":typeof obj}function escapeRegExp(string){return string.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function hasProperty(obj,propName){return obj!=null&&typeof obj==="object"&&propName in obj}var regExpTest=RegExp.prototype.test;function testRegExp(re,string){return regExpTest.call(re,string)}var nonSpaceRe=/\S/;function isWhitespace(string){return!testRegExp(nonSpaceRe,string)}var entityMap={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};function escapeHtml(string){return String(string).replace(/[&<>"'`=\/]/g,function fromEntityMap(s){return entityMap[s]})}var whiteRe=/\s*/;var spaceRe=/\s+/;var equalsRe=/\s*=/;var curlyRe=/\s*\}/;var tagRe=/#|\^|\/|>|\{|&|=|!/;function parseTemplate(template,tags){if(!template)return[];var sections=[];var tokens=[];var spaces=[];var hasTag=false;var nonSpace=false;function stripSpace(){if(hasTag&&!nonSpace){while(spaces.length)delete tokens[spaces.pop()]}else{spaces=[]}hasTag=false;nonSpace=false}var openingTagRe,closingTagRe,closingCurlyRe;function compileTags(tagsToCompile){if(typeof tagsToCompile==="string")tagsToCompile=tagsToCompile.split(spaceRe,2);if(!isArray(tagsToCompile)||tagsToCompile.length!==2)throw new Error("Invalid tags: "+tagsToCompile);openingTagRe=new RegExp(escapeRegExp(tagsToCompile[0])+"\\s*");closingTagRe=new RegExp("\\s*"+escapeRegExp(tagsToCompile[1]));closingCurlyRe=new RegExp("\\s*"+escapeRegExp("}"+tagsToCompile[1]))}compileTags(tags||mustache.tags);var scanner=new Scanner(template);var start,type,value,chr,token,openSection;while(!scanner.eos()){start=scanner.pos;value=scanner.scanUntil(openingTagRe);if(value){for(var i=0,valueLength=value.length;i0?sections[sections.length-1][4]:nestedTokens;break;default:collector.push(token)}}return nestedTokens}function Scanner(string){this.string=string;this.tail=string;this.pos=0}Scanner.prototype.eos=function eos(){return this.tail===""};Scanner.prototype.scan=function scan(re){var match=this.tail.match(re);if(!match||match.index!==0)return"";var string=match[0];this.tail=this.tail.substring(string.length);this.pos+=string.length;return string};Scanner.prototype.scanUntil=function scanUntil(re){var index=this.tail.search(re),match;switch(index){case-1:match=this.tail;this.tail="";break;case 0:match="";break;default:match=this.tail.substring(0,index);this.tail=this.tail.substring(index)}this.pos+=match.length;return match};function Context(view,parentContext){this.view=view;this.cache={".":this.view};this.parent=parentContext}Context.prototype.push=function push(view){return new Context(view,this)};Context.prototype.lookup=function lookup(name){var cache=this.cache;var value;if(cache.hasOwnProperty(name)){value=cache[name]}else{var context=this,names,index,lookupHit=false;while(context){if(name.indexOf(".")>0){value=context.view;names=name.split(".");index=0;while(value!=null&&index")value=this.renderPartial(token,context,partials,originalTemplate);else if(symbol==="&")value=this.unescapedValue(token,context);else if(symbol==="name")value=this.escapedValue(token,context);else if(symbol==="text")value=this.rawValue(token);if(value!==undefined)buffer+=value}return buffer};Writer.prototype.renderSection=function renderSection(token,context,partials,originalTemplate){var self=this;var buffer="";var value=context.lookup(token[1]);function subRender(template){return self.render(template,context,partials)}if(!value)return;if(isArray(value)){for(var j=0,valueLength=value.length;j": ">", '"': """, "'": "'", "/": "/", "`": "`", "=": "=" }; + function escapeHtml(string) { + return String(string).replace(/[&<>"'`=\/]/g, function fromEntityMap(s) { + return entityMap[s]; + }); + } + var whiteRe = /\s*/; + var spaceRe = /\s+/; + var equalsRe = /\s*=/; + var curlyRe = /\s*\}/; + var tagRe = /#|\^|\/|>|\{|&|=|!/; + function parseTemplate(template, tags) { + if (!template) return []; + var sections = []; + var tokens = []; + var spaces = []; + var hasTag = false; + var nonSpace = false; + function stripSpace() { + if (hasTag && !nonSpace) { + while (spaces.length) delete tokens[spaces.pop()]; + } else { + spaces = []; + } + hasTag = false; + nonSpace = false; + } + var openingTagRe, closingTagRe, closingCurlyRe; + function compileTags(tagsToCompile) { + if (typeof tagsToCompile === "string") tagsToCompile = tagsToCompile.split(spaceRe, 2); + if (!isArray(tagsToCompile) || tagsToCompile.length !== 2) throw new Error("Invalid tags: " + tagsToCompile); + openingTagRe = new RegExp(escapeRegExp(tagsToCompile[0]) + "\\s*"); + closingTagRe = new RegExp("\\s*" + escapeRegExp(tagsToCompile[1])); + closingCurlyRe = new RegExp("\\s*" + escapeRegExp("}" + tagsToCompile[1])); + } + compileTags(tags || mustache.tags); + var scanner = new Scanner(template); + var start, type, value, chr, token, openSection; + while (!scanner.eos()) { + start = scanner.pos; + value = scanner.scanUntil(openingTagRe); + if (value) { + for (var i = 0, valueLength = value.length; i < valueLength; ++i) { + chr = value.charAt(i); + if (isWhitespace(chr)) { + spaces.push(tokens.length); + } else { + nonSpace = true; + } + tokens.push(["text", chr, start, start + 1]); + start += 1; + if (chr === "\n") stripSpace(); + } + } + if (!scanner.scan(openingTagRe)) break; + hasTag = true; + type = scanner.scan(tagRe) || "name"; + scanner.scan(whiteRe); + if (type === "=") { + value = scanner.scanUntil(equalsRe); + scanner.scan(equalsRe); + scanner.scanUntil(closingTagRe); + } else if (type === "{") { + value = scanner.scanUntil(closingCurlyRe); + scanner.scan(curlyRe); + scanner.scanUntil(closingTagRe); + type = "&"; + } else { + value = scanner.scanUntil(closingTagRe); + } + if (!scanner.scan(closingTagRe)) throw new Error("Unclosed tag at " + scanner.pos); + token = [type, value, start, scanner.pos]; + tokens.push(token); + if (type === "#" || type === "^") { + sections.push(token); + } else if (type === "/") { + openSection = sections.pop(); + if (!openSection) throw new Error('Unopened section "' + value + '" at ' + start); + if (openSection[1] !== value) throw new Error('Unclosed section "' + openSection[1] + '" at ' + start); + } else if (type === "name" || type === "{" || type === "&") { + nonSpace = true; + } else if (type === "=") { + compileTags(value); + } + } + openSection = sections.pop(); + if (openSection) throw new Error('Unclosed section "' + openSection[1] + '" at ' + scanner.pos); + return nestTokens(squashTokens(tokens)); + } + function squashTokens(tokens) { + var squashedTokens = []; + var token, lastToken; + for (var i = 0, numTokens = tokens.length; i < numTokens; ++i) { + token = tokens[i]; + if (token) { + if (token[0] === "text" && lastToken && lastToken[0] === "text") { + lastToken[1] += token[1]; + lastToken[3] = token[3]; + } else { + squashedTokens.push(token); + lastToken = token; + } + } + } + return squashedTokens; + } + function nestTokens(tokens) { + var nestedTokens = []; + var collector = nestedTokens; + var sections = []; + var token, section; + for (var i = 0, numTokens = tokens.length; i < numTokens; ++i) { + token = tokens[i]; + switch (token[0]) { + case "#": + case "^": + collector.push(token); + sections.push(token); + collector = token[4] = []; + break; + case "/": + section = sections.pop(); + section[5] = token[2]; + collector = sections.length > 0 ? sections[sections.length - 1][4] : nestedTokens; + break; + default: + collector.push(token); + } + } + return nestedTokens; + } + function Scanner(string) { + this.string = string; + this.tail = string; + this.pos = 0; + } + Scanner.prototype.eos = function eos() { + return this.tail === ""; + }; + Scanner.prototype.scan = function scan(re) { + var match = this.tail.match(re); + if (!match || match.index !== 0) return ""; + var string = match[0]; + this.tail = this.tail.substring(string.length); + this.pos += string.length; + return string; + }; + Scanner.prototype.scanUntil = function scanUntil(re) { + var index = this.tail.search(re), + match; + switch (index) { + case -1: + match = this.tail; + this.tail = ""; + break; + case 0: + match = ""; + break; + default: + match = this.tail.substring(0, index); + this.tail = this.tail.substring(index); + } + this.pos += match.length; + return match; + }; + function Context(view, parentContext) { + this.view = view; + this.cache = { ".": this.view }; + this.parent = parentContext; + } + Context.prototype.push = function push(view) { + return new Context(view, this); + }; + Context.prototype.lookup = function lookup(name) { + var cache = this.cache; + var value; + if (cache.hasOwnProperty(name)) { + value = cache[name]; + } else { + var context = this, + names, + index, + lookupHit = false; + while (context) { + if (name.indexOf(".") > 0) { + value = context.view; + names = name.split("."); + index = 0; + while (value != null && index < names.length) { + if (index === names.length - 1) lookupHit = hasProperty(value, names[index]); + value = value[names[index++]]; + } + } else { + value = context.view[name]; + lookupHit = hasProperty(context.view, name); + } + if (lookupHit) break; + context = context.parent; + } + cache[name] = value; + } + if (isFunction(value)) value = value.call(this.view); + return value; + }; + function Writer() { + this.cache = {}; + } + Writer.prototype.clearCache = function clearCache() { + this.cache = {}; + }; + Writer.prototype.parse = function parse(template, tags) { + var cache = this.cache; + var tokens = cache[template]; + if (tokens == null) tokens = cache[template] = parseTemplate(template, tags); + return tokens; + }; + Writer.prototype.render = function render(template, view, partials) { + var tokens = this.parse(template); + var context = view instanceof Context ? view : new Context(view); + return this.renderTokens(tokens, context, partials, template); + }; + Writer.prototype.renderTokens = function renderTokens(tokens, context, partials, originalTemplate) { + var buffer = ""; + var token, symbol, value; + for (var i = 0, numTokens = tokens.length; i < numTokens; ++i) { + value = undefined; + token = tokens[i]; + symbol = token[0]; + if (symbol === "#") value = this.renderSection(token, context, partials, originalTemplate); + else if (symbol === "^") value = this.renderInverted(token, context, partials, originalTemplate); + else if (symbol === ">") value = this.renderPartial(token, context, partials, originalTemplate); + else if (symbol === "&") value = this.unescapedValue(token, context); + else if (symbol === "name") value = this.escapedValue(token, context); + else if (symbol === "text") value = this.rawValue(token); + if (value !== undefined) buffer += value; + } + return buffer; + }; + Writer.prototype.renderSection = function renderSection(token, context, partials, originalTemplate) { + var self = this; + var buffer = ""; + var value = context.lookup(token[1]); + function subRender(template) { + return self.render(template, context, partials); + } + if (!value) return; + if (isArray(value)) { + for (var j = 0, valueLength = value.length; j < valueLength; ++j) { + buffer += this.renderTokens(token[4], context.push(value[j]), partials, originalTemplate); + } + } else if (typeof value === "object" || typeof value === "string" || typeof value === "number") { + buffer += this.renderTokens(token[4], context.push(value), partials, originalTemplate); + } else if (isFunction(value)) { + if (typeof originalTemplate !== "string") throw new Error("Cannot use higher-order sections without the original template"); + value = value.call(context.view, originalTemplate.slice(token[3], token[5]), subRender); + if (value != null) buffer += value; + } else { + buffer += this.renderTokens(token[4], context, partials, originalTemplate); + } + return buffer; + }; + Writer.prototype.renderInverted = function renderInverted(token, context, partials, originalTemplate) { + var value = context.lookup(token[1]); + if (!value || (isArray(value) && value.length === 0)) return this.renderTokens(token[4], context, partials, originalTemplate); + }; + Writer.prototype.renderPartial = function renderPartial(token, context, partials) { + if (!partials) return; + var value = isFunction(partials) ? partials(token[1]) : partials[token[1]]; + if (value != null) return this.renderTokens(this.parse(value), context, partials, value); + }; + Writer.prototype.unescapedValue = function unescapedValue(token, context) { + var value = context.lookup(token[1]); + if (value != null) return value; + }; + Writer.prototype.escapedValue = function escapedValue(token, context) { + var value = context.lookup(token[1]); + if (value != null) return mustache.escape(value); + }; + Writer.prototype.rawValue = function rawValue(token) { + return token[1]; + }; + mustache.name = "mustache.js"; + mustache.version = "2.3.0"; + mustache.tags = ["{{", "}}"]; + var defaultWriter = new Writer(); + mustache.clearCache = function clearCache() { + return defaultWriter.clearCache(); + }; + mustache.parse = function parse(template, tags) { + return defaultWriter.parse(template, tags); + }; + mustache.render = function render(template, view, partials) { + if (typeof template !== "string") { + throw new TypeError('Invalid template! Template should be a "string" ' + 'but "' + typeStr(template) + '" was given as the first ' + "argument for mustache#render(template, view, partials)"); + } + return defaultWriter.render(template, view, partials); + }; + mustache.to_html = function to_html(template, view, partials, send) { + var result = mustache.render(template, view, partials); + if (isFunction(send)) { + send(result); + } else { + return result; + } + }; + mustache.escape = escapeHtml; + mustache.Scanner = Scanner; + mustache.Context = Context; + mustache.Writer = Writer; + return mustache; +}); diff --git a/[core]/esx_menu_default/html/ui.html b/[core]/esx_menu_default/html/ui.html index 5c090697..2cb88e7c 100644 --- a/[core]/esx_menu_default/html/ui.html +++ b/[core]/esx_menu_default/html/ui.html @@ -1,25 +1,16 @@ - - - - - - + + + + + + - - + + - - - - + + + + diff --git a/[core]/esx_menu_dialog/html/css/app.css b/[core]/esx_menu_dialog/html/css/app.css index c2f590c4..20b39923 100644 --- a/[core]/esx_menu_dialog/html/css/app.css +++ b/[core]/esx_menu_dialog/html/css/app.css @@ -1,132 +1,132 @@ @import url("https://fonts.googleapis.com/css?family=Montserrat&display=swap"); #controls { - font-family: montserrat; - font-size: 3em; - color: #fff; - position: absolute; - bottom: 40; - right: 40; + font-family: montserrat; + font-size: 3em; + color: #fff; + position: absolute; + bottom: 40; + right: 40; } .controls { - display: none; + display: none; } .dialog { - font-family: montserrat; - background: rgba(33, 33, 33, 0.8); - color: #fff; - position: absolute; - border-top-left-radius: 5px; - border-top-right-radius: 5px; - overflow: hidden; - top: 50%; - left: 50%; - width: 600px; - height: 152px; - transform: translate(-50%, -50%); + font-family: montserrat; + background: rgba(33, 33, 33, 0.8); + color: #fff; + position: absolute; + border-top-left-radius: 5px; + border-top-right-radius: 5px; + overflow: hidden; + top: 50%; + left: 50%; + width: 600px; + height: 152px; + transform: translate(-50%, -50%); } .head { - display: flex; - flex-basis: 100%; - align-items: center; - color: #fff; + display: flex; + flex-basis: 100%; + align-items: center; + color: #fff; } .dialog.big { - height: 200px; + height: 200px; } .dialog .head { - background: rgba(25, 25, 25, 0.9); - text-align: center; - height: 40px; + background: rgba(25, 25, 25, 0.9); + text-align: center; + height: 40px; } .dialog .head span::before { - content: ""; - display: inline-block; - height: 100%; - vertical-align: middle; + content: ""; + display: inline-block; + height: 100%; + vertical-align: middle; } .dialog input[type="text"] { - width: 60%; - height: 32px; - outline: 0; - background: none; - text-align: center; - margin-top: 26px; - margin-left: 125px; - font-size: large; - transition: all 0.2s ease-in-out; - color: white; - border: 0.5px solid #ffffff3b; - border-radius: 0px; + width: 60%; + height: 32px; + outline: 0; + background: none; + text-align: center; + margin-top: 26px; + margin-left: 125px; + font-size: large; + transition: all 0.2s ease-in-out; + color: white; + border: 0.5px solid #ffffff3b; + border-radius: 0px; } .dialog input[type="text"]:active, .dialog input[type="text"]:hover { - color: white; + color: white; } .dialog textarea { - width: 100%; - height: 128px; + width: 100%; + height: 128px; } .dialog button[name="submit"] { - width: 17.6%; - height: 32px; - margin-left: 160px; - font-weight: 300; - color: rgb(37, 34, 53); - border-radius: 10px; - text-transform: uppercase; - background: rgb(50, 79, 208); - outline: 0; - border: none; - transition: all 0.2s ease-in-out; + width: 17.6%; + height: 32px; + margin-left: 160px; + font-weight: 300; + color: rgb(37, 34, 53); + border-radius: 10px; + text-transform: uppercase; + background: rgb(50, 79, 208); + outline: 0; + border: none; + transition: all 0.2s ease-in-out; } .dialog button { - z-index: 9999; - transform: translate(-0%, 50%); + z-index: 9999; + transform: translate(-0%, 50%); } .dialog button[name="cancel"] { - width: 17.6%; - height: 32px; - margin-left: 60px; - border: none; - text-transform: uppercase; - font-weight: 200; - border-radius: 10px; - color: rgb(53, 34, 34); - outline: 0; - background: #c74545; - transition: all 0.2s ease-in-out; + width: 17.6%; + height: 32px; + margin-left: 60px; + border: none; + text-transform: uppercase; + font-weight: 200; + border-radius: 10px; + color: rgb(53, 34, 34); + outline: 0; + background: #c74545; + transition: all 0.2s ease-in-out; } .dialog button[name="cancel"]:hover { - letter-spacing: 1px; - color: #ffffff; - width: 17.6%; + letter-spacing: 1px; + color: #ffffff; + width: 17.6%; } .dialog button[name="submit"]:hover { - letter-spacing: 1px; - color: white; - width: 17.6%; + letter-spacing: 1px; + color: white; + width: 17.6%; } .head::before, .head::after { - content: ""; - flex-grow: 1; - background: #00e1ff; - height: 2px; - margin: 0px 3px; + content: ""; + flex-grow: 1; + background: #00e1ff; + height: 2px; + margin: 0px 3px; } diff --git a/[core]/esx_menu_dialog/html/js/app.js b/[core]/esx_menu_dialog/html/js/app.js index bcbd97fc..9cbdf2ba 100644 --- a/[core]/esx_menu_dialog/html/js/app.js +++ b/[core]/esx_menu_dialog/html/js/app.js @@ -1,184 +1,181 @@ (function () { - let MenuTpl = - '