12.07.2013, 14:27
Код:
new string[512], string2[128]; format(string, sizeof(string), "UPDATE asd = %i, abc = '%s', agh = '%f', ", a, b, c); // In the end of the first or in the beginning of the second line must be a space. format(string2, sizeof(string2), "ghj = %i, gsg = %i, ", d, e); strcat(string, string2); format(string2, sizeof(string2), "yue = '%s' WHERE agn = %i", f, g); strcat(string, string2);