Aller au contenu

Messages recommandés

Posté(e)

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 !

Posté(e)

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

Posté(e)
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

Posté(e)

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}

×
×
  • Créer...

Information importante

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.