SA-MP Forums Archive
HELP how to hide password - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: HELP how to hide password (/showthread.php?tid=147022)



HELP how to hide password - eixas10 - 10.05.2010

On login box how to hide pass



Exam
************


Re: HELP how to hide password - Jochemd - 10.05.2010

Simply impossible


Re: HELP how to hide password - eixas10 - 11.05.2010

T-T


Re: HELP how to hide password - DJDhan - 11.05.2010

You can use an array for the password like pass[].
Then use a for loop to replace every letter with a * (star).
But on the spot changing of letters and numbers into stars maybe impossible.


Re: HELP how to hide password - Mikep. - 11.05.2010

Quote:
Originally Posted by DJDhan
You can use an array for the password like pass[].
Then use a for loop to replace every letter with a * (star).
But on the spot changing of letters and numbers into stars maybe impossible.
You can't change the inputtext while it's being typed. That's what he means.


Re: HELP how to hide password - DJDhan - 11.05.2010

Quote:
Originally Posted by Mikep.
Quote:
Originally Posted by DJDhan
You can use an array for the password like pass[].
Then use a for loop to replace every letter with a * (star).
But on the spot changing of letters and numbers into stars maybe impossible.
You can't change the inputtext while it's being typed. That's what he means.
Read the last line
"Maybe impossible"


Re: HELP how to hide password - Mikep. - 11.05.2010

Well there's no need for a loop, to hide the password.


Re: HELP how to hide password - DJDhan - 11.05.2010

Well yeah you can strlen too.