Skocz do zawartości
  • 0

Losowy teleport po śmierci


Uzi
 Udostępnij

Pytanie

Witam,
Ma ktoś skrypt na losowy teleport po śmierci gracza ??

Coś podobnego:
options:
    xMin: -1000
    xMax: 4000
    zMin: -1000
    zMax: 4000
    yMin: 65
    yMax: 80
    world: world   
    
on first join:
    if player has permissions "{@permissions}":
        set {_targetx} to a random integer between {@xMin} and {@xMax}
        set {_targetz} to a random integer between {@zMin} and {@zMax}
        wait 5 ticks
        execute console command "/tppos %player% %{_targetx}% {@yMin} %{_targetz}%"
        stop

Odnośnik do komentarza
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

options:
    xMin: -1000
    xMax: 4000
    zMin: -1000
    zMax: 4000
    yMin: 65
    yMax: 80
    world: world   
    
on death of player:
        set {_targetx} to a random integer between {@xMin} and {@xMax}
        set {_targetz} to a random integer between {@zMin} and {@zMax}
        wait 5 ticks
        teleport player to {_targetx}% {@yMin} %{_targetz}

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
[17:16:40] [Server thread/INFO]: [Skript][m Reloading rt2.sk[m...
[17:16:40] [Server thread/ERROR]: "65" is not an entity type (rt2.sk, line 14: teleport player to {_targetx}% {@yMin} %{_targetz???????????????????}? ?")
[17:16:40] [Server thread/INFO]: [Skript][m Encountered 1 error while reloading rt2.sk[m!
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
2 godziny temu, Uzi napisał:
[17:16:40] [Server thread/INFO]: [Skript][m Reloading rt2.sk[m...
[17:16:40] [Server thread/ERROR]: "65" is not an entity type (rt2.sk, line 14: teleport player to {_targetx}% {@yMin} %{_targetz???????????????????}? ?")
[17:16:40] [Server thread/INFO]: [Skript][m Encountered 1 error while reloading rt2.sk[m!

zamień linijke  teleport player to {_targetx}% {@yMin} %{_targetz} na teleport player to %{_targetx}% {@yMin} %{_targetz}%

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

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