Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function CC ()
- {
- local q = QuerySQL( db, "SELECT Coord FROM Car " );
- local Coord = GetSQLColumnData( q, 3 );
- id = GetTok( Coord, " ", 1 ).tofloat();
- x = GetTok( Coord, " ", 2 ).tofloat();
- y = GetTok( Coord, " ", 3 ).tofloat();
- z = GetTok( Coord, " ", 4 ).tofloat();
- a = GetTok( Coord, " ", 5 ).tofloat();
- c1 = GetTok( Coord, " ", 6 ).tofloat();
- c2 = GetTok( Coord, " ", 7 ).tofloat();
- CreateVehicle( id, 0, x","y","z, a, c1, c2 )
- GetSQLNextRow( q );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement