[Ajuda] Erro ao compilar
#5

pawn Код:
stock ReverseSpectate(playerid)
{
    if(ConnectedPlayers(playerid) == 2)
        return StopSpectate(playerid);
       
    if(GetPlayerState(playerid) == PLAYER_STATE_SPECTATING && Player[playerid][gSpectateID] != INVALID_PLAYER_ID)
    {
        for(new x=Player[playerid][gSpectateID]-1; x>=0; x--)
        {
            if(x == 0)
                x = MAX_PLAYERS;  
            if(IsPlayerConnected(x) && x != playerid)
            {
                if((GetPlayerState(x) == PLAYER_STATE_SPECTATING && Player[x][gSpectateID] != INVALID_PLAYER_ID) ||
                    (GetPlayerState(x) != 1 && GetPlayerState(x) != 2 && GetPlayerState(x) != 3))
                {
                    continue;
                }
                else
                    StartSpectate(playerid, x), break;
            }
        }
    }
    return 1;
}
proxima mande a linha em especifico.
Reply


Messages In This Thread
OFF - by cicinho - 01.02.2015, 11:58
Re: Erro ao compilar - by PT - 01.02.2015, 12:31
Respuesta: Re: Erro ao compilar - by cicinho - 01.02.2015, 12:47
Respuesta: Erro ao compilar - by cicinho - 01.02.2015, 12:53
Re: Erro ao compilar - by PT - 01.02.2015, 14:50
Respuesta: Erro ao compilar - by cicinho - 01.02.2015, 15:33
Respuesta: Erro ao compilar - by cicinho - 01.02.2015, 17:38
Re: Erro ao compilar - by PT - 01.02.2015, 18:00

Forum Jump:


Users browsing this thread: 2 Guest(s)