08.04.2011, 18:39
Login Code
Every time I try login with my password I keep Getting "You Typed An Incorrect Password"...
Code:
case PLAYER_LOGIN: { if(response) { new Password2[128]; GetPVarString(playerid, "PASSWORD", Password2, sizeof Password2); if(strcmp(inputtext,Password2,false)) { LoadPlayerAccount(playerid); SendClientMessage(playerid, 0xFF0000FF, "You Have Been Logged In!"); IsPlayerLogged[playerid] = 1; } else { SendClientMessage(playerid, COLOR_RED, "You Typed An Incorrect Password!"); ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "{FF0000}Wrong Password!\n","{F2F2F2}You Typed An Incorrect Password\n", "Login", "Leave"); } } else { SendClientMessage(playerid,COLOR_RED,"You Clicked Leave"); Kick(playerid); } }