19.03.2011, 13:04
This if statement doesn't make any sense?
You're using that to see if the login information is wrong, and if it is wrong, you are logging them in!
Additionally this if statement makes no sense either:
You are only allowing them to login if they are already logged in, so you should be checking if IsLogged is 0, not if it's 1! (All of this code came from the login command)
pawn Код:
if(udb_hash(tmp) != strval(tmp2))
Additionally this if statement makes no sense either:
pawn Код:
if(IsLogged[playerid] == 1)

