Dini Message failure?
#2

pawn Код:
public OnPlayerConnect(playerid)
{
    new name[25];
    new file[64];
    GetPlayerName(playerid, name, 25);
    format(file, 64, "/Users/%s.ini", name);
    if(!fexist(file))
    {
        SendClientMessage(playerid, COLOR_GREEN, "OMGWTFBBQ You arent registered! type /register to save your stats!");
        logged[playerid] = 0;
    }
    else
    {
        SendClientMessage(playerid, COLOR_GREEN, "hot damn sexy! You are registered! type /login [pass]!!");
    }
    return 1;
}
You forgot an else.
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)