Dialog disconnect
#2

Well, actualy why you make it spec when he hit disconnect? xD
But the solution is deleting the "Cancel" text.. Replace your ShowDialog with:

I will comment on the end of script with // to explain what i did. Just check it.

This one with:
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, ""Blue"Please log-in", ""White"Welcome back to "Red""SERVER_NAME""White"!\n"White"In order to start playing, you have to log-in!\n\n"White"Please insert "Red"your"White" password below:", "Login", "Cancel");
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, ""Blue"Please log-in", ""White"Welcome back to "Red""SERVER_NAME""White"!\n"White"In order to start playing, you have to log-in!\n\n"White"Please insert "Red"your"White" password below:", "Login", "");//Keep the "".
And this one with:
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, ""Blue"Please log-in", ""White"Welcome back to "Red""SERVER_NAME""White"!\n"White"In order to start playing, you have to log-in!\n\n"White"Please insert "Red"your"White" password below:", "Login", "Cancel");
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, ""Blue"Please log-in", ""White"Welcome back to "Red""SERVER_NAME""White"!\n"White"In order to start playing, you have to log-in!\n\n"White"Please insert "Red"your"White" password below:", "Login", "");//It was like: "Login", "Cancel");   Just deleted the cancel, but let the "". Now you know how to do it, so do it everywhere you want.
Also you didn't get an answer cos it's still too early for forum most active/helpful people.
Reply


Messages In This Thread
Dialog disconnect - by ArmyOps - 11.02.2012, 01:33
Re : Dialog disconnect - by ricardo178 - 11.02.2012, 06:26
Re: Dialog disconnect - by KingHual - 11.02.2012, 06:39

Forum Jump:


Users browsing this thread: 1 Guest(s)