[HELP] Accountflies don't be save
#1

When i logout and look into my Dini, the Score and my other things aren't saved.
Here is my Code.
Код:
public OnPlayerDisconnect(playerid, reason)
{
        new pname[MAX_PLAYERS],accFormat[128];
	GetPlayerName(playerid,pname,sizeof pname);
	format(accFormat,sizeof accFormat,"/Players/%s.datei",pname);
	if(fexist(accFormat) && Spieler[playerid][eingeloggt])
	{
	dini_IntSet(accFormat,"skin",Spieler[playerid][skin]);
	dini_IntSet(accFormat,"Score",GetPlayerScore(playerid));
	dini_IntSet(accFormat, "AdminLevel", Spieler[playerid][AdminLevel]);
	dini_IntSet(accFormat,"Mute",Spieler[playerid][Mute]);
	dini_IntSet(accFormat,"gebannte",Spieler[playerid][gebannte]);
	dini_IntSet(accFormat,"gekickte",Spieler[playerid][gekickte]);
	dini_IntSet(accFormat,"vip",Spieler[playerid][vip]);
	}
Can you help me, please?
Reply


Messages In This Thread
[HELP] Accountflies don't be save - by ]B4E[kengston - 29.12.2010, 14:35
Re: [HELP] Accountflies don't be save - by Iuri - 29.12.2010, 14:38
Re: [HELP] Accountflies don't be save - by ]B4E[kengston - 29.12.2010, 14:40
Re: [HELP] Accountflies don't be save - by Iuri - 29.12.2010, 14:42
AW: [HELP] Accountflies don't be save - by Jonni8 - 29.12.2010, 14:46
Re: [HELP] Accountflies don't be save - by ]B4E[kengston - 29.12.2010, 14:48
AW: [HELP] Accountflies don't be save - by Jonni8 - 29.12.2010, 14:50

Forum Jump:


Users browsing this thread: 1 Guest(s)