Aller au contenu

Skript menu avec tout les joueur du serveur dedans.


Messages recommandés

Posté(e)

Boujour, j'aimerai un skript ou lorsqu'on click droit avec un livre, ça ouvre un menu avec toute les des tete rename le nom du joueur ,et des que l'on click sur une d'elle ça nous tp au joueur .Je voudrais la meme avec un eye of ender mais quand on click sur la tete du joueur sa fasse la commande "/invview <player>"

 

Merci d'avance

Posté(e)

Question ? Le InvView c'est mon Skript ? ^^ Si oui, merci de l'utiliser.

Voilà ce que tu veux:

 

on rightclick with book:
   open chest with 3 rows named "&a%number of all players%  Joueurs" to player
   wait 1 tick
   set {_slot} to 0
   loop all players:
       wait 1 tick
       set {_player} to name of loop-player
       format slot {_slot} of player with loop-player's skull named "&a%loop-player%" to close then run [make player execute command "invview %loop-player%"]
       add 1 to {_slot}

Posté(e)
Question ? Le InvView c'est mon Skript ? ^^ Si oui, merci de l'utiliser.

Voilà ce que tu veux:

 

on rightclick with book:
   open chest with 3 rows named "&a%number of all players%  Joueurs" to player
   wait 1 tick
   set {_slot} to 0
   loop all players:
       wait 1 tick
       set {_player} to name of loop-player
       format slot {_slot} of player with loop-player's skull named "&a%loop-player%" to close then run [make player execute command "invview %loop-player%"]
       add 1 to {_slot}

Ptit problème c'est que quand je click sur la tete d'un autre joueur ça me laisse l'inventaire de celui d'avant :/

Posté(e)
Ptit problème c'est que quand je click sur la tete d'un autre joueur ça me laisse l'inventaire de celui d'avant :/

alors fait executer une commande avec un wait 1 tick et un execute player command "invview ..."

Posté(e)
alors fait executer une commande avec un wait 1 tick et un execute player command "invview ..."

Donne le skript qui marche stp j'ai pas compris :/

Posté(e)
on rightclick with book:
   open chest with 3 rows named "&a%number of all players%  Joueurs" to player
   wait 4 tick
   set {_slot} to 0
   loop all players:
       wait 1 tick
       set {_player} to name of loop-player
       format slot {_slot} of player with loop-player's skull named "&a%loop-player%" to close then run [make player execute command "invview %loop-player%"]
       add 1 to {_slot}

Posté(e)
on rightclick with book:
   open chest with 3 rows named "&a%number of all players%  Joueurs" to player
   wait 4 tick
   set {_slot} to 0
   loop all players:
       wait 1 tick
       set {_player} to name of loop-player
       format slot {_slot} of player with loop-player's skull named "&a%loop-player%" to close then run [make player execute command "invview %loop-player%"]
       add 1 to {_slot}

Merci

Posté(e)
on rightclick with book:
   open chest with 3 rows named "&a%number of all players%  Joueurs" to player
   wait 4 tick
   set {_slot} to 0
   loop all players:
       wait 1 tick
       set {_player} to name of loop-player
       format slot {_slot} of player with loop-player's skull named "&a%loop-player%" to close then run [make player execute command "invview %loop-player%"]
       add 1 to {_slot}

ça marche toujours pas :/

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