Neant_PvP Posté(e) le 5 juin 2016 Posté(e) le 5 juin 2016 Bonjours, je voudrait un skript spawn quand tu te conect part grade donc je m'explique mieux: Exemple: Un civil se co's sa le tp a son spawn, mais si un Gendarme se connecte sa le tp a son point de spawn ;c Je ne sais pas si c'est posible en skript :c mais j'voudrait bien qu'on m'aide merci !
JiingoPvp² Posté(e) le 5 juin 2016 Posté(e) le 5 juin 2016 command "/setspawn [<text>]": trigger: if arg 1 is "Civil": set {spawn.Civil} to location of player if arg 1 is "Gendarme": set {spawn.Gendarme} to location of player if arg 1 is "G.I.G.N": set {spawn.GIGN} to location of player if arg 1 is "B.I.R": set {spawn.BIR} to location of player if arg 1 is "Pompier": set {spawn.Pompier} to location of player on join: if player is "Civil": teleport player to {spawn.Civil} if player is "Gendarme": teleport player to {spawn.Gendarme} if player is "G.I.G.N": teleport player to {spawn.GIGN} if player is "B.I.R": teleport player to {spawn.BIR} if player is "Pompier": teleport player to {spawn.Pompier} Si tu as un problème dit le moi PS n'oublie pas le like :D
Neant_PvP Posté(e) le 5 juin 2016 Auteur Posté(e) le 5 juin 2016 command "/setspawn [<text>]": trigger: if arg 1 is "Civil": set {spawn.Civil} to location of player if arg 1 is "Gendarme": set {spawn.Gendarme} to location of player if arg 1 is "G.I.G.N": set {spawn.GIGN} to location of player if arg 1 is "B.I.R": set {spawn.BIR} to location of player if arg 1 is "Pompier": set {spawn.Pompier} to location of player on join: if player is "Civil": teleport player to {spawn.Civil} if player is "Gendarme": teleport player to {spawn.Gendarme} if player is "G.I.G.N": teleport player to {spawn.GIGN} if player is "B.I.R": teleport player to {spawn.BIR} if player is "Pompier": teleport player to {spawn.Pompier} Si tu as un problème dit le moi PS n'oublie pas le like :D Comment ça marche? :c
> NoaGamingFR Posté(e) le 5 juin 2016 Posté(e) le 5 juin 2016 Essaie ça: command /setspawn [<text>]: trigger: if arg 1 is "Civil": set {spawn.Civil} to location of player if arg 1 is "Gendarme": set {spawn.Gendarme} to location of player if arg 1 is "G.I.G.N": set {spawn.GIGN} to location of player if arg 1 is "B.I.R": set {spawn.BIR} to location of player if arg 1 is "Pompier": set {spawn.Pompier} to location of player on join: wait 2 ticks if "%player's displayname%" contains "Civil": teleport player to {spawn.Civil} if "%player's displayname%" contains "Gendarme": teleport player to {spawn.Gendarme} if "%player's displayname%" contains "G.I.G.N": teleport player to {spawn.GIGN} if "%player's displayname%" contains "B.I.R": teleport player to {spawn.BIR} if "%player's displayname%" contains "Pompier": teleport player to {spawn.Pompier}
Messages recommandés