ShowPlayerDialog - login to RP server
#1

Hi, I have a question about the ShowPlayerDialog,
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;
	}
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.
Reply


Messages In This Thread
ShowPlayerDialog - login to RP server - by rcwarez - 04.10.2009, 15:13
Re: ShowPlayerDialog - login to RP server - by Jasen - 04.10.2009, 15:16

Forum Jump:


Users browsing this thread: 1 Guest(s)