Advertisement
KingOfVC

gtg

Oct 31st, 2014
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. function CC ()
  2. {
  3. local q = QuerySQL( db, "SELECT Coord FROM Car " );
  4. local Coord = GetSQLColumnData( q, 3 );
  5. id = GetTok( Coord, " ", 1 ).tofloat();
  6. x = GetTok( Coord, " ", 2 ).tofloat();
  7. y = GetTok( Coord, " ", 3 ).tofloat();
  8. z = GetTok( Coord, " ", 4 ).tofloat();
  9. a = GetTok( Coord, " ", 5 ).tofloat();
  10. c1 = GetTok( Coord, " ", 6 ).tofloat();
  11. c2 = GetTok( Coord, " ", 7 ).tofloat();
  12. CreateVehicle( id, 0, x","y","z, a, c1, c2 )
  13. GetSQLNextRow( q );
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement