02.10.2014, 03:58
pawn Код:
new Float:phealth,Float:thealth;
GetPlayerHealth(playerid,phealth);
GetPlayerHealth(targetid,thealth);
if((phealth<100)&&(thealth>0))
{
SetPlayerHealth(playerid,phealth++);
SetPlayerHealth(targetid,thealth--);
}