Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on vehicle enter:
- event-entity is a horse
- wait 1 tick
- {Team_Horse} is set
- set {_player} to player
- loop {Team.%{TeamNumber::%{_player}%}%::*}:
- set {_f} to ("%loop-value%" parsed as offlineplayer)
- {_f} is not {_player}
- if {_f} is riding a horse:
- make {_player} dismount
- send "&c'%{_f}%' is already riding a horse" to {_player}
- stop
Advertisement
Add Comment
Please, Sign In to add comment