weapon damage help
#2

If you found out how to shoot someone and set their health then you have already answered your own question. Just set it to however much you want to take away?

pawn Код:
OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
    new Float:HP;
    GetPlayerHealth(    damagedid, HP   );
    SetPlayerHealth(    damagedid, HP -[amount you want to reduce by]   );
   
    return 1;
}
?
Reply


Messages In This Thread
weapon damage help - by MichaelWharton101 - 14.12.2012, 01:58
Re: weapon damage help - by PlayLSX_Founder - 14.12.2012, 03:07
Re: weapon damage help - by Threshold - 14.12.2012, 03:37

Forum Jump:


Users browsing this thread: 1 Guest(s)