Hallo, ich kann dies Leider im moment nicht Testen...
Doch würde das so Klappen ?
stock SpielerSpeichern(playerid)
{
PlayerInfo[playerid][pSkin] = GetPlayerSkin(playerid);
new Query[1200], Ort[32], Tabelle[50],Query1[500], Query2[500];
format(Tabelle,50,"UPDATE `accounts`");
format(Ort,32,"WHERE `Name` = '%s'",PlayerInfo[playerid][pName]);
format(Query1, 500, " SET `Nummer` = '%d', SET `Ban` = '%d', SET `BanInfo` = '%s', SET `Geld` = '%d', SET `Level` = '%d', SET `Skin` = '%d', SET `Respekt` = '%d', SET `PayDay` = '%d', SET `Admin` = '%d', SET `Fraktion` = '%d', SET `Leader` = '%d', SET `Rang` = '%d', SET `Auto-Schein` = '%d', SET `Mottorad-Schein` = '%d',",
PlayerInfo[playerid][pNummer],
PlayerInfo[playerid][pBan],
PlayerInfo[playerid][pBanInfo],
PlayerInfo[playerid][pGeld],
GetPlayerScore(playerid),
PlayerInfo[playerid][pSkin],
PlayerInfo[playerid][pRespekt],
PlayerInfo[playerid][pPayDay],
PlayerInfo[playerid][pAdmin],
PlayerInfo[playerid][pMember],
PlayerInfo[playerid][pLeader],
PlayerInfo[playerid][pRank],
PlayerInfo[playerid][pAutoschein],
PlayerInfo[playerid][pMotorradschein]
);
format(Query2, 500," SET `LKW-Schein` = '%d', SET `Flug-Schein` = '%d', SET `Waffen-Schein` = '%d', SET `Spawn` = '%d', SET `Job` = '%d', SET `Perso` = '%d', SET `haus` = '%d', SET `Premium` = '%d', SET `Coins` = '%d'",
PlayerInfo[playerid][pLKWSchein],
PlayerInfo[playerid][pFlugschein],
PlayerInfo[playerid][pWaffenschein],
PlayerInfo[playerid][pSpawn],
PlayerInfo[playerid][pJob],
PlayerInfo[playerid][pPerso],
PlayerInfo[playerid][pHaus],
PlayerInfo[playerid][pPremium],
PlayerInfo[playerid][pCoins]
);
strcat(Query, Tabelle),strcat(Query, Query1), strcat(Query, Query2), strcat(Query, Ort);
mysql_query(Query);
return 1;
}
Hoffe es ist so lessbar wegen dem Automatischen Zeilenumbruch...