@Kaliber Lol ich check das iwie alles nicht mehr jetzt habe ich grade eine klammer weg gemacht und keine Errors mehr etc. aber als ich es vorhin versucht habe kam das mit den return kram errors/warnings kp aber danke
/edit mein MySQL [Error Log] spuckt das hier aus weiß einer was das heißt? bzw. weiß jmd die lösung?
[18:16:42] [plugins/mysql] error #1064 while executing query "UPDATE users SET level = '12', money = '7250000', kills = '0', deaths = '1',alevel = '7', fraktion = '7', rank = '6', perso = '0', spawnchange = '0', payday = '51', xp = '1', xpmax = '12',carlic = '0', bikelic = '0',flylic = '0',waffenlic = '0',boatlic = '0',drugs = '0',mats = '0',drogendealer = '0',waffendealer = '0',busfahrer = '0',landwirt = '0',hure = '0',straßenfeger = '0',matpacks = '0', startbonus = '0',WHERE id = '1'": You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE id = '1'' at line 1
[18:16:42] [log-core] exception 0XC0000005 (ACCESS_VIOLATION) from Vectored Exception Handler catched; shutting log-core down
ich häng mal mein stock SaveUserStats dran
stock SaveUserStats(playerid)
{
if(!PlayerInfo[playerid][pLoggedIn]) return 1;
new query[650];
mysql_format(handle, query, sizeof(query), "UPDATE users SET level = '%d', money = '%d', kills = '%d', deaths = '%d',\
alevel = '%d', fraktion = '%d', rank = '%d', perso = '%d', spawnchange = '%d', payday = '%d', xp = '%d', xpmax = '%d',\
carlic = '%d', bikelic = '%d',flylic = '%d',waffenlic = '%d',boatlic = '%d',drugs = '%d',mats = '%d',drogendealer = '%d',\
waffendealer = '%d',busfahrer = '%d',landwirt = '%d',hure = '%d',straßenfeger = '%d',matpacks = '%d', startbonus = '%d',\
WHERE id = '%d'",
PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pMoney], PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths],
PlayerInfo[playerid][pAlevel], PlayerInfo[playerid][pFraktion], PlayerInfo[playerid][pRank], PlayerInfo[playerid][pPerso],PlayerInfo[playerid][pSpawnchange],
PlayerInfo[playerid][pPayday],PlayerInfo[playerid][pXP],PlayerInfo[playerid][pXPMax],PlayerInfo[playerid][pCarlic],PlayerInfo[playerid][pBikelic],PlayerInfo[playerid][pFlylic],PlayerInfo[playerid][pWaffenlic],PlayerInfo[playerid][pBoatlic],
PlayerInfo[playerid][pDrugs], PlayerInfo[playerid][pMats],PlayerInfo[playerid][pDrogendealer],PlayerInfo[playerid][pWaffendealer],PlayerInfo[playerid][pBusfahrer],
PlayerInfo[playerid][pLandwirt],PlayerInfo[playerid][pHure],PlayerInfo[playerid][pStrassenfeger],PlayerInfo[playerid][pMatpacks],PlayerInfo[playerid][pStartbonus],
PlayerInfo[playerid][p_id]);
mysql_pquery(handle, query);
return 1;
}