Dobra, nie ogarnąłem, że tam jeszcze jest kierunek jeden i temu takie WTF, teraz wszystko działa, a jak moge spradzić czy guzik jest na regionie spawn, jest jest to true a jeśli nie jest to false
on rightclick on stone button:
if facing of clicked block is above:
block 1 below clicked block is sponge
set {_t} to true
else if facing of clicked block is below:
block 1 above clicked block is sponge
set {_t} to true
else if facing of clicked block is north:
block 1 south clicked block is sponge
execute console command "/say north"
else if facing of clicked block is north:
block 1 south clicked block is sponge
execute console command "/say south"
else if facing of clicked block is east:
block 1 south clicked block is sponge
execute console command "/say east"
else if facing of clicked block is west:
block 1 south clicked block is sponge
execute console command "/say west"
{_t} is set
execute console command "/rtp"
Dalej łąpie cały czas to north
on rightclick on stone button:
if facing of clicked block is above:
block 1 below clicked block is sponge
set {_t} to true
else if facing of clicked block is below:
block 1 above clicked block is sponge
set {_t} to true
else if facing of clicked block is north:
block 1 south clicked block is sponge
set {_t} to true
{_t} is set
execute console command "/rtp"
Czy o to chodziło? Jeśli tak, to dalej z jednej strony łapie
Cześć, mam skrypt
i działa on tylko, jak ktoś kliknie z jednej strony guzik. Blok ma 4 strony i 4 guziki, a działa tylko jeden guzik z jednej strony.... dlaczego
options:
blok1: sponge
on rightclick on stone button:
block behind target block is {@blok1}:
execute player command "/rtp"
stop
Jak mogę pobierać danę np gracza ile ma $ na koncie? Mam essentials. Np. chciałbym /kasa <nick> i pokazuje mi jego nick. Wiem że można /money <nick> lecz ja sobie ten skrypt przerobie potem pod coś innego, tylko nie wiem jak wyciagnąć kasę.