21.10.2014, 13:22
Like that?
PHP код:
public OnPlayerDisconnect(playerid, reason)
{
INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
INI_WriteInt(File,"Score",GetPlayerScore(pScore));
INI_Close(File);
IsPlayerPolice[playerid] =0;
return 1;
}