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
#2

Its not possible, also seems a bit useless your the only person who is going to be looking at the screen. You could try putting a text draw over it.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)