13.07.2010, 17:28
I have the error and i don't know how to fix it :\
Error:
On this line:
Код:
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 033: array must be indexed (variable "MD5_Hash")
Код:
if(MD5_Hash(inputtext) != pass)