Skocz do zawartości
  • 0

Mozna uzywac raz


ResidentEvil1337

Pytanie

zrobic ktos ze ta komende mozna wpisac tylko raz?

command /klasa [<text>]:
    trigger:
        if argument 1 is not set:
            open chest with 1 row named "&4&lWybierz Klase" to player
            wait 1 tick    
            format slot 0 of player with 1 of Gray Stained Glass Pane to close
            format slot 1 of player with 1 of Gray Stained Glass Pane to close 
            format slot 2 of player with 1 of Gray Stained Glass Pane to close
            format slot 3 of player with 1 of book of unbreaking 10 named "&aKlasa Wojownik" to run [make player execute "kwoj"]
            format slot 4 of player with 1 of red Stained Glass Pane to close
            format slot 5 of player with 1 of book of unbreaking 10 named "&aKlasa Lucznik" to run [make player execute "kluczn"]
            format slot 6 of player with 1 of Gray Stained Glass Pane to close
            format slot 7 of player with 1 of Gray Stained Glass Pane to close 
            format slot 8 of player with 1 of Gray Stained Glass Pane to close

Odnośnik do komentarza
https://skript.pl/temat/15133-mozna-uzywac-raz/
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on command /klasa [<text>]:
    trigger:
    	if {wybor::%player%} is not set:
    	    if argument 1 is not set:
    	        open chest with 1 row named "&4&lWybierz Klase" to player
            	wait 1 tick    
        	    format slot 0 of player with 1 of Gray Stained Glass Pane to close
    	        format slot 1 of player with 1 of Gray Stained Glass Pane to close 	
	            format slot 2 of player with 1 of Gray Stained Glass Pane to close
            	format slot 3 of player with 1 of book of unbreaking 10 named "&aKlasa Wojownik" to run [make player execute "kwoj"]
   		        format slot 4 of player with 1 of red Stained Glass Pane to close
   	   		    format slot 5 of player with 1 of book of unbreaking 10 named "&aKlasa Lucznik" to run [make player execute "kluczn"]
            	format slot 6 of player with 1 of Gray Stained Glass Pane to close
        	    format slot 7 of player with 1 of Gray Stained Glass Pane to close 
    	        format slot 8 of player with 1 of Gray Stained Glass Pane to close
	            set {wybor::%player%} to true

Pamietaj tylko, ze nie jest to caly kod

Odnośnik do komentarza
https://skript.pl/temat/15133-mozna-uzywac-raz/#findComment-104337
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ę...