Hey das doofe MySQL -.-
ich habe es jetzt schon 5 mal neu geschrieben aber es speichert einfach nicht ab -.-
der Accounts etc. wird erstellt... aber es wird nichts gespeichert....
wieso??
bitte Hilfe!
ich habe überall SavePlayer(playerid); also spart euch bitte solche sachen.
stock SavePlayer(playerid)
{
mysql_SetInt("accounts", "Level", GetPlayerScore(playerid), "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Geld", GetPlayerMoney(playerid), "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Skin", GetPlayerSkin(playerid), "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Member", PlayerInfo[playerid][pMember], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Job", PlayerInfo[playerid][pJob], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Job Zeit", PlayerInfo[playerid][pJobTime], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Leader", PlayerInfo[playerid][pLeader], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "FrakRank", PlayerInfo[playerid][pFRank], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Member", PlayerInfo[playerid][pMember], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Adminlevel", PlayerInfo[playerid][pAdmin], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Supporter", PlayerInfo[playerid][pSupporter], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Ban", PlayerInfo[playerid][pBan], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Fuehrerschein", PlayerInfo[playerid][pDriverLic], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Personalausweis", PlayerInfo[playerid][pPerso], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Wantedlevel", GetPlayerWantedLevel(playerid), "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Krankenversicherung", PlayerInfo[playerid][pVersichert], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Verwarnungen", PlayerInfo[playerid][pWarn], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Geschlecht", PlayerInfo[playerid][pGeschlecht], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Waffenschein", PlayerInfo[playerid][pWaffenschein], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Lunch", PlayerInfo[playerid][pLunch], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Angelschein", PlayerInfo[playerid][pAngel], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "iPod", PlayerInfo[playerid][pIPod], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Fraktionsname", PlayerInfo[playerid][pFName], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Bank", PlayerInfo[playerid][Bank], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Geburtsjahr", PlayerInfo[playerid][pDate], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Jailtime", PlayerInfo[playerid][pJailtime], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Wanteds", PlayerInfo[playerid][pWanted], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "Gestorben", PlayerInfo[playerid][pTot], "Name", PlayerInfo[playerid][pName]);
mysql_SetFloat("accounts", "PTX", PlayerInfo[playerid][pTx], "Name", PlayerInfo[playerid][pName]);
mysql_SetFloat("accounts", "PTY", PlayerInfo[playerid][pTy], "Name", PlayerInfo[playerid][pName]);
mysql_SetFloat("accounts", "PTZ", PlayerInfo[playerid][pTz], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "NextPayday", Acc[playerid][NextPayday], "Name", PlayerInfo[playerid][pName]);
mysql_SetInt("accounts", "ErsterLog", PlayerInfo[playerid][FirstLog], "Name", PlayerInfo[playerid][pName]);
mysql_SetFloat("accounts", "LastX", PlayerInfo[playerid][LogX], "Name", PlayerInfo[playerid][pName]);
mysql_SetFloat("accounts", "LastY", PlayerInfo[playerid][LogY], "Name", PlayerInfo[playerid][pName]);
mysql_SetFloat("accounts", "LastZ", PlayerInfo[playerid][LogZ], "Name", PlayerInfo[playerid][pName]);
mysql_SetFloat("accounts", "LastA", PlayerInfo[playerid][LogA], "Name", PlayerInfo[playerid][pName]);
return 1;
}