20.12.2011, 22:05
(
Last edited by razol; 20/12/2011 at 11:07 PM.
)
Hello everybody,
I have a problem about SII include.( saving stats) When server.exe closed player's stats resetting..I using SII register/login system..
Here's my onplayerdisconnect codes;
Already thanks for help.
I have a problem about SII include.( saving stats) When server.exe closed player's stats resetting..I using SII register/login system..
Here's my onplayerdisconnect codes;
pawn Code:
if(INI_Open(getINI(playerid))) {
INI_WriteInt("Level",PlayerInfo[playerid][pLevel]);
INI_WriteInt("Money",GetPlayerMoney(playerid));
INI_WriteInt("Admin",PlayerInfo[playerid][pAdmin]);
INI_WriteInt("Sex",PlayerInfo[playerid][pCinsiyet]);
INI_WriteInt("Skin",GetPlayerSkin(playerid));
INI_WriteInt("Age",PlayerInfo[playerid][pYas]);
INI_WriteInt("Origin",PlayerInfo[playerid][pUyruk]);
INI_Save();
INI_Close();
}