SA-MP Forums Archive
[Ajuda] Quero trocar isso - 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] Quero trocar isso (/showthread.php?tid=440013)



Quero trocar isso - VSxD - 28.05.2013

Tipo Esse Negocio й de que se eu te matar aparecer a org tal q morreu qro mudar pra Quando vocк mata o player da Org Terrorista tal da o ponto para a org que matou
Exemplo
esse que peguei da guerra de pontos do morro
MorroPontos[killerorg] += 1;// Pontos Que ganha Qnd vocк Mata o Player
o meu ta se eu te matei o ponto vai pra quem morreu
Quote:

if(TendoGuerra == 1 && IsPlayerInTerritorio(playerid) && IsPlayerInTerritorio(killerid))
{
if(PlayerInfo[killerid][pMembro] == 3 || PlayerInfo[killerid][pLider] == 3)
{
if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
{
Territorio[talmortos] += 1;
}
if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
{
Territorio[almortos] += 1;
}
if(PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pLider] == 23)
{
Territorio[GImortos] += 1;
}
}
if(PlayerInfo[killerid][pMembro] == 6 || PlayerInfo[killerid][pLider] == 6)
{
if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)
{
Territorio[exemortos] += 1;
}
if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
{
Territorio[almortos] += 1;
}
if(PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pLider] == 23)
{
Territorio[GImortos] += 1;
}
}
if(PlayerInfo[killerid][pMembro] == 15 || PlayerInfo[killerid][pLider] == 15)
{
if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)
{
Territorio[exemortos] += 1;
}
if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
{
Territorio[talmortos] += 1;
}
if(PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pLider] == 23)
{
Territorio[GImortos] += 1;
}
}
if(PlayerInfo[killerid][pMembro] == 23 || PlayerInfo[killerid][pLider] == 23)
{
if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)
{
Territorio[exemortos] += 1;
}
if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
{
Territorio[talmortos] += 1;
}
if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
{
Territorio[almortos] += 1;
}
}
}




Re: Quero trocar isso - VSxD - 28.05.2013

Alguem Poderia me ajudar Fazendo Favor?


Re: Quero trocar isso - -Rafinha_FusioN- - 28.05.2013

me explica mlhr


Re: Quero trocar isso - VSxD - 28.05.2013

Eu quero Trocar Esses Codigos para Quem Matar o Player da Organizaзгo Terrorista Ganha o Ponto
Que o meu Seria Quem Morre ganha o Ponto

й tipo o guerra morro se tu ver la quem ganha o ponto й quem mata