format(query, sizeof(query), "SELECT * FROM "SQL_TAG"accounts WHERE Spielername='%s' AND Passwort='%s'", Spielername(playerid), key);
SHA256_PassHash(key, HASHCODE, hash, sizeof(hash));
mysql_tquery(Handle, query);
strcmp(hash, key, false) == 0) {
pInfo[playerid][LoggedIn] = true;
SpawnPlayer(playerid);
}
zu
format(query, sizeof(query), "SELECT * FROM "SQL_TAG"accounts WHERE Spielername='%s' AND Passwort='%s'", Spielername(playerid), key);
SHA256_PassHash(key, HASHCODE, hash, sizeof(hash));
mysql_tquery(Handle, query);
if(strcmp(hash, key, false) == 0) {
pInfo[playerid][LoggedIn] = true;
SpawnPlayer(playerid);
}