Mam pewien problem. Mianowicie chce zeby rzucanego tnt nie dalo sie rzucac na spawn.
Podam moj skript. Jesli ktos chce moze przerobic tak zeby sie nie dalo rzucac na regionie spawn.
on rightclick:
if name of player's tool is "&4Rzucane TnT":
set {tnt.%player%} to true
shoot a TNT from player with speed 0.4
remove 1 tnt named "&4Rzucane TnT" from player
wait 2 second
set {tnt.%player%} to false
on place tnt:
if {tnt.%player%} is true:
cancel event
on script load:
register new shaped recipe for TNT of infinity 1 named "&4Rzucane TnT" using iron ingot, iron ingot, iron ingot, iron ingot, tnt, iron ingot, iron ingot, iron ingot, iron ingot
Pytanie
mine 0
Hejka.
Mam pewien problem. Mianowicie chce zeby rzucanego tnt nie dalo sie rzucac na spawn.
Podam moj skript. Jesli ktos chce moze przerobic tak zeby sie nie dalo rzucac na regionie spawn.
on rightclick: if name of player's tool is "&4Rzucane TnT": set {tnt.%player%} to true shoot a TNT from player with speed 0.4 remove 1 tnt named "&4Rzucane TnT" from player wait 2 second set {tnt.%player%} to false on place tnt: if {tnt.%player%} is true: cancel event on script load: register new shaped recipe for TNT of infinity 1 named "&4Rzucane TnT" using iron ingot, iron ingot, iron ingot, iron ingot, tnt, iron ingot, iron ingot, iron ingot, iron ingotZ gory dzieki.
Odnośnik do komentarza
https://skript.pl/temat/45645-zablokowanie-rzucanego-tnt-na-spawn/Udostępnij na innych stronach
3 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ą.