Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from gabrielcalderon/master
Browse files Browse the repository at this point in the history
Added support for Spanish locale.
  • Loading branch information
lfuelling authored May 31, 2020
2 parents f4379a1 + dc6ef86 commit 4a46785
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ This plugin has the following features:
- Configurable respawn location
- Mt. Zonah by default
- Respawn at random hospital can be enabled in [config.lua](config.lua).

## ES
ESX plugin que hace la muerte un poco mas configurable.

Este plugin tiene las siguientes opciones:

- Habilita la pantalla de muerte y te permite ver el cuerpo
- Tiempo de reaparicion configurable
- Armas, Inventario, y dinero pueden ser removidos en un fallecimiento (tambien permite que se queden).
- Lugar de reaparicion configurable.
- El hospital de Mt. Zonah, es la localidad de reaparicion por defecto.
- La reaparición en un hospital aleatorio se puede habilitar en [config.lua](config.lua).

## NL
ESX plugin die de dood wat meer configureerbaar maakt.
Expand Down
2 changes: 1 addition & 1 deletion config.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Config = {}

Config.Locale = 'en' -- Currently available: en, nl
Config.Locale = 'en' -- Currently available: en, es, nl

Config.RespawnTimer = 10000 -- time in milliseconds (10s by default)
Config.RandomRespawn = false
Expand Down
2 changes: 2 additions & 0 deletions fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ server_scripts {
client_scripts {
'@es_extended/locale.lua',
'locales/en.lua',
'locales/es.lua',
'locales/nl.lua',
'config.lua',
'client/main.lua',
}
Expand Down
5 changes: 5 additions & 0 deletions locales/es.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Locales['es'] = {
['respawn_available_in'] = 'Reaparecer estara disponible en ~b~%s minutos %s segundos~s~',
['respawn_prompt'] = 'Presione [~b~E~s~] para reaparecer',
['wasted'] = 'Fallecido',
}

0 comments on commit 4a46785

Please sign in to comment.