Skocz do zawartości
  • 0

Skrypt na autobus (RP)


Pytanie

Witam, prosiłbym o napisanie skryptu na autobus, już tłumaczę.

Jak wejdę na przystanek to pisze mi: ipserwera >> Kucnij aby otworzyć rozkład przystanków

Otwiera mi się "skrzynia" i tam są przystanki.

Urząd, sklep...

Po kliknięciu np. Na mapę zwana urząd telepotuje mnie do autobusu (który zbudowałem), z efektem portalu na 6 sec.

I na końcu pojawiam sie przy sklepie.

PS Taki teleport do danego miejsca kosztowałby 5 $

Odnośnik do komentarza
https://skript.pl/temat/12484-skrypt-na-autobus-rp/
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on walking on grass: #TUTAJ DAJ ITEM PO JAKIM SIE CHODZI NA PRZYSTANKU
	if "%region at player%" constain "przystanek1":
		send json of "ipserwera >> Kliknij aby zobaczyc rozklad autobusu" tooltip "Kliknij aby zobaczyc rozklad autobusu" run "/autobus-rtk" to player
		set {autobus.%player%} to true
		wait 60 seconds
		if {autobus.%player%} is true:
			set {autobus.%player%} to false

command /autobus-rtk:
	trigger:
		if {autobus.%player%} is true:
			open chest with 2 rows named "&4Wybierz swoj autobus"
			wait 1 tick
			format slot 0 of player with 1 of diamond named "sklep" to close then run "sudo %player% autobus-rtk1"
			format slot 1 of player with 1 of diamond named "sklep" to close then run "sudo %player% autobus-rtk2"
			format slot 2 of player with 1 of diamond named "sklep" to close then run "sudo %player% autobus-rtk3" #TO TUTAJ SB POZMIENIAJ

command /autobus-rtk1:
	trigger:
		if player's balance is greater or equal to 5:
			set {autobus.%player%} to false
			remove 5 from player's balance
			send "&4Jedziesz do sklepu..." to player
			wait 3 seconds
			teleport player to {autobus}
			apply switness 3 to the player for 6 seconds
			apply nausea 2 to the player for 6 seconds
			wait 6 seconds
			teleport player to {sklep}

command /autobus-rtk2:
	trigger:
		if player's balance is greater or equal to 5:
			set {autobus.%player%} to false
			remove 5 from player's balance
			send "&4Jedziesz do sklepu..." to player
			wait 3 seconds
			teleport player to {autobus}
			apply switness 3 to the player for 6 seconds
			apply nausea 2 to the player for 6 seconds
			wait 6 seconds
			teleport player to {sklep}

command /autobus-rtk3:
	trigger:
		if player's balance is greater or equal to 5:
			set {autobus.%player%} to false
			remove 5 from player's balance
			send "&4Jedziesz do sklepu..." to player
			wait 3 seconds
			teleport player to {autobus}
			apply switness 3 to the player for 6 seconds
			apply nausea 2 to the player for 6 seconds
			wait 6 seconds
			teleport player to {sklep}

command /ustaw [<text>]:
	trigger:
		if arg 1 is set:
			set {%arg 1%} to player's location

Mam Nadzieję że pomogłem

PS ustawiasz w autobusie /ustaw autobus i w tych miejscach /ustaw sklep (na przyklad) i zmieniasz tylko to:
teleport player to {NAZWA}
oraz to:

format slot 0 of player with 1 of diamond named "sklep"

Odnośnik do komentarza
https://skript.pl/temat/12484-skrypt-na-autobus-rp/#findComment-87506
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...