mysql error
#3

probably you are using the array in wrong dimension as per its declaration.

Quote:
Originally Posted by Luicy.
Посмотреть сообщение
Код:
format(szQuery, sizeof(szQuery), "%s Mod3 = %d, Mod4 = %d, Mod5 = %d, Mod6 = %d, Mod7 = %d, Mod8 = %d, Mod9 = %d, Mod10 = %d, Mod11 = %d, Mod12 = %d, Mod13 = %d, Mod14 = %d, VW %d, Int %d WHERE Owner = %d AND ID = %d", szQuery, PlayerVehicleInfo[extraid][v][pvMods][3], PlayerVehicleInfo[extraid][v][pvMods][4], PlayerVehicleInfo[extraid][v][pvMods][5],\
                        PlayerVehicleInfo[extraid][v][pvMods][6], PlayerVehicleInfo[extraid][v][pvMods][7], PlayerVehicleInfo[extraid][v][pvMods][8], PlayerVehicleInfo[extraid][v][pvMods][9], PlayerVehicleInfo[extraid][v][pvMods][10], PlayerVehicleInfo[extraid][v][pvMods][11], PlayerVehicleInfo[extraid][v][pvMods][12],\
                        PlayerVehicleInfo[extraid][v][pvMods][13], PlayerVehicleInfo[extraid][v][pvMods][14], PlayerVehicleInfo[extraid][v][pvVW][15], PlayerVehicleInfo[extraid][v][pvInt][16], PlayerInfo[extraid][pID], PlayerVehicleInfo[extraid][v][pvRealID]);
When you're doing as you did, breaking lines, then you must use the letter \ at the end of the line.
escape sequences are used in strings not in statements.
Reply


Messages In This Thread
mysql error - by IndependentGaming - 07.10.2016, 15:09
Re: mysql error - by Luicy. - 07.10.2016, 16:36
Re: mysql error - by SyS - 07.10.2016, 16:43
Re: mysql error - by Luicy. - 07.10.2016, 16:45
Re: mysql error - by IndependentGaming - 07.10.2016, 18:28
Re: mysql error - by azzerking - 07.10.2016, 18:52
Re: mysql error - by IndependentGaming - 07.10.2016, 19:05
Re: mysql error - by azzerking - 07.10.2016, 19:19

Forum Jump:


Users browsing this thread: 1 Guest(s)