02.07.2013, 11:40
Bom suspeito que alguem da minha casa mecheu no pawn quando eu editava um gm ... Tenho certeza que dizer vamos lar o gm esta com os seguintes errors que nao sei resolver :/
Primeiros errors
Linha dos errors
Segundo error
Linha do Erro
Primeiros errors
Код:
error 010: invalid function or declaration error 004: function "__OnDefaultParseFile" is not implemented error 001: expected token: "-identifier-", but found "forward" error 010: invalid function or declaration error 012: invalid function call, not a valid address error 029: invalid expression, assumed zero
Код:
forward OnDefaultParseFile(extraid, value [], key [], tag [], file []); public OnDefaultParseFile(extraid, value [], key [], tag [], file []) { // return printf("OnDefaultParseFile(%d, %s, %s, %s, %s)", extraid, value, key, tag, file); return 1; }
Segundo error
Код:
: error 012: invalid function call, not a valid address : error 029: invalid expression, assumed zero : warning 215: expression has no effect : error 001: expected token: ";", but found ")" : fatal error 107: too many error messages on one line
Linha do Erro
Код:
stock AdvanceSpectate(playerid) { if(ConnectedPlayers() == 2) { StopSpectate(playerid); return 1; } // <<< error esta aqui if(GetPlayerState(playerid) == PLAYER_STATE_SPECTATING && Player[playerid][gSpectateID] != INVALID_PLAYER_ID) { for(new x=Player[playerid][gSpectateID]+1; x<=MAX_PLAYERS; x++) { if(x == MAX_PLAYERS) { x = 0; } 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; }