11.03.2010, 19:20
Tenta isso ( mais tira o que vc ja tem ali ):
pawn Код:
new Fraco[MAX_PLAYERS] = false;
public OnPlayerUpdate(playerid){
new Float:HealthDetect;
GetPlayerHealth(playerid, HealthDetect);
if(!Fraco[playerid] && HealthDetect < 40)
{
Fraco[playerid]=true;
ApplyAnimation(playerid,"CRACK","crckdeth1",4.1,0,1,1,1,1);
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк estб muito fraco");
SendClientMessage(playerid, COLOR_LIGHTRED, "Se vocк quiser desistir da vida use /desistir (Nгo Abuse)");
SendClientMessage(playerid, COLOR_LIGHTRED, "ou Ligue para os Mйdicos /Discar 911");
}
return true;
}
public OnPlayerDeath(playerid,killerid,reason){
Fraco[playerid]=false;
return true;
}