registration
#4

pawn Код:
HPW = dini_Get(file, "hashPW");
should be:
pawn Код:
HPW = dini_Int(file, "hashPW");
because it's a number and not a string.



If you want to read a string with dini one day, you may use that:
pawn Код:
new this_is_my_string[MAX_STRING];
this_is_my_string = dini_Get(file, "my_string_source");
or (if you are unsure about the size of the string), you should use:
pawn Код:
format(this_is_my_string, sizeof(this_is_my_string), "%s", dini_Get(file, "my_string_source"));
as this will put the entire string (in a safe manner) into the variable.

Have fun coding,
Draco
Reply


Messages In This Thread
registration - by BLAbla93 - 27.11.2009, 22:20
Re: Help With Registration system in dialog responce. - by BLAbla93 - 28.11.2009, 02:04
Re: registration - by Devine - 28.11.2009, 03:55
Re: registration - by DracoBlue - 28.11.2009, 08:35
Re: registration - by BLAbla93 - 28.11.2009, 14:03

Forum Jump:


Users browsing this thread: 1 Guest(s)