Skocz do zawartości
  • 0

Poprawi ktos bledy w skrypcie?


Hardcore2k17
 Udostępnij

Pytanie

Skrypt: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!

Nie wiem jak poprawic bledy w tym skrypcie :/

Errory:

[08:49:16 ERROR]: [Skript] indentation error: expected 2 tabs, but found '->__->' [-> = tab, _ = space, ? = other whitespace] (9Jfhmdwl.sk, line 19: execute console command "t 0 63 0"')

[08:49:16 ERROR]: [Skript] indentation error: expected 2 tabs, but found '->__->' [-> = tab, _ = space, ? = other whitespace] (9Jfhmdwl.sk, line 20: execute console command "clear %player%"')

[08:49:16 ERROR]: [Skript] indentation error: expected 2 tabs, but found '__->->' [-> = tab, _ = space, ? = other whitespace] (9Jfhmdwl.sk, line 37: stop')

[08:49:16 ERROR]: [Skript] indentation error: expected 2 tabs, but found '_->->' [-> = tab, _ = space, ? = other whitespace] (9Jfhmdwl.sk, line 45: give player 2 enchanted golden apple')

[08:49:16 ERROR]: [Skript] indentation error: expected 2 tabs, but found '_->->' [-> = tab, _ = space, ? = other whitespace] (9Jfhmdwl.sk, line 46: give player 5 golden apple') [08:49:16 ERROR]: [Skript] indentation error: expected 1 tab, but found 2 tabs (9Jfhmdwl.sk, line 79: wait 1 tick')

[08:49:16 ERROR]: [Skript] indentation error: expected 1 tab, but found 3 tabs (9Jfhmdwl.sk, line 80: open chest with 1 rows named "&9Areny:" to player')

[08:49:16 ERROR]: [Skript] indentation error: expected 1 tab, but found 3 tabs (9Jfhmdwl.sk, line 81: format slot 0 of player with 1 of diamond sword named "&cKnock" to clute player command "knock"]')

[08:49:16 ERROR]: [Skript] indentation error: expected 1 tab, but found 3 tabs (9Jfhmdwl.sk, line 82: format slot 8 of player with 1 of enchanted goldennamed "&6Kox" to close then run [execute player command "kox"]:') .

08:49:17 ERROR]: [Skript] ('1 diamnd helmet of protection 3' and 'unbreaking 3') can't be added to a player because the former is neither an item type, an inventory nor an experience point (9Jfhmdwl.sk, line 32: give player 1 diamnd helmet of protection 3 and unbreaking 3')

[08:49:17 ERROR]: [Skript] ('1 diamnd helmet of protection 4' and 'unbreaking 3') can't be added to a player because the former is neither an item type, an inventory nor an experience point (9Jfhmdwl.sk, line 48: give player 1 diamnd helmet of protection 4 and unbreaking 3')

[08:49:18 ERROR]: [Skript] 'permission "klocuszki.sk"' is not an item type (9Jfhmdwl.sk, line 57: if player not has permission "klocuszki.sk":')

[08:49:18 ERROR]: [Skript] 'if player' is not an entity type (9Jfhmdwl.sk, line 78: if player is holding clock named "&9&lWybor areny"') 

Help daje liki za najlepsza odpowiedz

 

Odnośnik do komentarza
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on first join:
	execute console command "tp %player% 0 63 0"
	give player 1 clock named "&9&lWybor areny" 

    
on join:    
	execute console command "tp %player% 0 63 0"
	execute console command "clear %player%"  
	give player 1 clock named "&9&lWybor areny" 

on death:    
	execute console command "tp %player% 0 63 0"
	execute console command "clear %player%"
	give player 1 clock named "&9&lWybor areny"  
    
command /lobby:
	aliases: hub
	trigger:
		execute console command "t 0 63 0"
		execute console command "clear %player%"      
		give player 1 clock named "&9&lWybor areny"  


command /kknock [<player>]:
	permission: k.kit
	permission message: nie masz permissi
	trigger:
		send "&7» &aOtrzymales &9zestaw knock!"
		give player 1 diamond sword of sharpness 3
		give player 1 diamond sword of knockback 2
		give player 5 golden apple
		give player 64 cooked porkchop
		give player 1 diamond helmet of protection 3 and unbreaking 3
  		give player 1 diamond chestplate of protection 3 and unbreaking 3
		give player 1 diamond leggings of protection 3 and unbreaking 3
		give player 1 diamond boots of protection 3 and unbreaking 3
		give player 64 cobblestone
		stop		   

command /kkox [<player>]:
	permission: k.kit
	permission message: nie masz permissi
	trigger:
		send "&7» &aOtrzymales &9zestaw kox!"
		give player 1 diamond sword of sharpness 5 and fire aspect 2
 		give player 2 enchanted golden apple
 		give player 5 golden apple
		give player 64 cooked porkchop
		give player 1 diamond helmet of protection 4 and unbreaking 3
		give player 1 diamond chestplate of protection 4 and unbreaking 3
		give player 1 diamond leggings of protection 4 and unbreaking 3
  		give player 1 diamond boots of protection 4 and unbreaking 3
		stop 	



on place:
	if player not has permission "klocuszki.sk":
		wait 5 seconds
		set block to air
        
        
command /kox:
	permission: k.kit
	permission message: nie masz permissi
	trigger:
		execute console command "clear %player%"    
		execute console command "tp %player% 6 82 311"
		execute console command "kkox %player%"        
		
on left click:
	if player is holding clock named "&9&lWybor areny"
		wait 1 tick
		open chest with 1 rows named "&9Areny:" to player
  		wait 2 tick
		format slot 0 of player with 1 of diamond sword named "&cKnock" to clute player command "knock"]    
		format slot 8 of player with 1 of enchanted goldennamed "&6Kox" to close then run [execute player command "kox"]:    
   	 

Powinno działać. Źle wytabowane + napisane diamnd

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Nadal sa bledy:

 

[09:07:50 ERROR]: [Skript] indentation error: expected 0 tabs, but found 1 space (fYVsHXDu.sk, line 1: on first join:')

[09:07:50 ERROR]: [Skript] indentation error: expected 0 tabs, but found 1 tab (fYVsHXDu.sk, line 2: execute console command "tp %player% 0 63 0"')

[09:07:50 ERROR]: [Skript] indentation error: expected 0 tabs, but found 1 tab (fYVsHXDu.sk, line 3: give player 1 clock named "&9&lWybor areny"')

[09:07:50 ERROR]: [Skript] indentation error: expected 2 tabs, but found '__->->' [-> = tab, _ = space, ? = other whitespace] (fYVsHXDu.sk, line 34: give player 1 diamond chestplate of protection 3 and unbreaking 3')

[09:07:50 ERROR]: [Skript] indentation error: expected 2 tabs, but found '_->->' [-> = tab, _ = space, ? = other whitespace] (fYVsHXDu.sk, line 46: give player 2 enchanted golden apple')

[09:07:50 ERROR]: [Skript] indentation error: expected 2 tabs, but found '_->->' [-> = tab, _ = space, ? = other whitespace] (fYVsHXDu.sk, line 47: give player 5 golden apple')

[09:07:50 ERROR]: [Skript] indentation error: expected 2 tabs, but found '__->->' [-> = tab, _ = space, ? = other whitespace] (fYVsHXDu.sk, line 52: give player 1 diamond boots of protection 4 and unbreaking 3')

[09:07:50 ERROR]: [Skript] indentation error: expected 1 tab, but found 2 tabs (fYVsHXDu.sk, line 73: wait 1 tick')

[09:07:50 ERROR]: [Skript] indentation error: expected 1 tab, but found 2 tabs (fYVsHXDu.sk, line 74: open chest with 1 rows named "&9Areny:" to player')

[09:07:50 ERROR]: [Skript] indentation error: expected 1 tab, but found '__->->' [-> = tab, _ = space, ? = other whitespace] (fYVsHXDu.sk, line 75: wait 2 tick') [

[09:07:50 ERROR]: [Skript] indentation error: expected 1 tab, but found 2 tabs (fYVsHXDu.sk, line 76: format slot 0 of player with 1 of diamond sword named "&cKnock" to clute player command "knock"]')

[09:07:50 ERROR]: [Skript] indentation error: expected 1 tab, but found 2 tabs (fYVsHXDu.sk, line 77: format slot 8 of player with 1 of enchanted goldennamed "&6Kox" to close then run [execute player command "kox"]:')

[09:07:52 ERROR]: [Skript] 'permission "klocuszki.sk"' is not an item type (fYVsHXDu.sk, line 58: if player not has permission "klocuszki.sk":')

[09:07:52 ERROR]: [Skript] 'if player' is not an entity type (fYVsHXDu.sk, line 72: if player is holding clock named "&9&lWybor areny"')

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ę...