Auto Replacer string character to asterisk or "x"
#9

Thanks Guys sorry i've been late replied, been inactive for days
Gotta try your code and need to understand :'D Thanks Guys

Quote:
Originally Posted by Emmet_
Посмотреть сообщение
OP wants to replace the player's password with asterisks. Maybe to show in a textdraw or something..

The best, most efficient way to do this is:

pawn Код:
for (new i = 0, l = strlen(password); i != l; i ++)
{
    password[i] = '*';
}
Yes Emmet you're right im doing this for TextDraw thingy Thanks alot (y)

@EDIT: Emmet does this code of yours everything string to be input automatically converts to asterisk?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)