Search the Community

Showing results for tags 'colshape'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RAGE Multiplayer
    • Announcements
    • Discussion
    • Suggestions
  • 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 2 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. Version 1.0.1

    143 downloads

    Internet radio over colshapes using CEF. Scope of application: custom clubs, interiors. Default location is the Galileo Observatory (behind the monument). Default radio station - Wacken Radio (DE). Installation: I. Put server files to: server-files\packages\yourGameMode II. Add require('./rStreamColshapes'); to your server's index.js III. Put client files to: client_packages then edit your client's index.js and add require('./rStream'); To change radio stream url, edit index.html here: client_packages\cef\rStream\index.html GitHub