Vehicle system. - 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: Vehicle system. (
/showthread.php?tid=297938)
Vehicle system. -
budelis - 18.11.2011
Hi peoples. I want to ask what is here. Problem is when i buy car,then exit all save fine. Then i load server too all loads fine. Ok i go to my car little drive and exist and now not save pos,save but the same that i don't understand.If first coordinates was X: 1450.089965 Y: 2714.270019 Z: 10.333200.(i print that in console),when i exist second time it be other coordinates in console,but in mysql is same like first. And when load second time is using that options in mysql.
Re: Vehicle system. -
Jordiee - 18.11.2011
Do it through the MySQL under "Vehicles"
Re: Vehicle system. -
budelis - 18.11.2011
I think you don't understand me. I want to say,when is first save all coordinates saves fines,but next time coordinates is same,but i have drive with car some way,and coordinates have to be different,in debug.txt is good,but when i want check in localhost,it's stay the first saved coordinates.
Re: Vehicle system. -
tony_fitto - 18.11.2011
Send the code where your gamemode are updating the vehicles possition.
I belive you have coded something wrong when your gamemode are saving/updating the vehicles new coordinate.
Re: Vehicle system. -
budelis - 19.11.2011
I already fixed that. Anyway thanks for helping.