06.09.2018, 09:03
Try this :
PHP код:
OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
if(GetPlayerWantedLevel(issuerid) == 0 )
{
new health, armour;
GetPlayerHealth(issuerid, health);
SetPlayerHealth(issuerid, health);
GetPlayerArmour(issuerid, armour);
SetPlayerArmour(issuerid, armour);
}
return 1;
}

