Aller au contenu
  • 0

Gui Jobs


Question

Posté(e)

Salut aider mon code ne marche pas il y a que le grade rebelle qui marche et me dit quil ny a pas d'autre argument que le 1 Help !

 

on rightclick with a paper:
   open chest with 2 row named "&b&l[&3Jobs&b&l]" to player
   wait 0.1 tick
   format slot 0 of player with 5680 named "&9Rebelle" with lore "Rejoin la rebelion !" to run [make console execute command "/passerebelle %player%"]
   format slot 2 of player with 5 named "&9Taxi" with lore "Va conduire des gens ! !" to run [make console execute command "/passetaxi %player%"]
   format slot 2 of player with 5 named "&9Mercenaire" with lore "Va tué des gens ! !" to run [make console execute command "/passemerce %player%"]


command /passerebelle <player>:
   executables by: console
   trigger:
       if arg 1 is set:
           make console execute command "manuadd %arg-1% Rebelle"
           message "&6Tu viens de rejoindre la Rebellion !" to arg-1

command /passetaxi <player>:
   executables by: console
   trigger:
       if arg 2 is set:
           make console execute command "manuadd %arg-2% taxi"
           message "&6Tu viens d'être embaucher en Taxi !" to arg-2

command /passemerce <player>:
   executables by: console
   trigger:
       if arg 3 is set:
           make console execute command "manuadd %arg-3% mercenaire"
           message "&6Tu viens d'être embaucher en Taxi !" to arg-3

2 réponses à cette question

Messages recommandés

  • 0
Posté(e)
Salut aider mon code ne marche pas il y a que le grade rebelle qui marche et me dit quil ny a pas d'autre argument que le 1 Help !

 

on rightclick with a paper:
   open chest with 2 row named "&b&l[&3Jobs&b&l]" to player
   wait 0.1 tick
   format slot 0 of player with 5680 named "&9Rebelle" with lore "Rejoin la rebelion !" to run [make console execute command "/passerebelle %player%"]
   format slot 2 of player with 5 named "&9Taxi" with lore "Va conduire des gens ! !" to run [make console execute command "/passetaxi %player%"]
   format slot 2 of player with 5 named "&9Mercenaire" with lore "Va tué des gens ! !" to run [make console execute command "/passemerce %player%"]


command /passerebelle <player>:
   executables by: console
   trigger:
       if arg 1 is set:
           make console execute command "manuadd %arg-1% Rebelle"
           message "&6Tu viens de rejoindre la Rebellion !" to arg-1

command /passetaxi <player>:
   executables by: console
   trigger:
       if arg 2 is set:
           make console execute command "manuadd %arg-2% taxi"
           message "&6Tu viens d'être embaucher en Taxi !" to arg-2

command /passemerce <player>:
   executables by: console
   trigger:
       if arg 3 is set:
           make console execute command "manuadd %arg-3% mercenaire"
           message "&6Tu viens d'être embaucher en Taxi !" to arg-3

Met en résolue et va voir sur ta demande de Skript je tes répondue !

×
×
  • 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.