11.06.2011, 13:52
Hi guys,i've a problem with login dialog.
The dialog is ok,but if i press ESC i can ply without login.
How fix this? I want do if i press ESC that dialog id 60 should appear again,Thanks.
pawn Код:
}else
{
SendClientMessage(playerid, COLOR_RED, "Wrong Password!");
new str2[256];
new ip[30];
GetPlayerIp(playerid,ip,sizeof(ip));
format(str2,sizeof str2,"%s tried to login with password: %s - IP: %s", playername,inputtext,ip);
FailedLoginLog(str2);
return ShowPlayerDialog(playerid,60,DIALOG_STYLE_INPUT,"Login","Welcome to the server\n\nPlease enter your server password\n\nEnter a password:","Login","Quit");
}
}
}
How fix this? I want do if i press ESC that dialog id 60 should appear again,Thanks.