mysql problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql problem (
/showthread.php?tid=463871)
mysql problem -
romka - 14.09.2013
delete get it worked
Re: mysql problem -
Grimrandomer - 14.09.2013
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.
Re: mysql problem -
romka - 14.09.2013
deleted work fine now
Re: mysql problem -
romka - 14.09.2013
same problem when I changed pparool to ppassword