The Death Timer!!
#2

Set a timer for 1 second that repeats.
Then in the function decrease the players health.
pawn Код:
// Your function
forward Death(playerid);
public Death(playerid)
{
       new Float:Health;
       GetPlayerHealth(playerid, Health);
       SetPlayerHealth(playerid, Health-5);
}
i'm not the with timers but i hope this helps!
Reply


Messages In This Thread
The Death Timer!! - by Swiftz - 13.05.2011, 15:42
Re: The Death Timer!! - by Hobod - 13.05.2011, 15:44
Re: The Death Timer!! - by [SU]Balli - 13.05.2011, 15:51
Re: The Death Timer!! - by __ - 13.05.2011, 15:54
Re: The Death Timer!! - by Laronic - 13.05.2011, 15:59
Re: The Death Timer!! - by __ - 13.05.2011, 16:01
Re: The Death Timer!! - by Laronic - 13.05.2011, 16:03
Re: The Death Timer!! - by Swiftz - 13.05.2011, 16:12
Re: The Death Timer!! - by Laronic - 13.05.2011, 16:14
Re: The Death Timer!! - by Swiftz - 13.05.2011, 16:19

Forum Jump:


Users browsing this thread: 6 Guest(s)