06.03.2014, 23:16
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
new Float:Health, Float:Armour;
GetPlayerHealth( damagedid , Health );
GetPlayerArmour( damagedid , Armour );
if( Chidorigatana[playerid] == true )
{
TogglePlayerControllable(damagedid, false);
Health = Health - 45;
SetPlayerHealth( damagedid, Health);
}
return 1;
}