mysql problem
#1

delete get it worked
Reply
#2

pawn Код:
GetFromAccount(Nimi(playerid), "Parool", M2ngijaInfo[playerid][pParool]);
Is this the function that checks the database to see if the username & password are correct?

If so can you post the code for it, as if its failing to login, there may be an error in that code.


edit:

pawn Код:
GetFromAccount(Nimi(playerid), "Parool", M2ngijaInfo[playerid][pParool]);
                WP_Hash(Buffer, sizeof(Buffer), inputtext);
                if(!strcmp(Buffer, M2ngijaInfo[playerid][pPassword], true))
                {
Is it loading the password into "M2ngijaInfo[playerid][pParool]" and then your checking the typed password against "M2ngijaInfo[playerid][pPassword]" that may be an issue too.
Reply
#3

deleted work fine now
Reply
#4

same problem when I changed pparool to ppassword
Reply


Forum Jump:


Users browsing this thread: