20.12.2010, 18:56
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
new File[68],name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(File,sizeof(File),PlayerInfo,name);
dini_IntSet(file,"Score",GetPlayerScore(playerid));
dini_IntSet(file,"Money",GetPlayerMoney(playerid));
return 1;
}
Change your OnPlayerDisconnect for that above ^