Aller au contenu
  • 0

Probleme avec un skript pvp


Question

Posté(e)

J'ai un probleme j'ai creer un skript sa me dit pas que j'ai des erreurs mais quand je click sur mon panneau sa fait rien alors que c'est au moin le 3eme skript que je code comme sa et qui fonctionne et la sa marche pas sachant que j'ai essayer avec une command genre /pvptest et mon code et sa marchais please help me mem en retirant les if au debut et le right sa marche pas !

 

on right click on sign:
   if line 1 is "[pvp]":
       if {ingame.pvp.%player%} is false:
           if {pvpstart} is false:
               teleport player to {pvpattente}
               open chest with 3 rows named "&6&lChoisis ton kit !" to player
               wait 1 tick
               format slot 11 of player with iron sword named "&8Kit Iron" with lore "&7Full fer + epee fer" to close then run [make player execute command "/kit iron %player%"]
               format slot 15 of player with bow named "&8Kit archer" with lore "&7Full cuit sauf casque et bottes en mail + epee bois et arc !" to close then run [make player execute command "/kit archer %player%"]

command /adminpvp <text>:
   trigger:
       if player is op:
           if arg 1 is "setattente":
               set {pvpattente} to location of player
               send "&c[Administration] &7[PvP] &aVous avez bien set le point d’attente du pvp !"




0 réponse à cette question

Messages recommandés

Il n’y a pas encore eu de réponse à cette question

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