16.05.2009, 15:32
Strange problem
even if I use 256 instead of 24 same happens, and I don't get it how to fix it
Thanks,
ArcticFox
Код:
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])
Thanks,
ArcticFox