Zelek_ 0 Opublikowano 30 grudnia 2014 Udostępnij Opublikowano 30 grudnia 2014 Cześć.Mógby mi ktoś napisać skrypt dzięki, któremu na każdej mapie byłby oddzielny spawn? Chodzi mi o to że gdy gracz wpisze /spawn to teleportuje go na spawn tej mapy, a gdy wpisze /lobby to teleportuje na główną mapę. Jeśli się nie da to trudno :/ Odnośnik do komentarza https://skript.pl/temat/5336-teleport-na-spawna-i-lobby/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 xxdemonxx 1 Opublikowano 30 grudnia 2014 Udostępnij Opublikowano 30 grudnia 2014 (edytowane) Masz tu na lobby Komenda "/lobby set" ustawia gdzie ma tepac (potrzebna permisja "lobby.ustaw")Komenda "/lobby" tepa w ustawione miejsce command /lobby [<text>]: trigger: if arg 1 is not set: if {teleport.lobby} is set: teleport player to {teleport.lobby} else if {teleport.lobby} is not set: send "&cLobby nie zostalo ustawione" if arg 1 is "set": if player has permission "lobby.ustaw": set {teleport.lobby} to location of player send "&cUstawiles lobby serwera" else: send "&cNie posiadasz wystarczajacych uprawnien" Z spawnami dam ci szablon, może ogarniesz lecz inaczej nie umiem tego napisać.Potrzebna permisja "spawn.ustaw", aby ustawic spawn wpisz "/spawn set creative/freebuild"Aby teleportowac sie na spawn wpisz "/spawn" command /spawn [<text>] [<text>]: trigger: if arg 1 is not set: if player is in world "creative": if {spawn.creative} is set: teleport player to {spawn.creative} else: send "&cSpawn nie jest ustawiony!" if player is in world "freebuild": if {spawn.freebuild} is set: teleport player to {spawn.freebuild} else: send "&cSpawn nie jest ustawiony!" if arg 1 is "set": if player has permission "spawn.ustaw": if arg 2 is "creative": set {spawn.creative} to location of player send "&cUstawiles spawn creative" if arg 2 is "freebuild": set {spawn.freebuild} to location of player send "&cUstawiles spawn freebuild" else: send "&cNie posiadasz wystarczajacych uprawnien" Edytowane 30 grudnia 2014 przez xxdemonxx Odnośnik do komentarza https://skript.pl/temat/5336-teleport-na-spawna-i-lobby/#findComment-44226 Udostępnij na innych stronach Więcej opcji udostępniania...
0 MrPatryk07 45 Opublikowano 30 grudnia 2014 Udostępnij Opublikowano 30 grudnia 2014 jeżeli nie używasz essentials to do @up zmień te /lobby na /spawn i aby ustawiało {teleport.spawn} :P Odnośnik do komentarza https://skript.pl/temat/5336-teleport-na-spawna-i-lobby/#findComment-44239 Udostępnij na innych stronach Więcej opcji udostępniania...
0 DirectMC 11 Opublikowano 5 stycznia 2015 Udostępnij Opublikowano 5 stycznia 2015 Masz tu na lobby Komenda "/lobby set" ustawia gdzie ma tepac (potrzebna permisja "lobby.ustaw")Komenda "/lobby" tepa w ustawione miejsce command /lobby [<text>]: trigger: if arg 1 is not set: if {teleport.lobby} is set: teleport player to {teleport.lobby} else if {teleport.lobby} is not set: send "&cLobby nie zostalo ustawione" if arg 1 is "set": if player has permission "lobby.ustaw": set {teleport.lobby} to location of player send "&cUstawiles lobby serwera" else: send "&cNie posiadasz wystarczajacych uprawnien" Nie możesz tak napisać, będzie error!Napiszelse: send " "Lubif {teleport.lobby} is not set: send " " Odnośnik do komentarza https://skript.pl/temat/5336-teleport-na-spawna-i-lobby/#findComment-45496 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
Zelek_ 0
Odnośnik do komentarza
https://skript.pl/temat/5336-teleport-na-spawna-i-lobby/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi