[HELP] how do I fix this?
#1

Hey, it's me again. I've got this problem with my script. I use dini register system and there's this variable that gives me the following output:
pawn Код:
new tmp[256];
    tmp = dini_Get(file, "hashPW");
    if(udb_hash(params) != strval(tmp))
    {
        ErrorMessage(playerid, "You have given the wrong password");
    }
Quote:

Header size: 1876 bytes
Code size: 37808 bytes
Data size: 96444 bytes
Stack/heap size: 16384 bytes; estimated max. usage=8478 cells (33912 bytes)
Total requirements: 152512 bytes

if I set 'tmp' to anything less than 255 it gives me this error:

Quote:

C:\samp\gamemodes\omega.pwn(255) : error 047: array sizes do not match, or destination array is too small

Is it necessary to edit the dini include or whatever to get rid of this?
Reply


Messages In This Thread
[HELP] how do I fix this? - by Ignas1337 - 22.05.2009, 06:02
Re: [HELP] how do I fix this? - by MenaceX^ - 22.05.2009, 07:06
Re: [HELP] how do I fix this? - by Ignas1337 - 22.05.2009, 13:08
Re: [HELP] how do I fix this? - by Donny_k - 22.05.2009, 13:27
Re: [HELP] how do I fix this? - by Ignas1337 - 22.05.2009, 17:55

Forum Jump:


Users browsing this thread: 1 Guest(s)