diff --git a/server-data/resources/[esx]/esx_multicharacter/client/main.lua b/server-data/resources/[esx]/esx_multicharacter/client/main.lua index d084a036f..c42c0dcce 100644 --- a/server-data/resources/[esx]/esx_multicharacter/client/main.lua +++ b/server-data/resources/[esx]/esx_multicharacter/client/main.lua @@ -141,7 +141,7 @@ if ESX.GetConfig().Multichar then }) end - function CharacterDeleteConfirmation(Characters, slots, SelectedCharacter, value) + function CharacterDeleteConfirmation(slots, SelectedCharacter, value) local elements = { { title = _U('char_delete_confirmation'), icon = "fa-solid fa-users", description = _U('char_delete_confirmation_description'), unselectable = true }, { title = _U('char_delete'), icon = "fa-solid fa-xmark", description = _U('char_delete_yes_description'), action = 'delete', value = value }, @@ -159,7 +159,7 @@ if ESX.GetConfig().Multichar then end, nil, false) end - function CharacterOptions(Characters, slots, SelectedCharacter) + function CharacterOptions(slots, SelectedCharacter) local elements = { { title = _U('character', Characters[SelectedCharacter.value].firstname .. " " .. Characters[SelectedCharacter.value].lastname), icon = "fa-regular fa-user", unselectable = true }, { title = _U('return'), unselectable = false, icon = "fa-solid fa-arrow-left", description = _U('return_description'), action = "return" } } if not Characters[SelectedCharacter.value].disabled then @@ -183,7 +183,7 @@ if ESX.GetConfig().Multichar then end, nil, false) end - function SelectCharacterMenu(Characters, slots) + function SelectCharacterMenu(slots) local Character = next(Characters) local elements = { { title = _U('select_char'), icon = "fa-solid fa-users", description = _U('select_char_description'), unselectable = true } } for k, v in pairs(Characters) do