M.AddMenuButton

🇫🇷 : Ajout d'un bouton avec fonction quand on clique 🇬🇧 : Add a button with function when clicked

M.AddMenuButton("Button", {
        icon = "[name_of_your_image]",
        targetType = entityType,
        OnClick = function ()
            Your Code
        end
    })

🇫🇷 : Ajout d'un bouton simple sans fonction juste visuel 🇬🇧 : Add a simple button with no function, just a visual button

M.AddMenuButton("Button", {})

Dernière mise à jour