PlatypusDuBled Posté(e) le 19 juin 2020 Posté(e) le 19 juin 2020 Version de Minecraft : 1.7.10 Version de Skript : 2.X.X Type du skript : Skript Minecraft Roleplay Description du script : Bonjour je voudrais un Skript comme le plugin "lastStand" en gros dés q'un joueur a 0.5 coeur il ne puisse plus bouger et qu'il ne vois rien et que se joueur en vois un message a un joueur spécifier "médecin" (Besoin d'aide en:(Coordonné)) et que le médecin avec une commande puisse le enlever tout c'est effect et le Heal, si personne a utiliser la commande sur le joueur durant 10min le joueur meurt Voici le plugin en question: https://www.curseforge.com/minecraft/bukkit-plugins/laststand Je vous remercie pour votre travail Cordialement PlatypusDuBled
zarco70 Posté(e) le 19 juin 2020 Posté(e) le 19 juin 2020 ok c'est assez simple à faire mais je ne sais pas comment détecter si le joueur est medecin as tu une variable ou autre ? 1
PlatypusDuBled Posté(e) le 20 juin 2020 Auteur Posté(e) le 20 juin 2020 Zarco70 merci de ton message ,je ne connais vraiment rien mais comme c un métier une variable "groupe" sa ne marche pas ? je contacte un amis qui si connais un petit peut pour voir si il c'est la variable
PlatypusDuBled Posté(e) le 20 juin 2020 Auteur Posté(e) le 20 juin 2020 il y a 25 minutes, Project69XXX a dit : un système de coma quoi ? comment sa ?
zarco70 Posté(e) le 20 juin 2020 Posté(e) le 20 juin 2020 (modifié) Bon voila le skript command /soin [<player>]: trigger: if {death.%arg-1%} is true: set the maximum health of the arg-1 to 10 set {_loc} to block above arg-1's location kill {Amor.%arg-1%} teleport arg-1 to {_loc} send "&6&l[SOIN] &eVous avez soigné %arg-1%" send "&6&l[SOIN] &eVous avez été soigné par le medecin" to arg-1 make console execute command "/effect %arg-1% clear" heal arg-1 set {death.%arg-1%} to false delete {Amor.%arg-1%} else: send "&c&l[SOIN] &cCe joueur n'est pas mort" on damage of player: if {death.%victim%} is false: if damage >= victim's health: cancel event set the maximum health of the victim to 0 spawn a squid at block below victim set {Amor.%victim%} to last spawned entity apply potion of invisibility of tier 255 to the last spawned entity for 99999999999 second apply potion of blindness of tier 255 to the victim for 99999999999 second make victim ride last spawned entity set {death.%victim%} to true set {_x} to x-coord of location of victim set {_y} to y-coord of location of victim set {_z} to z-coord of location of victim send "&eHEY ! &6J'ai besoin d'aide en: %{_x}%, %{_y}%, %{_z}%" stop else: cancel event stop on toggle sneak: wait a tick if {death.%player%} is true: make player ride {Amor.%player%} on damage of squid: cancel event on death of squid: clear drops Mais du coup vu que j'ai pas de variable, je ne peux pas faire en sorte que la commande soit executable que par le medecin Utilise-tu GroupeManager pour creer le grade Medecin ? Modifié le 20 juin 2020 par zarco70
PlatypusDuBled Posté(e) le 23 juin 2020 Auteur Posté(e) le 23 juin 2020 Le 20/06/2020 à 19:16, zarco70 a dit : Bon voila le skript command /soin [<player>]: trigger: if {death.%arg-1%} is true: set the maximum health of the arg-1 to 10 set {_loc} to block above arg-1's location kill {Amor.%arg-1%} teleport arg-1 to {_loc} send "&6&l[SOIN] &eVous avez soigné %arg-1%" send "&6&l[SOIN] &eVous avez été soigné par le medecin" to arg-1 make console execute command "/effect %arg-1% clear" heal arg-1 set {death.%arg-1%} to false delete {Amor.%arg-1%} else: send "&c&l[SOIN] &cCe joueur n'est pas mort" on damage of player: if {death.%victim%} is false: if damage >= victim's health: cancel event set the maximum health of the victim to 0 spawn a squid at block below victim set {Amor.%victim%} to last spawned entity apply potion of invisibility of tier 255 to the last spawned entity for 99999999999 second apply potion of blindness of tier 255 to the victim for 99999999999 second make victim ride last spawned entity set {death.%victim%} to true set {_x} to x-coord of location of victim set {_y} to y-coord of location of victim set {_z} to z-coord of location of victim send "&eHEY ! &6J'ai besoin d'aide en: %{_x}%, %{_y}%, %{_z}%" stop else: cancel event stop on toggle sneak: wait a tick if {death.%player%} is true: make player ride {Amor.%player%} on damage of squid: cancel event on death of squid: clear drops Mais du coup vu que j'ai pas de variable, je ne peux pas faire en sorte que la commande soit executable que par le medecin Utilise-tu GroupeManager pour creer le grade Medecin ? Le skript ne marche pas c normal ?
Vengelis_ Posté(e) le 1 juillet 2020 Posté(e) le 1 juillet 2020 Le sujet n'a pas reçu de réponse pouvant le résoudre. Il a donc été verrouillé. Cordialement, l'équipe.
Messages recommandés