command /case gracz [<player>] [<text>]:
permission: case.admin
trigger:
if arg 1 is not set:
if arg 2 is not set:
send "Uzycie: &8/&cpremiumcase &c[&eNick&8] [&eIlosc&8]"
if arg 1 is set:
if arg 2 is set:
give %arg 2% trapped chest named "&9&lPremium Case" to the argument 1
command /caseall [<text>]:
permission: case.admin
trigger:
if arg 1 is not set:
send "Uzycie: &8/&cpremiumcase &c[&eNick&8] [&eIlosc&8]"
if arg 1 is set:
give %arg 1% trapped chest named "&9&lPremium Case" to all
boardcast "&a&lCaly serwer otrzymuje &9&lPremium Case&a&l x%arg1%!"
# cz3
on right click:
if event-block is tnt named "&c&lRzucane TNT:
set event-block to primed tnt
# cz4
Błędy:
sk reload kitywgui
[13:52:32 INFO]: [Skript] Reloading kitywgui.sk...
[13:52:34 ERROR]: '%arg 2% trapped chest' is not an item type (kitywgui.sk, line 156: give %arg 2% trapped chest named "&9&lPremium Case" to the argument 1')
[13:52:34 ERROR]: '?all' is not an entity type (kitywgui.sk, line 163: give %arg 1% trapped chest named "&9&lPremium Case" to ?all??')
[13:52:34 ERROR]: 'boardcast "&a&lCaly serwer otrzymuje &9&lPremium Case&a&l x%arg1%!"' is not a boolean (yes/no) (kitywgui.sk, line 164: boardcast "&a&lCaly serwer otrzymuje &9&lPremium Case&a&l x%arg1%!"')
[13:52:34 ERROR]: Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "". (kitywgui.sk, line 167: if event-block is tnt named "&c&lRzucane TNT:')
[13:52:34 INFO]: [Skript] Encountered 4 errors while reloading kitywgui.sk!
Pytanie
TermitCG 8
Proszę o pomoc.
Błędy:
sk reload kitywgui [13:52:32 INFO]: [Skript] Reloading kitywgui.sk... [13:52:34 ERROR]: '%arg 2% trapped chest' is not an item type (kitywgui.sk, line 156: give %arg 2% trapped chest named "&9&lPremium Case" to the argument 1') [13:52:34 ERROR]: '?all' is not an entity type (kitywgui.sk, line 163: give %arg 1% trapped chest named "&9&lPremium Case" to ?all??') [13:52:34 ERROR]: 'boardcast "&a&lCaly serwer otrzymuje &9&lPremium Case&a&l x%arg1%!"' is not a boolean (yes/no) (kitywgui.sk, line 164: boardcast "&a&lCaly serwer otrzymuje &9&lPremium Case&a&l x%arg1%!"') [13:52:34 ERROR]: Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "". (kitywgui.sk, line 167: if event-block is tnt named "&c&lRzucane TNT:') [13:52:34 INFO]: [Skript] Encountered 4 errors while reloading kitywgui.sk!Odnośnik do komentarza
https://skript.pl/temat/34266-problem-z-dawaniem-case/Udostępnij na innych stronach
12 odpowiedzi na to pytanie
Rekomendowane odpowiedzi