Mam problem ze skryptem po dodaniu go do skryptów i po przeładowaniu go w grze nie wyskakuje żaden błąd ani w konsoli ani na czacie.
variables:
{disco::player} = "OFF"
command /disco <text>:
trigger:
if argument is "wlacz" or "on":
if {disco::%player%} is "OFF":
set {disco::%player%} to "ON"
send "&bTwoja &5DISCO&6ZBROJA &bzostala &2WLACZONA&b&l!" to player
else:
send "&cTwoja &5DISCO&6ZBROJA &cjest juz &2WLACZONA&c&l!" to player
if argument is "wylacz" or "off":
if {disco::%player%} is "ON":
set {disco::%player%} to "OFF"
send "&bTwoja &5DISCO&6ZBROJA &bzostala &4WLACZONA&b&l!" to player
command /discomenu:
trigger:
open chest with 1 row named "&5&lDISCO&6&lZBROJA" to player
format slot 2 of player with 1 emerald named "&5&lDISCO&6&lZBROJA &2&lON" with lore "&7Status&8: &8&l(&b%{disco::%player%}%&8&l)" to close then run [make player execute command "/disco on"]
format slot 6 of player with 1 redstone named "&5&lDISCO&6&lZBROJA &4&lOFF" with lore "&7Status&8: &8&l(&b%{disco::%player%}%&8&l)" to close then run [make player execute command "/disco on"]
every 5 seconds:
if {disco::%player%} is "ON":
chance of 25%:
equip player with diamond helmet
chance of 25%:
equip player with iron helmet
chance of 25%:
equip player with gold helmet
chance of 25%:
equip player with leather helmet
else:
stop
:
{disco::player} = "OFF"
command /disco <text>:
trigger:
if argument is "wlacz" or "on":
if {disco::%player%} is "OFF":
set {disco::%player%} to "ON"
send "&bTwoja &5DISCO&6ZBROJA &bzostala &2WLACZONA&b&l!" to player
else:
send "&cTwoja &5DISCO&6ZBROJA &cjest juz &2WLACZONA&c&l!" to player
if argument is "wylacz" or "off":
if {disco::%player%} is "ON":
set {disco::%player%} to "OFF"
send "&bTwoja &5DISCO&6ZBROJA &bzostala &4WLACZONA&b&l!" to player
command /discomenu:
trigger:
open chest with 1 row named "&5&lDISCO&6&lZBROJA" to player
format slot 2 of player with 1 emerald named "&5&lDISCO&6&lZBROJA &2&lON" with lore "&7Status&8: &8&l(&b%{disco::%player%}%&8&l)" to close then run [make player execute command "/disco on"]
format slot 6 of player with 1 redstone named "&5&lDISCO&6&lZBROJA &4&lOFF" with lore "&7Status&8: &8&l(&b%{disco::%player%}%&8&l)" to close then run [make player execute command "/disco on"]
every 5 seconds:
if {disco::%player%} is "ON":
chance of 25%:
equip player with diamond helmet
chance of 25%:
equip player with iron helmet
chance of 25%:
equip player with gold helmet
chance of 25%:
equip player with leather helmet
else:
stop
Teraz własnie pobrałem wersje skQuery 4.0 prerelease 2 pod 1.8.1 ale po przeładowaniu skryptu pisze coś takiego "is not a valid item data {dodatki.sk, line 3: spawn 10 of particle heart:1 offset by 0.5, 1, 0.5 at player}"
Hej mam problem z particlesami mam serwer na wersje 1.8.8 mam wgrany Skript pod 1.8.8 i SkQuery 4.1.3 oraz WildSkript pod 1.8 problem w tym że po wpisaniu komendy particlesy się nie pojawiają. Co może być problemem kod czy źle dobrane wersje Skript i dodatków jeśli to drugie to jakich wersji szukać pod serwer 1.8.8 ? Z góry dziękuje za pomoc
A tu jest kod:
command /dda:
trigger:
spawn 10 of particle heart:1 offset by 0.5, 1, 0.5 at player
Dodam jeszcze że próbowałem włączyć i wyłączyć particlesy w ustawieniach gry i zmieniałem txt ale to nic nie dało.
Mam problem chce zrobić skrypt na premium case ale nie wiem co zrobić żeby można było podać liczbę ile gracz ma tego dostac.
Tu jest skrypt:
command /premiumcase <text> <player> <text>:
trigger:
if arg 1 is "daj":
if arg 2 is set:
give %player-arg% %argument 2% chest named "&cPremium Case"
send "&8>>> &bDales &7%arg 2%x &cpremium case &bdla gracza &7%player%&b!"
if arg 2 is not set:
send "&8>>> &cMusisz podac ilosc!"
if arg 1 is not set:
send "&8>>> &cPoprawne uzycie pod &7/premiumcase help&c!"