04.10.2014, 18:05
I think this is it..
Код:
); format(query, sizeof(query), "%s, 'Warnings' = '%d', 'Warn1' = '%s', 'Warn2' = '%s', 'MaskID' = '%d', 'FactionMod' = '%d', 'Capacity' = '%d' WHERE 'ID' = '%d'", query, PlayerData[playerid][pWarnings], SQL_ReturnEscaped(PlayerData[playerid][pWarn1]), SQL_ReturnEscaped(PlayerData[playerid][pWarn2]), PlayerData[playerid][pMaskID], PlayerData[playerid][pFactionMod], PlayerData[playerid][pCapacity], PlayerData[playerid][pID] ); mysql_function_query(g_iHandle, query, false, "", ""); SQL_SaveAccessories(playerid); return 1; }