Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on entering region "meta":
- if {wyscig::%player%} is true:
- clear {wyscig::%player%}
- teleport player to {spawn}
- send "&2GOWNO - GOWNIANE W CHUJ"
- on entering region "start":
- if {wyscig::%player%} is not set:
- set {wyscig::%player%} to true
- send "&2ZACZOLES ZYCIE"
- command /wyscig>>spawn:
- trigger:
- set {wyscig>>spawn} to location of player
- command /wyscig:
- trigger:
- if {wyscig::enable} is true:
- if {wyscig::gra::%player%} is not set:
- set {wyscig::gra::%player%} to true
- teleport player to {wyscig>>spawn}
- add -1 to {wyscig::liczba.graczy.musi}
- add 1 to {wyscig::liczba.graczy}
- add player to {wyscig::gracze::*}
- loop {wyscig::gracze::*}:
- loop all players:
- if loop-player is "%loop-value%":
- send "&7[&6Wyscig&7] &2Gracz &b%player% &2dolaczyl do gry &f(&c%{wyscig::liczba.graczy}%&f/&c3&f)" to loop-player
- stop
- send "&cERROR"
- stop
- send "&cERROR"
- stop
- command /wyscig>>enable:
- trigger:
- set {wyscig::enable} to true
- command /wyscig>>reset:
- trigger:
- clear {wyscig::gracze::*}
- clear {wyscig::liczba.graczy}
- clear {wyscig::liczba.graczy.musi}
- on quit:
- if {wyscig::gracze::*} is player:
- remove player from {wyscig::gracze::*}
- add -1 to {wyscig::liczba.graczy}
- add 1 to {wyscig::liczba.graczy.musi}
- loop {wyscig::gracze::*}:
- loop all players:
- if loop-player is "%loop-value%":
- send "&7[&6Wyscig&7] &2Gracz &b%player% &2wyszedl z gry &f(&c%{wyscig::liczba.graczy}%&f/&c3&f)" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment