mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 02:01:31 +00:00
Italian language support + Doc for dynamic slots and minor improvements (#37)
* Added Italian language support + usability improvements * cleaner sql file Co-authored-by: d3rp-jsx <15928886+derp-jsx@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,12 @@
|
|||||||
Config = {}
|
Config = {}
|
||||||
Config.Locale = 'en'
|
Config.Locale = 'en'
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
-- This is the default number of slots for EVERY player
|
||||||
|
-- If you want to manage extra slots for specific players you can do it by using '/setslots' and '/remslots' commands
|
||||||
Config.Slots = 1
|
Config.Slots = 1
|
||||||
|
--------------------
|
||||||
|
|
||||||
Config.Spawn = vector4(-113.7, 565.3, 195.2, 0) -- Sets the location for character selection
|
Config.Spawn = vector4(-113.7, 565.3, 195.2, 0) -- Sets the location for character selection
|
||||||
-- To set the spawn location for new characters, modify the default value in the `users` SQL table
|
-- To set the spawn location for new characters, modify the default value in the `users` SQL table
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
CREATE TABLE `multicharacter_slots` (
|
CREATE TABLE `multicharacter_slots` (
|
||||||
`identifier` VARCHAR(60) NOT NULL DEFAULT '' COLLATE 'utf8mb4_unicode_ci',
|
`identifier` VARCHAR(60) NOT NULL,
|
||||||
`slots` INT(11) NOT NULL DEFAULT '1'
|
`slots` INT NOT NULL
|
||||||
)
|
);
|
||||||
COLLATE='utf8mb4_unicode_ci'
|
|
||||||
ENGINE=InnoDB
|
|
||||||
;
|
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
Locales['it'] = {
|
||||||
|
['male'] = "Maschio",
|
||||||
|
['female'] = "Femmina",
|
||||||
|
['delete_label'] = "Cancella %s %s?",
|
||||||
|
['select_char'] = "Seleziona Personaggio",
|
||||||
|
['create_char'] = "Crea un nuovo personaggio",
|
||||||
|
['char_play'] = "Gioca questo personaggio",
|
||||||
|
['char_delete'] = "Cancella questo personaggio",
|
||||||
|
['cancel'] = "Annulla",
|
||||||
|
['confirm'] = "Conferma",
|
||||||
|
['command_setslots'] = "Imposta il numero di slot di personaggi di un player",
|
||||||
|
['command_remslots'] = "Rimuovi il numero di slot di personaggi di un player",
|
||||||
|
['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",
|
||||||
|
}
|
||||||
@@ -8,6 +8,7 @@
|
|||||||
### Installation
|
### Installation
|
||||||
- Modify your ESX config with `Config.Multichar = true`
|
- Modify your ESX config with `Config.Multichar = true`
|
||||||
- Set your database name for `Config.Database` in server/main.lua
|
- Set your database name for `Config.Database` in server/main.lua
|
||||||
|
- Run `esx_multicharacter.sql` into your database
|
||||||
- All owner and identifier columns should be set to `VARCHAR(60)` to ensure correct data entry
|
- All owner and identifier columns should be set to `VARCHAR(60)` to ensure correct data entry
|
||||||
- The resource will attempt to set columns automatically
|
- The resource will attempt to set columns automatically
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user