SA-MP Forums Archive
[Ajuda] Erro ao Compilar: error 032 Por Favor Me Ajude - 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 ao Compilar: error 032 Por Favor Me Ajude (/showthread.php?tid=660914)



Erro ao Compilar: error 032 Por Favor Me Ajude - Crkilling - 17.11.2018

Ei Gente alguem pode me ajuda PFV eu sou ainda iniciante nesses negocio de pawno
---------------------------------------------------------------------------------------
esta ai o erro:
Код:
C:\Users\Lucas Alves\Desktop\BMS\gamemodes\BMS.pwn(387) : error 032: array index out of bounds (variable "PlayerRegistro")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
AI ESTA AS LINHAS :
Код:
Carregarlogin(playerid)
{
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][0]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][1]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][2]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][3]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][4]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][5]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][6]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][7]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][8]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][9]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][10]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][11]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][12]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][13]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][14]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][15]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][16]);
  PlayerTextDrawShow(playerid, PlayerRegistro[playerid][17]);
  
  return 1;
}
POR FAVOR ME-AJUDE


Re: Erro ao Compilar: error 032 Por Favor Me Ajude - Felipealves - 17.11.2018

O Index do new PlayerTexto:PlayerRegistro[MAX_PLAYERS][17] ta 17 bota 18 fi, e para de deletar tуpico em que vc recebe ajuda e se alguйm tiver o mesmo problema?


Re: Erro ao Compilar: error 032 Por Favor Me Ajude - Ermanhaut - 17.11.2018

Vamos parar de criar conta nй amigo..
Ta feio jб...


Re: Erro ao Compilar: error 032 Por Favor Me Ajude - Crkilling - 17.11.2018

Quote:
Originally Posted by Ermanhaut
Посмотреть сообщение
Vamos parar de criar conta nй amigo..
Ta feio jб...
Criar Conta eu deletei meu topico criar conta nao


Re: Erro ao Compilar: error 032 Por Favor Me Ajude - Crkilling - 17.11.2018

Quote:
Originally Posted by Felipealves
Посмотреть сообщение
O Index do new PlayerTexto:PlayerRegistro[MAX_PLAYERS][17] ta 17 bota 18 fi, e para de deletar tуpico em que vc recebe ajuda e se alguйm tiver o mesmo problema?
Mano foi mal mais nгo resolveu nгo


Re: Erro ao Compilar: error 032 Por Favor Me Ajude - FerrariL - 17.11.2018

Quote:
Originally Posted by Crkilling
Посмотреть сообщение
Mano foi mal mais nгo resolveu nгo
Tente desta forma:

PHP код:
Carregarlogin(playerid)
{
  for(new 
0sizeof(PlayerRegistro); i++)
    
PlayerTextDrawShow(playeridPlayerRegistro[playerid][i]);
    
  return 
1;




Re: Erro ao Compilar: error 032 Por Favor Me Ajude - Crkilling - 17.11.2018

Quote:
Originally Posted by FerrariL
Посмотреть сообщение
Tente desta forma:

PHP код:
Carregarlogin(playerid)
{
  for(new 
0sizeof(PlayerRegistro); i++)
    
PlayerTextDrawShow(playeridPlayerRegistro[playerid][i]);
    
  return 
1;

VLW AI AJUDOU MUITO