SA-MP Forums Archive
[Ajuda] Warnings no gamemode - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Warnings no gamemode (/showthread.php?tid=392372)



Warnings no gamemode - Vinicius_TroLL - 13.11.2012

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]);
            }
        }
    }



Re: Warnings no gamemode - jpeg - 14.11.2012

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;
}



AW: Warnings no gamemode - Vinicius_TroLL - 14.11.2012

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)



AW: Warnings no gamemode - Vinicius_TroLL - 14.11.2012

Upp pf


Re: Warnings no gamemode - MatheusAlcapone - 14.11.2012

poste o cуdigo desses erros completos.


Re: Warnings no gamemode - UzT - 14.11.2012

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у.


AW: Warnings no gamemode - Vinicius_TroLL - 14.11.2012

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


Re: Warnings no gamemode - UzT - 14.11.2012

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 /\


AW: Warnings no gamemode - Vinicius_TroLL - 14.11.2012

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