#2

Try:
pawn Код:
public OnPlayerDeath( playerid,killerid,reason )
{
    new INI:File = INI_Open(UserPath(playerid));
    INI_SetTag(File,"data");
    if ( killerid != INVALID_PLAYER_ID )
    {
        INI_WriteInt(File,"Kills",PlayerInfo[killerid][pKills]++);
    }
    INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]++);
    INI_Close(File);
    return 1;
}
Reply


Messages In This Thread
yINI - by moadi - 30.10.2011, 19:10
Re: yINI - by SmiT - 30.10.2011, 19:22
Re: yINI - by Wesley221 - 30.10.2011, 19:32
Re: yINI - by moadi - 30.10.2011, 19:32

Forum Jump:


Users browsing this thread: 2 Guest(s)