Jump to content

Marker Problem


Recommended Posts

Markeyr = createMarker(-1486.7078857422, -1687.2141113281, 14, "cylinder", 1, 255, 255, 255) 
  
 function cmd(plr) 
    setElementPosition(plr, -1486.7078857422, -1687.2141113281, 14) 
end 
addCommandHandler("pos", cmd) 

You've created the marker somewhere not on the ground. Try this cmd function that will warp you to there and you'll see where the marker is created.

Link to comment
It teleports me to some other location, the marker isn't there too. (It might be under water or out of GTA world). I have the right dimensions, so what can i do now? It still teleports me somewhere else.

It is teleporting you the location where you have created the marker.

post the location and dimention where you want the marker to be

Link to comment

Location is Pershing Square. Dimensions: (X) 1486.9837646484 (Y) -1687.2625732422 (Z) 14.046875

14xo22f.png

I see, MHS, but as you can see, I wanted the marker to be there, in the picture. You can see your self. Then why it creates marker somewhere else?

Link to comment

You've stated the correct dimension (x,y,z) now, and they're (X) 1486.9837646484 (Y) -1687.2625732422 (Z) 14.046875, some integers from z were missing.

Markeyr = createMarker(1486.9837646484,  -1687.2625732422,  14.046875, "cylinder", 1, 255, 255, 255) 
  
 function cmd(plr) 
    setElementPosition(plr, 1486.9837646484,  -1687.2625732422,  14.046875) 
end 
addCommandHandler("pos", cmd) 

The marker should be now created at the correct position.

Link to comment
Nope, the marker doesn't appear. +Changing digits after decimal of "z" doesn't really change the position. They are used to move up or down the marker. So, I tried the correct one as well, and still marker doesn't appear.

the postion you are getting is wrong. Maybe that resource is giving you wrong position.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...