Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /hubpvp:
- trigger:
- if player isn't in {Attente::*}:
- add player to {Attente::*}
- if size of {Attente::*} >= 2:
- if {AreneEnCours} is false:
- set {_player1} to the first element out of {Attente::*}
- set {_player2} to the second element out of {Attente::*}
- remove {_player1} from {Attente::*}
- remove {_player2} from {Attente::*}
- teleport {_player1} to {Hubarene1}
- teleport {_player2} to {Hubarene2}
- set {AreneEnCours} to true
- command /hubpvpsetspawn1:
- trigger:
- if {Hubarene1} is not set:
- set {Hubarene1} to true
- set {Hubarene1} to location of player
- if {Hubarene1} is true:
- message "&cLe spawnpoint n°1 est déjà défini" to player
- command /hubpvpsetspawn2:
- trigger:
- if {Hubarene2} is not set:
- set {Hubarene2} to true
- set {Hubarene2} to location of player
- if {Hubarene2} is true:
- message "&cLe spawnpoint n°2 est déjà défini" to player
Advertisement
Add Comment
Please, Sign In to add comment