Problem with max Health
#1

For someone that we can say that I choose to be 100 max Health, for example, when someone takes the juice to drink and sing it to the full HP to 360, or buy in Burg eg burger two times it is 200 HP, I think to understand me.
Thanks in advance.
Reply
#2

Please someone help me.
Reply
#3

Don't make 2xPosts, wait !

Код:
public OnPlayerUpdate( playerid )
{
    new Float:lfHealth;
    GetPlayerHealth( playerid, lfHealth );
    if( lfHealth > 100.0 )
        SetPlayerHealth( playerid, 100.0 );

    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)