Quote:
Originally Posted by YamiKaitou
I recall a previous discussion on the same thing and I think it had to do with the line being too long. Try breaking it up into multiple formatex calls
|
Do not work either :/
Code:
new pos;
pos += formatex( g_Cache[pos], charsmax(g_Cache)-pos-1, QUERY_UPDATE_SKILLS, sql_table, nickname, authid, ip, nickname, xp[id], playerlevel[id], skillpoints[id], medals[id], health[id], armor[id], rhealth[id], rarmor[id], rammo[id], gravity[id], speed[id], dist[id], dodge[id], where_statement );
pos += formatex( g_Cache[pos], charsmax(g_Cache)-pos-1, "SET `lastUpdated`=now()" );
My only option is to do this then?
Code:
new g_Cache2[1024]; // update lastUpdated
formatex( g_Cache2, 1023, "UPDATE %s SET `lastUpdated`=now()", sql_table );