Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- przywolaj: &6&lPrzywolaj konia #NAZWA PRZYWOLYWACZA
- zabij: &4&lZabij konia #NAZWA 'ZABIJACZA'
- on rightclick:
- if name of player's tool is "{@przywolaj}":
- cancel event
- if {kon::%player%} is not set:
- spawn 1 horse at player
- set name of spawned entity to "Kon &a%player%"
- set {kon::%player%} to true
- else:
- send "&4&oZrespiles juz konia!"
- on rightclick on horse:
- if name of player's tool is "{@zabij}":
- if name of clicked entity is "Kon &a%player%":
- kill clicked entity
- clear {kon::%player%}
- else:
- send "&4&oTo nie twoj kon!"
- else:
- if name of clicked entity is "Kon &a%player%":
- stop
- else:
- send "&4&oTo nie twoj kon!"
- #CLEAR DROPS
- on death:
- if victim is horse:
- if name of victim is set:
- clear drops
Advertisement
Add Comment
Please, Sign In to add comment