15.12.2012, 09:39
You're going to have to use multiple formats so that it does not exceed the max line length.
pawn Code:
new saveQuery2[200];
format(saveQuery, sizeof(saveQuery), "%s, playerPhoneBook = '%d', playerGroup = '%d', playerGroupRank = '%d', playerIP = '%s', playerDropCarTimeout = '%d', playerHotwireTime = '%d', playerRope = '%d', playerVehicleParts = '%d', playerScrewDriver = '%d', playerGasCan = '%d', playerSprayCan = '%d', playerToolKit= '%d'"
, saveQuery, playerVariables[playerid][pPhoneBook], playerVariables[playerid][pGroup]
, playerVariables[playerid][pGroupRank], playerVariables[playerid][pConnectionIP]
, playerVariables[playerid][pDropCarTimeout], playerVariables[playerid][pHotwireTime]
, playerVariables[playerid][pRope], playerVariables[playerid][pVehicleParts]
, playerVariables[playerid][pScrewDriver], playerVariables[playerid][pGasCan]
, playerVariables[playerid][pSprayCan], playerVariables[playerid][pToolKit]);
format(saveQuery, sizeof(saveQuery), "%s, playerIdentification = '%d',playerAdminDuty = '%d', playerCrimes = '%d', playerArrests = '%d', playerWarrants = '%d', playerAge = '%d', playerVIPtokens = '%d', playerRags = '%d', playerCarEngineStatus = '%d', playerFuel = '%d'"
, saveQuery
, playerVariables[playerid][pIdentification], playerVariables[playerid][pAdminDuty]
, playerVariables[playerid][pCrimes], playerVariables[playerid][pArrests]
, playerVariables[playerid][pWarrants], playerVariables[playerid][pAge]
, playerVariables[playerid][pVIPtokens], playerVariables[playerid][pRags]
, playerVariables[playerid][pCarEngineStatua], playerVariables[playerid][fuel]);