11.02.2011, 13:39
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:
Edit: dice7 beat me to it
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" ));