Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click:
- if name of player's tool is "&4Rzucane &f&lTNT":
- set {tnt.%player%} to true
- shoot a TNT from player with speed 0.4
- remove 1 tnt named "&4Rzucane &f&lTNT" from player
- wait 2 second
- set {tnt.%player%} to false
- on place tnt:
- if {tnt.%player%} is true:
- cancel event
- command /rzucanetnt [<player>] [<text>]:
- permission: daj.rzucane
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- send "&b&lEast&F&LCore&a.eu &f&o>> &f&oPoprawne uzycie &c&o/&f&oRzucane [nick] [ilosc]"
- if arg 1 is set:
- if arg 2 is set:
- execute console command "give %arg 1% tnt %arg 2% name:&4Rzucane &f&lTNT"
- send "&b&lEast&F&LCore&a.eu &f&o>> &a&lOtrzymales &4Rzucane &f&lTNT &2&lx&a&l%arg 2% &a&l!" to player-arg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement