error. :/
#5

That's not what the error means, the error actually means that the array dini_Get returns is larger than the array he is trying to store it in. Which means there isn't enough space according to the compiler, the size of the array returned by dini_Get is 256 by default I believe?

Which means you would have to make your strings 256 in size, or bypass the error by using a function like format, for example:

pawn Код:
format(VersluDB[ ID ][ bPavadinimas ], 76, "%s", dini_Get( Failas, "Pavadinimas" ));
Edit: dice7 beat me to it
Reply


Messages In This Thread
error. :/ - by Gh0sT_ - 11.02.2011, 13:34
Re: error. :/ - by Lorenc_ - 11.02.2011, 13:36
Re: error. :/ - by Gh0sT_ - 11.02.2011, 13:37
Re: error. :/ - by dice7 - 11.02.2011, 13:38
Re: error. :/ - by JaTochNietDan - 11.02.2011, 13:39
Re: error. :/ - by Gh0sT_ - 11.02.2011, 13:41
Re: error. :/ - by Gh0sT_ - 11.02.2011, 16:16
Re: error. :/ - by Gh0sT_ - 11.02.2011, 19:22

Forum Jump:


Users browsing this thread: 1 Guest(s)