slowly increase health
#1

I am currently setting the players health to 29 .
I want to slowly increase the players 29 not give it all at once.

{
new Float:Health;
GetPlayerHealth(playerid, Health);
SetPlayerHealth(playerid, Health+29);
SetPlayerWeather(playerid, -66);
PlantedWeed[playerid]-=1;
UsedWeed[playerid] = 1;
wBusy[playerid] = 1;
SetTimerEx("ClearDrugs", 60000*2, false, "d", playerid);
Reply
#2

make a timer to increase the health example every 2 seconds and then make a check if the players health is 29, if it is. Stop the timer
Reply
#3

example?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)