14.11.2011, 08:22
how change this .. if you type the password will appear "********************" instead of text
if you type the password will appear "********************" instead of text
Please help me
pawn Код:
ShowMainMenuDialog(playerid, frame)
{
new titlestring[64];
new string[256];
switch(frame)
{
case 1:
{
new ip[32];
GetPlayerIp(playerid, ip, 32);
format(titlestring, sizeof(titlestring), "Login - %s", GetPlayerNameEx(playerid));
format(string, sizeof(string), "Welcome to, %s.\n\nIP Address: *<*<*<*<*<*<*<\n\nbla bla, bla bla bla:", GetPlayerNameEx(playerid), ip);
ShowPlayerDialog(playerid,MAINMENU,DIALOG_STYLE_INPUT,titlestring,string,"Login","Cancel");
}
case 2:
{
new ip[32];
GetPlayerIp(playerid, ip, 32);
format(titlestring, sizeof(titlestring), "Daftar - %s", GetPlayerNameEx(playerid));
format(string, sizeof(string), "Welcome to, %s.\n\nIP Address: %s\n\nbla bla bla bla:", GetPlayerNameEx(playerid), ip);
ShowPlayerDialog(playerid,MAINMENU2,DIALOG_STYLE_INPUT,titlestring,string,"Register","Cancel");
}
case 3:
{
new ip[32];
GetPlayerIp(playerid, ip, 32);
format(titlestring, sizeof(titlestring), "Login - %s", GetPlayerNameEx(playerid));
format(string, sizeof(string), "bla bla!\n\nbla bla, %s.\n\nIP Address: %s\n\nbla bla bla bla bla:", GetPlayerNameEx(playerid), ip);
ShowPlayerDialog(playerid,MAINMENU,DIALOG_STYLE_INPUT,titlestring,string,"Login","Cancel");
}
}
}
Please help me



