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.
function AddMenuNeeds-Menu(menu)
needs_menu = _menuPool:AddSubMenu(menu, _U('Menu_WC')
if _menuPool:AddSubMenu == 'needs_menu' then
TriggerEvent('esx-qalle-needs:openMenu')
end