Login when no pass written in dialog - 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: Login when no pass written in dialog (
/showthread.php?tid=441631)
Login when no pass written in dialog -
Ceez - 03.06.2013
Well, my login system is all-fine except for one thing.
When you type nothing in the dialog, you log-in.
Any ideas on how to block that?
Re: Login when no pass written in dialog -
[WSF]ThA_Devil - 03.06.2013
try
pawn Код:
if(!strcmp(inputtext, otherpasshere, false, 50))
{
//do login process here
} else {
//do login failed process here
}
Re: Login when no pass written in dialog -
Ceez - 03.06.2013
I got it fixed though, thanks for the comment anyway man