09.09.2011, 22:08
I would just do
Code:
public OnPlayerDisconnect(playerid, reason) { new INI:File = INI_Open(UserPath(playerid)); INI_SetTag(File,"data"); INI_WriteInt(File,"Cash",GetPlayerMoney(playerid)); //INI_WriteInt(File,"Admin Level",PlayerInfo[playerid][ALevel]); INI_WriteInt(File,"Kills",PlayerInfo[playerid][Kills]); INI_WriteInt(File,"Deaths",PlayerInfo[playerid][Deaths]); INI_Close(File); return 1; }