Hallo,
Sqlite holt das Passwort aus der Datenbank leider nicht raus..
stock sqlite_CheckPW(playerid,pw[])
{
new pw2[129],query[300],DBResult:result;
format(query,sizeof(query),"SELECT * FROM `Accounts` WHERE `Name` = ´%s´",SpielerName(playerid));
result = db_query(Database,query);
db_get_field_assoc(result,"Passwort",pw2,129);
print(pw);
print(pw2);
if(!strcmp(pw2,pw,false))return 1;
return 0;
}
Console Log:
[19:56:47] 344907E89B981CAF221D05F597EB57A6AF408F15F4DD7895BBD1B96A2938EC24A7DCF23ACB94ECE0B6D7B0640358BC56BDB448194B9305311AFF038A834A079F
[19:56:47] (null)
Wo ran liegt es?