variables:
{ac.%player%} = false
command /ac:
trigger:
player has permission "adminchat.kuba":
if {ac.%player%} is false:
set {ac.%player%} to true
send "&6&l[&2&lWW&6&l] &a&lAdmin-Chat został włączony!"
stop
else:
set {ac.%player%} to false
send "&6&l[&2&lWW&6&l] &c&lAdmin-Chat został wyłączony!"
stop
else:
send "&cNie masz uprawnien."
on chat:
if {ac.%player%} is true:
cancel event
loop all players:
loop-player has permission "adminchat.kuba":
send "&6&l[&a&lAdmin-Chat&6&l] &e%player%&8: &b%message%" to loop-player
on join:
if {ac.%player%} is true:
set {ac.%player%} to false
Wyskakuje bład: [13:25:03 ERROR]: 'permission "adminchat.kuba"' is not an item type (wilczyczatadmin.sk, line 20: loop-player has permission "adminchat.kuba":')
Pytanie
kuba44a1 1
variables:
{ac.%player%} = false
command /ac:
trigger:
player has permission "adminchat.kuba":
if {ac.%player%} is false:
set {ac.%player%} to true
send "&6&l[&2&lWW&6&l] &a&lAdmin-Chat został włączony!"
stop
else:
set {ac.%player%} to false
send "&6&l[&2&lWW&6&l] &c&lAdmin-Chat został wyłączony!"
stop
else:
send "&cNie masz uprawnien."
on chat:
if {ac.%player%} is true:
cancel event
loop all players:
loop-player has permission "adminchat.kuba":
send "&6&l[&a&lAdmin-Chat&6&l] &e%player%&8: &b%message%" to loop-player
on join:
if {ac.%player%} is true:
set {ac.%player%} to false
Wyskakuje bład: [13:25:03 ERROR]: 'permission "adminchat.kuba"' is not an item type (wilczyczatadmin.sk, line 20: loop-player has permission "adminchat.kuba":')
prosze o pomoc!!!!
Odnośnik do komentarza
Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi