Server Don't load Stats, easy help!
#6

Quote:
Originally Posted by ricardo178
Посмотреть сообщение
I did, i changed the
pawn Код:
if(IsLogged[playerid] == 1)
to
pawn Код:
if(IsLogged[playerid] == 0)
But then the cmd just don't work... I type /login it show the form, i type /login password and it don't show nothing...
Again like I said, what about the other if statement? Where you only perform the login procedure when the person enters in the password incorrectly....so did you try writing the wrong password? It should work then according to your code.

Instead of checking if the passwords are different and then logging them in, why not check if they are the same and then log them in?

pawn Код:
if(udb_hash(tmp) == strval(tmp2))
!= means not equal to and == means equal to, remember that!
Reply


Messages In This Thread
Server Don't load Stats, easy help! - by ricardo178 - 19.03.2011, 13:00
Re: Server Don't load Stats, easy help! - by JaTochNietDan - 19.03.2011, 13:04
Re: Server Don't load Stats, easy help! - by ricardo178 - 19.03.2011, 13:09
Re: Server Don't load Stats, easy help! - by JaTochNietDan - 19.03.2011, 13:10
Re: Server Don't load Stats, easy help! - by ricardo178 - 19.03.2011, 13:12
Re: Server Don't load Stats, easy help! - by JaTochNietDan - 19.03.2011, 13:22
Re: Server Don't load Stats, easy help! - by ricardo178 - 19.03.2011, 13:33
Re: Server Don't load Stats, easy help! - by JaTochNietDan - 19.03.2011, 13:37
Re: Server Don't load Stats, easy help! - by ricardo178 - 19.03.2011, 13:43
Re: Server Don't load Stats, easy help! - by JaTochNietDan - 19.03.2011, 13:45

Forum Jump:


Users browsing this thread: 1 Guest(s)