[Ajuda] Erro ao compilar
#4

Novos erros:

pwn(15411) : error 012: invalid function call, not a valid address
pwn(15411) : error 001: expected token: ";", but found ")"
pwn(15411) : error 029: invalid expression, assumed zero
pwn(15411) : fatal error 107: too many error messages on one line

PHP код:
stock ReverseSpectate(playerid)
{
    if(
ConnectedPlayers(playerid) == 2) { StopSpectate(playerid); return 1; }
    if(
GetPlayerState(playerid) == PLAYER_STATE_SPECTATING && Player[playerid][gSpectateID] != INVALID_PLAYER_ID) {
            for(new 
x=Player[playerid][gSpectateID]-1x>=0x--) {
                if(
== 0) { MAX_PLAYERS; }
                if(
IsPlayerConnected(x) && != playerid) {
                                if(
GetPlayerState(x) == PLAYER_STATE_SPECTATING && Player[x][gSpectateID] != INVALID_PLAYER_ID ||
                                        (
GetPlayerState(x) != && GetPlayerState(x) != && GetPlayerState(x) != 3))
                                {
                                        continue;
                                }
                                else {
                                        
StartSpectate(playeridx);
                                        break;
                                }
                        }
                }
        }
    return 
1;

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: 1 Guest(s)