Moin moin,
Alter, Geschlecht, und die SkinID wird komischerweise nicht gespeichert..
Code
savePlayer(playerid)
{
//Speieler Speichern
if(pInfo[playerid][peingeloggt]!=1)return 1;
if(IsPlayerNPC(playerid))return 1;
GetPlayerHealth(playerid,pInfo[playerid][pleben]);
GetPlayerArmour(playerid,pInfo[playerid][prussi]);
new query[256];
mysql_format(dbhandle,query,sizeof(query),"UPDATE ´user´ SET ´skin´='%d',´alter´='%d',´geschlecht´='%d',´neuling´='%d',´leben´='%.0f',´russi´='%.0f' WHERE ´ID´='%i'",GetPlayerSkin(playerid),
pInfo[playerid][palter],pInfo[playerid][pgeschlecht],pInfo[playerid][pneuling],pInfo[playerid][pleben],pInfo[playerid][prussi],pInfo[playerid][pid]);
mysql_pquery(dbhandle,query,"","");
printf("%s",query);
pInfo[playerid][peingeloggt]=0;
return 1;
}
Alles anzeigen