Merge branch 'dev' into update-nl

This commit is contained in:
TheFantomas
2023-08-20 23:01:43 +02:00
committed by GitHub
43 changed files with 879 additions and 147 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
-- ESX Tables
CREATE TABLE `addon_account` (
`name` varchar(60) NOT NULL,
`label` varchar(100) NOT NULL,
@@ -1012,4 +1014,4 @@ CREATE TABLE IF NOT EXISTS `banking` (
PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
ALTER TABLE `users` ADD COLUMN `pincode` INT NULL;
ALTER TABLE `users` ADD COLUMN `pincode` INT NULL;
+1 -1
View File
@@ -1,4 +1,4 @@
<h1 align='center'>[ESX] Cron</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://docs.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
<h1 align='center'>[ESX] Cron</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://documentation.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
A simple, but vital, resource that allows resources to Run tasks at specific intervals.
+18 -18
View File
@@ -9,39 +9,39 @@ function RunAt(h, m, cb)
}
end
function GetTime()
local timestamp = os.time()
local d = os.date('*t', timestamp).wday
local h = tonumber(os.date('%H', timestamp))
local m = tonumber(os.date('%M', timestamp))
return {
d = d,
h = h,
m = m
}
function GetUnixTimestamp()
return os.time()
end
function OnTime(d, h, m)
function OnTime(time)
for i = 1, #Jobs, 1 do
if Jobs[i].h == h and Jobs[i].m == m then
Jobs[i].cb(d, h, m)
local scheduledTimestamp = os.time({
hour = Jobs[i].h,
minute = Jobs[i].m,
second = 0, -- Assuming tasks run at the start of the minute
day = os.date('%d', time),
month = os.date('%m', time),
year = os.date('%Y', time)
})
if time >= scheduledTimestamp and (not LastTime or LastTime < scheduledTimestamp) then
Jobs[i].cb(Jobs[i].h, Jobs[i].m)
end
end
end
function Tick()
local time = GetTime()
local time = GetUnixTimestamp()
if time.h ~= LastTime.h or time.m ~= LastTime.m then
OnTime(time.d, time.h, time.m)
if not LastTime or os.date('%M', time) ~= os.date('%M', LastTime) then
OnTime(time)
LastTime = time
end
SetTimeout(60000, Tick)
end
LastTime = GetTime()
LastTime = GetUnixTimestamp()
Tick()
+31 -42
View File
@@ -140,40 +140,23 @@ ESX.HashString = function(str)
return input_map
end
if GetResourceState("esx_context") ~= "missing" then
function ESX.OpenContext(...)
exports["esx_context"]:Open(...)
end
local contextAvailable = GetResourceState("esx_context") ~= "missing"
function ESX.PreviewContext(...)
exports["esx_context"]:Preview(...)
end
function ESX.CloseContext(...)
exports["esx_context"]:Close(...)
end
function ESX.RefreshContext(...)
exports["esx_context"]:Refresh(...)
end
else
function ESX.OpenContext()
print("[^1ERROR^7] Tried to ^5open^7 context menu, but ^5esx_context^7 is missing!")
end
function ESX.PreviewContext()
print("[^1ERROR^7] Tried to ^5preview^7 context menu, but ^5esx_context^7 is missing!")
end
function ESX.CloseContext()
print("[^1ERROR^7] Tried to ^5close^7 context menu, but ^5esx_context^7 is missing!")
end
function ESX.RefreshContext()
print("[^1ERROR^7] Tried to ^5Refresh^7 context menu, but ^5esx_context^7 is missing!")
end
function ESX.OpenContext(...)
return contextAvailable and exports["esx_context"]:Open(...) or not contextAvailable and print("[^1ERROR^7] Tried to ^5open^7 context menu, but ^5esx_context^7 is missing!")
end
function ESX.PreviewContext(...)
return contextAvailable and exports["esx_context"]:Preview(...) or not contextAvailable and print("[^1ERROR^7] Tried to ^5preview^7 context menu, but ^5esx_context^7 is missing!")
end
function ESX.CloseContext(...)
return contextAvailable and exports["esx_context"]:Close(...) or not contextAvailable and print("[^1ERROR^7] Tried to ^5close^7 context menu, but ^5esx_context^7 is missing!")
end
function ESX.RefreshContext(...)
return contextAvailable and exports["esx_context"]:Refresh(...) or not contextAvailable and print("[^1ERROR^7] Tried to ^5Refresh^7 context menu, but ^5esx_context^7 is missing!")
end
ESX.RegisterInput = function(command_name, label, input_group, key, on_press, on_release)
RegisterCommand(on_release ~= nil and "+" .. command_name or command_name, on_press)
@@ -196,6 +179,7 @@ function ESX.UI.Menu.Open(type, namespace, name, data, submit, cancel, change, c
menu.type = type
menu.namespace = namespace
menu.resourceName = (GetInvokingResource() or "Unknown")
menu.name = name
menu.data = data
menu.submit = submit
@@ -620,11 +604,6 @@ 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,7 +668,6 @@ function ESX.Game.GetVehicleProperties(vehicle)
neonColor = table.pack(GetVehicleNeonLightsColour(vehicle)),
extras = extras,
driftTyresEnabled = driftTyresEnabled,
tyreSmokeColor = table.pack(GetVehicleTyreSmokeColor(vehicle)),
modSpoilers = GetVehicleMod(vehicle, 0),
@@ -830,10 +808,6 @@ 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
@@ -1032,7 +1006,7 @@ function ESX.Game.Utils.DrawText3D(coords, text, size, font)
local fov = (1 / GetGameplayCamFov()) * 100
scale = scale * fov
SetTextScale(0.0 * scale, 0.55 * scale)
SetTextScale(0.0, 0.55 * scale)
SetTextFont(font)
SetTextProportional(1)
SetTextColour(255, 255, 255, 215)
@@ -1343,6 +1317,17 @@ AddEventHandler('esx:showHelpNotification', function(msg, thisFrame, beep, durat
ESX.ShowHelpNotification(msg, thisFrame, beep, duration)
end)
AddEventHandler('onResourceStop', function(resourceName)
for i = 1, #ESX.UI.Menu.Opened, 1 do
if ESX.UI.Menu.Opened[i] then
if ESX.UI.Menu.Opened[i].resourceName == resourceName or ESX.UI.Menu.Opened[i].namespace == resourceName then
ESX.UI.Menu.Opened[i].close()
ESX.UI.Menu.Opened[i] = nil
end
end
end
end)
---@param model number|string
---@return string
function ESX.GetVehicleType(model)
@@ -1352,6 +1337,10 @@ function ESX.GetVehicleType(model)
return 'submarine'
end
if model == `blimp` then
return 'heli'
end
local vehicleType = GetVehicleClassFromName(model)
local types = {
[8] = "bike",
+21 -11
View File
@@ -60,9 +60,9 @@ AddEventHandler('esx:playerLoaded', function(xPlayer, isNew, skin)
local playerId = PlayerId()
-- RemoveHudCommonents
for i = 1, #(Config.RemoveHudCommonents) do
if Config.RemoveHudCommonents[i] then
-- RemoveHudComponents
for i = 1, #(Config.RemoveHudComponents) do
if Config.RemoveHudComponents[i] then
SetHudComponentPosition(i, 999999.0, 999999.0)
end
end
@@ -84,13 +84,13 @@ AddEventHandler('esx:playerLoaded', function(xPlayer, isNew, skin)
end)
end
if Config.DisableHealthRegeneration or Config.DisableWeaponWheel or Config.DisableAimAssist or Config.DisableVehicleRewards then
if Config.DisableHealthRegeneration then
SetPlayerHealthRechargeMultiplier(playerId, 0.0)
end
if Config.DisableWeaponWheel or Config.DisableAimAssist or Config.DisableVehicleRewards then
CreateThread(function()
while true do
if Config.DisableHealthRegeneration then
SetPlayerHealthRechargeMultiplier(playerId, 0.0)
end
if Config.DisableWeaponWheel then
BlockWeaponWheelThisFrame()
DisableControlAction(0, 37, true)
@@ -331,7 +331,7 @@ if not Config.OxInventory then
end)
RegisterNetEvent('esx:removeWeapon')
AddEventHandler('esx:removeWeapon', function(weapon)
AddEventHandler('esx:removeWeapon', function()
print("[^1ERROR^7] event ^5'esx:removeWeapon'^7 Has Been Removed. Please use ^5xPlayer.removeWeapon^7 Instead!")
end)
@@ -655,7 +655,7 @@ AddEventHandler("esx:noclip", function()
CreateThread(noclipThread)
end
ESX.ShowNotification(TranslateCap('noclip_message', noclip and "enabled" or "disabled"), true, false, 140)
ESX.ShowNotification(TranslateCap('noclip_message', noclip and Translate('enabled') or Translate('disabled')), true, false, 140)
end)
end)
@@ -664,6 +664,16 @@ AddEventHandler("esx:killPlayer", function()
SetEntityHealth(ESX.PlayerData.ped, 0)
end)
RegisterNetEvent("esx:repairPedVehicle")
AddEventHandler("esx:repairPedVehicle", function()
local ped = ESX.PlayerData.ped
local vehicle = GetVehiclePedIsIn(ped, false)
SetVehicleEngineHealth(vehicle, 1000)
SetVehicleEngineOn(vehicle, true, true)
SetVehicleFixed(vehicle)
SetVehicleDirtLevel(vehicle, 0)
end)
RegisterNetEvent("esx:freezePlayer")
AddEventHandler("esx:freezePlayer", function(input)
local player = PlayerId()
@@ -699,6 +709,6 @@ for i = 1, #DoNotUse do
end
end
RegisterNetEvent('esx:updatePlayerData', function(key, val)
AddStateBagChangeHandler('metadata', 'player:' .. tostring(GetPlayerServerId(PlayerId())), function(_, key, val)
ESX.SetPlayerData(key, val)
end)
+2 -1
View File
@@ -18,6 +18,7 @@ Config.Accounts = {
Config.StartingAccountMoney = { bank = 50000 }
Config.StartingInventoryItems = false -- table/false
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 },
@@ -57,7 +58,7 @@ 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 = {
Config.RemoveHudComponents = {
[1] = false, --WANTED_STARS,
[2] = false, --WEAPON_ICON
[3] = false, --CASH
+16 -1
View File
@@ -824,6 +824,21 @@ Config.Weapons = {
{ name = 'camo_finish11', label = TranslateCap('component_camo_finish11'), hash = `COMPONENT_SPECIALCARBINE_MK2_CAMO_IND_01` }
}
},
{
name = 'WEAPON_HEAVYRIFLE',
label = TranslateCap('weapon_heavyrifle'),
ammo = {label = TranslateCap('ammo_rounds'), hash = `AMMO_RIFLE`},
tints = Config.DefaultWeaponTints,
components = {
{name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_HEAVYRIFLE_CLIP_01`},
{name = 'clip_extended', label = TranslateCap('component_clip_extended'), hash = `COMPONENT_HEAVYRIFLE_CLIP_02`},
{name = 'scope_holo', label = TranslateCap('component_scope_holo'), hash = `COMPONENT_HEAVYRIFLE_SIGHT_01` },
{name = 'scope', label = TranslateCap('component_scope'), hash = `COMPONENT_AT_SCOPE_MEDIUM` },
{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`}
}
},
-- Sniper
{
name = 'WEAPON_HEAVYSNIPER',
@@ -1006,4 +1021,4 @@ Config.Weapons = {
{ name = 'clip_default', label = TranslateCap('component_clip_default'), hash = `COMPONENT_RAILGUNXM3_CLIP_01` },
},
},
}
}
+5
View File
@@ -52,6 +52,7 @@ Locales["cs"] = {
["act_imp"] = "Nelze provést",
["in_vehicle"] = "Nelze provést, hráč je v autě",
["not_in_vehicle"] = "Cannot Perform Action, Player isn't in a vehicle",
-- Commands
['command_bring'] = 'Přivolat si hráče k sobě',
@@ -59,6 +60,9 @@ Locales["cs"] = {
['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_repair'] = 'Repair your vehicle',
['command_repair_success'] = 'Successfully repaired vehicle',
['command_repair_success_target'] = 'An admin repaired your vehicle',
['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',
@@ -194,6 +198,7 @@ Locales["cs"] = {
["weapon_militaryrifle"] = "Military Rifle",
["weapon_specialcarbine"] = "Special Carbine",
["weapon_specialcarbine_mk2"] = "Special Carbine MK2",
["weapon_heavyrifle"] = "Heavy Rifle", -- Not Translated
-- Sniper
["weapon_heavysniper"] = "Heavy Sniper",
+5
View File
@@ -52,6 +52,7 @@ Locales["da"] = {
["act_imp"] = "Kan ikke udføre handling",
["in_vehicle"] = "Kan ikke udføre handling, spilleren er i et køretøj",
["not_in_vehicle"] = "Cannot Perform Action, Player isn't in a vehicle",
-- Commands
['command_bring'] = 'Tag en spiller til dig',
@@ -59,6 +60,9 @@ Locales["da"] = {
['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_repair'] = 'Repair your vehicle',
['command_repair_success'] = 'Successfully repaired vehicle',
['command_repair_success_target'] = 'An admin repaired your vehicle',
['command_clear'] = 'Ryd chatten',
['command_clearall'] = 'Ryd chatten for alle spillere',
['command_clearinventory'] = 'Fjern alle elementer fra spillernes inventar',
@@ -200,6 +204,7 @@ Locales["da"] = {
["weapon_militaryrifle"] = "Militær riffel",
["weapon_specialcarbine"] = "Special Carbine",
["weapon_specialcarbine_mk2"] = "Special Carbine MK2",
["weapon_heavyrifle"] = "Heavy Rifle", -- Not Translated
-- Sniper
["weapon_heavysniper"] = "Tung snigskytte",
+5
View File
@@ -52,6 +52,7 @@ Locales["de"] = {
["act_imp"] = "Du kannst diese Aktion nicht ausführen!",
["in_vehicle"] = "Du kannst diese Aktion nicht ausführen! Person ist in einem Fahrzeug",
["not_in_vehicle"] = "Cannot Perform Action, Player isn't in a vehicle",
-- Commands
['command_bring'] = 'Person zu dir bringen',
@@ -59,6 +60,9 @@ Locales["de"] = {
['command_car_car'] = 'Fahrzeug Model oder Hash',
['command_cardel'] = 'Fahrzeuge entfernen',
['command_cardel_radius'] = 'Entfernt alle Fahrzeuge in einem bestimmten Radius',
['command_repair'] = 'Repair your vehicle',
['command_repair_success'] = 'Successfully repaired vehicle',
['command_repair_success_target'] = 'An admin repaired your vehicle',
['command_clear'] = 'Textchat leeren',
['command_clearall'] = 'Textchat leeren für alle Spieler leeren',
['command_clearinventory'] = 'Alle Items von dem Inventar eines Spielers entfernen',
@@ -200,6 +204,7 @@ Locales["de"] = {
["weapon_militaryrifle"] = "Militärgewehr",
["weapon_specialcarbine"] = "Spezialkarabiner",
["weapon_specialcarbine_mk2"] = "Spezialkarabiner MK2",
["weapon_heavyrifle"] = "Heavy Rifle", -- Not Translated
-- Sniper
["weapon_heavysniper"] = "Schwere Sniper",
+11
View File
@@ -52,6 +52,7 @@ Locales["en"] = {
["act_imp"] = "Cannot Perform Action",
["in_vehicle"] = "Cannot Perform Action, Player is in a vehicle",
["not_in_vehicle"] = "Cannot Perform Action, Player isn't in a vehicle",
-- Commands
['command_bring'] = 'Bring player to you',
@@ -59,6 +60,9 @@ Locales["en"] = {
['command_car_car'] = 'Vehicle model or hash',
['command_cardel'] = 'Remove vehicles in proximity',
['command_cardel_radius'] = 'Removes all vehicles within the specified radius',
['command_repair'] = 'Repair your vehicle',
['command_repair_success'] = 'Successfully repaired vehicle',
['command_repair_success_target'] = 'An admin repaired your vehicle',
['command_clear'] = 'Clear chat Text',
['command_clearall'] = 'Clear chat Text for all players',
['command_clearinventory'] = 'Remove All items from the Players Inventory',
@@ -204,6 +208,7 @@ Locales["en"] = {
["weapon_militaryrifle"] = "Military Rifle",
["weapon_specialcarbine"] = "Special Carbine",
["weapon_specialcarbine_mk2"] = "Special Carbine MK2",
["weapon_heavyrifle"] = "Heavy Rifle",
-- Sniper
["weapon_heavysniper"] = "Heavy Sniper",
@@ -227,6 +232,12 @@ Locales["en"] = {
["weapon_precisionrifle"] = "Precision Rifle",
["weapon_tactilerifle"] = "Service Carbine",
-- Drug wars dlc
["weapon_candycane"] = "Candycane",
["weapon_acidpackage"] = "Acid Package",
["weapon_pistolxm3"] = "Pistol8 x3m",
["weapon_railgunxm3"] = "Railgun",
-- Thrown
["weapon_ball"] = "Baseball",
["weapon_bzgas"] = "BZ Gas",
+5
View File
@@ -52,6 +52,7 @@ Locales["es"] = {
["act_imp"] = "No se pudo realizar la acción.",
["in_vehicle"] = "Acción rechazada. El jugador se encuentra en un vehículo",
["not_in_vehicle"] = "Cannot Perform Action, Player isn't in a vehicle",
-- Commands
['command_bring'] = 'Traer un jugador hacia ti',
@@ -59,6 +60,9 @@ Locales["es"] = {
['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_repair'] = 'Repair your vehicle',
['command_repair_success'] = 'Successfully repaired vehicle',
['command_repair_success_target'] = 'An admin repaired your vehicle',
['command_clear'] = 'Limpiar chat para ti',
['command_clearall'] = 'Limpiar chat para todos los jugadores',
['command_clearinventory'] = 'Limpiar el inventario del jugador',
@@ -200,6 +204,7 @@ Locales["es"] = {
["weapon_militaryrifle"] = "Rifle Militar",
["weapon_specialcarbine"] = "Carabina Especial",
["weapon_specialcarbine_mk2"] = "Carabina Especial MK2",
["weapon_heavyrifle"] = "Heavy Rifle", -- Not Translated
-- Sniper
["weapon_heavysniper"] = "Francotirador Pesado",
+5
View File
@@ -52,12 +52,16 @@ Locales["fi"] = {
["act_imp"] = "Toiminto mahdoton",
["in_vehicle"] = "Et voi antaa ajoneuvossa olevalle mitään",
["not_in_vehicle"] = "Cannot Perform Action, Player isn't in a vehicle",
-- 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_repair'] = 'Repair your vehicle',
['command_repair_success'] = 'Successfully repaired vehicle',
['command_repair_success_target'] = 'An admin repaired your vehicle',
['command_clear'] = 'Tyhjennä keskustelu',
['command_clearall'] = 'Tyhjennä keskustelu kaikilta pelaajilta',
['command_clearinventory'] = 'Tyhjennä pelaajan reppu',
@@ -190,6 +194,7 @@ Locales["fi"] = {
["gadget_parachute"] = "Laskuvarjo",
["weapon_flare"] = "Hätäraketti",
["weapon_doubleaction"] = "Double action revolveri",
["weapon_heavyrifle"] = "Heavy Rifle", -- Not Translated
-- Weapon Components
["component_clip_default"] = "Oletus lipas",
+6
View File
@@ -52,6 +52,7 @@ Locales["fr"] = {
["act_imp"] = "Action impossible",
["in_vehicle"] = "Action impossible, le joueur est dans un véhicule",
["not_in_vehicle"] = "Action impossible, le joueur n'est pas dans un véhicule",
-- Commands
["command_bring"] = "Téléporter un joueur sur vous",
@@ -59,6 +60,9 @@ Locales["fr"] = {
["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_repair"] = "Réparer votre véhicule",
["command_repair_success"] = "Véhicule réparé avec succès",
["command_repair_success_target"] = "Votre véhicule a été réparé par un membre du staff",
["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",
@@ -103,6 +107,7 @@ Locales["fr"] = {
["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_argumentmismatch_string"] = "Type de données de l'argument #%s invalide (Type donné: nombre, Type demandé: texte)",
["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",
@@ -203,6 +208,7 @@ Locales["fr"] = {
["weapon_militaryrifle"] = "Fusil militaire",
["weapon_specialcarbine"] = "Carabine spéciale",
["weapon_specialcarbine_mk2"] = "Carabine spéciale MK2",
["weapon_heavyrifle"] = "Fusil lourd",
-- Sniper
["weapon_heavysniper"] = "Sniper lourd",
+374
View File
@@ -0,0 +1,374 @@
Locales["he"] = {
-- 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"] = "בנק Maze",
["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_removeaccountmoney'] = 'הסר כסף מחשבון מסוים',
['command_removeaccountmoney_account'] = 'חשבון להסרה ממנו',
['command_removeaccountmoney_amount'] = 'סכום להסרה',
['command_removeaccountmoney_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_argumentmismatch_string'] = 'סוג הנתונים של הארגומנט #%s אינו תואם (התקבל מספר, נדרשה מחרוזת)',
['commanderror_invaliditem'] = 'פריט לא חוקי',
['commanderror_invalidweapon'] = 'נשק לא חוקי',
['commanderror_console'] = 'לא ניתן לבצע את הפקודה מהקונסולה',
['commanderror_invalidcommand'] = 'פקודה לא חוקית - /%s',
['commanderror_invalidplayerid'] = 'השחקן שצוין אינו מחובר',
['commandgeneric_playerid'] = 'מספר השחקן בשרת',
['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"] = "אקדח AP",
["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"] = "אקדח SNS",
["weapon_snspistol_mk2"] = "אקדח SNS 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"] = "SMG תוקף",
["weapon_combatmg"] = "MG לחימה",
["weapon_combatmg_mk2"] = "MG לחימה MK2",
["weapon_combatpdw"] = "PDW לחימה",
["weapon_gusenberg"] = "גוזנברג מכשיר",
["weapon_machinepistol"] = "אקדח מכונה",
["weapon_mg"] = "MG",
["weapon_microsmg"] = "SMG מיקרו",
["weapon_minismg"] = "SMG מיני",
["weapon_smg"] = "SMG",
["weapon_smg_mk2"] = "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"] = "גז BZ",
["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"] = "ידית VIP",
["component_handle_bodyguard"] = "ידית שומר גוף",
["component_vip_finish"] = "סיום VIP",
["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"] = "סיום פיצוץ",
["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"] = "סיום פיצוץ שקופה",
["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"] = "כדורי 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"] = "עור פלטינה",
}
+5
View File
@@ -52,6 +52,7 @@ Locales["hu"] = {
["act_imp"] = "Érvénytelen mennyiség",
["in_vehicle"] = "Nem tudod átadni, mivel benne ül a jármüben",
["not_in_vehicle"] = "Cannot Perform Action, Player isn't in a vehicle",
-- Commands
["command_bring"] = "Játékos magadhoz teleportálása",
@@ -59,6 +60,9 @@ Locales["hu"] = {
["command_car_car"] = "Jármű név vagy hash",
["command_cardel"] = "Közeli járművek törlése",
["command_cardel_radius"] = "Megadott radiusban lévő járművek törlése",
["command_repair"] = "Repair your vehicle",
["command_repair_success"] = "Successfully repaired vehicle",
["command_repair_success_target"] = "An admin repaired your vehicle",
["command_clear"] = "Chat ürítése",
["command_clearall"] = "Chat ürítése minden játékosnál",
["command_clearinventory"] = "Minden tárgy törlése a játékos inventoryból",
@@ -200,6 +204,7 @@ Locales["hu"] = {
["weapon_militaryrifle"] = "Military Rifle",
["weapon_specialcarbine"] = "Special Carbine",
["weapon_specialcarbine_mk2"] = "Special Carbine MK2",
["weapon_heavyrifle"] = "Heavy Rifle", -- Not Translated
-- Sniper
["weapon_heavysniper"] = "Heavy Sniper",
+5
View File
@@ -52,6 +52,7 @@ Locales["it"] = {
["act_imp"] = "Non puoi farlo",
["in_vehicle"] = "Non puoi farlo, il giocatore è in un veicolo",
["not_in_vehicle"] = "Cannot Perform Action, Player isn't in a vehicle",
-- Commands
['command_bring'] = 'Porta il giocatore da te',
@@ -59,6 +60,9 @@ Locales["it"] = {
['command_car_car'] = 'Modello o hash veicolo',
['command_cardel'] = 'Rimuovi i veicoli nelle prossimità',
['command_cardel_radius'] = 'Rimuovi i veicoli nel raggio specificato',
['command_repair'] = 'Repair your vehicle',
['command_repair_success'] = 'Successfully repaired vehicle',
['command_repair_success_target'] = 'An admin repaired your vehicle',
['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',
@@ -200,6 +204,7 @@ Locales["it"] = {
["weapon_militaryrifle"] = "Fucile militare",
["weapon_specialcarbine"] = "Carabina speciale",
["weapon_specialcarbine_mk2"] = "Carabina speciale MK2",
["weapon_heavyrifle"] = "Heavy Rifle", -- Not Translated
-- Sniper
["weapon_heavysniper"] = "Cecchino pesante",
+1 -1
View File
@@ -378,4 +378,4 @@ Locales["nl"] = {
["tint_lspd"] = "blauwe skin",
["tint_orange"] = "oranje skin",
["tint_platinum"] = "platina skin",
}
}
+5
View File
@@ -51,12 +51,16 @@ Locales["pl"] = {
["account_money"] = "pieniądze",
["act_imp"] = "działanie niemożliwe",
["in_vehicle"] = "nie możesz przekazywać przedmiotów w pojeździe",
["not_in_vehicle"] = "Cannot Perform Action, Player isn't in a vehicle",
-- 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_repair'] = 'Repair your vehicle',
['command_repair_success'] = 'Successfully repaired vehicle',
['command_repair_success_target'] = 'An admin repaired your vehicle',
['command_clear'] = 'wyczyść czat',
['command_clearall'] = 'wyczyść czat dla wszystkich graczy',
['command_clearinventory'] = 'wyczyść ekwipunek gracza',
@@ -183,6 +187,7 @@ Locales["pl"] = {
["gadget_parachute"] = "spadochron",
["weapon_flare"] = "pistolet sygnałowy",
["weapon_doubleaction"] = "double-Action Revolver",
["weapon_heavyrifle"] = "Heavy Rifle", -- Not Translated
-- Weapon Components
["component_clip_default"] = "domyślny tłumik",
+5
View File
@@ -52,6 +52,7 @@ Locales["sl"] = {
["act_imp"] = "Dejanja ni mogoče izvesti",
["in_vehicle"] = "Dejanja ni mogoče izvesti, Oseba je v vozilu",
["not_in_vehicle"] = "Cannot Perform Action, Player isn't in a vehicle",
-- Commands
['command_bring'] = 'Teleportiraj osebo do sebe',
@@ -59,6 +60,9 @@ Locales["sl"] = {
['command_car_car'] = 'Koda vozila',
['command_cardel'] = 'Odstranite vozila v bližini',
['command_cardel_radius'] = 'Odstrani vsa vozila v določenem radiju',
['command_repair'] = 'Repair your vehicle',
['command_repair_success'] = 'Successfully repaired vehicle',
['command_repair_success_target'] = 'An admin repaired your vehicle',
['command_clear'] = 'Odstrani vsa sporocila v CHATU',
['command_clearall'] = 'Počisti besedilo klepeta za vse igralce',
['command_clearinventory'] = 'Vzemi vse stvari iz osebove shrambe',
@@ -200,6 +204,7 @@ Locales["sl"] = {
["weapon_militaryrifle"] = "Military Rifle",
["weapon_specialcarbine"] = "Special Carbine",
["weapon_specialcarbine_mk2"] = "Special Carbine MK2",
["weapon_heavyrifle"] = "Heavy Rifle", -- Not Translated
-- Sniper
["weapon_heavysniper"] = "Heavy Sniper",
+5
View File
@@ -52,6 +52,7 @@ Locales["sr"] = {
["act_imp"] = "Ne možete izvršiti radnju",
["in_vehicle"] = "Ne možete uraditi to dok je igrač u vozilu",
["not_in_vehicle"] = "Cannot Perform Action, Player isn't in a vehicle",
-- Commands
['command_bring'] = 'TP-ajte igrača do Vas',
@@ -59,6 +60,9 @@ Locales["sr"] = {
['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_repair'] = 'Repair your vehicle',
['command_repair_success'] = 'Successfully repaired vehicle',
['command_repair_success_target'] = 'An admin repaired your vehicle',
['command_clear'] = 'Obrišite chat',
['command_clearall'] = 'Obrišite chat za sve igrače',
['command_clearinventory'] = 'Obrišite sve stvari iz inventara igrača',
@@ -200,6 +204,7 @@ Locales["sr"] = {
["weapon_militaryrifle"] = "Military Rifle",
["weapon_specialcarbine"] = "Special Carbine",
["weapon_specialcarbine_mk2"] = "Special Carbine MK2",
["weapon_heavyrifle"] = "Heavy Rifle", -- Not Translated
-- Sniper
["weapon_heavysniper"] = "Heavy Sniper",
+5
View File
@@ -52,6 +52,7 @@ Locales["zh-cn"] = {
["act_imp"] = "操作失败",
["in_vehicle"] = "请离开当前载具",
["not_in_vehicle"] = "Cannot Perform Action, Player isn't in a vehicle",
-- Commands
['command_bring'] = '传送玩家到您身边',
@@ -59,6 +60,9 @@ Locales["zh-cn"] = {
['command_car_car'] = '生成载具的模型名称或哈希值',
['command_cardel'] = '删除附近载具',
['command_cardel_radius'] = '可选,删除指定半径内的所有载具',
['command_repair'] = 'Repair your vehicle',
['command_repair_success'] = 'Successfully repaired vehicle',
['command_repair_success_target'] = 'An admin repaired your vehicle',
['command_clear'] = '清除聊天记录',
['command_clearall'] = '清除所有玩家的聊天记录',
['command_clearinventory'] = '清除玩家库存',
@@ -200,6 +204,7 @@ Locales["zh-cn"] = {
["weapon_militaryrifle"] = "军用步枪",
["weapon_specialcarbine"] = "特制卡宾步枪",
["weapon_specialcarbine_mk2"] = "特制卡宾步枪-MK2",
["weapon_heavyrifle"] = "Heavy Rifle", -- Not Translated
-- Sniper
["weapon_heavysniper"] = "重型狙击步枪",
+45 -19
View File
@@ -462,7 +462,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
function self.removeWeapon(weaponName)
local weaponLabel, playerPed = nil, GetPlayerPed(self.source)
if not playerPed then
if not playerPed then
return print("[^1ERROR^7] xPlayer.removeWeapon ^5invalid^7 player ped!")
end
@@ -473,7 +473,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
for _, v2 in ipairs(v.components) do
self.removeWeaponComponent(weaponName, v2)
end
local weaponHash = joaat(v.name)
RemoveWeaponFromPed(playerPed, weaponHash)
@@ -643,33 +643,59 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
return print(("[^1ERROR^7] xPlayer.setMeta ^5value^7 should be ^5string^7 as a subIndex!"):format(value))
end
if not self.metadata[index] or type(self.metadata[index]) ~= "table" then
self.metadata[index] = { }
end
self.metadata[index] = type(self.metadata[index]) == 'table' and self.metadata[index] or {}
self.metadata[index][value] = subValue
end
self.triggerEvent('esx:updatePlayerData', 'metadata', self.metadata)
Player(self.source).state:set('metadata', self.metadata, true)
end
function self.clearMeta(index)
function self.clearMeta(index, subValues)
if not index then
return print(("[^1ERROR^7] xPlayer.clearMeta ^5%s^7 is Missing!"):format(index))
return print("[^1ERROR^7] xPlayer.clearMeta ^5index^7 is Missing!")
end
if type(index) == 'table' then
for _, val in pairs(index) do
self.clearMeta(val)
if type(index) ~= "string" then
return print("[^1ERROR^7] xPlayer.clearMeta ^5index^7 should be ^5string^7!")
end
local metaData = self.metadata[index]
if metaData == nil then
return Config.EnableDebug and print(("[^1ERROR^7] xPlayer.clearMeta ^5%s^7 does not exist!"):format(index)) or nil
end
if not subValues then
-- If no subValues is provided, we will clear the entire value in the metaData table
self.metadata[index] = nil
elseif type(subValues) == "string" then
-- If subValues is a string, we will clear the specific subValue within the table
if type(metaData) == "table" then
metaData[subValues] = nil
else
return print(("[^1ERROR^7] xPlayer.clearMeta ^5%s^7 is not a table! Cannot clear subValue ^5%s^7."):format(index, subValues))
end
return
elseif type(subValues) == "table" then
-- If subValues is a table, we will clear multiple subValues within the table
for i = 1, #subValues do
local subValue = subValues[i]
if type(subValue) == "string" then
if type(metaData) == "table" then
metaData[subValue] = nil
else
print(("[^1ERROR^7] xPlayer.clearMeta ^5%s^7 is not a table! Cannot clear subValue ^5%s^7."):format(index, subValue))
end
else
print(("[^1ERROR^7] xPlayer.clearMeta subValues should contain ^5string^7, received ^5%s^7, skipping..."):format(type(subValue)))
end
end
else
return print(("[^1ERROR^7] xPlayer.clearMeta ^5subValues^7 should be ^5string^7 or ^5table^7, received ^5%s^7!"):format(type(subValues)))
end
if not self.metadata[index] then
return print(("[^1ERROR^7] xPlayer.clearMeta ^5%s^7 not exist!"):format(index))
end
self.metadata[index] = nil
self.triggerEvent('esx:updatePlayerData', 'metadata', self.metadata)
Player(self.source).state:set('metadata', self.metadata, true)
end
+34 -7
View File
@@ -1,4 +1,4 @@
ESX.RegisterCommand('setcoords', 'admin', function(xPlayer, args)
ESX.RegisterCommand({'setcoords', 'tp'}, '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", {
@@ -13,9 +13,9 @@ 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' }
{ name = 'x', help = TranslateCap('command_setcoords_x'), type = 'coordinate' },
{ name = 'y', help = TranslateCap('command_setcoords_y'), type = 'coordinate' },
{ name = 'z', help = TranslateCap('command_setcoords_z'), type = 'coordinate' }
}
})
@@ -30,8 +30,8 @@ ESX.RegisterCommand('setjob', 'admin', function(xPlayer, args, showError)
{ 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 = "Job", value = args.job, inline = true },
{ name = "Grade", value = args.grade, inline = true },
})
end
end, true, {
@@ -132,6 +132,34 @@ end, false, {
}
})
ESX.RegisterCommand({ 'fix', 'repair' }, 'admin', function(xPlayer, args, showError)
local xTarget = args.playerId
local ped = GetPlayerPed(xTarget.source)
local pedVehicle = GetVehiclePedIsIn(ped, false)
if not pedVehicle or GetPedInVehicleSeat(pedVehicle, -1) ~= ped then
showError(TranslateCap('not_in_vehicle'))
return
end
xTarget.triggerEvent("esx:repairPedVehicle")
xPlayer.showNotification(TranslateCap('command_repair_success'), true, false, 140)
if xPlayer.source ~= xTarget.source then
xTarget.showNotification(TranslateCap('command_repair_success_target'), true, false, 140)
end
if Config.AdminLogging then
ESX.DiscordLogFields("UserActions", "Fix Vehicle /fix Triggered!", "pink", {
{ name = "Player", value = xPlayer.name, inline = true },
{ name = "ID", value = xPlayer.source, inline = true },
{ name = "Target", value = xTarget.name, inline = true },
})
end
end, true, {
help = TranslateCap('command_repair'),
validate = false,
arguments = {
{ name = 'playerId', help = TranslateCap('commandgeneric_playerid'), type = 'player' }
}
})
ESX.RegisterCommand('setaccountmoney', 'admin', function(xPlayer, args, showError)
if not args.playerId.getAccount(args.account) then
return showError(TranslateCap('command_giveaccountmoney_invalid'))
@@ -423,7 +451,6 @@ 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))
end, true)
+2 -1
View File
@@ -31,8 +31,9 @@ end
local function StartDBSync()
CreateThread(function()
local interval <const> = 10 * 60 * 1000
while true do
Wait(10 * 60 * 1000)
Wait(interval)
Core.SavePlayers()
end
end)
+9 -2
View File
@@ -113,11 +113,18 @@ function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion)
local merge = table.concat(args, " ")
newArgs[v.name] = string.sub(merge, lenght)
end
elseif v.type == 'coordinate' then
local coord = tonumber(args[k]:match("(-?%d+%.?%d*)"))
if(not coord) then
error = TranslateCap('commanderror_argumentmismatch_number', k)
else
newArgs[v.name] = coord
end
end
end
--backwards compatibility
if not v.validate and not v.type then
if v.validate ~= nil and not v.validate then
error = nil
end
+12 -9
View File
@@ -9,6 +9,10 @@ if Config.Multichar then
newPlayer = newPlayer .. ', `firstname` = ?, `lastname` = ?, `dateofbirth` = ?, `sex` = ?, `height` = ?'
end
if Config.StartingInventoryItems then
newPlayer = newPlayer .. ', `inventory` = ?'
end
if Config.Multichar or Config.Identity then
loadPlayer = loadPlayer .. ', `firstname`, `lastname`, `dateofbirth`, `sex`, `height`'
end
@@ -77,17 +81,16 @@ function createESXPlayer(identifier, playerId, data)
print(('[^2INFO^0] Player ^5%s^0 Has been granted admin permissions via ^5Ace Perms^7.'):format(playerId))
defaultGroup = "admin"
end
local parameters = Config.Multichar and { json.encode(accounts), identifier, defaultGroup, data.firstname, data.lastname, data.dateofbirth, data.sex, data.height } or { json.encode(accounts), identifier, defaultGroup }
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)
if Config.StartingInventoryItems then
table.insert(parameters, json.encode(Config.StartingInventoryItems))
end
MySQL.prepare(newPlayer, parameters, function()
loadESXPlayer(identifier, playerId, true)
end)
end
if not Config.Multichar then
+31 -10
View File
@@ -7,15 +7,34 @@ ESX.OneSync = {}
local function getNearbyPlayers(source, closest, distance, ignore)
local result = {}
local count = 0
if not distance then distance = 100 end
if type(source) == 'number' then
source = GetPlayerPed(source)
local playerPed
local playerCoords
if not distance then distance = 100 end
if type(source) == 'number' then
playerPed = GetPlayerPed(source)
if not source then
error("Received invalid first argument (source); should be playerId or vector3 coordinates")
error("Received invalid first argument (source); should be playerId")
return result
end
source = GetEntityCoords(GetPlayerPed(source))
playerCoords = GetEntityCoords(playerPed)
if not playerCoords then
error("Received nil value (playerCoords); perhaps source is nil at first place?")
return result
end
end
if type(source) == 'vector3' then
playerCoords = source
if not playerCoords then
error("Received nil value (playerCoords); perhaps source is nil at first place?")
return result
end
end
for _, xPlayer in pairs(ESX.Players) do
@@ -24,16 +43,18 @@ local function getNearbyPlayers(source, closest, distance, ignore)
local coords = GetEntityCoords(entity)
if not closest then
local dist = #(source - coords)
local dist = #(playerCoords - coords)
if dist <= distance then
count = count + 1
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 }
end
if xPlayer.source ~= source then
local dist = #(playerCoords - coords)
if dist <= (result.dist or distance) then
result = { id = xPlayer.source, ped = NetworkGetNetworkIdFromEntity(entity), coords = coords, dist = dist }
end
end
end
end
end
-5
View File
@@ -1,5 +0,0 @@
{
"version": "legacy",
"commit" : "1.9.0",
"changelog": "\n- Add PlayerOveride System, ESX Notify, ESX Progressbar and ESX TextUI"
}
+1 -1
View File
@@ -1,4 +1,4 @@
<h1 align='center'>[ESX] Context</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://docs.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
<h1 align='center'>[ESX] Context</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://documentation.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
A elegant, easy to use Context Menu system to make User Interactions clean and hassle free
+38
View File
@@ -0,0 +1,38 @@
Locales["he"] = {
['show_active_character'] = 'הצג דמות פעילה',
['active_character'] = 'דמות פעילה: %s',
['error_active_character'] = 'אירעה שגיאה בקבלת הנתונים שלך.',
['delete_character'] = 'מחק את הדמות הנוכחית שלך.',
['deleted_character'] = 'הדמות נמחקה',
['error_delete_character'] = 'אירעה בעיה במחיקת הדמות שלך.',
['thank_you_for_registering'] = 'הרשמה הושלמה. תהנה!',
['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 אינץ',
['data_incorrect'] = 'נתונים לא תקניים, נסה שוב.',
['invalid_format'] = 'פורמט נתונים לא תקני, נסה שוב.',
['no_identifier'] = '[ESX Identity]\nהייתה בעיה בטעינת הדמות שלך!\nקוד שגיאה: מזהה חסר\n\nזה נגרם על ידי חוסר המזהה שלך. אנא חזור מאוחר יותר או דווח על הבעיה לבעל השרת.',
['missing_identity'] = '[ESX Identity]\nהייתה בעיה בטעינת הדמות שלך!\nקוד שגיאה: זהות חסרה\n\nנראה שהזהות שלך חסרה, נסה להתחבר שוב.',
['deleted_identity'] = 'הדמות נמחקה. אנא הצטרף מחדש כדי ליצור דמות חדשה.',
['already_registered'] = 'כבר נרשמת.',
['invalid_firstname_format'] = 'פורמט לא תקני (שם פרטי): נסה שוב.',
['invalid_lastname_format'] = 'פורמט לא תקני (שם משפחה): נסה שוב.',
['invalid_dob_format'] = 'פורמט לא תקני (תאריך לידה): נסה שוב.',
['invalid_sex_format'] = 'פורמט לא תקני (מין): נסה שוב.',
['invalid_height_format'] = 'פורמט לא תקני (גובה): נסה שוב.',
}
+1 -1
View File
@@ -1,4 +1,4 @@
<h1 align='center'>[ESX] Loading Screen</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://docs.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
<h1 align='center'>[ESX] Loading Screen</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://documentation.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
A simple but beautiful Loading Screen for your server!
+1 -1
View File
@@ -1,4 +1,4 @@
<h1 align='center'>[ESX] Menu Defualt</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://docs.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
<h1 align='center'>[ESX] Menu Defualt</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://documentation.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
A defualt List type menu for ESX.
+8 -3
View File
@@ -292,7 +292,9 @@ if ESX.GetConfig().Multichar then
end)
repeat Wait(200) until finished
end
DoScreenFadeOut(100)
DoScreenFadeOut(750)
Wait(750)
SetCamActive(cam, false)
RenderScriptCams(false, false, 0, true, true)
@@ -302,8 +304,11 @@ if ESX.GetConfig().Multichar then
SetEntityCoordsNoOffset(playerPed, spawn.x, spawn.y, spawn.z, false, false, false, true)
SetEntityHeading(playerPed, spawn.heading)
if not isNew then TriggerEvent('skinchanger:loadSkin', skin or Characters[spawned].skin) end
Wait(400)
DoScreenFadeIn(400)
Wait(500)
DoScreenFadeIn(750)
Wait(750)
repeat Wait(200) until not IsScreenFadedOut()
TriggerServerEvent('esx:onPlayerSpawn')
TriggerEvent('esx:onPlayerSpawn')
+10 -3
View File
@@ -1,15 +1,22 @@
Locales["fr"] = {
["male"] = "Homme",
["female"] = "Femme",
["delete_label"] = "Supprimer %s %s?",
["select_char"] = "Sélectionnez un personnage",
["select_char_description"] = "Select a character to play as.",
["create_char"] = "Créer un nouveau personnage",
["char_play"] = "Jouer ce personnage",
["char_play_description"] = "Continuez dans la ville.",
["char_disabled"] = "Ce personnage est désactivé",
["char_disabled_description"] = "Ce personnage est inutilisable.",
["char_delete"] = "Supprimer ce personnage",
["cancel"] = "Annuler",
["confirm"] = "Confirmer",
["char_delete_description"] = "Retiré définitivement ce personnage.",
["char_delete_confirmation"] = "Confirmation de suppression",
["char_delete_confirmation_description"] = "Êtes-vous sûr de vouloir supprimer ce personnage?",
["char_delete_yes_description"] = "Oui, je suis sur de vouloir supprimer ce personnage",
["char_delete_no_description"] = "Non, retourner aux options de personnages",
["character"] = "Personnage: %s",
["return"] = "Retour",
["return_description"] = "Retourner à la sélection de personnage.",
["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",
+32
View File
@@ -0,0 +1,32 @@
Locales["he"] = {
["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",
["slotsrem"] = "הסרת מקומות ל- %s",
["charenabled"] = "אפשרת את הדמות #%s של %s",
["chardisabled"] = "השבתת את הדמות #%s של %s",
["charnotfound"] = "הדמות #%s של %s לא קיימת",
}
+1 -1
View File
@@ -1,4 +1,4 @@
<h1 align='center'>[ESX] Notify</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://docs.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
<h1 align='center'>[ESX] Notify</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://documentation.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
A beautiful and simple NUI notification system for ESX
+3 -2
View File
@@ -147,6 +147,7 @@ function DeleteSkinCam()
end
CreateThread(function()
local customPI <const> = math.pi / 180.0
while true do
local sleep = 1500
@@ -164,7 +165,7 @@ CreateThread(function()
local playerPed = PlayerPedId()
local coords = GetEntityCoords(playerPed)
local angle = heading * math.pi / 180.0
local angle = heading * customPI
local theta = {
x = math.cos(angle),
y = math.sin(angle)
@@ -182,7 +183,7 @@ CreateThread(function()
angleToLook = angleToLook + 360
end
angleToLook = angleToLook * math.pi / 180.0
angleToLook = angleToLook * customPI
local thetaToLook = {
x = math.cos(angleToLook),
y = math.sin(angleToLook)
+6
View File
@@ -0,0 +1,6 @@
Locales["he"] = {
["skin_menu"] = "תפריט עור",
["use_rotate_view"] = "השתמש ~INPUT_FRONTEND_LS~ ו ~INPUT_CHARACTER_WHEEL~ כדי לסובב את התצוגה.",
["skin"] = "שנה עור",
["saveskin"] = "שמור עור לקובץ",
}
+1 -1
View File
@@ -1,4 +1,4 @@
<h1 align='center'>[ESX] TextUI</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://docs.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
<h1 align='center'>[ESX] TextUI</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://documentation.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
A beautiful and simple Persistent Notification.
+1 -1
View File
@@ -1,4 +1,4 @@
<h1 align='center'>[ESX] SkinChanger</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://docs.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
<h1 align='center'>[ESX] SkinChanger</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://documentation.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
skinchanger is a resource used to both Set and Get Players clothing, accessories and Model - It supports the freemode peds `mp_m_freemode_01` and `mp_f_freemode_01` as well as all Ped Features.
+4 -4
View File
@@ -1,7 +1,7 @@
Locales["fr"] = {
["sex"] = "sexe",
["mom"] = "mère's visage",
["dad"] = "père's visage",
["mom"] = "visage de la mère",
["dad"] = "visage du père",
["resemblance"] = "ressemblance",
["skin_tone"] = "teint",
["nose_1"] = "largeur du nez",
@@ -32,7 +32,7 @@ Locales["fr"] = {
["hair_color_1"] = "couleur de cheveux 1",
["hair_color_2"] = "couleur de cheveux 2",
["eye_color"] = "couleur des yeux",
["eye_squint"] = "eye squint",
["eye_squint"] = "Louchement des yeux",
["eyebrow_type"] = "type de sourcil",
["eyebrow_size"] = "taille des sourcils",
["eyebrow_color_1"] = "couleur des sourcils 1",
@@ -47,7 +47,7 @@ Locales["fr"] = {
["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"] = "accessoires d'oreille",
["ear_accessories_color"] = "couleur des accessoires d'oreille",
["tshirt_1"] = "t-Shirt 1",
["tshirt_2"] = "t-Shirt 2",
+100
View File
@@ -0,0 +1,100 @@
Locales["he"] = {
['sex'] = 'מין',
['mom'] = 'פנים של אמא',
['dad'] = 'פנים של אבא',
['resemblance'] = 'דמיון',
['skin_tone'] = 'גוון העור',
['nose_1'] = 'רוחב האף',
['nose_2'] = 'גובה שיא האף',
['nose_3'] = 'אורך שיא האף',
['nose_4'] = 'גובה עצם האף',
['nose_5'] = 'הורדת שיא האף',
['nose_6'] = 'סיבוב עצם האף',
['cheeks_1'] = 'גובה הלחיים',
['cheeks_2'] = 'רוחב הלחיים',
['cheeks_3'] = 'רוחב הלחיים',
['lip_fullness'] = 'מלאות השפתיים',
['jaw_bone_width'] = 'רוחב עצם הלסת',
['jaw_bone_length'] = 'אורך עצם הלסת',
['chin_height'] = 'גובה הסנטר',
['chin_length'] = 'אורך הסנטר',
['chin_width'] = 'רוחב הסנטר',
['chin_hole'] = 'גודל חור הסנטר',
['neck_thickness'] = 'עובי הצוואר',
['wrinkles'] = 'קמטים',
['wrinkle_thickness'] = 'עובי הקמטים',
['beard_type'] = 'סוג הזקן',
['beard_size'] = 'גודל הזקן',
['beard_color_1'] = 'צבע הזקן 1',
['beard_color_2'] = 'צבע הזקן 2',
['hair_1'] = 'שיער 1',
['hair_2'] = 'שיער 2',
['hair_color_1'] = 'צבע השיער 1',
['hair_color_2'] = 'צבע השיער 2',
['eye_color'] = 'צבע העיניים',
['eye_squint'] = 'קימוט העין',
['eyebrow_type'] = 'סוג הגבות',
['eyebrow_size'] = 'גודל הגבות',
['eyebrow_color_1'] = 'צבע הגבות 1',
['eyebrow_color_2'] = 'צבע הגבות 2',
['eyebrow_depth'] = 'עומק הגבות',
['eyebrow_height'] = 'גובה הגבות',
['makeup_type'] = 'סוג האיפור',
['makeup_thickness'] = 'עובי האיפור',
['makeup_color_1'] = 'צבע האיפור 1',
['makeup_color_2'] = 'צבע האיפור 2',
['lipstick_type'] = 'סוג השפתון',
['lipstick_thickness'] = 'עובי השפתון',
['lipstick_color_1'] = 'צבע השפתון 1',
['lipstick_color_2'] = 'צבע השפתון 2',
['ear_accessories'] = 'תכשיטים לאוזניים',
['ear_accessories_color'] = 'צבע התכשיטים לאוזניים',
['tshirt_1'] = 'חולצת טי 1',
['tshirt_2'] = 'חולצת טי 2',
['torso_1'] = 'גוף עליון 1',
['torso_2'] = 'גוף עליון 2',
['decals_1'] = 'מדבקות 1',
['decals_2'] = 'מדבקות 2',
['arms'] = 'ידיים',
['arms_2'] = 'ידיים 2',
['pants_1'] = 'מכנסיים 1',
['pants_2'] = 'מכנסיים 2',
['shoes_1'] = 'נעליים 1',
['shoes_2'] = 'נעליים 2',
['mask_1'] = 'מסיכה 1',
['mask_2'] = 'מסיכה 2',
['bproof_1'] = 'שריון נגד קליעים 1',
['bproof_2'] = 'שריון נגד קליעים 2',
['chain_1'] = 'שרשרת 1',
['chain_2'] = 'שרשרת 2',
['helmet_1'] = 'קסדה 1',
['helmet_2'] = 'קסדה 2',
['watches_1'] = 'שעונים 1',
['watches_2'] = 'שעונים 2',
['bracelets_1'] = 'צמידים 1',
['bracelets_2'] = 'צמידים 2',
['glasses_1'] = 'משקפיים 1',
['glasses_2'] = 'משקפיים 2',
['bag'] = 'תיק',
['bag_color'] = 'צבע התיק',
['blemishes'] = 'כתמים',
['blemishes_size'] = 'עובי הכתמים',
['ageing'] = 'הזדקנות',
['ageing_1'] = 'עובי ההזדקנות',
['blush'] = 'רוגז',
['blush_1'] = 'עובי הרוגז',
['blush_color'] = 'צבע הרוגז',
['complexion'] = 'מרקם העור',
['complexion_1'] = 'עובי המרקם',
['sun'] = 'שמש',
['sun_1'] = 'עובי השמש',
['freckles'] = 'נמשים',
['freckles_1'] = 'עובי הנמשים',
['chest_hair'] = 'שיער חזה',
['chest_hair_1'] = 'עובי שיער החזה',
['chest_color'] = 'צבע שיער החזה',
['bodyb'] = 'כתמים בגוף',
['bodyb_size'] = 'עובי הכתמים בגוף',
['bodyb_extra'] = 'השפעת כתמים בגוף',
['bodyb_extra_thickness'] = 'עובי השפעת הכתמים בגוף',
}