01.08.2011, 01:30
Don't think I am noob. I forget the last part of my code =]
Happy now?
pawn Код:
forward Explosion(playerid, adminid);
public Explosion(playerid, adminid) {
if(checkinv == 1)
{
new Float:health;
GetPlayerHealth(playerid,health);
if(health == 100)
{
SendClientMessage(adminid,COLOR_YELLOW,"Invulnerability check result : [POSITIVE]");
checkinv = 0;
}
else if(health != 100)
{
SendClientMessage(adminid,COLOR_YELLOW,"Invulnerability check result : [NEGATIVE]");
checkinv = 0;
}
}
return 1;
}