15.11.2014, 21:08
EDIT: FIXED
format(query, sizeof(query), "UPDATE playerdata SET pAdmin=%d, pWarns=%d, pScore=%d, pMoney=%d, pSeconds=%d, pMinutes=%d, pHours=%d WHERE user='%s'", pInfo[playerid][pAdmin], pInfo[playerid][pWarns], GetPlayerScore(playerid), GetPlayerMoney(playerid), pInfo[playerid][pSeconds], pInfo[playerid][pMinutes], pInfo[playerid][pHours], pname);
mysql_query(query);
format(query, sizeof(query), "UPDATE playerdata SET pKills=%d, pDeaths=%d, pVip=%d, pSwat=%d, pArmy=%d WHERE user='%s'", pInfo[playerid][pKills], pInfo[playerid][pDeaths], pInfo[playerid][pVip], pInfo[playerid][pSwat], pInfo[playerid][pArmy],pname);
mysql_query(query);