12.01.2015, 08:33
No, here is the line in on OnPlayerDisconnect:
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
new
pFile[35];
format(pFile, 35, Player_File, GetName(playerid));
new
INI:UserFile = INI_Open(pFile);
INI_WriteInt(UserFile, "Admin", P_Data[playerid][pAdmin]);
INI_WriteInt(UserFile, "Money", GetPlayerMoney(playerid));
INI_WriteInt(UserFile, "Score", GetPlayerScore(playerid));
INI_WriteInt(UserFile, "Skin", P_Data[playerid][pSkin]);
INI_WriteInt(UserFile, "Warn", P_Data[playerid][pWarn]);
INI_WriteInt(UserFile, "VIP", P_Data[playerid][VIP]);
INI_Close(UserFile);
return 1;
}