Je souhaiterai téléporter un joueur à un autre tout en mettant celui qui exécute la commande (/rtp <player> ) en vanish/gamemode 3.
Mon code:
options:
prefix: &4[Report]
Envoi_message: &4Report envoyer !
Recevoir_message: &4[Report] &c%arg 2% &aRaison-> %arg 3%
command /report [<player>] [<player>] [<text>]:
trigger:
if arg 1 is not set:
message "{@prefix} &cPseudo admin manquant"
stop
if arg 1 is set:
if arg 1 is not an op:
message "{@prefix} &cPseudo admin incorrecte !"
stop
if arg 2 is not set:
message "{@prefix} &cPseudo joueur manquant"
stop
if arg 2 is set:
if arg 3 is not set:
message "{@prefix} &cRaison manquante"
stop
if arg 3 is set:
send "{@Envoi_message}" to player
send "{@Recevoir_message}" to arg 1
play raw sound "note.pling" at player with pitch 1 volume 10
play raw sound "note.pling" at arg 1 with pitch 1 volume 10
command /rtp <player>:
trigger:
if arg 1 is not set:
message "&cPseudo manquant !"
stop
if arg 1 is set:
if player is op:
set {tpa.manque.%player%} to true
set {tpa.fait.%argument 1%} to the player
if {tpa.fait.%player%} is set:
teleport {tpa.fait.%player%} to the player
execute console command "/gamemode 3 %player%"
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.
Question
LaPetiteLucia
Je souhaiterai téléporter un joueur à un autre tout en mettant celui qui exécute la commande (/rtp <player> ) en vanish/gamemode 3.
Mon code:
options: prefix: &4[Report] Envoi_message: &4Report envoyer ! Recevoir_message: &4[Report] &c%arg 2% &aRaison-> %arg 3% command /report [<player>] [<player>] [<text>]: trigger: if arg 1 is not set: message "{@prefix} &cPseudo admin manquant" stop if arg 1 is set: if arg 1 is not an op: message "{@prefix} &cPseudo admin incorrecte !" stop if arg 2 is not set: message "{@prefix} &cPseudo joueur manquant" stop if arg 2 is set: if arg 3 is not set: message "{@prefix} &cRaison manquante" stop if arg 3 is set: send "{@Envoi_message}" to player send "{@Recevoir_message}" to arg 1 play raw sound "note.pling" at player with pitch 1 volume 10 play raw sound "note.pling" at arg 1 with pitch 1 volume 10 command /rtp <player>: trigger: if arg 1 is not set: message "&cPseudo manquant !" stop if arg 1 is set: if player is op: set {tpa.manque.%player%} to true set {tpa.fait.%argument 1%} to the player if {tpa.fait.%player%} is set: teleport {tpa.fait.%player%} to the player execute console command "/gamemode 3 %player%"1 réponse à cette question
Messages recommandés