Jump to content

Markers


bituu_

Recommended Posts

I try to make a command which create a marker.. But it don't work, some help?
 

 
mp.events.addCommand("marker", (player) => {
    mp.markers.new(0, new mp.Vector3(-1222.9422607421875, -174.337890625, 39.3251838684082), 20,
        {
            direction: new mp.Vector3(-101.24121856689453),
            rotation: new mp.Vector3(-0.00970909371972084, -0.014882184565067291, -168.3780059814453),
            color: [255, 0, 0],
            visible: true,
            dimension: 0
        });
})
Edited by bituu_
Link to comment
Share on other sites

  • 2 years later...
mp.events.addCommand("marker", (player) => {
    let mymarker = mp.markers.new(0, new mp.Vector3(-1222.9422607421875, -174.337890625, 39.3251838684082), 20,
        {
            direction: new mp.Vector3(-101.24121856689453),
            rotation: new mp.Vector3(-0.00970909371972084, -0.014882184565067291, -168.3780059814453),
            color: [255, 0, 0],
            visible: true,
            dimension: 0
        });
});
Link to comment
Share on other sites

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...