Guest User

Untitled

a guest
Jun 22nd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. procedure AppOnIdle(Ticks: integer);
  2. begin //Automatically reheal wounds
  3. Time := Time - 1;
  4. if Time = 0 then begin
  5. for a := 1 to 32 do
  6. if GetPlayerStat( a, 'Active' ) = true then
  7. if GetPlayerStat( a, 'Health' ) < 150 - HealFreq then begin
  8. DoDamage(a, -HealFreq);
  9. Time := TimeD;
  10. end;
  11. end;
  12. end;
Add Comment
Please, Sign In to add comment