11.06.2012, 03:52
Simples
PHP код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
if(GetPlayerWeapon(playerid) == 34)
{
amount = 60;
new Float:vida;
GetPlayerHealth(damagedid, vida);
SetPlayerHealth(damagedid, vida-amount);
}
return 1;
}