#1

can someone make me a script that makes a players hp go up by 5% over and over agian for example something like this

Код:
if (strcmp("/td", cmdtext, true, 10) == 0)
		{
        new Float:health;
		GetPlayerHealth(playerid, health);
		SetPlayerHealth(playerid, health+5);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, "On Drugs");
		ApplyAnimation(playerid,"SMOKING", "smoke_01", 4.0, 1, 0, 0, 0, 0);
		return 1;
}
the thing that is wrong with this is that it only makes the players hp go up 5% once i need one that makes it go up over and over again +5

and while your at it (if u do it) can u make the player put in an amout (/td 1 or 2 or 3 etc) but if that amount is over 100 they die.
Reply


Messages In This Thread
/td - by AIMigboboy - 24.08.2013, 20:05
Re: /td - by x96664 - 24.08.2013, 20:09
Re: /td - by Konstantinos - 24.08.2013, 20:13
Re: /td - by x96664 - 24.08.2013, 20:16
Re: /td - by AIMigboboy - 25.08.2013, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)