if player health 100
#4

its know looking like this

but i want to make the health from 0.1 tell 0.99

PHP код:
    else if(clickedid == Heal//Hospital
    
{
            new 
Float:health;
            
GetPlayerHealth(playerid,health);
            if (
health == 0.1 99.9)
            {
            
GivePlayerMoney(playerid,-100);
            
SetPlayerHealth(playerid100);
            
SendClientMessage(playeridCOLOR_WHITE"you have Healed Your Self");
            }
            else 
SendClientMessage(playeridCOLOR_RED"Your Health Is Already Full");
    } 
Reply


Messages In This Thread
if player health 100 - by HardBoy - 28.09.2012, 14:05
Re: if player health 100 - by Face9000 - 28.09.2012, 14:09
Re: if player health 100 - by HardBoy - 28.09.2012, 14:31
Re: if player health 100 - by HardBoy - 28.09.2012, 14:44
Re: if player health 100 - by [rG]Cold - 28.09.2012, 14:46
Re: if player health 100 - by SuperViper - 28.09.2012, 14:46
Re: if player health 100 - by HardBoy - 28.09.2012, 14:48
Re: if player health 100 - by Danyal - 28.09.2012, 15:20
Re: if player health 100 - by HardBoy - 28.09.2012, 15:58
Re: if player health 100 - by zDevon - 28.09.2012, 17:34

Forum Jump:


Users browsing this thread: 1 Guest(s)