gameZcraft Posté(e) le 18 avril 2016 Posté(e) le 18 avril 2016 Salut :3 ! J'aimerais saovoir comment faire pour qu'a la mort du joueur, il soit tp au warp attente et 3 minutes après il soit tp au /spawn. En vous remerciant par avance, Cordialement, GAMEZCRAFT.
a_poeler Posté(e) le 18 avril 2016 Posté(e) le 18 avril 2016 Yop ça fait longtemps que j'ai pas fait de skript mais je vais te le faire des que possible
Nashoba Posté(e) le 18 avril 2016 Posté(e) le 18 avril 2016 Non testé. J'ai mis une protection pour que si le serveur a été reload ou redemarré pendant que des joueurs attendent, s'ils se reconnectent avant 3 minutes ça les tp aux spawn. Et pour la command "/warp attente %player%" je ne suis pas sûr de la syntaxe. on respawn: wait 1 tick execute console command "/warp attente %player%" set {attente.%player%} to now set {attentenb.%player%} to {count.start} wait 3 minutes clear {attente.%player%} clear {attentenb.%player%} execute console command "/spawn %player%" on join: if difference between {attente.%player%} and now is greater than 3 minutes: clear {attente.%player%} clear {attentenb.%player%} execute console command "/spawn %player%" else if {attentenb.%player%} is not {count.start}: clear {attente.%player%} clear {attentenb.%player%} execute console command "/spawn %player%" on skript start: add 1 to {count.start} loop all players: clear {attente.%loop-player%} clear {attentenb.%player%} execute console command "/spawn %loop-player%" 1
Nashoba Posté(e) le 18 avril 2016 Posté(e) le 18 avril 2016 on skript start ? On peut ? Bien sûr, c'est comme "on server start" mais c'est plus conseillé d'utiliser "on skript start"
Messages recommandés