SA-MP Forums Archive
Input to **** - 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: Input to **** (/showthread.php?tid=129198)



Input to **** - whitedragon - 21.02.2010

How do that when you enter text it not show you numbers. it show * not the char.


Re: Input to **** - mamorunl - 21.02.2010

When inputting: You can't.
When typed: strreplace.


Re: Input to **** - BlackFoX - 21.02.2010

Код:
for(new i = 0;i<strlen(text);i++){
if(text[i] >= '0' && text[i] <= '9')text[i] = '*';}



Re: Input to **** - whitedragon - 21.02.2010

i want make password typing like this


Re: Input to **** - BlackFoX - 21.02.2010

You mean like a masked Textbox ? i think it isnt possible


Re: Input to **** - DeathOnaStick - 21.02.2010

Quote:
Originally Posted by BlackFoX_UD_
You mean like a masked Textbox ? i think it isnt possible
Without a plugin, i think so, too. The text you want to mask isn't send yet then, so you actually cannot regulate this from out of the gamemode.