04.10.2009, 15:13
Hi, I have a question about the ShowPlayerDialog,
what do you do that instead of letters in the window showed a star or circles?
example:
I write letters, stars come out.
Login: Tony
Password: *****
But after pressing the "login" to save the letters, not stars for function OnDialogResponse.
Thx.
what do you do that instead of letters in the window showed a star or circles?
Код:
if(strcmp(cmdtext, "/login", true) == 0)
{
new s[128];
new loginname[MAX_PLAYER_NAME];
GetPlayerName(playerid,loginname,MAX_PLAYER_NAME);
format(s,sizeof(s),"Witaj ponownie, %s!\n\nProsze sie zalogowac by kontynuowac!",loginname);
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Wpisz swoje haslo",s,"Zaloguj","Anuluj");
return 1;
}
I write letters, stars come out.
Login: Tony
Password: *****
But after pressing the "login" to save the letters, not stars for function OnDialogResponse.
Thx.

