biostunt Posted October 17, 2019 Share Posted October 17, 2019 Hi guys! I have a global server variable names treasureMarker I try to create marker inside the event like this. Its creating, I checked it by console.log(treasureMarker); But.. I cant see this marker. Its invisible. Can you advice me something? var treasureMarker; mp.events.add("createMarker",(player)=>{ treasureMarker = mp.markers.new(1,new mp.Vector3(treasurePoint.x, treasurePoint.y, treasurePoint.z),1.0,{//Vector coords working well. "color": [239, 22, 14, 1], "direction": 0, "dimension": 0, "visible": true }); }) Solved. Problem was in color. Link to comment Share on other sites More sharing options...
Flow Posted October 17, 2019 Share Posted October 17, 2019 "color": [239, 22, 14, 1], Link to comment Share on other sites More sharing options...
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