Try to make this line of code work. thank you in advance :-)

Hello people, I hope you are well? Can I ask for help to make this little code work? I am still a beginner. Help would be greatly appreciated. thank you to those who will help me. :smile:

function AddMenuNeeds-Menu(menu)
	needs_menu = _menuPool:AddSubMenu(menu, _U('Menu_WC') 
	if _menuPool:AddSubMenu == 'needs_menu' then
    TriggerEvent('esx-qalle-needs:openMenu')
end

a little help please, I try to put it in this menu below, be nice I am beginner, I remind you that we all start start once …

thank you a thousand times to the one who will help me and who will have the heart under in hand.