Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ end)
CreateThread(function()
while true do
Wait(0)
if IsDisabledControlJustReleased(0, 0xB238FE0B) and IsInputDisabled(0) then -- key open inventory Tab Key
if IsDisabledControlJustReleased(0, 0xC1989F95) and IsInputDisabled(0) then -- key open inventory Tab Key
if not PlayerData.metadata["isdead"] and not PlayerData.metadata["inlaststand"] and not PlayerData.metadata["ishandcuffed"] and not IsPauseMenuActive() then
local ped = PlayerPedId()
if CurrentDrop ~= 0 then
Expand Down
1 change: 1 addition & 0 deletions fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ version '1.0.1'
shared_scripts {
'@qbr-core/shared/locale.lua',
'locales/en.lua',
'locales/*.lua',
'config.lua',
}

Expand Down
48 changes: 48 additions & 0 deletions locales/es.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
local Translations = {
error = {
failed = "Falló",
not_owned = "¡No eres propietario de este artículo!",
no_near = "¡No hay nadie cerca!",
no_access = "No accesible",
veh_locked = "¡El vehículo está bloqueado!",
not_exist = "¿El elemento no existe?",
no_cash = "No tienes suficiente efectivo...",
missing_item = "No tienes los elementos correctos...",
tú mismo = "¿No puedes darte un artículo?",
toofar = "¡Estás demasiado lejos para regalar objetos!",
otherfull = "¡El inventario de otros jugadores está lleno!",
invfull = "¡Tu inventario está lleno!",
not_enough = "No tienes suficientes elementos para transferir",
invalid_type = "No es un tipo válido...",
argumentos = "Argumentos no completados correctamente...",
cant_give = "¡No puedo dar el artículo!",
invalid_amount = "Cantidad no válida",
not_online = "El jugador no está en línea",
},
success = {
bought_item = "%{item} comprado!",
recieved = "¡Recibiste %{amount}x %{item} de %{firstname} %{lastname}!",
gave = "Usted dio %{firstname} %{lastname} %{amount}x %{item}!",
yougave = "¡Has dado %{name} %{amount}x %{item}!",
},
info = {
pickup_snow = "Recogiendo bolas de nieve...",
stash_none = "Alijo-Ninguno",
stash = "alijo-",
trunk_none = "Troncal-Ninguno",
trunk = "tronco-",
glove_none = "Guantera-Ninguno",
glovebox = "Guantera-",
playerLabel = "Jugador-",
drop_none = "No eliminado",
dropped = "Caído-",
}
}

if GetConvar('qbr_locale', 'en') == 'es' then
Lang = Locale:new({
phrases = Translations,
warnOnMissing = true,
fallbackLang = Lang,
})
end