UpdatePos
#1

It does not load the database new position of the car !
My problem is the " WHERE ID " I am car database with ID : 1, and if I change " WHERE ID =% s " with " WHERE ID = 1 "then it works perfectly



Код HTML:
mysql_format(handle, query, sizeof(query), "UPDATE `vehicles` SET `PositionX` = '%f', `PositionY` = '%f', `PositionZ` = '%f', `Angle` = '%f' WHERE ID = '%i'", VehiclesInfo[carid][vPositionX], VehiclesInfo[carid][vPositionY], VehiclesInfo[carid][vPositionZ], VehiclesInfo[carid][vAngle], VehiclesInfo[carid][vID]);
mysql_query(handle, query);
Reply


Messages In This Thread
UpdatePos - by norton2 - 22.01.2015, 07:25
Re: UpdatePos - by XXCrazyMan707XX - 22.01.2015, 07:36
Re: UpdatePos - by norton2 - 22.01.2015, 08:08
Re: UpdatePos - by xVIP3Rx - 22.01.2015, 12:05
Re: UpdatePos - by norton2 - 22.01.2015, 12:53
Re: UpdatePos - by xVIP3Rx - 22.01.2015, 12:56
Re: UpdatePos - by norton2 - 22.01.2015, 13:04
Re: UpdatePos - by xVIP3Rx - 22.01.2015, 13:11
Re: UpdatePos - by norton2 - 22.01.2015, 13:49
Re: UpdatePos - by BroZeus - 22.01.2015, 14:17

Forum Jump:


Users browsing this thread: 1 Guest(s)