Search the Community

Showing results for tags 'marker'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RAGE Multiplayer
    • Announcements
    • Discussion
    • Suggestions
    • RDR2 Multiplayer
  • Scripting
    • Scripting
    • Resources
  • Community
    • Support
    • Servers
    • Media Gallery
  • Non-English
    • Русский - Russian
    • Français - French
    • Deutsch - German
    • Espanol - Spanish
    • Română - Romanian
    • Portuguesa - Portuguese
    • Polski - Polish

Categories

  • Scripts
  • Gamemodes
  • Libraries
  • Plugins
  • Maps
  • Tools

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Facebook


Youtube


Skype


Web


VK

Found 3 results

  1. Hii, How do i properly access all colshapes serverside so i can access there attributes? I mean i could port the data to a db on create and work with sql😬..? or ad SetValue commands? Is there a true way? i tryed: 1. let colshapeMarkers = []; let colshapecolor = [133,30,62,200] let ChatColorR = "!{"+[255, 0, 0]+"}"; let ChatColorW = "!{"+[255, 255, 255]+"}"; let ServerChatM = '['+ChatColorR+'SERVER'+ChatColorW+'] '; mp.events.addCommand("setv", (player) => { //colshapeMarkers = null; //reseting let colshapesArr = mp.colshapes.toArray(); player.outputChatBox('['+ChatColorR+'SERVER'+ChatColorW+'] '+colshapesArr) colshapesArr.every((colshape) => { player.outputChatBox(ServerChatM+' id of colshape:'+colshape.id); marker = mp.markers.new(1, new mp.Vector3(colshape.x, colshape.y, colshape.z), colshape.range, { direction: new mp.Vector3(colshape.x, colshape.y, colshape.z), rotation: new mp.Vector3(0, 0, 0), color: [133,30,62,200], visible: true, dimension: player.dimension }); }); and: let colshapeMarkers = []; let colshapecolor = [133,30,62,200] let ChatColorR = "!{"+[255, 0, 0]+"}"; let ChatColorW = "!{"+[255, 255, 255]+"}"; let ServerChatM = '['+ChatColorR+'SERVER'+ChatColorW+'] '; mp.events.addCommand("setv", (player) => { //colshapeMarkers = null; //reseting // let colshapesArr = mp.colshapes.toArray(); // player.outputChatBox('['+ChatColorR+'SERVER'+ChatColorW+'] '+colshapesArr) // colshapesArr.every((colshape) => { // player.outputChatBox(ServerChatM+' id of colshape:'+colshape.id); // marker = mp.markers.new(1, new mp.Vector3(colshape.x, colshape.y, colshape.z), colshape.range, // { // direction: new mp.Vector3(colshape.x, colshape.y, colshape.z), // rotation: new mp.Vector3(0, 0, 0), // color: [133,30,62,200], // visible: true, // dimension: player.dimension // }); mp.colshapes.forEach((colshape) => { // Create Markers player.outputChatBox(ServerChatM +colshape.id) marker = mp.markers.new(1, new mp.Vector3(colshape.x, colshape.y, colshape.z), colshape.range, { direction: new mp.Vector3(colshape.x, colshape.y, colshape.z), rotation: new mp.Vector3(0, 0, 0), color: [133,30,62,200], visible: true, dimension: player.dimension }); colshapeMarkers[colshape.id] = marker.id; }); }); -> https://wiki.rage.mp/index.php?title=Pool::toArray
  2. What's the problem is that they are not created and displayed. NAPI.Marker.CreateMarker(2, client.Position, client.Position, new Vector3(), 10f, new Color(164, 26, 0), true, 1); NAPI.TextLabel.CreateTextLabel("My Text", client.Position, 10F, 3, 2, new Color(164, 26, 0), false, 2);
  3. Hi Guys, says it is possible from the website GTA 5 Mod to insert the Colored Map Blips in RageMP? Would be if someone could answer