Tag,
ersetz dein momentanen Stock, durch meinen.
stock CheckPasswort(playerid,passwort[]){
new query[128],sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid,sendername,sizeof(sendername));
mysql_real_escape_string(passwort, passwort);
format(query,sizeof(query),"SELECT `Key` FROM `users` WHERE `Name` = '%s' AND `Key` = '%s'",sendername,passwort);
mysql_query(query);
mysql_store_result();
if(mysql_num_rows()) { mysql_free_result(); return true; }
else { mysql_free_result(); return false; }
}