Hey
Momentan Speicher ich die Spieler so
if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid))
{
if(GetPVarInt(playerid,"logged") == 1)
{
new query[200];
format(query, sizeof(query), "UPDATE `accounts` SET `Tut` = '%d',`Level` = '%d',`Admin` = '%d',`Geld` = '%d',`Tode` = '%d',`Morde` = '%d',`Frak` = '%d', `Member` = '%d',`Leader` = '%d',`Bann` = '%d',`Warn` = '%d',`Payday` = '%d', `Perso` = '%d',`Clic` = '%d',`Flic` = '%d',`Mlic` = '%d',`Wlic` = '%d' WHERE `Name` = '%s'",
PlayerInfo[playerid][pTut],PlayerInfo[playerid][pLevel],PlayerInfo[playerid][pAdmin],PlayerInfo[playerid][pGeld],PlayerInfo[playerid][pTode],PlayerInfo[playerid][pMorde],PlayerInfo[playerid][pFrak],PlayerInfo[playerid][pMember],PlayerInfo[playerid][pLeader],PlayerInfo[playerid][pBann],PlayerInfo[playerid][pWarn],PlayerInfo[playerid][pPayDay],PlayerInfo[playerid][pPerso],
PlayerInfo[playerid][pClic],PlayerInfo[playerid][pFlic],PlayerInfo[playerid][pMlic],PlayerInfo[playerid][pWlic],SpielerName(playerid));
mysql_query(query);
format(query, sizeof(query), "UPDATE `accounts` SET `PosX` = '%f',`PosY` = '%f',`PosZ` = '%f',`PosA` = '%f',`Tod` = '%d',`PosTX` = '%f',`PosTY` = '%f',`PosTZ` = '%f' WHERE `Name` = '%s'",
PlayerInfo[playerid][pX],PlayerInfo[playerid][pY],PlayerInfo[playerid][pZ],PlayerInfo[playerid][pA],PlayerInfo[playerid][pTod],PlayerInfo[playerid][pTX],PlayerInfo[playerid][pTY],PlayerInfo[playerid][pTZ],SpielerName(playerid));
mysql_query(query);
}
}
Kann man das noch anders machen da es so leicht unübersichtlich ist
MFG