Originally Posted by ThatOneGuy789
what im wanting to do is if i set a player waypoint on the map it will return the X, Y, Z of that waypoint in the world space
i use GetMapPlayerWaypoint() to get that set waypoint which returns a normalized XY but from my testing Y is actually Z and not Y so im not understanding the conversion there.
|
Why not
local x, y = gps:LocalToGlobal(GetMapPlayerWaypoint())
local z = 0
You can't guess the Z if you don't have the data anyway...