knugi

Untitled

Oct 11th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. on damage:
  2. if {d.%victim%} is false:
  3. execute console command "fly %victim off"
  4. send "&cJestes w walce! Wylaczono ci Fly." to victim
  5. set {d.%victim%} to true
  6. if {d.%attacker%} is false:
  7. execute console command "fly %attacker% off"
  8. send "&cJestes w walce! Wylaczono ci Fly." to attacker
  9. set {d.%attacker%} to true
  10. set {d.%victim%.time} to 10
  11. set {d.%attacker%.time} to 10
  12. every 1 second:
  13. loop all players:
  14. if {d.%loop-player%} is true:
  15. {d.%loop-player%.time} is larger than 0:
  16. remove 1 from {d.%loop-player%.time}
  17. if {d.%loop-player%.time} is 0:
  18. set {d.%loop-player%} to false
  19. clear {d.%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment