Issue with making player loosing health over time by 10
#2

All you want is to make the player lose 10 points of his health?

pawn Код:
if(UserStats[playerid][Hunger] == 0) {
            for(new i = 1; i <= 1; i++) {
                new Float:pHealth;
                GetPlayerHealth(playerid, pHealth);
                SetPlayerHealth(playerid, pHealth-10);
                SendClientMessage(playerid,COLOR_RED,"You are loosing health, you need to eat something!");
            }
}
Reply


Messages In This Thread
Issue with making player loosing health over time by 10 - by tuuker - 23.12.2012, 18:07
Re: Issue with making player loosing health over time by 10 - by Randy More - 23.12.2012, 18:18
Re: Issue with making player loosing health over time by 10 - by Vince - 23.12.2012, 18:32
Re: Issue with making player loosing health over time by 10 - by tuuker - 23.12.2012, 18:37
Re: Issue with making player loosing health over time by 10 - by MP2 - 23.12.2012, 18:43
Re: Issue with making player loosing health over time by 10 - by tuuker - 23.12.2012, 18:45

Forum Jump:


Users browsing this thread: 3 Guest(s)