[Ajuda] Warnings no gamemode
#1

Erros e warnings:
Код:
(6647) : warning 213: tag mismatch
(6647) : error 001: expected token: ")", but found "["
(6647) : error 029: invalid expression, assumed zero
(6647) : warning 215: expression has no effect
(6647) : error 001: expected token: ";", but found "]"
(6647) : fatal error 107: too many error messages on one line
Linha
pawn Код:
if(Territorio[t][TRON] >= 1)
Parte do erro
pawn Код:
MorroShowForPlayer(playerid);
    for(new t = 0; t < sizeof(Territorio); t++)
    {
        if(Territorio[t][TRON] >= 1)
        {
            GangZoneShowForPlayer(playerid,Territorio[t][TRID],Territorio[t][CorTR]);
            if(Territorio[t][TRGuerra] >= 1)
            {
                GangZoneFlashForPlayerEx(playerid,Territorio[t][TRID]);
            }
        }
    }
Reply
#2

pawn Код:
MorroShowForPlayer(playerid)
{
    for(new t = 0; t < sizeof(Territorio); t++)
    {
        if(Territorio[t][TRON] >= 1)
        {
            GangZoneShowForPlayer(playerid,Territorio[t][TRID],Territorio[t][CorTR]);
            if(Territorio[t][TRGuerra] >= 1)
            {
                GangZoneFlashForPlayerEx(playerid,Territorio[t][TRID]);
            }
        }
    }
    return 1;
}
Reply
#3

pawn Код:
(6645) : error 001: expected token: ";", but found "{"
(6648) : warning 213: tag mismatch
(6648) : error 001: expected token: ")", but found "["
(6648) : error 029: invalid expression, assumed zero
(6648) : warning 215: expression has no effect
(6648) : error 001: expected token: ";", but found "]"
(6648) : fatal error 107: too many error messages on one line
pawn Код:
Linha  6645  -  {
Linha 6648-        if(Territorio[t][TRON] >= 1)
Reply
#4

Upp pf
Reply
#5

poste o cуdigo desses erros completos.
Reply
#6

PHP код:
(6647) : warning 213tag mismatch
(6647) : error 001expected token")"but found "["
(6647) : error 029invalid expressionassumed zero
(6647) : warning 215expression has no effect
(6647) : error 001expected token";"but found "]"
(6647) : fatal error 107too many error messages on one line 
1 Erro: TAG errada, ou nгo possui funзгo
2 Erro: Vocк colocou nъmeros/Nгo fechou a chave ou fez alguma outra coisa (posta as linhas completas)
3 Erro: Expressгo invalida, й a mesma coisa que fazer um ''new Isso'' e nunca usa-lo
4 Erro: Expressгo sem Valor, estб lб ativa mais nгo muda nada.
5 Erro: TAG errada, ou nгo possui funзгo
6 Erro: Muitos erros em uma linha sу.
Reply
#7

Editei meu gm e coloquei o guerra no morro do lac ai agora da os erros
Reply
#8

Quote:
Originally Posted by Vinicius_TroLL
Посмотреть сообщение
Erros e warnings:
Код:
(6647) : warning 213: tag mismatch
(6647) : error 001: expected token: ")", but found "["
(6647) : error 029: invalid expression, assumed zero
(6647) : warning 215: expression has no effect
(6647) : error 001: expected token: ";", but found "]"
(6647) : fatal error 107: too many error messages on one line
Linha
pawn Код:
if(Territorio[t][TRON] >= 1)
Parte do erro
pawn Код:
MorroShowForPlayer(playerid);
    for(new t = 0; t < sizeof(Territorio); t++)
    {
        if(Territorio[t][TRON] >= 1)
        {
            GangZoneShowForPlayer(playerid,Territorio[t][TRID],Territorio[t][CorTR]);
            if(Territorio[t][TRGuerra] >= 1)
            {
                GangZoneFlashForPlayerEx(playerid,Territorio[t][TRID]);
            }
        }
    }
PHP код:
[pawn]    MorroShowForPlayer(playerid);
    for(new 
0sizeof(Territorio); t++)
    {
        if(
Territorio[t][TRON] >= 1)
        {
            
GangZoneShowForPlayer(playerid,Territorio[t][TRID],Territorio[t][CorTR]);
            if(
Territorio[t][TRGuerra] >= 1);
            {
                
GangZoneFlashForPlayerEx(playerid,Territorio[t][TRID])
            }
    } 
Fecho! Usa isso /\
Reply
#9

pawn Код:
Incs
pawno\include\seif_walk.inc(39) : error 004: function "Walk_OnPlayerKeyStateChange" is not implemented
pawno\include\servermoneyGM.inc(10) : error 004: function "GMInit" is not implemented
pawno\include\servermoneyGM.inc(16) : error 004: function "GMExit" is not implemented
pawno\include\servermoneyGM.inc(47) : error 004: function "OnPlayerHaveExtraCash" is not implemented

GM
(621) : error 004: function "split" is not implemented
(1009) : error 004: function "OnPropUpdate" is not implemented
(1009) : error 004: function "SaveBoxer" is not implemented
(1009) : error 004: function "SaveCars" is not implemented
(1009) : fatal error 107: too many error messages on one line
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)