I have a problem. Why is this marker flying like in this picture? Someone will help
Because the Z coord is too high?
Config.Zones = {
PoliceDuty = {
Pos = { x = 440.716, y = -976.129, z = 30.6896 },
Size = { x = 1.5, y = 1.5, z = 0 },
Color = { r = 30, g = 144, b = 255 },
Type = 23,
},
The Z coordinate is the height in the world
I’ve drawn a little box on the Z coordinate and as you can see it’s too heigh
You might want to lower your Z coordinate to 29.8 or 29.9
d0p3t
5
It’s most likely because the coordinate was retrieved in game via the players current position. The z coordinate is then at the mid riff, hence too high.
Subtract ~0.9 from the z coordinate