#1

Hello,

I'm having some problem with my file system, actually everything is working fine except for this:

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

When the function is called it never stores the kills and deaths or any other thing...
Does anyone know what's the problem?

Thanks.
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: 1 Guest(s)