#Mixer
Ученик
Доброго времени суток пользователи Pawno-Info
Добавляю гардероб в дома, но после выхода не сохраняются скины в гардеробе, помогите пожалуйста.
Добавляю гардероб в дома, но после выхода не сохраняются скины в гардеробе, помогите пожалуйста.
PHP:
format(stg,sizeof(stg),"UPDATE 'Accounts` SET `pSkin[0]` = '%d',`pSkin[1]` = '%d',`pSkin[2]` = '%d',`pSkin[3]` = '%d',`pSkin][4]` = `%d' WHERE 'Name' = `%s' ",
PlayerInfo[playerid][pSkin][0],PlayerInfo[playerid][pSkin][1],PlayerInfo[playerid][pSkin][2],PlayerInfo[playerid][pSkin][3],PlayerInfo[playerid][pSkin][4],sendername);
mysql_function_query(connects,stg,false,"","");
PHP:
[22:07:22] [WARNING] CMySQLResult::GetRowDataByName - field not found ("pSkin[0]")
[22:07:22] [WARNING] CMySQLResult::GetRowDataByName - field not found ("pSkin[1]")
[22:07:22] [WARNING] CMySQLResult::GetRowDataByName - field not found ("pSkin[2]")
[22:07:22] [WARNING] CMySQLResult::GetRowDataByName - field not found ("pSkin[3]")
[22:07:22] [WARNING] CMySQLResult::GetRowDataByName - field not found ("pSkin[4]")
[22:07:22] [WARNING] CMySQLResult::GetRowDataByName - field not found ("SetPasIp")
[22:07:22] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Accounts` SET `pSkin[0]` = '0',`pSkin[1]` = '0',`pSkin[2]` = '0',`pSkin[3]` = '' at line 1
[22:07:37] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Accounts` SET `pSkin[0]` = '0',`pSkin[1]` = '0',`pSkin[2]` = '0',`pSkin[3]` = '' at line 1
[22:08:26] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Accounts` SET `pSkin[0]` = '15',`pSkin[1]` = '50',`pSkin[2]` = '96',`pSkin[3]` ' at line 1
[22:08:39] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Accounts` SET `pSkin[0]` = '15',`pSkin[1]` = '50',`pSkin[2]` = '96',`pSkin[3]` ' at line 1
[22:09:17] [WARNING] CMySQLResult::GetRowDataByName - field not found ("pSkin[0]")
[22:09:17] [WARNING] CMySQLResult::GetRowDataByName - field not found ("pSkin[1]")
[22:09:17] [WARNING] CMySQLResult::GetRowDataByName - field not found ("pSkin[2]")
[22:09:17] [WARNING] CMySQLResult::GetRowDataByName - field not found ("pSkin[3]")
[22:09:17] [WARNING] CMySQLResult::GetRowDataByName - field not found ("pSkin[4]")
[22:09:17] [WARNING] CMySQLResult::GetRowDataByName - field not found ("SetPasIp")
[22:09:17] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Accounts` SET `pSkin[0]` = '0',`pSkin[1]` = '0',`pSkin[2]` = '0',`pSkin[3]` = '' at line 1
[22:09:42] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Accounts` SET `pSkin[0]` = '0',`pSkin[1]` = '0',`pSkin[2]` = '0',`pSkin[3]` = '' at line 1
