[Ajuda] Erro ao Compilar: error 032 Por Favor Me Ajude
#1

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
Reply
#2

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?
Reply
#3

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

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

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
Reply
#6

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;

Reply
#7

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)