error 047
#1

Strange problem
Код:
error 047: array sizes do not match, or destination array is too small
pawn Код:
if (strcmp(cmd,"/putintrunk", true) == 0)
{
  tmp = strtok(cmdtext,idx);
  for (new i = 0;i < sizeof(Accesory);i ++)
  {
     if(strcmp(tmp,Accesory[i][AccesoryName],true) != 0)
     {
       SendMessage(playerid,60,Accesory[i][AccesoryName],"",""); //Accesory[i][AccesoryName] is the fault
     }
  }
}
pawn Код:
stock SendMessage(playerid,TextID,String1[24],String2[24],String3[24])
even if I use 256 instead of 24 same happens, and I don't get it how to fix it

Thanks,
ArcticFox
Reply


Messages In This Thread
error 047 - by MPKaboose - 16.05.2009, 15:32
Re: error 047 - by Correlli - 16.05.2009, 15:46
Re: error 047 - by MPKaboose - 16.05.2009, 15:52

Forum Jump:


Users browsing this thread: 2 Guest(s)