Zaaxel

Ranga za PKT

Mar 11th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. on rightclick on sign:
  2. if line 1 is "&7[&bRangaA&7]":
  3. if line 2 is "&6&lKUP":
  4. if line 3 is "&cKoszt:":
  5. if line 4 is "&a100pkt":
  6. if {punkty.%player%} is bigger than 100:
  7. execute console command "pex user %player% group set RangaA"
  8. execute console command "pex user %player% add ranga.a"
  9. send "&6Wykupiles &b&oRangaA!"
  10. else:
  11. send "Nie masz tyle pkt"
  12. if line 1 is "&7[&cRangaB&7]":
  13. if line 2 is "&6&lKUP":
  14. if line 3 is "&cKoszt:":
  15. if line 4 is "&a250pkt":
  16. if player has permission "ranga.a":
  17. if {punkty.%player%} is bigger than 250:
  18. execute console command "pex user %player% group set RangaB"
  19. execute console command "pex user %player% add ranga.b"
  20. send "&6Wykupiles &c&oRangaB"
  21. else:
  22. send "Nie masz tyle pkt"
  23. else:
  24. send "Aby kupic RangaB musisz posiadac RangaA"
Advertisement
Add Comment
Please, Sign In to add comment