Dini Message failure?
#10

pawn Код:
public OnPlayerConnect(playerid)
{
    new name[25], tmp[40];
    GetPlayerName(playerid, name, 25);
    format(tmp, 40, "/Users/%s.ini", name);
    if(fexist(tmp))
    {
       SendClientMessage(playerid, COLOR_GREEN, "hot damn sexy! You are registered! type /login [pass]!!");
    }
    else
    {
        SendClientMessage(playerid, COLOR_GREEN, "OMGWTFBBQ You arent registered! type /register to save your stats!");
        logged[playerid] = 0;
    }
    return 1;
}
Also check if your files end with .ini.
Reply


Messages In This Thread
Dini Message failure? - by -Rebel Son- - 11.11.2010, 22:53
Re: Dini Message failure? - by The_Moddler - 11.11.2010, 23:53
Re: Dini Message failure? - by TheXIII - 11.11.2010, 23:58
Re: Dini Message failure? - by The_Moddler - 12.11.2010, 00:01
Re: Dini Message failure? - by -Rebel Son- - 12.11.2010, 00:48
Re: Dini Message failure? - by CJ101 - 12.11.2010, 01:00
Re: Dini Message failure? - by TheXIII - 12.11.2010, 01:05
Re: Dini Message failure? - by (SF)Noobanatior - 12.11.2010, 03:17
Re: Dini Message failure? - by -Rebel Son- - 12.11.2010, 04:11
Re: Dini Message failure? - by The_Moddler - 12.11.2010, 08:40

Forum Jump:


Users browsing this thread: 1 Guest(s)