Skocz do zawartości
  • 0
jndooo

Cobblex na 1.13.2

Pytanie

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

Użytkownik
  • 0

To się naprawi jak poprawisz tabowanie. 1 tab = 4 spacje Nie mogą być pomieszane, albo taby, albo spacje.

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach
Użytkownik
  • 0
Command /cx [<text>]:
    Trigger:
        If player has 9*64 cobblestone:
            Remove 9*64 cobble Stone from player 
            Add Stone named "&6cx" to player 

 

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach
Użytkownik
  • 0
command /cobblex [<text>]:
  	aliases: cx
  	trigger:
  		if player has 576 cobble:
  			remove 576 cobble from player
  			drop stone named "&cCOBBLEX"
  		else:
  			send "&cNie masz 576 kobla!" to player
on place:
  	if player's tool is stone named "&cCOBBLEX":
  		cancel event
  		remove stone named "&cCOBBLEX" from player
  		set {ITEM::%player%} to "%random integer between 1 and 2%"
  		if {ITEM::%player%} is 1:
  			drop diamond named "1"
  		if {ITEM::%player%} is 2:
  			drop diamond named "2"

 

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach
Użytkownik
  • 0
3 godziny temu, Grex napisał:
command /cobblex [<text>]:
  	aliases: cx
  	trigger:
  		if player has 576 cobble:
  			remove 576 cobble from player
  			drop stone named "&cCOBBLEX"
  		else:
  			send "&cNie masz 576 kobla!" to player
on place:
  	if player's tool is stone named "&cCOBBLEX":
  		cancel event
  		remove stone named "&cCOBBLEX" from player
  		set {ITEM::%player%} to "%random integer between 1 and 2%"
  		if {ITEM::%player%} is 1:
  			drop diamond named "1"
  		if {ITEM::%player%} is 2:
  			drop diamond named "2"

 


[Kliknij i przeciągnij, by przenieść.]

[14:02:29 INFO]: [Skript] Reloading cx.sk...
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 2: aliases: cx')
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 3: trigger:')
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 4: if player has 576 cobble:')
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 5: remove 576 cobble from player')
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 6: drop stone named "&cCOBBLEX"')
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 7: else:')
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 8: send "&cNie masz 576 kobla!" to player')
[14:02:29 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (cx.sk, line 1: command /cobblex [<text>]:')
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 10: if player's tool is stone named "&cCOBBLEX":')
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 11: cancel event')
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 12: remove stone named "&cCOBBLEX" from player')
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 13: set {ITEM::%player%} to "%random integer between 1 and 2%"')
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 14: if {ITEM::%player%} is 1:')
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 15: drop diamond named "1"')
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 16: if {ITEM::%player%} is 2:')
[14:02:29 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->->' [-> = tab, _ = space, ? = other whitespace]) (cx.sk, line 17: drop diamond named "2"')
[14:02:29 ERROR]: Required entry 'trigger' is missing in 'command /cobblex [<text>]' (cx.sk, starting at line 1) (cx.sk, line 1: command /cobblex [<text>]:')

Mniej wiecej wiem jak usunąc ale nie czaje 2 tego z Empty configuration i Requaired entry

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach
Użytkownik
  • 0
13 godzin temu, Grex napisał:

To się naprawi jak poprawisz tabowanie. 1 tab = 4 spacje Nie mogą być pomieszane, albo taby, albo spacje.

oke

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach
Losowy awatar
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.

  • Przeglądający   0 użytkowników

    Brak zarejestrowanych użytkowników przeglądających tę stronę.

×