SA-MP Forums Archive
[Ajuda] AJUDA ERROS PAWNO - 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] AJUDA ERROS PAWNO (/showthread.php?tid=477053)



AJUDA ERROS PAWNO - mundodosampp - 21.11.2013

Код HTML:
Me Ajudem Erro Pawno
Код HTML:
Os Erros Sгo Nas Mesmas Linhas
PHP код:
streamer.inc(281): warning 201redefinition of constant/macro (symbol "OnGameModeInit").pwn(5635) : error 017undefined symbol "Info"
.pwn(5635) : warning 215expression has no effect
.pwn(5635) : error 001expected token";"but found "]"
.pwn(5635) : error 029invalid expressionassumed zero
.pwn(5635) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Код HTML:
.pwn(5635) : fatal error 107: too many error messages on one line
PHP код:
}
            if(
listitem == 5)
            {
                       
format(string,sizeof(string),"/tapa %d",Info[playerid][pTels]);
                       
OnPlayerCommandText(playerid,string);
                       return 
1;
            } 
Код HTML:
: error 017: undefined symbol "Info"
PHP код:
}
            if(
listitem == 5)
            {
                       
format(string,sizeof(string),"/tapa %d",Info[playerid][pTels]);
                       
OnPlayerCommandText(playerid,string);
                       return 
1;
            } 
PHP код:
}
            if(
listitem == 5)
            {
                       
format(string,sizeof(string),"/tapa %d",Info[playerid][pTels]);
                       
OnPlayerCommandText(playerid,string);
                       return 
1;
            } 
Код HTML:
: error 017: undefined symbol "Info"
PHP код:
}
            if(
listitem == 5)
            {
                       
format(string,sizeof(string),"/tapa %d",Info[playerid][pTels]);
                       
OnPlayerCommandText(playerid,string);
                       return 
1;
            } 
Код HTML:
: error 001: expected token: ";", but found "]"
PHP код:
}
            if(
listitem == 5)
            {
                       
format(string,sizeof(string),"/tapa %d",Info[playerid][pTels]);
                       
OnPlayerCommandText(playerid,string);
                       return 
1;
            } 
Код HTML:
pwn(5635) : error 029: invalid expression, assumed zero
PHP код:
if(listitem == 5)
            {
                       
format(string,sizeof(string),"/tapa %d",Info[playerid][pTels]);
                       
OnPlayerCommandText(playerid,string);
                       return 
1
Код HTML:
.pwn(5635) : fatal error 107: too many error messages on one line
PHP код:
if(listitem == 5)
            {
                       
format(string,sizeof(string),"/tapa %d",Info[playerid][pTels]);
                       
OnPlayerCommandText(playerid,string);
                       return 
1
Код HTML:
Por Favor Me Ajudem



Re: AJUDA ERROS PAWNO - Ley - 21.11.2013

PHP код:
undefined symbol "Info" 
A variбvel "Info" nгo estб definida, retorne ao topo de seu Game Mode e adicione a variбvel.


Re: AJUDA ERROS PAWNO - zG - 21.11.2013

topo do gm
pawn Код:
new Info[MAX_PLAYERS];



Re: AJUDA ERROS PAWNO - Ley - 21.11.2013

Quote:
Originally Posted by zG
Посмотреть сообщение
topo do gm
pawn Код:
new Info[MAX_PLAYERS];
Й uma enum...


Re: AJUDA ERROS PAWNO - zG - 21.11.2013

Entгo... se for pInfo use pInfo se For outro uso o outro '-'
pawn Код:
new Info[MAX_PLAYERS][pInfo];
enum pInfo
{
      //aqui as parada
      pAdmin,
      pLevel,
      //etc
};



Re: AJUDA ERROS PAWNO - mundodosampp - 22.11.2013

Nгo entendi como arruma esse problema