Y_INI loops while loading.. Help!
#1

Hi,
pawn Код:
forward public loadpass(playerid, name[], value[]);
public loadpass(playerid, name[], value[])
{
    INI_Int("password_hash",Parola[playerid]);
    SendClientMessage(playerid,COLOR_LIGHTBLUE,"Password loaded.");
    return 1;
}

CMD:load(playerid, params[])
{
    new fname[64];
    format(fname,sizeof(fname),"save/%s.dudb.sav",udb_encode(GetName(playerid)));
    if(fexist(fname)) INI_ParseFile(fname, "loadpass", .bExtra = true, .extra = playerid);
    return 1;
}
When I type "/load" It sends 15 times "Password loaded" message. What is the wrong ? I could'nt find it
Reply


Messages In This Thread
Y_INI loops while loading.. Help! - by blackeagle1122 - 30.03.2014, 15:02
Re: Y_INI loops while loading.. Help! - by RenovanZ - 30.03.2014, 15:14
Re: Y_INI loops while loading.. Help! - by blackeagle1122 - 30.03.2014, 15:23
Re: Y_INI loops while loading.. Help! - by biker122 - 30.03.2014, 15:26
Re: Y_INI loops while loading.. Help! - by blackeagle1122 - 30.03.2014, 15:44
Re: Y_INI loops while loading.. Help! - by blackeagle1122 - 30.03.2014, 15:53
Re: Y_INI loops while loading.. Help! - by blackeagle1122 - 30.03.2014, 16:01

Forum Jump:


Users browsing this thread: 2 Guest(s)