Witam, problem mam w premiumcase mianowicie gdy mam ustawione ze ma dropić jeden item np. diamond helmet jest okej, ale gdy ustawie poniżej np buty/klate czy cokolwiek jest problem a dokładnie
'':10:56 ERROR]: indentation error: expected 12 spaces, but found 3 tabs (Case.sk, line 51: drop 1 diamond boots of protection 4 and unbreaking 3 named "&5&lSet 4/3"')
[02:10:57 INFO]: Loaded 3 scripts with a total of 9 triggers and 20 commands in 1.03 seconds
[02:10:57 INFO]: [Skript] Encountered 1 error while reloading the config and all scripts!''
Prosiłbym kogoś o naprawę, w razie czego mogę wysłać cały kod na pw pozdrawiam.
on place:
if player is holding a chest named "&9&lPremiumCase":
cancel event
remove 1 chest named "&9&lPremiumCase" from player
chance of 25%:
drop 1 diamond helmet of protection 4 and unbreaking 3 named "&5&lSet 4/3"
drop 1 diamond boots of protection 4 and unbreaking 3 named "&5&lSet 4/3"
loop all players:
if {premiumcase.notifications.%loop-players%} is true:
send "{@blank}"
send " &a%player% &7otworzyl {@tagnocheck} i dostal:"
send " &4&l» &a1 &7x &eSet 4/3"
send " &4&l» &61 &7x &bMiecz 5/2"
send "{@blank}"
send " {@tagnocheck} zakupisz za &6PSC&7/&6PAYPAL&7/&6SMS"
send " {@wwwtag} : {@www}"
send "{@blank}"
Pytanie
AdeeK211555 2
Witam, problem mam w premiumcase mianowicie gdy mam ustawione ze ma dropić jeden item np. diamond helmet jest okej, ale gdy ustawie poniżej np buty/klate czy cokolwiek jest problem a dokładnie
Prosiłbym kogoś o naprawę, w razie czego mogę wysłać cały kod na pw pozdrawiam.
on place: if player is holding a chest named "&9&lPremiumCase": cancel event remove 1 chest named "&9&lPremiumCase" from player chance of 25%: drop 1 diamond helmet of protection 4 and unbreaking 3 named "&5&lSet 4/3" drop 1 diamond boots of protection 4 and unbreaking 3 named "&5&lSet 4/3" loop all players: if {premiumcase.notifications.%loop-players%} is true: send "{@blank}" send " &a%player% &7otworzyl {@tagnocheck} i dostal:" send " &4&l» &a1 &7x &eSet 4/3" send " &4&l» &61 &7x &bMiecz 5/2" send "{@blank}" send " {@tagnocheck} zakupisz za &6PSC&7/&6PAYPAL&7/&6SMS" send " {@wwwtag} : {@www}" send "{@blank}"
Edytowane przez BrixNWDodaję brakujące znaki diakrytyczne.
Wstawiam w code
Odnośnik do komentarza
https://skript.pl/temat/30152-pomoc-z-premiumcase/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi