Help KRZ Personal Menu function

Good evening everyone,
I have a problem with my krz_personalmenu ([Release][ESX/NativeUI] KRZ-PersonalMenu)

I would like to add a “MISCELLANEOUS” tab, and inside create submenus:

  • SIM management
  • Carry a person
  • Key management

But I can’t make the function call, here is an example of how I did it

RMenu.Add('personal', 'opensim', RageUI.CreateSubMenu(RMenu.Get('rageui', 'personal'), 'Gestion SIM'))

And here’s how my old menu works:

function AddMenuSIMMenu(menu)
    simMenu = _menuPool:AddSubMenu(menu, ('📲 ~o~Carte SIM'))

    local simItem = NativeUI.CreateItem(('Gestion des cartes SIM'), "")
    simMenu.SubMenu:AddItem(simItem)

    simMenu.SubMenu.OnItemSelect = function(sender, item, index)
        if item == simItem then
            openCarteSIM()
            _menuPool:CloseAllMenus()
        end
    end
end

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.