18.08.2013, 04:00
PHP код:
if (weaponid == 24) // Desert Eagle
{
new Float:Colete;
GetPlayerArmour(damageid,Colete);
if(Colete > 0)
{
SetPlayerArmour(damagedid,Colete - amount);
}
else
{
SetPlayerHealth(damagedid,0);
}
}