command /bc [<text>] [<text>]:
trigger:
if player has permission "mc.broadcast":
arg-1 is "title":
arg-2 is set:
loop all players:
send loop-player title "&8» &4&lUWAGA! &8«" with subtitle "&7%colored arg-2%" for 5 seconds
arg-1 is "text":
arg-2 is set:
broadcast "&4&lUWAGA! &8» &7%colored arg-2%"
arg-1 is "actionbar":
arg-2 is set:
loop all players:
set action bar of loop-player to "&4&lUWAGA! &8» &7%colored arg-2%"
arg-1 is not set:
send "&8» &7Poprawne uzycie : &c/bc <title/text/actionbar> <wiadomosc> &7!"
else:
send "&cNie posiadasz permisji!"
Błąd, który mi wyskakuje na czacie podczas wpisania /sk reload all :
Cytat
There's no loop that matches 'loop-player title "&8» &4&lUWAGA! &8«" with subtitle "&7%colored arg-2%" for 5 seconds' (wszysko.sk, line 7: send loop-player title "&8» &4&lUWAGA! &8«" with subtitle "&7%colored arg-2%" for 5 seconds')
loop-player is neither an item stack nor an entity type (wszysko.sk, line 14: set action bar of loop-player to "&4&lUWAGA! &8» &7%colored arg-2%"')
Pytanie
Kajoszo 1
Skrypt :
Błąd, który mi wyskakuje na czacie podczas wpisania /sk reload all :
Odnośnik do komentarza
https://skript.pl/temat/33792-broadcast-titletextactionbar-problem/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi