[HELP] Accountflies don't be save
#5

At first: you forgot the return and the clsoing bracket...
Then try this:

pawn Код:
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] == true) // or == 1
    {
    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]);
    }
        return 1;
}
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)