Health set
#6

Quote:
Originally Posted by clarencecuzz
Посмотреть сообщение
Try it now...
pawn Код:
if(issuerid != INVALID_PLAYER_ID)
{
    if(weaponid == 34)
    {    
        new Float:health;    
        GetPlayerHealth(playerid, health); //We're saving it to our new Float:health variable.    
        SetPlayerHealth(playerid, ((health + amount) - 50));
    }
    return 1;
}
Works!
Thanks again
Reply


Messages In This Thread
Health set - by DaRk_RaiN - 24.09.2012, 21:38
Re: Health set - by clarencecuzz - 24.09.2012, 21:55
Re: Health set - by DaRk_RaiN - 25.09.2012, 21:45
Re: Health set - by clarencecuzz - 26.09.2012, 00:54
Re: Health set - by ikbenremco - 26.09.2012, 05:08
Re: Health set - by DaRk_RaiN - 26.09.2012, 16:59

Forum Jump:


Users browsing this thread: 1 Guest(s)