on load:
if {turbodrop} is true:
set {turbodrop} to false
command /turbo [<text>] [<text>]:
trigger:
if player has permission "turbo.*":
if arg 1 is "drop":
if arg 2 is "all":
if {turbodrop} is false:
set {turbodrop} to true
broadcast "&8[&9&lProTurbo&8] &2TurboDrop został Włączony!"
display "&8[&9&lProTurbo&8] &8» &2TurboDrop został Włączony!" on bossbar with 100 percent by 10 seconds for all player's
on mine of stone:
chance of 60%:
give 1 diamond to the player
give 1 gold to the player
give 1 iron to the player
give 1 coal to the player
give 1 emerald to the player
give 1 tnt to the player
give 1 obsidian to the player
give 1 apple to the player
give 1 ender pearl to the player
give 1 redstone to the player
give 1 book to the player
give 1 sand to the player
give 1 slime ball to the player
if arg 2 is "off":
if {turbodrop} is true:
set {turbodrop} to false
broadcast "&8[&9&lProTurbo&8] &4TurboDrop został Wyłączony!"
display "&8[&9&lProTurbo&8] &8» &4TurboDrop został Wyłączony!" on bossbar with 100 percent by 10 seconds for all player's
else:
send "&cNie masz uprawnien!"
[12:02:26 ERROR]: indentation error: expected 12 spaces, but found '->->____' [-> = tab, _ = space, ? = other whitespace] (turbodrop.sk, line 35: send "&cNie masz uprawnien!"')
[12:02:26 ERROR]: 'player's' is not an entity type (turbodrop.sk, line 13: display "&8[&9&lProTurbo&8] &8» &2TurboDrop został Włączony!" on bossbar with 100 percent by 10 seconds for all player's')
[12:02:26 ERROR]: can't understand this condition: 'on mine of stone' (turbodrop.sk, line 14: on mine of stone:')
[12:02:26 ERROR]: 'player's' is not an entity type (turbodrop.sk, line 33: display "&8[&9&lProTurbo&8] &8» &4TurboDrop został Wyłączony!" on bossbar with 100 percent by 10 seconds for all player's')
[12:02:26 INFO]: [Skript] Encountered 4 errors while reloading turbodrop.sk!
Pytanie
ejer 5
Errory:
Odnośnik do komentarza
Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi