Health in cash bar
#4

Quote:
Originally Posted by ScottCFR
Код:
public OnPlayerUpdate(playerid)
{
     new HP = GetPlayerMoney(playerid);
     GetPlayerMoney(playerid)
     {
        SetPlayerHealth(playerid, HP);
     }
}
Something like this i'm guessing

*Untested
why you use
pawn Код:
GetPlayerMoney(playerid);
twice and health is a float money is a variable <- that aint really important since it worked for me
Reply


Messages In This Thread
Health in cash bar - by Czesuaf - 02.04.2010, 17:58
Re: Health in cash bar - by ScottCFR - 02.04.2010, 18:04
Re: Health in cash bar - by Czesuaf - 02.04.2010, 20:43
Re: Health in cash bar - by MPKaboose - 02.04.2010, 20:46
Re: Health in cash bar - by Czesuaf - 02.04.2010, 20:53
Re: Health in cash bar - by westre - 02.04.2010, 20:57
Re: Health in cash bar - by Czesuaf - 02.04.2010, 21:10
Re: Health in cash bar - by westre - 02.04.2010, 22:48
Re: Health in cash bar - by Czesuaf - 03.04.2010, 11:01
Re: Health in cash bar - by bajskorv123 - 03.04.2010, 11:24

Forum Jump:


Users browsing this thread: 1 Guest(s)