Проблема с сохранением - Форум Cheat-Master.ru
  • Страница 1 из 1
  • 1
Модератор форума: [CM]OlegEhtler, Getbackthere, Phoenixxx_Czar  
Проблема с сохранением
Adidas_Dagestanec Дата: Четверг, 24.11.2016, 15:59 | Сообщение # 1
Любитель
Сообщений: 48
Статус: Offline
Данные загружаются, но не сохраняются, что я пропустил?

Моя загрузка:
Цитата
a = cache_get_field_content_int(x-1,"gID");
cache_get_row(x-1,1, GroupsInfo[a][gName], DATABASE, MAX_PLAYER_NAME);
GroupsInfo[a][gSpawnx] = cache_get_row_float(x-1,2, DATABASE);
GroupsInfo[a][gSpawny] = cache_get_row_float(x-1,3, DATABASE);
GroupsInfo[a][gSpawnz] = cache_get_row_float(x-1,4, DATABASE);
GroupsInfo[a][gEntrancex] = cache_get_row_float(x-1,5, DATABASE);
GroupsInfo[a][gEntrancey] = cache_get_row_float(x-1,6, DATABASE);
GroupsInfo[a][gEntrancez] = cache_get_row_float(x-1,7, DATABASE);
GroupsInfo[a][gExitx] = cache_get_row_float(x-1,8, DATABASE);
GroupsInfo[a][gExity] = cache_get_row_float(x-1,9, DATABASE);
GroupsInfo[a][gExitz] = cache_get_row_float(x-1,10, DATABASE);
GroupsInfo[a][gInt] = cache_get_row_int(x-1,11, DATABASE);
GroupsInfo[a][gBalance] = cache_get_row_int(x-1,12, DATABASE);
GroupsInfo[a][gMats] = cache_get_row_int(x-1,13, DATABASE);
GroupsInfo[a][gDrugs] = cache_get_row_int(x-1,14, DATABASE);
GroupsInfo[a][gHel] = cache_get_row_int(x-1,15, DATABASE);
TotalGroup++;


Мое сохранение

Цитата
mysql_format(DATABASE, QUERY, sizeof(QUERY), "UPDATE `"TABLE_GROOP"` SET ");
format(temp,sizeof(temp),"`gName`= '%s',",GroupsInfo[i][gName]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp),"`gSpawnx`= '%f',",GroupsInfo[i][gSpawnx]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp),"`gSpawny`= '%f',",GroupsInfo[i][gSpawny]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp),"`gSpawnz`= '%f',",GroupsInfo[i][gSpawnz]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp),"`gEntrancex`= '%f',",GroupsInfo[i][gEntrancex]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp),"`gEntrancey`= '%f',",GroupsInfo[i][gEntrancey]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp),"`gEntrancez`= '%f',",GroupsInfo[i][gEntrancez]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp),"`gExitx`= '%f',",GroupsInfo[i][gExitx]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp),"`gExity`= '%f',",GroupsInfo[i][gExity]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp),"`gExitz`= '%f',",GroupsInfo[i][gExitz]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp),"`gInt`= '%i',",GroupsInfo[i][gInt]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp),"`gBalance`= '%i',",GroupsInfo[i][gBalance]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp),"`gMats`= '%i',",GroupsInfo[i][gMats]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp),"`gDrugs`= '%i',",GroupsInfo[i][gDrugs]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp),"`gHel`= '%i'",GroupsInfo[i][gHel]), strcat(QUERY,temp,sizeof(QUERY));
format(temp,sizeof(temp)," WHERE gID = '%i'",GroupsInfo[i][gID]), strcat(QUERY,temp,sizeof(QUERY));
mysql_function_query(DATABASE, QUERY, true, "", "");


В mysql_log ошибок нет


Сообщение отредактировал Adidas_Dagestanec - Четверг, 24.11.2016, 16:00
  • Страница 1 из 1
  • 1
Поиск:
Статистика Форума
Лучшие пользователи
Admin [39113]

GеNius [7210]

[CM]Russel [5557]

kenlo763 [4952]

[CM]AGRESSOR [4639]

Snake_Firm [4452]

Сэс [4416]

Artem_Buero [4223]

[CM]Durman [3204]

[CM]Рафаэль [3080]

iMaddy [2855]

sky_Woker [2854]

getrekt [2745]

Новые пользователи
bondarkovasyl [01:24]

DeTruXer [00:16]

NapoleonBonapart [23:46]

Dfgafgwdxz [18:04]

Dominikopon [18:00]

cheatjopa2 [11:58]

gabitovismaismaisma [09:18]

Gotham_ws [03:45]

раре [02:58]

Epiphonexmr [02:38]

ksuexe [01:35]

petrusenko_t [23:29]

shanepk60 [21:19]