Bilal135 Posted May 1, 2015 Share Posted May 1, 2015 Markeyr = createMarker(1486.7078857422, -1687.2141113281, 14, "cylinder", 1, 255, 255, 255) Marker doesn't appear, I've checked the dimensions, but still it doesn't appear. What seems to be the problem? Link to comment
Enargy, Posted May 1, 2015 Share Posted May 1, 2015 you forgot alpha. Markeyr = createMarker(1486.7078857422, -1687.2141113281, 14, "cylinder", 1, 255, 255, 255, 255) Link to comment
Bilal135 Posted May 1, 2015 Author Share Posted May 1, 2015 Nope, still doesn't appear. Link to comment
Irish Posted May 1, 2015 Share Posted May 1, 2015 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
Bilal135 Posted May 1, 2015 Author Share Posted May 1, 2015 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. Link to comment
Mr.unpredictable. Posted May 1, 2015 Share Posted May 1, 2015 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
Irish Posted May 1, 2015 Share Posted May 1, 2015 This is where you've created the marker. The cmd function exactly warps you there. Link to comment
Bilal135 Posted May 1, 2015 Author Share Posted May 1, 2015 Location is Pershing Square. Dimensions: (X) 1486.9837646484 (Y) -1687.2625732422 (Z) 14.046875 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
Irish Posted May 1, 2015 Share Posted May 1, 2015 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
Bilal135 Posted May 1, 2015 Author Share Posted May 1, 2015 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. Link to comment
Mr.unpredictable. Posted May 1, 2015 Share Posted May 1, 2015 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
Irish Posted May 1, 2015 Share Posted May 1, 2015 Well whatever dimension you stated in your first code was incorrect, and you've posted the correct one afterwards. By the way its working fine for me; marker is created at the provided position. http://postimg.org/image/zewizlund/ - I don't know why it isn't working for you. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now