15.04.2013, 20:34
pawn Код:
if(pickupid == HealthPickup)
{
new Float:phealth;
GetPlayerHealth(playerid,phealth);
if(phealth >= 85) return SendClientMessage(playerid,red,"Your health is already full. You can't take this pickup.");
GivePlayerHealth(playerid,5);
}