Turn coordinates into the shape the script wants
One script wants vector4, another a table with heading and a third vec3. Paste what you have, one per line, and copy them out in the right shape.
- Free
- Nothing is uploaded
- No account
- vector3 vector4 JSON
Write as
Decimals
Paste one or more coordinates.
Good to know. The converter reads the numbers in the order they stand, x, y, z and then heading, or by the names x, y, z, w, h and heading. If the numbers stand in another order they come out wrong. Heading is counted as GTA does: 0 is north and it grows to the left.
Three steps
- 01
Paste
vector3, vector4, vec3, a Lua table, JSON, C# or just three or four numbers. One position per line.
- 02
Pick the shape
Pick what the script wants and how many decimals. Turn the heading half a turn if the ped or car faces backwards.
- 03
Copy
Copy every line at once. With two positions you also see the distance between them.