27.03.2015, 12:09
PHP код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
new Float:health;
GetPlayerHealth(playerid, health);
if(health==0)
{
CallLocalFunction("OnPlayerDeathEx", "ii", playerid, issuerid);
}
return 1;
}

