grantygames

Untitled

Aug 4th, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. variables:
  2. {sb.%player%.kills} = 0
  3. {sb.%player%.deaths} = 0
  4.  
  5. on death:
  6. victim is a player
  7. attacker is a player
  8. add 1 to {sb.%victim%.deaths}
  9. add 1 to {sb.%attacker%.kills}
  10.  
  11. command /meukd:
  12. trigger:
  13. send "&aMatou: %{sb.%player%.kills}%"
  14. send "&cMorreu: %{sb.%player%.deaths}%"
  15.  
  16. command /resetkd [<offlineplayer>]:
  17. aliases: rkd
  18. permission: resetkd.use
  19. trigger:
  20. if arg 1 is set:
  21. set {sb.%arg 1%.kills} to 0
  22. set {sb.%arg 1%.deaths} to 0
  23. send "&aVoce resetou o kd do player: %arg 1%"
Advertisement
Add Comment
Please, Sign In to add comment