Skocz do zawartości
  • 0

//Problem rozwiązany


JJ4KUB

Pytanie

9 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /test [<text>]:
    trigger:
        open chest with 1 rows named "&a&lPOTWIERDZENIE ZAKUPU" to player
  		wait 1 tick
        format slot 0 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 1 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 2 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 3 of player with 1 stained_glass_pane:5 named "&a&lPotwierdzam" to close then run [execute player command "/test1"]
        format slot 4 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 5 of player with 1 stained_glass_pane:14 named "&c&lAnuluj" to close
        format slot 6 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 7 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 8 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close 
        
command /test1 [<text>]:
    trigger:
        if player's balance is equal to or bigger than 750000:
            execute console command "eco take %player% 750000"
            execute console command "/setrank %player% Vip 2592000"
            broadcast "&7» Gracz &a%player% &7zakupił range &a&lVIP &7na 30dni za &emonety!"
            broadcast "&7» Jeżeli także chcesz kupić range jak &a%player% &7to wpisz komende /rsklep lub wpadnij na naszą strone: &aWWW.TWÓJSKLEP.PL"
        else:
            send "&cNie masz środków w portfelu, aby zakupić usługę." to player

 

Odnośnik do komentarza
https://skript.pl/temat/26936-problem-rozwi%C4%85zany/#findComment-177356
Udostępnij na innych stronach

  • 0
7 minut temu, Mroczekk napisał:

command /test [<text>]:
    trigger:
        open chest with 1 rows named "&a&lPOTWIERDZENIE ZAKUPU" to player
  		wait 1 tick
        format slot 0 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 1 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 2 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 3 of player with 1 stained_glass_pane:5 named "&a&lPotwierdzam" to close then run [execute player command "/test1"]
        format slot 4 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 5 of player with 1 stained_glass_pane:14 named "&c&lAnuluj" to close
        format slot 6 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 7 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 8 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close 
        
command /test1 [<text>]:
    trigger:
        if player's balance is equal to or bigger than 750000:
            execute console command "eco take %player% 750000"
            execute console command "/setrank %player% Vip 2592000"
            broadcast "&7» Gracz &a%player% &7zakupił range &a&lVIP &7na 30dni za &emonety!"
            broadcast "&7» Jeżeli także chcesz kupić range jak &a%player% &7to wpisz komende /rsklep lub wpadnij na naszą strone: &aWWW.TWÓJSKLEP.PL"
        else:
            send "&cNie masz środków w portfelu, aby zakupić usługę." to player

Gui się psuje po dodaniu wait 1 tick ...

Odnośnik do komentarza
https://skript.pl/temat/26936-problem-rozwi%C4%85zany/#findComment-177366
Udostępnij na innych stronach

  • 0
command /test [<text>]:
    trigger:
        open chest with 1 row named "&a&lPOTWIERDZENIE ZAKUPU" to player
  	wait 1 tick
        format slot 0 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 1 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 2 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 3 of player with 1 stained_glass_pane:5 named "&a&lPotwierdzam" to close then run [execute player command "/test1"]
        format slot 4 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 5 of player with 1 stained_glass_pane:14 named "&c&lAnuluj" to close
        format slot 6 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 7 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 8 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close 
        
command /test1 [<text>]:
    trigger:
        if player's balance is equal to or bigger than 750000:
            execute console command "eco take %player% 750000"
            execute console command "/setrank %player% Vip 2592000"
            broadcast "&7» Gracz &a%player% &7zakupił range &a&lVIP &7na 30dni za &emonety!"
            broadcast "&7» Jeżeli także chcesz kupić range jak &a%player% &7to wpisz komende /rsklep lub wpadnij na naszą strone: &aWWW.TWÓJSKLEP.PL"
        else:
            send "&cNie masz środków w portfelu, aby zakupić usługę." to player

Teraz dziala? :D
 

Odnośnik do komentarza
https://skript.pl/temat/26936-problem-rozwi%C4%85zany/#findComment-177369
Udostępnij na innych stronach

  • 0
13 minut temu, LjayPL789 napisał:

command /test [<text>]:
    trigger:
        open chest with 1 row named "&a&lPOTWIERDZENIE ZAKUPU" to player
  	wait 1 tick
        format slot 0 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 1 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 2 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 3 of player with 1 stained_glass_pane:5 named "&a&lPotwierdzam" to close then run [execute player command "/test1"]
        format slot 4 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 5 of player with 1 stained_glass_pane:14 named "&c&lAnuluj" to close
        format slot 6 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 7 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close
        format slot 8 of player with 1 stained_glass_pane:15 named "&f&lPusto" to close 
        
command /test1 [<text>]:
    trigger:
        if player's balance is equal to or bigger than 750000:
            execute console command "eco take %player% 750000"
            execute console command "/setrank %player% Vip 2592000"
            broadcast "&7» Gracz &a%player% &7zakupił range &a&lVIP &7na 30dni za &emonety!"
            broadcast "&7» Jeżeli także chcesz kupić range jak &a%player% &7to wpisz komende /rsklep lub wpadnij na naszą strone: &aWWW.TWÓJSKLEP.PL"
        else:
            send "&cNie masz środków w portfelu, aby zakupić usługę." to player

Teraz dziala? :D
 

tak ale mi chodzi o to że jak klika się : POTWIERDZAM to nie działa dalej komenda z tym test1 ...

Odnośnik do komentarza
https://skript.pl/temat/26936-problem-rozwi%C4%85zany/#findComment-177374
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ę...