Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- if {d.%victim%} is false:
- execute console command "fly %victim off"
- send "&cJestes w walce! Wylaczono ci Fly." to victim
- set {d.%victim%} to true
- if {d.%attacker%} is false:
- execute console command "fly %attacker% off"
- send "&cJestes w walce! Wylaczono ci Fly." to attacker
- set {d.%attacker%} to true
- set {d.%victim%.time} to 10
- set {d.%attacker%.time} to 10
- every 1 second:
- loop all players:
- if {d.%loop-player%} is true:
- {d.%loop-player%.time} is larger than 0:
- remove 1 from {d.%loop-player%.time}
- if {d.%loop-player%.time} is 0:
- set {d.%loop-player%} to false
- clear {d.%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment