Problem with dialog
#1

Hi guys,i've a problem with login dialog.

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");
                    }
                }
            }
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.
Reply


Messages In This Thread
Problem with dialog - by Face9000 - 11.06.2011, 13:52
Re: Problem with dialog - by shitbird - 11.06.2011, 13:53
Re: Problem with dialog - by Sascha - 11.06.2011, 13:54
Re: Problem with dialog - by Face9000 - 11.06.2011, 14:02
Re: Problem with dialog - by Sascha - 11.06.2011, 14:03
Re: Problem with dialog - by Face9000 - 11.06.2011, 14:05
Re: Problem with dialog - by Sascha - 11.06.2011, 14:09
Re: Problem with dialog - by Face9000 - 11.06.2011, 14:14
Re: Problem with dialog - by sim_sima - 11.06.2011, 14:17
Re: Problem with dialog - by Face9000 - 11.06.2011, 14:19

Forum Jump:


Users browsing this thread: 1 Guest(s)