21.04.2010, 19:58
You can set the health more. Like 100 (full) Example:
pawn Код:
public OnPlayerUpdate(playerid)
{
new Float:HealthAmount; //done
GetPlayerHealth(playerid, HealthAmount);
if(HealthAmount <= 20)
{
SetPlayerPos(playerid, 0.0, 0.0, 0.0);
SetPlayerHealth(playerid, 100);
}
return 1;
}

