23.02.2009, 17:51
Код:
public OnPlayerDisconnect(playerid, reason) { new pname[MAX_PLAYER_NAME],Destination[256]; GetPlayerName(playerid, pname, sizeof(pname)); format(Destination,sizeof(Destination),"\\Users\\%s.ini",pname); if (dini_Exists(Destination) && Logged[playerid]) { dini_IntSet(Destination,"Money", GetPlayerMoney(playerid)); dini_IntSet(Destination,"Score", GetPlayerScore(playerid)); } return 1; }