Skocz do zawartości
  • 0

przerobienie tp ++


SirSkPlus

Pytanie

Witam potrzebne mi przerobienie skrypta

 

command /ewarp <text> <player>:
    trigger:
        if arg 1 is "nithal":
            set {_mon} to 75
        else:
            set {_mon} to 50
        if {_mon} is less than or equal to arg 2's balance:
            remove {_mon} from arg 2's balance
            execute console command "/warp %arg 1% %arg 2%"
            send "&7[&aZakon&7]&f- &7Pobrano %{_mon}% za teleportacje!" to arg 2
        else:
            send "&cNie masz %{_mon}%$!" to arg 2
command /zakon [<number>]:
    trigger:
        if arg 1 is 1:
            open virtual chest with 2 rows named "&7&l[&a&lZakon&7&l]" to player
            format gui slot 18 times of player with gray glass pane named ""
            format gui slot 0 of player with gray glass pane named ""
            if player have permission "tp.1":
                format gui slot 2 of player with 35:4 named "&7[&aIthan&7]" to close then run console command "ewarp ithan %player%"
            if player have permission "tp.2":
                format gui slot 3 of player with 35:3 named "&7[&aKarkaHan&7]" to close then run console command "ewarp karkahan %player%"
            if player have permission "tp.3":
                format gui slot 4 of player with 35:5 named "&7[&aWerbin&7]" to close then run console command "ewarp werbin %player%"
            if player have permission "tp.4":
                format gui slot 5 of player with 35:14 named "&7[&aTorneg&7]" to close then run console command "ewarp torneg %player%"
            if player have permission "tp.5":
                format gui slot 6 of player with 35:8 named "&7[&aNithal&7]" to close then run console command "ewarp nithal %player%"
            if player have permission "tp.6":
                format gui slot 13 of player with 35:12 named "&7[&aEder&7]" to close then run console command "ewarp eder %player%"


chce zrobic tak aby gdy gracz kliknie na npc TP

dostaje permisje essentials.warp

a po 10 sekundach mu odbiera permisje

Edytowane przez LjayPL789
Odnośnik do komentarza
Udostępnij na innych stronach

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

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

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