Skip to content

Commit

Permalink
formatting & whitespaces (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFantomas committed Sep 23, 2023
1 parent 25f26a8 commit 48e7e46
Show file tree
Hide file tree
Showing 9 changed files with 255 additions and 255 deletions.
20 changes: 10 additions & 10 deletions [core]/es_extended/client/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -607,10 +607,10 @@ 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.
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.
}

Expand Down Expand Up @@ -1077,8 +1077,8 @@ function ESX.ShowInventory()

elements[1].title = TranslateCap('inventory', currentWeight, Config.MaxWeight)

for i=1, #Config.Weapons do
local v = Config.Weapons[i]
for i = 1, #Config.Weapons do
local v = Config.Weapons[i]
local weaponHash = joaat(v.name)

if HasPedGotWeapon(playerPed, weaponHash, false) then
Expand All @@ -1097,8 +1097,8 @@ function ESX.ShowInventory()
canRemove = true
}
end
end
end

ESX.CloseContext()

ESX.OpenContext("right", elements, function(_, element)
Expand Down Expand Up @@ -1324,7 +1324,7 @@ AddEventHandler('onResourceStop', function(resourceName)
end
end
end)
-- Credits to txAdmin for the list.
-- Credits to txAdmin for the list.
local mismatchedTypes = {
[`airtug`] = "automobile", -- trailer
[`avisa`] = "submarine", -- boat
Expand Down Expand Up @@ -1365,7 +1365,7 @@ local mismatchedTypes = {
---@return string
function ESX.GetVehicleType(model)
model = type(model) == 'string' and joaat(model) or model
if not IsModelInCdimage(model) then return end
if not IsModelInCdimage(model) then return end
if mismatchedTypes[model] then
return mismatchedTypes[model]
end
Expand Down
10 changes: 5 additions & 5 deletions [core]/es_extended/locales/de.lua
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ Locales["de"] = {
['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',
['command_removeaccountmoney'] = 'Entfernt Geld von einem bestimmten Account',
['command_removeaccountmoney_account'] = 'Account von wem es entfernt werden soll',
['command_removeaccountmoney_amount'] = 'Anzahl die Entfernt werden soll',
['command_removeaccountmoney_invalid'] = 'Name des Accounts Ungültig',
['command_removeaccountmoney'] = 'Entfernt Geld von einem bestimmten Account',
['command_removeaccountmoney_account'] = 'Account von wem es entfernt werden soll',
['command_removeaccountmoney_amount'] = 'Anzahl die Entfernt werden soll',
['command_removeaccountmoney_invalid'] = 'Name des Accounts Ungültig',
['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)',
Expand Down Expand Up @@ -233,7 +233,7 @@ Locales["de"] = {
["weapon_tactilerifle"] = "Service Karabiner",

-- Drug Wars DLC
['weapon_candycane'] = 'Zuckerstange',
['weapon_candycane'] = 'Zuckerstange',
['weapon_acidpackage'] = 'Säure Paket',
['weapon_pistolxm3'] = 'WM 29 Pistole',
['weapon_railgunxm3'] = 'Railgun',
Expand Down
182 changes: 91 additions & 91 deletions [core]/es_extended/locales/el.lua

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions [core]/es_extended/locales/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -232,12 +232,12 @@ Locales["en"] = {
["weapon_precisionrifle"] = "Precision Rifle",
["weapon_tactilerifle"] = "Service Carbine",

-- Drug wars dlc
-- Drug wars dlc
["weapon_candycane"] = "Candycane",
["weapon_acidpackage"] = "Acid Package",
["weapon_pistolxm3"] = "Pistol8 x3m",
["weapon_railgunxm3"] = "Railgun",
["weapon_pistolxm3"] = "Pistol8 x3m",
["weapon_railgunxm3"] = "Railgun",

-- Thrown
["weapon_ball"] = "Baseball",
["weapon_bzgas"] = "BZ Gas",
Expand Down
4 changes: 2 additions & 2 deletions [core]/es_extended/locales/fr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ Locales["fr"] = {
["weapon_precisionrifle"] = "Fusil de précision",
["weapon_tactilerifle"] = "Carabine tactique",

-- Drug wars dlc
-- Drug wars dlc
["weapon_candycane"] = "Sucre d'orge",
["weapon_acidpackage"] = "Paquet d'acide",
["weapon_pistolxm3"] = "Pistolet 8 x3m",
["weapon_pistolxm3"] = "Pistolet 8 x3m",
["weapon_railgunxm3"] = "Fusil électro-magnétique",

-- Thrown
Expand Down
18 changes: 9 additions & 9 deletions [core]/es_extended/locales/it.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ Locales["it"] = {
['command_giveaccountmoney_account'] = 'Account a cui aggiungere',
['command_giveaccountmoney_amount'] = 'Quantità da aggiungere',
['command_giveaccountmoney_invalid'] = 'Nome account non valido',
['command_removeaccountmoney'] = 'Rimuovi soldi da un account specifico',
['command_removeaccountmoney_account'] = 'Account a cui togliere',
['command_removeaccountmoney_amount'] = 'Quantità da rimuovere',
['command_removeaccountmoney_invalid'] = 'Nome account non valido',
['command_removeaccountmoney'] = 'Rimuovi soldi da un account specifico',
['command_removeaccountmoney_account'] = 'Account a cui togliere',
['command_removeaccountmoney_amount'] = 'Quantità da rimuovere',
['command_removeaccountmoney_invalid'] = 'Nome account non valido',
['command_giveitem'] = 'Dai un oggetto ad un giocatore',
['command_giveitem_item'] = 'Nome oggetto',
['command_giveitem_count'] = 'Quantità',
Expand Down Expand Up @@ -208,7 +208,7 @@ Locales["it"] = {
["weapon_militaryrifle"] = "Fucile militare",
["weapon_specialcarbine"] = "Carabina speciale",
["weapon_specialcarbine_mk2"] = "Carabina speciale MK2",
["weapon_heavyrifle"] = "Fucile pesante",
["weapon_heavyrifle"] = "Fucile pesante",

-- Sniper
["weapon_heavysniper"] = "Cecchino pesante",
Expand All @@ -233,10 +233,10 @@ Locales["it"] = {
["weapon_tactilerifle"] = "Carabina di servizio",

-- Drug Wars DLC
['weapon_candycane'] = 'Bastoncino di zucchero',
['weapon_acidpackage'] = 'Pacco di acidi',
['weapon_pistolxm3'] = 'Pistola WM 29',
['weapon_railgunxm3'] = 'Railgun',
['weapon_candycane'] = 'Bastoncino di zucchero',
['weapon_acidpackage'] = 'Pacco di acidi',
['weapon_pistolxm3'] = 'Pistola WM 29',
['weapon_railgunxm3'] = 'Railgun',

-- Thrown
["weapon_ball"] = "Palla",
Expand Down
8 changes: 4 additions & 4 deletions [core]/es_extended/locales/nl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Locales["nl"] = {
["bank"] = "Maze Bank",
["account_bank"] = "Bank",
["account_black_money"] = "Zwart geld",
["account_money"] = "Contant",
["account_money"] = "Contant",

["act_imp"] = "Kan actie niet uitvoeren",
["in_vehicle"] = "Kan actie niet uitvoeren, de speler zit in een voertuig.",
Expand Down Expand Up @@ -226,8 +226,8 @@ Locales["nl"] = {
-- Drug Wars DLC
["weapon_candycane"] = "Snoep stok",
["weapon_acidpackage"] = "LSD pakket",
["weapon_pistolxm3"] = "WM 29 Pistool",
["weapon_railgunxm3"] = "Railgun",
["weapon_pistolxm3"] = "WM 29 Pistool",
["weapon_railgunxm3"] = "Railgun",

-- Thrown
["weapon_ball"] = "Honkbal",
Expand Down Expand Up @@ -369,4 +369,4 @@ Locales["nl"] = {
["tint_lspd"] = "blauwe skin",
["tint_orange"] = "oranje skin",
["tint_platinum"] = "platina skin",
}
}
Loading

0 comments on commit 48e7e46

Please sign in to comment.