> [19:18:26 ERROR]: [Skript] 'player's account' is not an entity type (staty.sk, line 21: if player's account is greater than or equal to 300000:')
> [19:18:26 ERROR]: [Skript] 'else' has to be placed just after an 'if' or 'else if' section (staty.sk, line 26: else:')
> [19:18:26 ERROR]: [Skript] '"&e&oExcalibur" with lore "&fDiamond Sword||&6&oDescription: &fWlasnosc %player%||&fPlayers Killed: 0||&fStrange Weapon: %{id.exc}%"' is not a text (staty.sk, line 32: give 1 Diamond Sword named "&e&oExcalibur" with lore "&fDiamond Sword||&6&oDescription: &fWlasnosc %player%||&fPlayers Killed: 0||&fStrange Weapon: %{id.exc}%" to player')
on rightclick on sign:
if line 1 is "&1[EXCALIBUR]":
if player's account is greater than or equal to 300000:
give 1 Diamond Sword named "&e&oExcalibur" with lore "&fDiamond Sword||&6&oDescription: &fWlasnosc %player%||&fPlayers Killed: 0||&fStrange Weapon: %{id.exc}%" to player
remove 300000 from player's account
Add 1 to {id.exc}
send "&6[SignShop] &fYou have bought &eEXCALIBUR!"
else:
send "&6[SignShop] &fYou don't have &a$300000 &fto pay!"
command /exc:
permission: exc.admin
trigger:
give 1 Diamond Sword named "&e&oExcalibur" with lore "&fDiamond Sword||&6&oDescription: &fWlasnosc %player%||&fPlayers Killed: 0||&fStrange Weapon: %{id.exc}%" to player
Add 1 to {id.exc}
send "&6[SignShop] &fYou have bought &eEXCALIBUR!"
command /efekty [<text>]:
permission: efekty.luk
permission message: &7Nie masz uprawnienien
trigger:
if arg 1 is not set:
send "&7------------- &6Pomoc &7-------------"
send "&8/efekty flame &6-&7 Efekt plomienia "
send "&8/Efekty cloud &6- &7 Efekty chmury"
send "&8/Efekty usun &6-&7 Usuwa efekt strzalu"
send "&7Wybor efektu podczas strzalu z luku"
send "&7------------- &6Pomoc &7-------------"
stop
if arg 1 is set:
if arg 1 is not "flame" or "cloud" or "usun":
send "&7------------- &6Pomoc &7-------------"
send "&8/efekty flame &6-&7 Efekt plomienia "
send "&8/Efekty cloud &6- &7 Efekty chmury"
send "&8/Efekty usun &6-&7 Usuwa efekt strzalu"
send "&7Wybor efektu podczas strzalu z luku"
send "&7------------- &6Pomoc &7-------------"
stop
else:
if arg 1 is "flame":
set {luk::%Player%} to flame
send "&7Ustawiles efekt plomyka"
else:
if arg 1 is "cloud":
set {luk::%Player%} to true
send "&7Ustawiles efekt chmury"
else:
set {luk::%Player%} to false
send "&7Usunales efekty luku"
on shoot:
if projectile is arrow:
if {luk::%shooter%} is flame:
trail projectile with particle flame
stop
if {luk::%shooter%} is true:
trail projectile with particle cloud
stop
Pytanie
T0fficzeG 0
on rightclick on sign:
if line 1 is "&1[EXCALIBUR]":
if player's account is greater than or equal to 300000:
give 1 Diamond Sword named "&e&oExcalibur" with lore "&fDiamond Sword||&6&oDescription: &fWlasnosc %player%||&fPlayers Killed: 0||&fStrange Weapon: %{id.exc}%" to player
remove 300000 from player's account
Add 1 to {id.exc}
send "&6[SignShop] &fYou have bought &eEXCALIBUR!"
else:
send "&6[SignShop] &fYou don't have &a$300000 &fto pay!"
command /exc:
permission: exc.admin
trigger:
give 1 Diamond Sword named "&e&oExcalibur" with lore "&fDiamond Sword||&6&oDescription: &fWlasnosc %player%||&fPlayers Killed: 0||&fStrange Weapon: %{id.exc}%" to player
Add 1 to {id.exc}
send "&6[SignShop] &fYou have bought &eEXCALIBUR!"
command /efekty [<text>]:
permission: efekty.luk
permission message: &7Nie masz uprawnienien
trigger:
if arg 1 is not set:
send "&7------------- &6Pomoc &7-------------"
send "&8/efekty flame &6-&7 Efekt plomienia "
send "&8/Efekty cloud &6- &7 Efekty chmury"
send "&8/Efekty usun &6-&7 Usuwa efekt strzalu"
send "&7Wybor efektu podczas strzalu z luku"
send "&7------------- &6Pomoc &7-------------"
stop
if arg 1 is set:
if arg 1 is not "flame" or "cloud" or "usun":
send "&7------------- &6Pomoc &7-------------"
send "&8/efekty flame &6-&7 Efekt plomienia "
send "&8/Efekty cloud &6- &7 Efekty chmury"
send "&8/Efekty usun &6-&7 Usuwa efekt strzalu"
send "&7Wybor efektu podczas strzalu z luku"
send "&7------------- &6Pomoc &7-------------"
stop
else:
if arg 1 is "flame":
set {luk::%Player%} to flame
send "&7Ustawiles efekt plomyka"
else:
if arg 1 is "cloud":
set {luk::%Player%} to true
send "&7Ustawiles efekt chmury"
else:
set {luk::%Player%} to false
send "&7Usunales efekty luku"
on shoot:
if projectile is arrow:
if {luk::%shooter%} is flame:
trail projectile with particle flame
stop
if {luk::%shooter%} is true:
trail projectile with particle cloud
stop
Odnośnik do komentarza
Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.