command /vanish [<text>] [<text>]:
permission: vanish
permission message: &c?
trigger:
if arg 1 isn't set:
send "&cPodaj ON lub OFF" to sender
if arg 1 is set:
if arg 2 isn't set:
send "&cPodaj nick!" to sender
if arg 2 is set:
if arg 2 isn't player:
send "&cNie ma takiego gracza!" to sender
if arg 2 is player:
if arg 1 isn't "on" or "off":
send "&cPodaj ON lub OFF" to sender
if arg 1 is "on":
set {v:%arg 2%} to true
hide arg 2 to all players
loop all players:
if loop-player has permission "vanish.widzenie":
reveal arg 2 to loop-player
if arg 1 is "off":
set {v:%arg 2%} to false
reveal arg 2 to all players
Błąd:
'reveal arg 2 to all players' is not a boolean
'reveal arg 2 to loop player' is not a boolean
'hide arg 2 to all players' is not a boolean
Pytanie
Grex 58
Proszę o pomoc. Kod:
Błąd:
'reveal arg 2 to all players' is not a boolean 'reveal arg 2 to loop player' is not a boolean 'hide arg 2 to all players' is not a boolean
Odnośnik do komentarza
Udostępnij na innych stronach
4 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ą.