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!