diff --git a/config.lua b/config.lua index bda8e554..ca56aec7 100644 --- a/config.lua +++ b/config.lua @@ -1,7 +1,12 @@ Config = {} 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.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 diff --git a/esx_multicharacter.sql b/esx_multicharacter.sql index 9495bb5a..86fb2b36 100644 --- a/esx_multicharacter.sql +++ b/esx_multicharacter.sql @@ -1,7 +1,4 @@ CREATE TABLE `multicharacter_slots` ( - `identifier` VARCHAR(60) NOT NULL DEFAULT '' COLLATE 'utf8mb4_unicode_ci', - `slots` INT(11) NOT NULL DEFAULT '1' -) -COLLATE='utf8mb4_unicode_ci' -ENGINE=InnoDB -; + `identifier` VARCHAR(60) NOT NULL, + `slots` INT NOT NULL +); diff --git a/locales/it.lua b/locales/it.lua new file mode 100644 index 00000000..6bae31fb --- /dev/null +++ b/locales/it.lua @@ -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", +} diff --git a/readme.md b/readme.md index 35360673..ccd8dc76 100644 --- a/readme.md +++ b/readme.md @@ -8,6 +8,7 @@ ### Installation - Modify your ESX config with `Config.Multichar = true` - 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 - The resource will attempt to set columns automatically