[Ajuda] ERRO - 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] ERRO (
/showthread.php?tid=472317)
ERRO -
CharlieBrown - 27.10.2013
Linha.
pawn Код:
new pL[ 22 ];
GetPlayerName(playerid, pL, 22);
for(new i = 0; i < sizeof(NicksInvalidos); i++)
{
if(strfind(pL, NicksInvalidos[ i ], true) != -1)
{
Kick(playerid);
break;
}
}
erro
pawn Код:
error 052: multi-dimensional arrays must be fully initialized
Re: ERRO -
iTzDemon - 27.10.2013
muda
pawn Код:
for(new i = 0; i < sizeof(NicksInvalidos); i++)
{
if(strfind(pL, NicksInvalidos[ i ], true) != -1)
{
para
pawn Код:
for(new i = 0; i < sizeof(NicksInvalidos); i++)
{
if(strfind(pL, NicksInvalidos[ i ], true) != -1)
}
Re: ERRO -
CharlieBrown - 27.10.2013
Quote:
Originally Posted by iTzDemon
muda
pawn Код:
for(new i = 0; i < sizeof(NicksInvalidos); i++) { if(strfind(pL, NicksInvalidos[ i ], true) != -1) {
para
pawn Код:
for(new i = 0; i < sizeof(NicksInvalidos); i++) { if(strfind(pL, NicksInvalidos[ i ], true) != -1) }
|
fiz issoe olha 2 erros.
pawn Код:
error 029: invalid expression, assumed zero
error 052: multi-dimensional arrays must be fully initialized
Re: ERRO -
iTzDemon - 27.10.2013
posta o code todo
Re: ERRO -
Juniiro3 - 27.10.2013
Deve ser algum erro na hora de declarar a variavel (array) NicksInvalidos. Manda o code do "new NicksInvalidos"
Re: ERRO -
CharlieBrown - 27.10.2013
@Resolvido
Obrigado iTz, Juniiro