Guest User

Untitled

a guest
Mar 1st, 2014
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.81 KB | None | 0 0
  1. on death:
  2.     if attacker is player:
  3.         victim is player:
  4.             add 1 to {kills.%attacker%}
  5.             add 1 to {deaths.%victim%}
  6.             send "&aOtrzymujesz &b1 &apunkt za zabicie &6%victim%" to attacker
  7.             send "&aOtrzymujesz &b+1 &apunkt smierci..." to victim
  8.             wait 0.1 second
  9.             set the attacker's tablist name to "&7[&a%{kills.%attacker%}%&7]&3%attacker%&7[&c%{deaths.%attacker%}%&7]"
  10.            set the victim's tablist name to "&7[&a%{kills.%victim%}%&7]&3%victim%&7[&c%{deaths.%victim%}%&7]"
  11.             stop
  12.  
  13. on join:
  14.     set the player's tablist name to "&7[&a%{kills.%player%}%&7]&3%player%&7[&c%{deaths.%player%}%&7]"
  15.    if {kills.%player%} is not set:
  16.     set {kills.%player%} to 0
  17.    if {deaths.%player%} is not set:
  18.     set {kills.%player%} to 0
  19.    stop
Advertisement
Add Comment
Please, Sign In to add comment