how to repeat a timer 15times
#1

i was wonder how to only make my settimer repeat a function only 15times..

here is the function :
-------------------------------------
forward Regernation(playerid);
public Regernation(playerid)
{
new Float:Health;
if (Health > 100)
SetPlayerHealth(playerid, 100.0);
else
GetPlayerHealth(playerid, Health);
SetPlayerHealth(playerid, Health + 2.0);
return 1;
}
------------------------------------
and the Timer is :

SetTimer("Regernation",2000,true);
Reply


Messages In This Thread
how to repeat a timer 15times - by MWhite_005 - 15.07.2011, 17:43
Re: how to repeat a timer 15times - by Tigerkiller - 15.07.2011, 17:46
Re: how to repeat a timer 15times - by MWhite_005 - 15.07.2011, 18:01
Re: how to repeat a timer 15times - by Seven_of_Nine - 15.07.2011, 19:09
Re: how to repeat a timer 15times - by Roko_foko - 15.07.2011, 19:13
Re: how to repeat a timer 15times - by Jefff - 15.07.2011, 19:14
AW: Re: how to repeat a timer 15times - by Nero_3D - 15.07.2011, 22:08
Re: how to repeat a timer 15times - by MWhite_005 - 15.07.2011, 22:19
Re: how to repeat a timer 15times - by MWhite_005 - 15.07.2011, 22:27
Re: how to repeat a timer 15times - by Adil - 15.07.2011, 22:31

Forum Jump:


Users browsing this thread: 6 Guest(s)