Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using GTA;
- using System;
- public class Bleeding : Script
- {
- int ReferenceTime = Game.GameTime;
- int Interval = 15000;
- public Bleeding()
- {
- Tick += OnTick;
- }
- void OnTick(object sender, EventArgs e)
- {
- if(Game.GameTime > ReferenceTime + Interval)
- {
- ReferenceTime = Game.GameTime;
- Game.Player.Character.Health -= 1;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement