Login system, one confusing error...
#6

its posted in the code tags above


but here is the lines that could be affecting it


pawn Код:
CMD:login(playerid, params[])
{
    new PlayerName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME);

    if(IsLogged[playerid] == 0)
    {
        new password[24];
        if(sscanf(params, "s", password))return SendClientMessage(playerid,0xFFA429FF,"[LOGIN-USAGE] /login [PASSWORD]");
        else
        {
            format(file,sizeof(file),"CSAdmin/Users/%s.ini",PlayerName);
            if(dini_Exists(file))
            {
                if(strcmp(dini_Get(file, "Password"), udb_hash(password), true)) <--- line 296 this is where the error occurs
Reply


Messages In This Thread
Login system, one confusing error... - by CSMajor - 24.10.2010, 06:51
Re: Login system, one confusing error... - by ykzdominik - 24.10.2010, 07:08
Re: Login system, one confusing error... - by CSMajor - 24.10.2010, 07:17
Re: Login system, one confusing error... - by CSMajor - 24.10.2010, 15:50
Re: Login system, one confusing error... - by JaTochNietDan - 24.10.2010, 15:52
Re: Login system, one confusing error... - by CSMajor - 24.10.2010, 18:08
Re: Login system, one confusing error... - by CSMajor - 25.10.2010, 02:43
Re: Login system, one confusing error... - by Luis- - 25.10.2010, 02:46
Re: Login system, one confusing error... - by CSMajor - 25.10.2010, 02:55
Re: Login system, one confusing error... - by CSMajor - 25.10.2010, 02:57

Forum Jump:


Users browsing this thread: 1 Guest(s)