Register System issues.
#5

Quote:
Originally Posted by Chenko
Посмотреть сообщение
Make sure you load the player's password into pInfo before you compare the strings because strcmp will return 0 (aka say the strings match) if one of the strings is empty. So if you don't load the password before you compare them then pInfo[playerid][pPass] will be empty and it will accept any password.
Not too sure what you mean. Could you show an example? This is my enum:

pawn Код:
enum PlayerInfo
{
    pPass[128],
    pKills,
    pDeaths,
    pVip,
    pAdmin
}
Reply


Messages In This Thread
Register System issues. - by rangerxxll - 14.04.2014, 23:50
Re: Register System issues. - by mrkiller90 - 15.04.2014, 02:06
Re: Register System issues. - by Chenko - 15.04.2014, 02:13
Re: Register System issues. - by JacobEdwards - 15.04.2014, 02:38
Re: Register System issues. - by rangerxxll - 15.04.2014, 02:42
Re: Register System issues. - by JacobEdwards - 15.04.2014, 02:44
Re: Register System issues. - by rangerxxll - 15.04.2014, 02:50
Re: Register System issues. - by rangerxxll - 15.04.2014, 18:22
Re: Register System issues. - by JeaSon - 15.04.2014, 18:35
Re: Register System issues. - by rangerxxll - 15.04.2014, 18:42

Forum Jump:


Users browsing this thread: 1 Guest(s)