Hey ich habe ein Problem und zwar wird der Account irgentwie nicht geladen...
ich habe es getestet... es wird gespeichert... aber nicht geladen.. wieso??
stock LoadPlayer(playerid)
{
GetPlayerName(playerid, PlayerInfo[playerid][pName], MAX_PLAYER_NAME);
PlayerInfo[playerid][pLevel] = mysql_GetInt("accounts", "Level", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pGeld] = mysql_GetInt("accounts", "Geld", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pSkin] = mysql_GetInt("accounts", "Skin", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pMember] = mysql_GetInt("accounts", "Member", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pJob] = mysql_GetInt("accounts", "Job", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pJobTime] = mysql_GetInt("accounts", "Job Zeit", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pLeader] = mysql_GetInt("accounts", "Leader", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pFRank] = mysql_GetInt("accounts", "FrakRank", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pAdmin] = mysql_GetInt("accounts", "Adminlevel", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pSupporter] = mysql_GetInt("accounts", "Supporter", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pBan] = mysql_GetInt("accounts", "Ban", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pDriverLic] = mysql_GetInt("accounts", "Fuehrerschein", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pPerso] = mysql_GetInt("accounts", "Personalausweis", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pWanted] = mysql_GetInt("accounts", "Wantedlevel", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pVersichert] = mysql_GetInt("accounts", "Krankenversicherung", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pWarn] = mysql_GetInt("accounts", "Verwarnungen", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pGeschlecht] = mysql_GetInt("accounts", "Job", "Geschlecht", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pWaffenschein] = mysql_GetInt("accounts", "Waffenschein", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pLunch] = mysql_GetInt("accounts", "Lunch", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pAngel] = mysql_GetInt("accounts", "Angelschein", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pIPod] = mysql_GetInt("accounts", "iPod", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pFName] = mysql_GetInt("accounts", "Fraktionsname", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][Bank] = mysql_GetInt("accounts", "Bank", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pDate] = mysql_GetInt("accounts", "Geburtsjahr", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pJailtime] = mysql_GetInt("accounts", "Jailtime", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pWanted] = mysql_GetInt("accounts", "Wanteds", "Geschlecht", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pTot] = mysql_GetInt("accounts", "Gestorben", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pTx] = mysql_GetFloat("accounts", "PTX", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pTy] = mysql_GetFloat("accounts", "PTY", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][pTz] = mysql_GetFloat("accounts", "PTZ", "Name", PlayerInfo[playerid][pName]);
Acc[playerid][NextPayday] = mysql_GetInt("accounts", "NextPayday", "Name", PlayerInfo[playerid][pName]);
PlayerInfo[playerid][FirstLog] = mysql_GetInt("accounts", "ErsterLog", "Name", PlayerInfo[playerid][pName]);
GivePlayerMoney(playerid,PlayerInfo[playerid][pGeld]);
SetPlayerScore(playerid,PlayerInfo[playerid][pLevel]);
SetPlayerSkin(playerid,PlayerInfo[playerid][pSkin]);
SetPlayerWantedLevel(playerid,PlayerInfo[playerid][pWanted]);
return 1;
}