patison234

t

Aug 23rd, 2014
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. on death of player:
  2. attacker is a player
  3. if {rank.r::%name of attacker%} is greater than {rank.r::%name of player%}:
  4. add 1 to {rank.d::%name of player%}
  5. add -1 to {rank.r::%name of player%}
  6. add 1 to {rank.k::%name of attacker%}
  7. set {%attacker%} to {rank.r::%name of attacker%}
  8. set {rank2.r::%name of attacker%} to {rank.r::%name of attacker%}/8
  9. set {rank3.r::%name of attacker%} to {rank.r::%name of player%}/5
  10. set {rank4.r::%name of attacker%} to {rank2.r::%name of attacker%}+{rank2.r::%name of attacker%}
  11. add {rank4.r::%name of attacker%} to {rank.r::%name of attacker%}
  12. broadcast "&c%victim% &8(&c%{rank.r::%name of player%}%&8) &8zostal zabity przez &c%{%attackier%}% &8(&c%{rank.r::%name of attacker%}%&8)"
  13. if {rank.r::%name of attacker%} is smaller than {rank.r::%name of player%}:
  14. add 1 to {rank.d::%name of player%}
  15. add -1 to {rank.r::%name of player%}
  16. add 1 to {rank.k::%name of attacker%}
  17. set {%attacker%} to {rank.r::%name of attacker%}
  18. set {rank2.r::%name of attacker%} to {rank.r::%name of attacker%}/8
  19. set {rank3.r::%name of attacker%} to {rank.r::%name of player%}/5
  20. set {rank4.r::%name of attacker%} to {rank2.r::%name of attacker%}+{rank2.r::%name of attacker%}
  21. add {rank4.r::%name of attacker%} to {rank.r::%name of attacker%}
  22. broadcast "&c%victim% &8(&c%{rank.r::%name of player%}%&8) &8zostal zabity przez &c%{%attackier%}% &8(&c%{rank.r::%name of attacker%}%&8)"
  23. if {rank.r::%name of attacker%} is equal to {rank.r::%name of player%}:
  24. add 1 to {rank.d::%name of player%}
  25. add -1 to {rank.r::%name of player%}
  26. add 1 to {rank.k::%name of attacker%}
  27. set {%attacker%} to {rank.r::%name of attacker%}
  28. set {rank2.r::%name of attacker%} to {rank.r::%name of attacker%}/8
  29. set {rank3.r::%name of attacker%} to {rank.r::%name of player%}/5
  30. set {rank4.r::%name of attacker%} to {rank2.r::%name of attacker%}+{rank2.r::%name of attacker%}
  31. add {rank4.r::%name of attacker%} to {rank.r::%name of attacker%}
  32. broadcast "&c%victim% &8(&c%{rank.r::%name of player%}%&8) &8zostal zabity przez &c%{%attackier%}% &8(&c%{rank.r::%name of attacker%}%&8)"
Advertisement
Add Comment
Please, Sign In to add comment