jan_kk

TO WKLEJ

Nov 18th, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. on entering region "meta":
  2. if {wyscig::%player%} is true:
  3. clear {wyscig::%player%}
  4. teleport player to {spawn}
  5. send "&2GOWNO - GOWNIANE W CHUJ"
  6. on entering region "start":
  7. if {wyscig::%player%} is not set:
  8. set {wyscig::%player%} to true
  9. send "&2ZACZOLES ZYCIE"
  10. command /wyscig>>spawn:
  11. trigger:
  12. set {wyscig>>spawn} to location of player
  13. command /wyscig:
  14. trigger:
  15. if {wyscig::enable} is true:
  16. if {wyscig::gra::%player%} is not set:
  17. set {wyscig::gra::%player%} to true
  18. teleport player to {wyscig>>spawn}
  19. add -1 to {wyscig::liczba.graczy.musi}
  20. add 1 to {wyscig::liczba.graczy}
  21. add player to {wyscig::gracze::*}
  22. loop {wyscig::gracze::*}:
  23. loop all players:
  24. if loop-player is "%loop-value%":
  25. send "&7[&6Wyscig&7] &2Gracz &b%player% &2dolaczyl do gry &f(&c%{wyscig::liczba.graczy}%&f/&c3&f)" to loop-player
  26. stop
  27. send "&cERROR"
  28. stop
  29. send "&cERROR"
  30. stop
  31. command /wyscig>>enable:
  32. trigger:
  33. set {wyscig::enable} to true
  34. command /wyscig>>reset:
  35. trigger:
  36. clear {wyscig::gracze::*}
  37. clear {wyscig::liczba.graczy}
  38. clear {wyscig::liczba.graczy.musi}
  39. on quit:
  40. if {wyscig::gracze::*} is player:
  41. remove player from {wyscig::gracze::*}
  42. add -1 to {wyscig::liczba.graczy}
  43. add 1 to {wyscig::liczba.graczy.musi}
  44. loop {wyscig::gracze::*}:
  45. loop all players:
  46. if loop-player is "%loop-value%":
  47. 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