• Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Solved Menu modif

    1.7.x
    1.7.10
    2
    2
    560
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      KrushHD last edited by

      Bonjour , je suis ici car j’ai un problème , je suis entrain de modifier mon GuiMainMenu avec le pack à robin, mais le problème c’est pour la position des bouton , comme sa ce passe ?

      GuiButton webSiteButton = new GuiButton(21, this.width / 2 - 150, x + y * 2, "\u00A7cSite");
      

      A quoi sert tous c’est chiffre / lettre ?

      this.width / 2 - 150, x + y * 2,
      

      Merci ! 🙂

      1 Reply Last reply Reply Quote 0
      • robin4002
        robin4002 Moddeurs confirmés Rédacteurs Administrateurs last edited by

        Salut,
        this.width = largeur
        x et y je ne sais pas sans le reste du code x)

        Le constructeur de la classe GuiButton est :
        GuiButton(id, coordonnée x, coordonnée y, nom à afficher).

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Design by Woryk
        Contact / Mentions Légales

        MINECRAFT FORGE FRANCE © 2018

        Powered by NodeBB