14.12.2012, 03:37
Quote:
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 Код:
|
pawn Код:
OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
new Float:HP;
GetPlayerHealth(playerid, HP);
SetPlayerHealth(playerid, HP -[amount you want to reduce by]);
return 1;
}