input line too long
#1

Код:
    format(string, sizeof(string), "UPDATE `vehicles` SET `vPos` = '%f', `vPos2` = '%f', `vPos3` = '%f', `vPos4` = '%f',  `Price` = '%i', `Rent` = '%i', `Buyable` = '%i', `Faction` = '%i', \
    `Gang` = '%i', `job` = '%i', `Fuel` = '%i', `Model` = '%i', `Owner` = '%i', `Lock` = '%i', `Mod1` = '%i', \
    `Mod2` = '%i',`Mod3` = '%i',`Mod4` = '%i',`Mod5` = '%i',`Mod6` = '%i',`Mod7` = '%i',`Mod8` = '%i',`Mod9` = '%i',`Mod10` = '%i', \
	`Mod11` = '%i' ,`Mod12` = '%i' ,`Mod13` = '%i' ,`Mod14` = '%i' ,`Mod15` = '%i' ,`Mod16` = '%i',`Mod17` = '%i' WHERE `SQLID` = '%d'",
Input line too long, the "\" doesnt work on this i think..
Reply
#2

You coud put them all onto one line, or do something like
pawn Код:
format(string, sizeof(string), "Some Stuff");
format(string, sizeof(string, "%s Some Other Stuff", string);
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)