Error help:
#2

You will need to use multiple formats because the line is to long. This can be done by doing something like this:

pawn Код:
format(Query, sizeof(Query), "UPDATE `playerinfo` SET `kills` = %d, `deaths` = %d, `money` = %d, `AdminLevel` = %d, `Skin` = %d, `Last Pos X` = %f, `Last Pos Y` = %f, `Last Pos Z` = %f," /*The params here*/

format(Query, sizeof(Query), "%s `Interior` = %d, `DonatorLevel` = %d, `Level` = %d, `Faction` = %d, `FactionRank` = %d, `BankMoney` = %d, `Kicked` = %d, `Banned` = %d, `AjailTime` = %d, `Ajailed` = %d,", Query, /*The params here*/

format(Query, sizeof(Query), "%s `HouseKey` = %d, `Job` = %d, `TutorialComplete` = %d, `Health` = %f, `Armour` = %f, `Age` = %d, `PhoneNumber` = %d, `CellPhone` = %d WHERE `user` = '%s'", Query, /*The params here*/);
Reply


Messages In This Thread
Error help: - by iGetty - 18.01.2012, 05:01
Re: Error help: - by [HiC]TheKiller - 18.01.2012, 05:09
Re: Error help: - by iGetty - 18.01.2012, 05:18
Re: Error help: - by Scenario - 18.01.2012, 11:33

Forum Jump:


Users browsing this thread: 1 Guest(s)