String Compare
#3

Quote:
Originally Posted by MP2
View Post
You're doing this:

pawn Code:
if(password is right)
{
    tell them it's wrong
}
else
{
    tell them it'
s right
}
Swap the code around.

You're also checking their password if they don't have an account (if 'rows' is 0) - shouldn't you be asking them to register or something?
Nah, I've gone through that phase. I'm just getting the player password currently and comparing it. And, I've tried it in all ways, it just refuses to compare them \ correctly.

EDIT: And I added the exclamation mark, which means, if the string is incorrect.
Reply


Messages In This Thread
String Compare - by Riddy - 28.07.2013, 23:34
Re: String Compare - by MP2 - 29.07.2013, 00:18
Re: String Compare - by Riddy - 29.07.2013, 00:21
Re: String Compare - by jamesbond007 - 29.07.2013, 00:30
Re: String Compare - by MP2 - 29.07.2013, 00:40
Re: String Compare - by Riddy - 29.07.2013, 00:41
Re: String Compare - by jamesbond007 - 29.07.2013, 00:41
Re: String Compare - by MP2 - 29.07.2013, 00:45

Forum Jump:


Users browsing this thread: 1 Guest(s)