Czy mógł by mi ktoś dopisać ze jeżeli gracz nie posiada danej ilości TnT wysyła mu wiadomość "Nie posiadasz 9 staków TnT"
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
command /rzucanetnt:
trigger:
player have 576 tnt
remove 576 tnt from the player's inventory
give 1 tnt of infinity 5 named "&4Rzucane TnT" to the player
Pytanie
GameOverAll 2
Czy mógł by mi ktoś dopisać ze jeżeli gracz nie posiada danej ilości TnT wysyła mu wiadomość "Nie posiadasz 9 staków TnT"
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 command /rzucanetnt: trigger: player have 576 tnt remove 576 tnt from the player's inventory give 1 tnt of infinity 5 named "&4Rzucane TnT" to the player
Odnośnik do komentarza
Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi