SA-MP Forums Archive
Not less than 3 characters on 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)
+--- Thread: Not less than 3 characters on password (/showthread.php?tid=370710)



Not less than 3 characters on password - gychem - 21.08.2012

Hello

How can I make that you can't have less than 3 characters on your password.


Re: Not less than 3 characters on password - iTorran - 21.08.2012

pawn Код:
if(strlen(passwordstringhere) < 3)
{
//do whatever
}



Re: Not less than 3 characters on password - Hiddos - 21.08.2012

Use strlen() to check if the password is longer than 3 characters

Edit: damn it


Re: Not less than 3 characters on password - Devilxz97 - 21.08.2012

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
Use strlen() to check if the password is longer than 3 characters

Edit: damn it
agreed