29.11.2013, 09:06
...
This is the easiest way, probaly.
Damage stacks, Deagle normally does 46 damage. Now it does 92 damage.
This is the easiest way, probaly.
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
new Float:Health;
GetPlayerHealth(playerid, Health);
if(weaponid == 24) SetPlayerHealth(playerid, Health-46);
return 1;
}