Vector3 Updated Name?

Looking through an old resource to update it and found a native vector3, formatted like

vector3(x, y, z)

Ref: https://github.com/FAXES/Spotlight/blob/b36b939cad5d458eb5c4bb4381189bc5c078f133/client.lua#L81

I’ve looked through the Natives and couldn’t find a native with the Old Name as vector3. Wondering if anyone knows the updated name for it.

I was thinking DATAARRAY_GET_VECTOR but could be completely inccorect.

Isn’t vector 3 just a way of handling coordinates in lua? Afaik you would use vector3 when handling just x,y,z and when doing maths with coords etc. I’ve seen before when just using an x and a z coordinate you can use vector2 but when you have a h value you have to use {x = , y =, z = , h=},

It’s not a native


1 Like

Thanksssssss <3

I’ll just needa find a JS method. I’ll post it here for any future references for people :stuck_out_tongue: