SA-MP Forums Archive
Wrong Angle - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Wrong Angle (/showthread.php?tid=635041)



Wrong Angle - StR_MaRy - 31.05.2017

SOLVED , SORRY


Re: Wrong Angle - JasonRiggs - 31.05.2017

Код:
mysql_format(handle, gQuery, sizeof(gQuery), "INSERT INTO `lvpdcars` (`Model`,`Color1`,`Color2`,`Rank`,`FactionID`,`LocationX`,`LocationY`,`LocationZ`,`LocationA`) VALUES ('%d','%d','%d','1','1','%f','%f','%f','%f')", vmodel, col1, col2, POSX, POSY, POSZ, Angle);
The problem is maybe in here, vmodel is "%d", col1"%d", col2"%d", posx"1", posy"2" etc.. But in the rest of the code i totally didn't notice any problem in the angle, unless if you are looking up for something else which isn't in a problem in the code, Have you got any warnings or errors?