Advertisement
LordziaK

TimeFly - Latanie na czas

Aug 8th, 2016
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. options:
  2. uprawnienie: timefly.vip
  3. wiadomosc_uprawnienia:
  4. command /fly:
  5. trigger:
  6. if player has permission "{@uprawnienie}":
  7. if player has 10 diamonds:
  8. if {fly::%player%} is false:
  9. set {fly::%player%} to true
  10. send "&aZakupiles latanie na 10minut."
  11. send "&4Gdy wyjdziesz z gry to latanie zostanie usuniete
  12. remove 10 diamond from player
  13. allow player to fly
  14. wait 9 minutes
  15. send "&cPozostalo Ci minuta latania."
  16. wait 1 minute
  17. disallow player to fly
  18. set {fly::%player%} to false
  19. send "&cTwoj lot sie juz skonczyl, mozesz ponownie go wykupic za 10 diametow!"
  20. else:
  21. send "&4Blad: &cMasz juz wykupione latanie."
  22. else:
  23. send "&4Blad: &cNie masz 10 diametow!"
  24. else:
  25. send "{@wiadomosc_uprawnienia}"
  26. on leave:
  27. if {fly::%player%} is true:
  28. disallow player to fly
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement