03.05.2011, 20:40
malz e funзгo do onplayerdeath nao ta funcionando
pawn Код:
if(reason == 54 || reason == 53 && WantedPoints[playerid] >= 1)
{
new Name[MAX_PLAYER_NAME];
PlayerInfo[playerid][pPreso] = 6;
PlayerInfo[playerid][pJailTime] = (WantedPoints[playerid])*(400);
format(string,sizeof(string),"**** [ID: %d]%s Vocк tentou suicidio com nivel de PROCURADO, atitude ANTI-RPG ! ! !",playerid,Name);
SendClientMessage(playerid,COLOR_CV, string);
format(string,sizeof(string),"**** [ID: %d]%s Tentou suicidio com nivel de PROCURADO, atitude ANTI-RPG ! ! !",playerid,Name);
ABroadCast(COLOR_CV,string,1);
ClearCrime(playerid);
WantedPoints[playerid] = 0;
SetPlayerWantedLevel(playerid, 0);
}