14.12.2013, 08:25
where did you load your password? My system loads the password when the login dialog appears. Example:
pawn Код:
if(response)
{
WP_Hash(password, sizeof(password), inputtext);
format(string, sizeof(string), "SELECT * FROM `USERS` WHERE `NAME`='%s' AND `PASSWORD`='%s'", DB_Escape(RPN(playerid)), DB_Escape(password)); // this should be your loading code
result = db_query(UserDatabase, string);
if(db_num_rows(result) > 0) // this is your strcmp
{