Array sizes do not match
#1

Hello

I have a problem. I switched from fini, because it seemed broken, to some new adaptation of it, but i get an error. Idk if its my fault or if there is a fault in that new file save system.

THX for any help

filesystem:
https://sampforum.blast.hk/showthread.php?tid=262795

btw. I forgot to say that with fini it worked as it is

Код:
for(new c=1; c<=cars; c++)
{
    new carname[128];
    new carn[128];
    new name[128];
    format(carn,sizeof(carn), "Car%i",c);
    format(carname,sizeof(carname), "%sname",carn);
    name = file_GetStr(carname); // array sizes do not match, or destination array is too small
}
Reply


Messages In This Thread
Array sizes do not match - by StandaxXx - 01.07.2011, 19:23
Re: Array sizes do not match - by [L3th4l] - 01.07.2011, 19:46
Re: Array sizes do not match - by StandaxXx - 01.07.2011, 19:58

Forum Jump:


Users browsing this thread: 1 Guest(s)