BarunYYT

AntyLog

Sep 24th, 2014
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. on damage:
  2. if victim is player:
  3. set {walka.%attacker%} to 10
  4. set {walka.%victim%} to 10
  5. send "&cJestes podczas walki! Nie logaj!"
  6.  
  7.  
  8. every 1 second:
  9. loop all players:
  10. if {walka.%loop-players%} is 10
  11. loop 10 times:
  12. remove 1 from {walka.%loop-players%}
  13. wait 1 second
  14. if {walka.%loop-players%} is 0:
  15. send "&cMozesz sie wylogowac"
  16.  
  17. on quit:
  18. if {walka.%player%} < 1:
  19. kill player:
  20. send "&4Gracz wylogowal sie podczas walki."
Advertisement
Add Comment
Please, Sign In to add comment