Hash error
#1

I have the error and i don't know how to fix it :\

Код:
if(dialogid == 2)
{
if(response) //Login GUI
{
new pass[128];
format(query, 1024, "SELECT * FROM "SQL_PLAYERTABLE" WHERE Nick = '%s'",pInfo[playerid][Nick]);
mysql_query(query);
mysql_store_result();
mysql_fetch_row(sqlline);
mysql_fetch_field("Pass",pass);
if(MD5_Hash(inputtext) != pass)
{
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Hefty Stuntages Login","Password incorrect!\nEnter the correct password:","Login","Iрeiti");
return 1;
}
SendClientMessage(playerid, COLOR_GREEN, "You succesfully logged in to your account.");
}
if(!response)
{
Kick(playerid);
}
return 1;
}
Error:

Код:
error 033: array must be indexed (variable "MD5_Hash")
On this line:
Код:
if(MD5_Hash(inputtext) != pass)
Reply


Messages In This Thread
Hash error - by martyz-lithuania - 13.07.2010, 17:28
Re: Hash error - by Mr187 - 13.07.2010, 17:34
Re: Hash error - by martyz-lithuania - 13.07.2010, 17:45
Re: Hash error - by Mr187 - 13.07.2010, 17:48
Re: Hash error - by RyDeR` - 13.07.2010, 17:48
Re: Hash error - by martyz-lithuania - 13.07.2010, 18:36
Re: Hash error - by Sergei - 13.07.2010, 18:46

Forum Jump:


Users browsing this thread: 2 Guest(s)