on break:
if player is in world "test":
if {bewaar.Krolestwo3v3.status} is 3:
if {bewaar.Krolestwo3v3.block::%target block%} is not true:
cancel event
send "&cNie mozesz zniszczyc tego bloku!" to player
else:
if player doesn't have permission "protection.break":
cancel event
on place:
if player is in world "test":
if {bewaar.Krolestwo3v3.status} is 3:
add target-block to {bewaar.Krolestwo3v3.block::*}
else:
if player doesn't have permission "protection.place":
cancel event
No i mam pytanie bo jak jest "add target-block to {bewaar.Krolestwo3v3.block::*}" no w sensie bo wyskakuje mi błąd, że "target-block can't be added to {bewaar.Krolestwo3v3.block::*} becouse the former is not an object", więc jak dodać blok do zmiennej grupowej? (nie ogarniam tych zmiennych grupowych )
Pytanie
Rafep 3
Cześć, mam taki skrypt:
on break: if player is in world "test": if {bewaar.Krolestwo3v3.status} is 3: if {bewaar.Krolestwo3v3.block::%target block%} is not true: cancel event send "&cNie mozesz zniszczyc tego bloku!" to player else: if player doesn't have permission "protection.break": cancel event on place: if player is in world "test": if {bewaar.Krolestwo3v3.status} is 3: add target-block to {bewaar.Krolestwo3v3.block::*} else: if player doesn't have permission "protection.place": cancel event
No i mam pytanie bo jak jest "add target-block to {bewaar.Krolestwo3v3.block::*}" no w sensie bo wyskakuje mi błąd, że "target-block can't be added to {bewaar.Krolestwo3v3.block::*} becouse the former is not an object", więc jak dodać blok do zmiennej grupowej? (nie ogarniam tych zmiennych grupowych
)
Odnośnik do komentarza
Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi