[Ajuda] K/D com Bug - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] K/D com Bug (
/showthread.php?tid=593597)
K/D com Bug -
fdsda - 07.11.2015
Bom, meu K/D nao esta contando os kill e nem o deaths;
mas eu ja revirei meu GM e parece estar tudo correto.
alguem sabe oque pode ser?
Code:
if(InEvento[killerid] == 0 && Inx1A[killerid] == 0 && Inx1L[killerid] == 0 && InGaiola[killerid] == 0)
{
if(admtrampando[playerid] == 0 && helptrampando[playerid] == 0 && TempoONOFF[playerid] == 0)
{
if(PlayerInfo[playerid][pHorasON] == 0 || PlayerInfo[playerid][pLevel] <= 3 || PlayerInfo[playerid][pMembro] == 0 || PlayerInfo[playerid][pLider] == 0)
{
format(string, sizeof(string),"[AVISO] Vocк matou um Novato/Civil e por isso Perdeu -1 Ponto de [Matou/Kill] no RG.", Nome(playerid));
SendClientMessage(killerid, Vermelho, string);
PlayerInfo[killerid][pMatou] -= 1;
}
else
{
PlayerInfo[killerid][pMatou] += 1; PlayerInfo[playerid][pMorreu] += 1;
ChecaTempoExp(killerid);
DropWeapons(playerid);
}
}
}
sistema de K/D esta aqui.