-
Compteur de contenus
2 270 -
Inscription
-
Dernière visite
-
Jours gagnés
61
Type de contenu
Profils
Forums
Téléchargements
Tout ce qui a été posté par Yghore
-
on flight toggle: if player's gamemode is not creative: cancel event Ceci devrait marcher
-
Le deuxième car le premier enleve tout les dégâts
-
C'est bien ce que hé dit plus haut
-
Tu devrais utiliser des loop. ^^
-
Tu connais pas ça ?: Mais ton code ici sinon. Pour le message rouge c'est essentiels et pour ce vive la boussole c'est ça : on join: give a compass named "tonnom" On death: Give a compass named "ton nom" Sinon tu peut utiliser set slot ect. ..
-
Tu pourra aussi le personnaliser :D
-
Moi je le fais en skript :D
-
Ça peut être un skript ou un plugins :D
-
Oki :D: command /ghost <text> [<text>]: trigger: if arg 1 is "join": if {ghost.join::%player%} is false: add 1 to {ghost.start} broadcast "&a%player% vient de rejoindre ! &b%{ghost.start}%/10" set {ghost.join::%player%} to true set {ghost.fin::%player%} to "" teleport player to {ghost.lobby} if {ghost.start} is equal to 10: #Pour le start set {ghost.en.cours} to true set {_s} to 10 loop 10 times: remove 1 from {_s} send message "&7La partie commence dans &e%{_s}% secondes" to loop-player play raw sound "level_random" at player with pitch 1 volume 10 wait 1 second loop all players: set {_r} to a random integer between 1 and 10 # Pour le random wait 0.5 tick if player is in {ghost.start}: teleport loop value to {ghost.list::%{_r}%} apply invisibility to {ghost.fin::*} for 15 seconds else: send "&aTu a deja de rejoindre la file d'attente !" if arg 1 is "leave": remove 1 from {ghost.start} broadcast "&b[Ghost&4] &a%player% vient de quitté ! %{ghost.start}%/10" teleport player to {ghost.quit} set {ghost.join::%player%} to false if {ghot.spectator} is true: make console execute "/fly %player%" set {ghot.spectator} to false set {ghost.chat.spectator} to false reveal player to all players if arg 1 is "setlobby": set {ghost.lobby} to location of player send "Tu viens de set le Lobby de Jeux !" if arg 1 is "setquit": set {ghost.quit} to location of player send "Tu vient de set le spawn de fin !" if arg 1 is "spectactor": broadcast "&4[&bGhost&4] &a%player% vient de rejoindre en tant que spectacteur" set {ghost.chat.spectator} to true set {ghot.spectator} to true make console execute "/fly %player%" hide player to all players if arg 1 is "stop": if player has permissions "ghost.stop": teleport {ghost.fin::*} to {ghost.quit} delete {ghost.join::*} delete {ghost.fin::*} delete {ghost.start} set {ghost.en.cours} to false send "&4Tu vient de stoper le jeux !" if arg 1 is "setspawn": if arg 2 is "1": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::1} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "2": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::2} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "3": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::3} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "4": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::4} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "5": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::5} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "6": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::6} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "7": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::7} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "8": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::8} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "9": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::9} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if player has permissions "ghost.setspawn": if arg 2 is "10": add arg 2 to {ghost.loc::*} set {ghost.loc::10} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" on break: if {ghost.join.%player%} is true: cancel event on place: if {ghost.join.%player%} is true: cancel event on death of player: if {ghost.join.%attacker%} is true: if {ghost.join.%victim%} is true: add 1 to {ghost.points.%attacker%} if {ghost.points.%attacker%} is equal to 10: broadcast "&a Fin de la partit: &b%player% &aVient de Win la partit !" teleport {ghost.fin::*} to {ghost.quit} delete {ghost.start} delete {ghost.join::%player%} # Panneaux # on rightclick on sign: if targeted block is a sign: if line 1 is "[Ghost]": if line 2 is "Join": wait 1 tick set line 3 to "&4%{ghost.start}%/10" make player execute "/ghost join" if {ghost.start} is equal to 10: set line 2 to "&4En cours" set line 3 to "" on rightclick on sign: if targeted block is a sign: if line 1 is "[Ghost]": if line 2 is "&4En cours": make player execute "/ghost spectactor" if {ghost.en.cours} is false: set line 2 to "Join" set line 3 to "" on chat: if {ghost.chat.spectator} is true: cancel event send "&4Tu ne peut pas parler quand tu et spectacteur !" command /test: trigger: set {ghost.join::%player%} to false command /test1: trigger: remove 1 from {ghost.start} command /add: trigger: add 1 to {ghost.start}
-
d'accord je relge ca probleme sinon pour la teleportation ?
-
le {_random} c'est ma faute xD enfaite je veux teleporter les joueur qui sont loop :D
-
Tiens ca devrait marcher: command /ghost <text> [<text>]: trigger: if arg 1 is "join": if {ghost.join::%player%} is false: add 1 to {ghost.start} broadcast "&a%player% vient de rejoindre ! &b%{ghost.start}%/10" set {ghost.join::%player%} to true set {ghost.fin::%player%} to "" teleport player to {ghost.lobby} if {ghost.start} is equal to 10: #Pour le start set {ghost.en.cours} to true set {_s} to 10 loop 10 times: remove 1 from {_s} send message "&7La partie commence dans &e%{_s}% secondes" to loop-player play raw sound "level_random" at player with pitch 1 volume 10 wait 1 second loop all players: set {_r} to a random integer between 1 and 10 # Pour le random wait 0.5 tick if loop-player is in {ghost.start}: teleport loop-player to {ghost.list::%{_r}%} apply invisibility to loop-player for 15 seconds else: send "&aTu a deja de rejoindre la file d'attente !" if arg 1 is "leave": remove 1 from {ghost.start} broadcast "&b[Ghost&4] &a%player% vient de quitté ! %{ghost.start}%/10" teleport player to {ghost.quit} set {ghost.join::%player%} to false if {ghot.spectator} is true: make console execute "/fly %player%" set {ghot.spectator} to false set {ghost.chat.spectator} to false reveal player to all players if arg 1 is "setlobby": set {ghost.lobby} to location of player send "Tu viens de set le Lobby de Jeux !" if arg 1 is "setquit": set {ghost.quit} to location of player send "Tu vient de set le spawn de fin !" if arg 1 is "spectactor": broadcast "&4[&bGhost&4] &a%player% vient de rejoindre en tant que spectacteur" set {ghost.chat.spectator} to true set {ghot.spectator} to true make console execute "/fly %player%" hide player to all players if arg 1 is "stop": if player has permissions "ghost.stop": teleport {ghost.fin::*} to {ghost.quit} delete {ghost.join::*} delete {ghost.fin::*} delete {ghost.start} set {ghost.en.cours} to false send "&4Tu vient de stoper le jeux !" if arg 1 is "setspawn": if arg 2 is "1": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::1} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "2": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::2} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "3": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::3} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "4": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::4} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "5": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::5} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "6": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::6} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "7": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::7} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "8": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::8} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "9": if player has permissions "ghost.setspawn": add arg 2 to {ghost.loc::*} set {ghost.loc::9} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if player has permissions "ghost.setspawn": if arg 2 is "10": add arg 2 to {ghost.loc::*} set {ghost.loc::10} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" on break: if {ghost.join.%player%} is true: cancel event on place: if {ghost.join.%player%} is true: cancel event on death of player: if {ghost.join.%attacker%} is true: if {ghost.join.%victim%} is true: add 1 to {ghost.points.%attacker%} if {ghost.points.%attacker%} is equal to 10: broadcast "&a Fin de la partit: &b%player% &aVient de Win la partit !" teleport {ghost.fin::*} to {ghost.quit} delete {ghost.start} delete {ghost.join::%player%} # Panneaux # on rightclick on sign: if targeted block is a sign: if line 1 is "[Ghost]": if line 2 is "Join": wait 1 tick set line 3 to "&4%{ghost.start}%/10" make player execute "/ghost join" if {ghost.start} is equal to 10: set line 2 to "&4En cours" set line 3 to "" on rightclick on sign: if targeted block is a sign: if line 1 is "[Ghost]": if line 2 is "&4En cours": make player execute "/ghost spectactor" if {ghost.en.cours} is false: set line 2 to "Join" set line 3 to "" on chat: if {ghost.chat.spectator} is true: cancel event send "&4Tu ne peut pas parler quand tu et spectacteur !" command /test: trigger: set {ghost.join::%player%} to false command /test1: trigger: remove 1 from {ghost.start} command /add: trigger: add 1 to {ghost.start}
-
Voila voila :D j'ai fait ca pour la téléporation mais ca ne marche pas : loop all players: send message "&7La partie commence dans &e%{_s}% secondes" to loop-player play raw sound "level_random" at player with pitch 1 volume 10 wait 1 second loop all players: set {_r} to a random integer between 1 and 10 # Pour le random wait 0.5 tick if player is in {ghost.start}: teleport loop value to {ghost.list::%{_random}%} apply invisibility to {ghost.fin::*} for 15 seconds une idée ? Voici l'erreur: 'to {ghost.list::%{_random}%}' is not an entity type
-
Mais pourquoi ça ne marche pas ?
-
Pardon:D Tiens voila Ps: il y a une erreur avec le "teleport loop-player to a random element of {ghost.loc::*}" et le spectator qui et pas fait mais je le termine se soir :D command /ghost <text> [<text>]: trigger: if arg 1 is "join": if {ghost.join::%player%} is false: add 1 to {ghost.start} broadcast "&a%player% vient de rejoindre ! &b%{ghost.start}%/10" set {ghost.join::%player%} to true set {ghost.fin::%player%} to "" teleport player to {ghost.lobby} if {ghost.start} is equal to 10: set {ghost.en.cours} to true loop 30 times: remove 1 from {_s} loop all players: send message "&7La partie commence dans &e%{_s}% secondes" to loop-player play raw sound "level_random" at player with pitch 1 volume 10 wait 1 second loop all players: set {_r} to a random integer between 1 and 10 wait 0.5 tick teleport loop-player to a random element of {ghost.loc::*} apply invisibility to {ghost.fin::*} for 15 seconds else: send "&4La partit et en cours !" else: send "&aTu vient de rejoindre la file d'attente !" if arg 1 is "leave": remove 1 from {ghost.start} broadcast "%player% vient de quitté ! %{ghost.start}%/10" teleport player to {ghost.quit} set {ghost.join.%player%} to false if arg 1 is "setlobby": set {ghost.lobby} to location of player send "Tu viens de set le Lobby de Jeux !" if arg 1 is "setquit": set {ghost.quit} to location of player send "Tu vient de set le spawn de fin !" if arg 1 is "setspawn": if arg 2 is "1": set {ghost.loc::1} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "2": set {ghost.loc::2} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "3": set {ghost.loc::3} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "4": set {ghost.loc::4} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "5": set {ghost.loc::5} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "6": set {ghost.loc::6} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "7": set {ghost.loc::7} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "8": set {ghost.loc::8} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "9": set {ghost.loc::9} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" if arg 1 is "setspawn": if arg 2 is "10": set {ghost.loc::10} to location of player send "&aTu vient de set le Spawn &b: %arg 2%" on break: if {ghost.join.%player%} is true: cancel event on place: if {ghost.join.%player%} is true: cancel event on death of player: if {ghost.join.%attacker%} is true: if {ghost.join.%victim%} is true: add 1 to {ghost.points.%attacker%} if {ghost.points.%attacker%} is equal to 10: broadcast "&a Fin de la partit: &b%player% &aVient de Win la partit !" teleport {ghost.fin::*} to {ghost.quit} delete {ghost.start} delete {ghost.join::%player%} # Panneaux # on rightclick on sign: if targeted block is a sign: if line 1 is "[Ghost]": if line 2 is "Join": wait 1 tick set line 3 to "&4%{ghost.start}%/10" make player execute "/ghost join" if {ghost.start} is equal to 10: set line 2 to "&4En cours" set line 3 to "" on rightclick on sign: if targeted block is a sign: if line 1 is "[Ghost]": if line 2 is "&4En cours": make player execute "/ghost spectator" if {ghost.en.cours} is false: set line 2 to "Join" set line 3 to ""
-
si je pense que si tu set une options qui définie le nombres de rows et que tu réutilise l'option pour ton code tu vois ce que je veux dire ?
-
Ok je vois je te fait ca apres
-
Tu peut un peux mieux expliquer les fantomes Stp :D
-
Recher un peux sur le fofo il y a en pas mal :D
