[Ajuda] TextDraw De Senha - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] TextDraw De Senha (
/showthread.php?tid=621478)
TextDraw De Senha -
sKYFallout - 11.11.2016
Queria saber como criar um text de senha, que apareзa "****".
Re: TextDraw De Senha - KinG7 - 11.11.2016
font acho que й 0, ou 2
e caracteres " ] ] ] ] "
Re: TextDraw De Senha -
sKYFallout - 11.11.2016
Quote:
Originally Posted by String01
font acho que й 0, ou 2
e caracteres " ] ] ] ] "
|
Acho que й isso nгo, e igual uma senha de 8 caracteres como posso fazer pra setar 8 " ] "?
Re: TextDraw De Senha -
Magic11 - 11.11.2016
Assista a este vнdeo, vai te ajudar:
https://www.youtube.com/watch?v=KelCM2_Yfsc
Respuesta: TextDraw De Senha -
SammyJ - 11.11.2016
Exemplo:
PHP код:
Dialog:login_password(playerid, response, listitem, inputtext[])
{
if(!response)
return false;
format(PlayerInfo[playerid][Senha], MAX_STRING_PASSWORD, hash(inputtext));
for(new i; i < strlen(inputtext); i++)
{
inputtext[i] = ']';
}
PlayerTextDrawSetString(playerid, TDE_pLogin[playerid][1], inputtext);
return true;
}
Re: Respuesta: TextDraw De Senha -
sKYFallout - 11.11.2016
Quote:
Originally Posted by Glederson_dom
Exemplo:
PHP код:
Dialog:login_password(playerid, response, listitem, inputtext[])
{
if(!response)
return false;
format(PlayerInfo[playerid][Senha], MAX_STRING_PASSWORD, hash(inputtext));
for(new i; i < strlen(inputtext); i++)
{
inputtext[i] = ']';
}
PlayerTextDrawSetString(playerid, TDE_pLogin[playerid][1], inputtext);
return true;
}
|
Com isso ']' aparaceu as estrelas de procurados mas para aparecer o asterisco (*) , deve ser colocado oque?
Re: TextDraw De Senha -
Rodney Francalim - 11.11.2016
Nгo tem.
Sу usando as estrelas de procurado mesmo. Jб fiz textdraws assim e eu tambйm usava ']'.
Eu sу fazia diminuir a fonte pra ficar mais parecido com um asterisco.