06.03.2012, 00:38
Quote:
pawn Код:
Just read the rest of the question. To save it instantly you check how it saves in OnPlayerDisconnect and take the crucial parts to save cookies. |
EDIT: I've added
pawn Код:
new INI:File = INI_Open(UserPath(playerid));
INI_WriteInt(File,"Cookies",PlayerInfo[playerid][pCookies]);
INI_Close(File);
PlayerInfo[pid][pCookies] ++;