Jump to content

207 files

  1. Blackout

    This resource lets you control the blackout feature of GTA V.
     
    Installing
    Put the files you downloaded in their respective places Add require('blackout') to client_packages/index.js All done  
    API
    // Serverside (synced to every player) mp.world.blackout.enabled // get mp.world.blackout.enabled = true/false // set // Clientside (only for a client) mp.game.blackout.enabled // get mp.game.blackout.enabled = true/false // set You can also trigger SetBlackoutState event with the first argument being the new state of blackout.
     
    Example
    // Toggle blackout mode with /toggleblackout (Serverside) mp.events.addCommand("toggleblackout", (player) => { mp.world.blackout.enabled = !mp.world.blackout.enabled; player.outputChatBox(`Blackout ${mp.world.blackout.enabled ? `enabled` : `disabled`}.`); }); // Toggle blackout mode with F8 key (Clientside) mp.keys.bind(0x77, false, () => { mp.game.blackout.enabled = !mp.game.blackout.enabled; mp.gui.chat.push(`Blackout ${mp.game.blackout.enabled ? `enabled` : `disabled`}.`); });  


    817 downloads

       (1 review)

    0 comments

    Updated

  2. Synced Player Component Variations

    This should save you some time writing your own syncing when it comes to using player.setClothes() for values over 255 until 1.0 gets released. The download has example scenarios/commands you can use.
    Serverside Functions:
    player.changeClothes(Number componentId, Number drawable, Number texture, Bool save, Bool sync) player.resetClothes() Save parameter:
    By setting this to true the script will remember these values and re-apply these when using player.resetClothes()
    Sync parameter:
    If you set this parameter to false the clothes will only be applied on the target client.
    Set this to true and everyone will see the clothes!
     
    Demonstration:
    This GIF has both save and sync parameter set to false to preview the selected item before actually purchasing it. Once purchased, both save and sync are set to true to remember the purchased item and to sync it to all other clients
    https://imgur.com/a/gsySyPc
     
    And this GIF shows the same interaction but from the other client
    https://imgur.com/a/0IankaB

    808 downloads

       (3 reviews)

    0 comments

    Updated

  3. [JS] Player Location Display ported over to javascript

    A Javascript remake of https://rage.mp/files/file/461-c-player-location-display/ (all credits go to him)
    Hey!
    This is my first resource that I am publicly releasing.
    For you all, I have ported the C# Player Location Display (https://rage.mp/files/file/461-c-player-location-display/) into JS.
    Install
    Place `/street` into your server's client_packages directory, then add `require("./street/index.js");` to client_packages/index.js

    I know the code isn't the best optimized, please feel free to open a pull request on GitHub.
     
    GITHUB: https://github.com/realdiegopoptart/ragemp-pld

    806 downloads

       (0 reviews)

    1 comment

    Updated

  4. Realtime Weather

    Server-sided script, that getting a real weather hourly and sets it in the gta 5 world.
     
    HowTo:
    I. Install getJSON: npm install get-json --save
    II. Go to https://developer.accuweather.com/ and register as the Developer.
    III. To get your new API key, create your WeatherAPP here, https://developer.accuweather.com/user/me/apps
     On the question: "What programming language is your APP written in?" Answer will be: JavaScript.
    IV. Go to https://www.accuweather.com/ and find your preferred location on the map or by the search field, for example: Moscow, Russia.
     To set more accurate location to your preferred, click on the nearest point on the map, for me it is Yakimanka, then click on 'Hourly".
    V. The URL will look like this: https://www.accuweather.com/en/ru/yakimanka/2515350/hourly-weather-forecast/2515350
      Well, 2515350 is the Location Key that we will use further.
     
    VI. Let's assemble your AccuWeather URL: http://dataservice.accuweather.com/forecasts/v1/hourly/1hour/YOUR_LOCATION_KEY?apikey=YOUR_API_KEY
    VII. Paste new AccuWeather URL into the script and save it.
    Warning! The Trial Version of AccuWeather is limited for 50 requests per day.
     
    GitHub
     

    778 downloads

       (2 reviews)

    0 comments

    Updated

  5. Dronesytem

    Installing
    Put drone into your server's client_packages directory, then add require('drone'); to client_packages/index.js.
     
    Controls
    F2 = Toggle Drone
    ARROW UP = Forward
    ARROW DOWN = Backward
    ARROW LEFT = Left
    ARROW RIGHT = Right
    Q = Rotate Left
    E = Rotate Right
    SPACE = Go Up
    CTRL = Go Down
    N = Toggle Camera
    T = Taze
    F6 = Toggle Nightvision
    F7 = Toggle Thermalvision
     
    Information
    Hello friends, this is my first public script I hope you like it. I would be happy about constructive comments and suggestions for improvement
    💖

    772 downloads

       (5 reviews)

    0 comments

    Submitted

  6. [C#] Player Location Display

    Hello!
    This is my first ever resource, hopefully I've done everything right.
    For you all, I have recreated the popular Player Location Display by Lt.Caine for RageMP with the help of codibez's streetLabel repo on GitHub.
    The code is in C# so you will have to activate C# in your server's conf.json if you haven't yet.
    Place both folders in your client_packages and you're good to go.

    Enjoy!

    739 downloads

       (0 reviews)

    0 comments

    Updated

  7. [C#] Custom Timer - Server & Client

    With this script you can easily create custom timer.
    The file is fully commented and should be easy to understand.
    The file in Shared is required - and then use either the file in Server or in Client depending on where you are using it.
    You have to use the constructor to create the timer.

    Examples:
    Examples: // Yes, the method can be private // private void testTimerFunc(Client player, string text) { NAPI.Chat.SendChatMessageToPlayer(player, "[TIMER] " + text); } void testTimerFunc() { NAPI.Chat.SendChatMessageToAll("[TIMER2] Hello"); } [Command("ttimer")] public void timerTesting(Client player) { // Lamda for parameter // new Timer(() => testTimerFunc(player, "hi"), 1000, 1); // Normal without parameters // new Timer(testTimerFunc, 1000, 1); // Without existing method // var timer = new Timer(() => { NAPI.Chat.SendChatMessageToPlayer(player, "[TIMER3] Bonus is da best"); }, 1000, 0); // Kill the timer // timer.Kill(); }  

    713 downloads

       (4 reviews)

    0 comments

    Updated

  8. Synced Nitro

    Hello everyone,

    This resource gives the ability to add Nitro to any car and syncs the effect of the nitro in your exhaust, so you can experience its feeling in-game.
    //Server-side player.call('giveNitro', [amount, infinite]); //Client-side mp.events.call('giveNitro', [amount, infinite]); //Note: Nitro charges automatically no matter what value you give. Press X in-game to activate the nitro.

    711 downloads

       (5 reviews)

    1 comment

    Updated

  9. Bigmap

    Hello  👋 ragers 😡 😡 😡 have a good 👍 👍 day ☀️ ☀️ ☀️ ☀️
    I would like to present C# & JS resource that lets allows you to switch between 3 map options. Like in GTA Online.
    Default map. Zoomed out. Big map.
    Installing & Using
    Put the files you downloaded in their respective places Press Z (Default) (Settings — Key Bindings — General — Radar Zoom / Multiplayer information)

    702 downloads

       (2 reviews)

    0 comments

    Updated

  10. [C#] Keys Bind for C#

    This function helps you to add keys binding if you use C # client side ...
    Example of use :
    Tick Event
    KeyManager.KeyBind(0xA2, () => { Chat.Output("Key Bind Work"); }); KeyManager.KeyBind(KeyManager.KeyMouse, () => { Cursor.Visible = !Cursor.Visible; });  
     

    702 downloads

       (1 review)

    3 comments

    Updated

  11. No reticle for all weapons.

    Every weapon has no reticle when aiming. (Working with snipers too.)
     
    Installation:
    1) Unpack the zip.
    2) If you haven't already, create a "dlcpacks" folder inside your "client_packages" folder.
    3) Drop the "nosight" folder inside "dlcpacks"

    687 downloads

       (2 reviews)

    0 comments

    Updated

  12. Manual transmission

    Hello everyone,
    It's been a while i didn't do some resources, and I've seen root taking the throne for a while. So i thought i would contribute again with some average resource for the developers to know more about rage's environment. Basically this resource introduces manual transmission to cars to ensure more control on your vehicle and to enjoy the experience of the manual transmission (Could be useful for some drag racing maybe..).
    Anyways manual is toggled by the command: /manual 
    Controls:
    NUMPAD_ADD increases the gear. NUMPAD_SUBTRACT lowers the gear Simple manual HUD was introduced beside the mini-map to know everything about your vehicle.
    Gears: 1-5, N, R.
    Shifting to fast disables vehicle engine. You have wait the shiftNow sign to appear, so you can shift to the next gear.
    Any questions/bugs please notify me in the comments section.
    Drive safely,
    Keptin

    674 downloads

       (6 reviews)

    0 comments

    Updated

  13. Custom UI Healthbar and Armor.

    Hey !
    So this script adds simply a Custom UI for the Healthbar and the Armorbar !
    To this I simply add a condition for only if the player is in the car the GPS will be Display.
    Installing:
    Just drag the custom_ui folder to your  client_package and don't forget to add the require('custom_ui ');  to your index.js.
    If you don't want to download this, you can also check the source code here:
    https://github.com/SuperCoolNinja/ragemp-custom-ui

    667 downloads

       (0 reviews)

    0 comments

    Submitted

  14. Pet System

    This is my first resource to RAGEMP community, a pet system based on peds using JS.
    NOTE: Code and comments on english, return messages on spanish
    Video (spanish explanation):
    Installation:
    Put the files you downloaded in their respective places
    How to use it:
    Key C - Call/save your pet
    Key K - Sit/get up your pet
    Key Z - Sleep/wake up your pet
    Key F - Follow/unfollow your pet
    Key B - Your pet go out to find a ball (you have to throw it first)
    GitHub: https://github.com/brifemu/petCampCode
    License: MIT License

    661 downloads

       (2 reviews)

    4 comments

    Updated

  15. More Immersive Emergency Lights

    More Immersive Emergency Lights for RageMP
    A script for GTA V's multiplayer modification RageMP, that adds more immersive controls of emergency lights and sirens for default and non-els vehicles. Both lights and sirens are synchronized between players!
    Read the documentation, check out the code or get the newest version, go here: GitHub

    Credits:
     - RageMP team for creating this awesome mod
     - Mos#2649 on Discord for this keybinding idea
     

    661 downloads

       (2 reviews)

    0 comments

    Updated

  16. Player Scoreboard + Health & Armour

    This is a Complete Script for Scoreboard.
     
    add the file "client_packages" in main folder.
     
    you can open / close the scoreboard with f10
     
    made by CommanderDonkey & ByTropical

    651 downloads

       (0 reviews)

    0 comments

    Updated

  17. [JS, CEF] Internet Radio

    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

    633 downloads

       (3 reviews)

    0 comments

    Updated

  18. Lucky wheel

    Lucky wheel is synced.
    Coords: 1110.8710, 228.8737, -49.6358
    resource on my github: https://github.com/Sokol123456/luckywheel
    Added support for 0.3.7, check github
     
     

    632 downloads

       (1 review)

    0 comments

    Updated

  19. Teamspeak Voice - Plugin Source and Script

    This is a fully functional source-code of a Teamspeak³ plugin and also the implementation into RAGE:MP.
    All needed dependencies are included into the archive and are easy to use. Make sure when you open the project in Visual Studio to include the missing dependencies before compiling. The plugin currently only support's x64 building. Most users should use x64 bit which improves performance of the plugin and teamspeak anyways.
    To include the plugin make sure you read all the needed stuff which is included into the server-side scripts and also make sure that you setup browser (cef) stuff correctly. Setting this plugin up needs a bit of knowledge but can also be done by a bit of effort.
    The plugin has an included websocket which is transmitting data to the client-side RAGE:MP script and back, the client side which is creating a socket with javascript in cef then redirects the traffic to the client-side scripts and also back. A json string is generated at the client-side which is then send to the Teamspeak plugin and progress is being made by reading it and placing the users, mute them and block them.
    I've removed encryption of the json since it's not needed for normal use and people cannot abuse it in a bad way (only listening to other players by abuse e.g sniffing or proxy the client-sided connection to RAGE).
    This plugin was more like a proof-of-concept how it can be done without using other third-party non public resources.
    Enjoy. Feel free to ask question on RAGE:MP Discord or DevGrab#0815. There is no pre-build version of it until someone is gonna release it. 
     
     
     
     
     

    630 downloads

       (1 review)

    0 comments

    Submitted

  20. Moods

    This resource lets players choose their mood. Selected mood is synced to other players.
    Installing
    Put the files you downloaded in their respective places Download & install NativeUI if you haven't yet, this script needs it Add require('moods') to client_packages/index.js All done Controls
    F7 Key - Show/hide mood menu.

    623 downloads

       (5 reviews)

    0 comments

    Updated

  21. Sync Crawl System

    download and enjoy it
     
     
     

    617 downloads

       (6 reviews)

    0 comments

    Submitted

  22. Compass

    Just simple compass what you can use.
    You need to add compass.js path, to index.js on client_packages.

    617 downloads

       (2 reviews)

    2 comments

    Submitted

  23. [dl] Debug Labels / Vehicle Info

    Information:
    A small script implementing the /dl feature from SAMP (vehicle info - vehicle id, position, rotation, model, health)
    Usage:
    Use the command /dl to enable/disable.
    Installation:
    1) Install Better Clientside Commands by rootcause
    2) Put it somewhere and include it in your index.js
    Requirements:
     
     

    610 downloads

       (1 review)

    0 comments

    Submitted

  24. Hair Overlays

    This resource adds hair overlays/hair tattoos/hair decals for freemode male and freemode female. Hair overlays are used in GTA Online for better looking hair.
     
    Requirements
    RAGE Multiplayer 1.1 and above mp.game.data resource Some script editing  
    Installing
    Put the files you downloaded in their respective places Install mp.game.data if you haven't installed it yet Add require('hair-overlay') to client_packages/index.js All done  
    Clientside API
    /** * Call after updating the local player's hair style on clientside. * Useful for barber shop preview and other customization related scripts. */ mp.players.local.applyHairOverlay();  
    Serverside API
    /** * Call after updating a player's hair style on serverside. * Not using this function might cause visual desync until the player is restreamed in to other players. */ player.applyHairOverlay();  
    Example
    Commands used during development:
    // Clientside (https://rage.mp/files/file/296-better-clientside-commands/ - for addCommand clientside) // /client_sethair 72 0 0 mp.events.addCommand("client_sethair", (hair, color, highlight) => { hair = Number(hair); color = Number(color); highlight = Number(highlight); mp.players.local.setComponentVariation(2, hair, 0, 2); mp.players.local.setHairColor(color, highlight); mp.players.local.applyHairOverlay(); }); // Serverside // /sethair 72 0 0 mp.events.addCommand("sethair", (player, _, hair, color, highlight) => { hair = Number(hair); color = Number(color); highlight = Number(highlight); player.setClothes(2, hair, 0, 2); player.setHairColor(color, highlight); player.applyHairOverlay(); });  
    Notes
    Streamed in freemode male/freemode female players will always receive a hair overlay, meaning no more 100% bald characters. Local player won't have a hair overlay until applyHairOverlay function is used. (either locally or from serverside) clearFacialDecorations function is used to remove the old hair overlay on clientside. Meaning if you have other scripts that use setFacialDecoration, applied facial decoration(s) will be removed after a hair overlay change. Hair overlays are retrieved from the game, the problem with this approach is earlier hair styles (drawable 1 to 20? something like that) for both freemode male/freemode female lacks decal information which causes the resource to apply the fallback/default hair overlay. (fm_hair_fuzz) Unless they have forced component information (check mp_m_freemode_01_gunrunning_hair_shop.meta for forced decal component example), third party hair styles will apply the fallback/default hair overlay. (fm_hair_fuzz) Also on GitHub: https://github.com/root-cause/ragemp-hair-overlays

    607 downloads

       (2 reviews)

    1 comment

    Updated

  25. Metal Detectors

    This resource lets you add metal detectors that go off when a player with a not allowed weapon goes through them.
     
    Installing
    Put the files you downloaded in their respective places Add require('metaldetectors') to client_packages/index.js Set up some metal detectors (read below) All done  
    JSON Files
    Most of the changes are done by editing JSON files located in packages/metaldetectors/json/.
    Remember to validate your changes here: https://jsonlint.com/
     
    config.json
    colshapeSize: Size of the metal detector colshape, I think the default value is pretty much perfect and doesn't need any editing.
    soundRange: Maximum range/distance of the players who should hear metal detector alarms, default value is 15.0.
    cooldownMs: Milliseconds that need to pass before a metal detector goes off again, default value is 2000.
    allowedWeapons: Array of weapons that are ignored by metal detectors. This list is pretty much empty and you probably should fill it, WEAPON_UNARMED and WEAPON_CERAMICPISTOL are ignored by default.
    smallWeaponGroups: Array of weapon groups that are considered small. Weapons of this group will play the small weapon alarm sound and everything else will play the big weapon alarm sound. GROUP_MELEE, GROUP_PISTOL, GROUP_SMG, GROUP_STUNGUN and GROUP_THROWN are considered small by default.
     
    detectors.json
    This file contains the metal detectors in array of objects format. A metal detector has x, y, z, heading, dimension and createProp properties.
    x, y, z: Coordinates of the metal detector.
    heading: Rotation (yaw) of the metal detector.
    dimension: Dimension of the metal detector.
    Default value: 0
    createProp: Whether this metal detector should create a prop when it is loaded or not, useful if you want to use existing metal detectors. (like in the IAA facility interior)
    Default value: true
    // Example: Metal detector used in the making of video above { "x": 2059.037109375, "y": 2980.64208984375, "z": -62.90178298950195, "heading": 325.0, "dimension": 0 }  
     
    weaponData.json
    Used for weapon groups, just make sure it is updated after every DLC.
     
    For Developers
    This resource triggers an event named playerTriggerMetalDetector with args player, position, isSmallWeapon when players trigger a metal detector.
    player: The player who triggered a metal detector.
    position: Coordinates of the metal detector.
    isSmallWeapon: Whether the player's weapon was a small weapon or not.
    (another arg that contains weapon hash might be added in the future)
     
    Example
    mp.events.add("playerTriggerMetalDetector", (player, position, isSmallWeapon) => { player.outputChatBox(`You triggered a metal detector with a ${isSmallWeapon ? "small" : "big"} weapon!`); });  
    Notes
    Right now, this resource checks only the current weapon of a player due to issues with player.weapons. If player.weapons get fixed, I'll update the resource to check for all weapons of a player.  
    Source code is available on GitHub in case you don't want to download: https://github.com/root-cause/ragemp-metal-detectors

    604 downloads

       (6 reviews)

    0 comments

    Updated


×
×
  • Create New...