Aller au contenu

Messages recommandés

Posté(e)

Bonjour, je voudrais quelque chose, merci de me le donner très vite.

 

C'est un exemple qui colle parfaitement à ta demande ....

Dans ton gui tu veux différencier le leftclick/rightclick ?

La money que tu utilise viens d'un skript ?

Tu veux quoi comme type d'item dedans?

Et je peux continuer très longtemps comme ça

Posté(e)

Je peux te proposer ça a édit :

 

 

 

 

on join:
   set slot 4 of player to a Stone Sword named "&c&lBoutique"  


on rightclick with Stone Sword:
   cancel event
   if player is holding a Stone Sword named "&c&lBoutique":
       open chest with 3 rows named "&o&9Marché CrazyPvP" to player
       wait 1 tick
       format slot 0 of player with White Stained Glass Pane named " " to close
       format slot 1 of player with White Stained Glass Pane named " " to close
       format slot 2 of player with White Stained Glass Pane named " " to close
       format slot 3 of player with White Stained Glass Pane named " " to close
       format slot 4 of player with White Stained Glass Pane named " " to close
       format slot 5 of player with White Stained Glass Pane named " " to close
       format slot 6 of player with White Stained Glass Pane named " " to close
       format slot 7 of player with White Stained Glass Pane named " " to close
       format slot 8 of player with White Stained Glass Pane named " " to close
       format slot 9 of player with White Stained Glass Pane named " " to close
       format slot 10 of player with Diamond Sword named "&cGrade1" to close
       format slot 11 of player with White Stained Glass Pane named " " to close
       format slot 12 of player with Iron Sword named "&cGrade2" to close
       format slot 13 of player with White Stained Glass Pane named " " to close
       format slot 14 of player with Stone Sword named "&cGrade3" to close
       format slot 15 of player with White Stained Glass Pane named " " to close
       format slot 16 of player with Golden Sword named "&cGrade4" to close
       format slot 18 of player with White Stained Glass Pane named " " to close
       format slot 17 of player with White Stained Glass Pane named " " to close
       format slot 19 of player with White Stained Glass Pane named " " to close
       format slot 20 of player with White Stained Glass Pane named " " to close
       format slot 21 of player with White Stained Glass Pane named " " to close
       format slot 22 of player with White Stained Glass Pane named " " to close
       format slot 23 of player with White Stained Glass Pane named " " to close
       format slot 24 of player with White Stained Glass Pane named " " to close
       format slot 25 of player with White Stained Glass Pane named " " to close
       format slot 26 of player with White Stained Glass Pane named " " to close

 

PS :

 

Je n'ais pas eu plus d'info et je débute

  • J'aime 1
Posté(e)

Salut !

Je sais pas si c'est sa mais tiens !

on join:
   set slot 8 of player to a ender chest named "&9&lBoutique &7 (clic droit)"

#le nom de la money Swagg Man Gros !!
options:

   logo: &5MineMoney

on rightclick with ender chest:
   if player is holding a ender chest named "&9&lBoutique &7 (clic droit)":
       cancel event
       open chest with 3 rows named "&c&lMarché CrazyPvP" to player
       wait 1 tick
       format slot 0 of player with iron helmet named "&8Chapeau en Fer" with lore "&6Prix : 3000 {@logo}" to run [make player execute command "/achat %player% ironhelmet"]



command /Money <player> <text> <number>:
   permission: money.Moderator
   trigger:
       if arg 1 is not set:
           send "&c&l Tu dois préciser un joueur exemple /money Pseudo add 300"
       if arg 2 is "add":
           add arg-3 to {money.%arg-1%}
       else if arg 2 is "remove":
           remove arg-3 from {money.%arg-1%}
       else:
           send "&b&o Tu dois Mettre /money Pseudo Add Nombre pour ajouter de l'argent sinon /money Pseudo remove nombre pour enlever de l'argent !"


command /achat <player> <text>:
   trigger:
       if arg 2 is "ironhelmet":
           if {money.%arg-1%} > 3000:
               remove 3000 from {money.%arg-1%}
               give a iron helmet to arg-1
               send "&b Ton achat a bien été effectué !"
           else if {money.%arg-1%} < 3000:
               send "&c&6Tu n'as pas assez de {@logo}"

 

edit rajoute sa pour eviter le <none> en argent !!

on first join:
   make player execute command "/money %player% add 0"

 

Pour give de l'argent /money Joueur add Nombre

Pour enlever de l'argent /money Joueur remove Nombre

a toi de continué le Code !!

 

PS: Lache un pouce Bleu !! Comme un Stroumph !!

  • J'aime 2
×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.