Skocz do zawartości
  • 0

iron bars


ejer

Pytanie

command /setbars:
    permission: setbars
    trigger:
        if player is in the world "game":
            add target block to {barblocks::*}
            send "Added a bars block"
            
command /delbars:
    permission: delbars
    trigger:
        if player is in the world "game":
            remove target block from {barblocks::*}
            send "Removed a bars block"
        
command /barsrefil:
    permission: barsrefil
    trigger:
        set blocks at {barblocks::*} to iron bars
        send "Refilled bars blocks"

Chodzi dokładnie o "set blocks at {barblocks::*} to iron bars". Gdy zamiast "iron bars" dam np "stone" ("set blocks at {barblocks::*} to stone") to stawia normalnie stona w dane miejsce ale z iron barami już nie działa :/

Odnośnik do komentarza
https://skript.pl/temat/25247-iron-bars/
Udostępnij na innych stronach

8 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Mi działa dobrze.

Powiedz mi..

Czy masz takie pluginy jak:

- Skript

- WildSkript

- SkQuery?

Bo bez nich nie da rady odpalić tego. 

Jak się naprawiło nie pogardzę like ;d

Edytowane przez Mati17102
Odnośnik do komentarza
https://skript.pl/temat/25247-iron-bars/#findComment-167627
Udostępnij na innych stronach

  • 0
command /setbars:
    permission: setbars
    trigger:
        if player is in the world "game":
            add location of target block to {barblocks::*}
            send "Added a bars block"
            
command /delbars:
    permission: delbars
    trigger:
        if player is in the world "game":
            remove location of target block from {barblocks::*}
            send "Removed a bars block"
        
command /barsrefil:
    permission: barsrefil
    trigger:
        loop {barblocks::*}:
			set block at loop-value to iron bars
        send "Refilled bars blocks"

Prosze.

Odnośnik do komentarza
https://skript.pl/temat/25247-iron-bars/#findComment-167661
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...