Skocz do zawartości
  • 0

Naprawa kodu


Usunięty#450

Pytanie

10 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on rightclick on zombie:	if name of clicked entity is "Zbroja":		if player has 100 gold nugget:			remove 100 gold nugget from player			give 1 leather chestplate named "Pokolorowac na blue!" to player			wait 1 tick			loop all items in player's inventory:				if loop-item is leather chestplate named "Pokolorowac na blue!":					colour loop-item blue					clear name of loop-item #//nwm czy to zadziala		else:			send "Nie masz 100 samorodkow zlota aby sie wymienic" to player			stop
nie testowane
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

 

[19:56:25] [skript update thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m [0;31;22m[0;31;22mThere was an error checking for the latest version of Skript:[0;31;1m Cannot connect to api.curseforge.com[m

[19:56:26] [server thread/ERROR]: [skript] indentation error: expected 6 spaces, but found 7 spaces (sklep.sk, line 3: if player has 100 gold nugget:')
[19:56:26] [server thread/ERROR]: [skript] indentation error: expected 6 spaces, but found 11 spaces (sklep.sk, line 4: remove 100 gold nugget from player')
[19:56:26] [server thread/ERROR]: [skript] indentation error: expected 6 spaces, but found 11 spaces (sklep.sk, line 5: give 1 leather chestplate named "Pokolorowac na blue!" to player')
[19:56:26] [server thread/ERROR]: [skript] indentation error: expected 6 spaces, but found 11 spaces (sklep.sk, line 6: wait 1 tick')
[19:56:26] [server thread/ERROR]: [skript] indentation error: expected 6 spaces, but found 11 spaces (sklep.sk, line 7: loop all items in player's inventory:')
[19:56:26] [server thread/ERROR]: [skript] indentation error: expected 6 spaces, but found 15 spaces (sklep.sk, line 8: if loop-item is leather chestplate named "Pokolorowac na blue!":')
[19:56:26] [server thread/ERROR]: [skript] indentation error: expected 6 spaces, but found 19 spaces (sklep.sk, line 9: colour loop-item blue')
[19:56:26] [server thread/ERROR]: [skript] indentation error: expected 6 spaces, but found 19 spaces (sklep.sk, line 10: clear name of loop-item#//nwm czy to zadziala')
[19:56:26] [server thread/ERROR]: [skript] indentation error: expected 6 spaces, but found 7 spaces (sklep.sk, line 11: else:')
[19:56:26] [server thread/ERROR]: [skript] indentation error: expected 6 spaces, but found 11 spaces (sklep.sk, line 12: send "Nie masz 100 samorodkow zlota aby sie wymienic" to player')
[19:56:26] [server thread/ERROR]: [skript] indentation error: expected 6 spaces, but found 11 spaces (sklep.sk, line 13: stop')
[19:56:27] [server thread/INFO]: [skript] Loaded 7 scripts with a total of 8 triggers and 4 commands in 1.27 seconds
Odnośnik do komentarza
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ę...