[Ajuda] Gangzone
#4

Tente, sу colocar as paradas certo dentro
pawn Код:
for(new x = 0; x <= GetMaxPlayers(); x++)
{
    if(IsPlayerConnected(x))
    {
        if(PlayerInfo[x][pMembro] == 10 || PlayerInfo[x][pLider] == 10 && PlayerInfo[x][pLider] == 11 || PlayerInfo[x][pMembro] == 11 && IsPlayerInPlace(x,1905.908,-1810.773, 2227.908,-1530.773))
        {
            //...
        }
        else if(PlayerInfo[x][pMembro] == 11 || PlayerInfo[x][pLider] == 11 && !IsPlayerInPlace(x,1905.908,-1810.773, 2227.908,-1530.773))
        {
            //...
        }
        else if(PlayerInfo[x][pMembro] == 10 || PlayerInfo[x][pLider] == 10 && !IsPlayerInPlace(x,1905.908,-1810.773, 2227.908,-1530.773))
        {
            //...
        }
        else if(PlayerInfo[x][pMembro] == 10 || PlayerInfo[x][pLider] == 10 && PlayerInfo[x][pLider] == 11 || PlayerInfo[x][pMembro] == 11 && IsPlayerInPlace(x,1905.908,-1810.773, 2227.908,-1530.773))
        {
            //...
        }
    }
}
pawn Код:
!IsPlayerInPlace(x,1905.908,-1810.773, 2227.908,-1530.773))
Nгo seria melhor tirar o ' ! ' ? й que assim sу funciona se o jogador nгo estiver nessas coordenadas.
Reply


Messages In This Thread
Gangzone - by ViniKuliveguisky - 03.08.2013, 17:43
Re: Gangzone - by [A]rray - 03.08.2013, 17:55
Respuesta: Re: Gangzone - by ViniKuliveguisky - 03.08.2013, 18:44
Re: Gangzone - by [A]rray - 03.08.2013, 19:04
Respuesta: Gangzone - by ViniKuliveguisky - 03.08.2013, 19:49
Re: Gangzone - by Don_Speed - 03.08.2013, 20:07
Respuesta: Re: Gangzone - by ViniKuliveguisky - 03.08.2013, 20:14
Re: Respuesta: Re: Gangzone - by Don_Speed - 03.08.2013, 20:25
Respuesta: Gangzone - by ViniKuliveguisky - 03.08.2013, 20:29
Respuesta: Gangzone - by ViniKuliveguisky - 03.08.2013, 21:44

Forum Jump:


Users browsing this thread: 1 Guest(s)