Y_INI
#7

Quote:
Originally Posted by ******
Посмотреть сообщение
How do you know it's not calling it? There's no print statements anywhere!
pawn Код:
OnPlayerLogin(playerid, password[])
{
    new
        uFile[50],
        player_Name[MAX_PLAYER_NAME];

    GetPlayerName(playerid, player_Name, sizeof(player_Name));
    format(uFile, 50, USER_DIRECTORY, player_Name);

    INI_ParseFile(uFile, "LoadUserData", .bExtra = true, .extra = playerid);

    if(strcmp(SInfo[playerid][Password], password, true))
    {
        new
            string2[128];
           
        SetPVarInt(playerid, "Logged", 1);
        SendClientMessage(playerid, -1, "{FFFFFF}You have logged into Sky's Local Fun Zone!");
        [B]format(string2, sizeof(string2), "Password: %s | Auth. Lvl: %d | V.I.P Lvl: %d", SInfo[playerid][Password], SInfo[playerid][AuthLvl], SInfo[playerid][VIP]);
        printf(string2);
        format(string2, sizeof(string2), "Cash: $%d | Skin: %d | Score: %d | Kills: %d | Deaths: %d", SInfo[playerid][Cash], SInfo[playerid][CustomSkin], SInfo[playerid][Score], SInfo[playerid][Kills], SInfo[playerid][Deaths]);
        printf(string2);
        format(string2, sizeof(string2), "Custom Car ID: %d | Custom Car C1: %d | Custom Car C2: %d | Custom Plate: %s", SInfo[playerid][CustomCarID], SInfo[playerid][CustomCarC1], SInfo[playerid][CustomCarC2], SInfo[playerid][CustomCarPlate]);
        printf(string2);[/B]
    }
    return 1;
}
None of those prints get called. That print is called directly when that function is called.. Nor do I get the client message.
Reply


Messages In This Thread
Y_INI - by Skylar Paul - 25.07.2011, 00:49
Re: Y_INI - by Skylar Paul - 25.07.2011, 16:32
Re: Y_INI - by Skylar Paul - 25.07.2011, 16:45
Re: Y_INI - by Dr - 25.07.2011, 16:50
Re: Y_INI - by Skylar Paul - 25.07.2011, 16:52
Re: Y_INI - by Skylar Paul - 25.07.2011, 17:03
Re: Y_INI - by Skylar Paul - 25.07.2011, 17:12
Re: Y_INI - by Skylar Paul - 25.07.2011, 17:20

Forum Jump:


Users browsing this thread: 1 Guest(s)