Moin,
meine Accounts werden auf Dini nicht gespeichert.
Hier der Code:
stock SavePlayer(playerid){
if(LoggedIn[playerid] == 1){
new Player[64];
if(IsPlayerNPC(playerid)) return 1;
format(Player,sizeof(Player),"/Spieler/%s.cfg",PlayerName(playerid));
dini_Set(Player,"Passwort",PlayerInfo[playerid][pPass]);
dini_IntSet(Player,"Level",PlayerInfo[playerid][pLevel]);
dini_IntSet(Player,"Adminlevel",PlayerInfo[playerid][pAdminLevel]);
dini_IntSet(Player,"Cash",PlayerInfo[playerid][pCash]);
dini_IntSet(Player,"Kills",PlayerInfo[playerid][pKills]);
dini_IntSet(Player,"Deaths",PlayerInfo[playerid][pDeaths]);
dini_IntSet(Player,"KD",PlayerInfo[playerid][pKD]);
dini_IntSet(Player,"Skin",PlayerInfo[playerid][pSkin]);
dini_IntSet(Player,"Premium",PlayerInfo[playerid][pPremium]);
dini_IntSet(Player,"Spielsekunden",PlayerInfo[playerid][pSpielSekunden]);
}
return 1;
}