Query string
#2

You have a lot of syntax error (query =/= Query) and you escaped backward slashes, hence why the possible non terminated string error. Try this code:

pawn Код:
strcat(query, "UPDATE `players` SET `LastLogin` = '%s', `Kills` = %d, `Deaths` = %d, `Score` = %i, `Money` = %i, `Level` = %d, `WantedLevel` = %d, `Skin` = %d, `PlayerTeam` = %d, `PlayerGender` = %d,", sizeof(query));
strcat(query,"`PlayingHours` = %d, `PlayingMinutes` = %d, `FirstSpawn` = %d, `Job` = %d, `Bank` = %d, `NoPm` = %d, `Diseases` = %d", sizeof(query));
strcat(query,"`VehicleLicense` = %d, `MotorbikeLicense` = %d, `PlaneLicense` = %d, `HelicopterLicense` = %d, `BankDeposited` = %d, `BankWithdrawal` = %d WHERE `ID`=%d", sizeof(query));
Reply


Messages In This Thread
Query string - by KinderClans - 09.08.2018, 19:28
Re: Query string - by GRiMMREAPER - 09.08.2018, 20:18
Re: Query string - by KinderClans - 09.08.2018, 23:15
Re: Query string - by Jefff - 09.08.2018, 23:26
Re: Query string - by Kraeror - 10.08.2018, 06:52
Re: Query string - by Banditul18 - 10.08.2018, 07:41
Re: Query string - by Calisthenics - 10.08.2018, 08:21
Re: Query string - by Banditul18 - 10.08.2018, 08:32
Re: Query string - by Juvanii - 10.08.2018, 09:34
Re: Query string - by KinderClans - 10.08.2018, 10:40

Forum Jump:


Users browsing this thread: 2 Guest(s)