Undefined symbol "INI_Create", wtf?
#1

Yeah, exactly, wtf is wrong? Usin' SII, and these are the lines:

pawn Код:
stock SavePlayerData( playerid, file[ ] )
{
    new str[ 28 ], data[ 2 ];
    data[ 0 ] = GetPVarInt( playerid, "pKills" );
    data[ 1 ] = GetPVarInt( playerid, "pDeaths" );
    if( !fexist( file ) )
    {
        INI_Create(file); //HERE for example
        INI_Open(file);
        INI_WriteString("Player_name", PlayerName( playerid ) );
        INI_Save();
        INI_Close();
    }
    INI_Open(file);
    format( str, sizeof( str ), "Month_kills_%i", gYear );
    INI_WriteString(str, implodevalue( p_month_kills[ playerid ], "|" ) );
    format(str, sizeof( str ), "Month_deaths_%i", gYear );
    INI_WriteString (str, implodevalue( p_month_deaths[ playerid ], "|" ) );
    INI_WriteString ("Total_kills_deaths", implodevalue( data, "|" ) );
    INI_Save();
    INI_Close();
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)