SA-MP Forums Archive
SQL Vehicle Help [Rep++] - 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: SQL Vehicle Help [Rep++] (/showthread.php?tid=334193)



SQL Vehicle Help [Rep++] - Nuke547 - 14.04.2012

Fixed.


Re: SQL Vehicle Help [Rep++] - Nuke547 - 14.04.2012

Bump


Re: SQL Vehicle Help [Rep++] - DaRkM - 15.04.2012

I've just been working on SQL vehicles as well. I believe I got it working if by setting it up like this:
pawn Код:
format(query, sizeof(query), "UPDATE `vehicles` SET `x`='%f', `y`='%f', `z`='%f', `angle`='%f' WHERE `id`=%d", vStats[i][X], vStats[i][Y], vStats[i][Z], vStats[i][Angle], vStats[i][ID]);
                mysql_query(query);



Re: SQL Vehicle Help [Rep++] - Nuke547 - 15.04.2012

I already got it... Thanks


Re: SQL Vehicle Help [Rep++] - Nuke547 - 15.04.2012

So does anybody know whats wrong?


Re: SQL Vehicle Help [Rep++] - blank. - 15.04.2012

You edited your main post to "Fixed"
How do you expect us to help you now?


Re: SQL Vehicle Help [Rep++] - Nuke547 - 15.04.2012

Quote:
Originally Posted by blank.
Посмотреть сообщение
You edited your main post to "Fixed"
How do you expect us to help you now?
Wrong post, sorry.