139 files

  1. Example of proper DLC Pack mapping loading

    An example of proper DLC Pack mapping loading without issues on first connection to the server.

    Installation
    Extract all archive files to the server packages root folder.

    Note
    The game might get frozen for up to 10 seconds (faster on SSD) on first connection, that's the time taken by the game to reload DLC mapping. Mapping will work properly after that though.

    288 downloads

       (1 review)

    0 comments

    Updated

  2. Client-side TowTruck States Event

    OnPlayerTowTruckStateChange returns: attach - when any vehicle has been attached to tow truck detach - when attached vehicle has been detached from tow truck deadOrDestroy - when attached vehicle has been destroyed exit - when player exit tow truck while have got attached some vehicle
    I think that's simple and useful for everyone.

    279 downloads

       (1 review)

    0 comments

    Updated

  3. Weapon Spawner

    Requirements
    You need to download & install these resources first:
    NativeUI Weapon Component Sync Weapon Tint Sync  
    Installing
    Put the files you downloaded in their respective places Add require('weaponspawner') to client_packages/index.js All done  
    Using
    You can use the /weapons command to access the weapon spawner menu.
     
    Issues
    Some components might not have a visible name because Rockstar didn't give them one. Equipped component displaying might not be accurate at first but will be fixed after you apply/remove a component.  
    Source code is available on GitHub in case you don't want to download: https://github.com/root-cause/ragemp-weapon-spawner

    262 downloads

       (3 reviews)

    1 comment

    Submitted

  4. Colored Headlights

    This script adds the colored xenon headlights feature from Arena War DLC.
     
    Installing
    Put coloredhlights into your server's client_packages directory, then add require('coloredhlights'); to client_packages/index.js.
     
    Using
    Set the headlightColor shared variable of a vehicle to the headlight color ID you want. Command example:
    // /hcolor 10 should make your vehicle's headlights pink mp.events.addCommand("hcolor", (player, _, colorId) => { if (player.vehicle) { player.vehicle.data.headlightColor = Number(colorId); } else { player.outputChatBox("You're not in a vehicle!"); } });  
    Headlight Colors
    Since Rockstar didn't make headlight colors RGB, you can only use a set of numbers as color IDs.
    0 = White 1 = Blue 2 = Light Blue 3 = Green 4 = Light Green 5 = Light Yellow 6 = Yellow 7 = Orange 8 = Red 9 = Light Pink 10 = Pink 11 = Purple 12 = Light Purple Color IDs higher than 12 will force xenon headlights to use their default color.
     
    Notes
    Since this script toggles the xenon headlights mod (toggleMod 22), it may not work with your car customization script. Color IDs lower than 0 and color ID 255 will disable the feature (revert headlights back to normal from xenon) until you set a valid color again.

    257 downloads

       (5 reviews)

    0 comments

    Submitted

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

    251 downloads

       (4 reviews)

    0 comments

    Updated

  6. 2D Text Edtior

    This script will allow you to quickly and easily work with 2D text in the game.
    Contributions:
    rootcause
    Captien
    micaww
     
    In 1.0.5 update Scale-X and Outline of 2D text doesn't work and idk where's problem, because i can't fix it...

    247 downloads

       (3 reviews)

    2 comments

    Updated

  7. SAMP Dialogs

    SA-MP Dialogs for RAGE MP (C# clientside).
    This is my first resource so may contains bugs...
    You must enable C# clientside!
    Usage is simple: examples in Test.cs
    Dialog(string dialog_name, string dialog_caption, string dialog_info, string[] dialog_buttons, string[] dialog_list_items = null, string dialog_input = null, string dialog_password_input = null)  

    241 downloads

       (12 reviews)

    0 comments

    Updated

  8. Kill Feed

    Simple kill feed script that displays recent deaths on the server.
     
    Installing
    Put the files you downloaded in their respective places Add require('killfeed') to client_packages/index.js All done  
    Notes
    Even though this is a kill feed script, you can send other messages to players by passing a string (your message) to pushToKillFeed event. The kill feed is located below the ammo counter HUD element. The kill feed displays 5 items (variable: maxKillFeedItems) and will display an item for 30 seconds. (variable: killFeedItemRemoveTime) Not all death reasons are detected but weaponData.json covers most cases. Default kill feed font might not support all characters.

    240 downloads

       (2 reviews)

    1 comment

    Updated

  9. Mugshot Board

    This resource adds a way to make the local player hold a mugshot board with custom text on it, the custom text and animation won't be synced to others.
    You can also use this resource to understand how rendertarget system works which lets you display scaleform on certain game objects.
    Installing:
    Put policetext into your server's client_packages directory, then add require('policetext/index.js'); to index.js.
    Available functions/events:
    mp.players.local.mugshotboard.show -> mp.events.call("ShowMugshotBoard") -> Params: title, topText, midText, bottomText, rank = -1 mp.players.local.mugshotboard.hide -> mp.events.call("HideMugshotBoard") -> Params: - And you can access if the local player has a mugshot board or not by using the hasMugshotBoard global variable. Clientside example (pressing F10 will give your character a mugshot board, pressing it again will remove it):
    mp.keys.bind(0x79, false, () => { if (!hasMugshotBoard) { mp.players.local.mugshotboard.show(mp.players.local.name, "Top Text", "Mid Text", "Bottom Text", 15); } else { mp.players.local.mugshotboard.hide(); } });  

    231 downloads

       (2 reviews)

    1 comment

    Submitted

  10. GTAO Suicide

    This script adds the suicide feature of GTA Online.
    You can commit suicide by using /suicide command. Your character will shoot itself if you're holding a pistol and take pills otherwise.
     
    Installing
    Put the files you downloaded in their respective places Add require('suicide') to client_packages/index.js All done

    226 downloads

       (2 reviews)

    0 comments

    Submitted

  11. Simple Teams

    Prevents players of the same team shooting eachother.
     
    Installing
    Put teams into your server's client_packages directory, then add require('teams'); to client_packages/index.js.
     
    Using
    It's pretty simple, just set currentTeam shared variable of a player like this:
    // both strings and numbers should work playerEntity.data.currentTeam = whatever; playerEntity.setVariable("currentTeam", whatever); And set currentTeam to null if you want to reset someone's team.
     
    Note
    This resource doesn't prevent all kinds of friendly fire, for example projectile weapons like RPG can hurt teammates, you can still run teammates over with a vehicle etc. You can check if both killer and victim is on the same team and punish the killer, though.

    223 downloads

       (4 reviews)

    0 comments

    Updated

  12. CEF wepSpawner

    Installing:
    Place the files you downloaded in their locations.
    Add "require('.wepSpawner');" to client_packages/index.js.
    Controls:
    F4 to toggle menu.
    Everything else is done in cef interface.

    Features:
    Spawn any weapon from https://wiki.rage.mp/index.php?title=Weapons (2019-05-05).
    Get all weapons instantly by clicking "All Weapons".
    Get all weapons from a category by entering the category and clicking "All *Category name*".
    Get any weapon you choose.
    Ability to remove all weapons and start over.

    219 downloads

       (1 review)

    0 comments

    Submitted

  13. [Perfect for RP Servers]

    What is this amazing script?
    You are also able to control the steering (unable to set straight afterwards due to setSteeringAngle not being implemented yet) so you can move the vehicle to the side of the road.
    If you are an RP server then this is perfect for you!
    With some wizard maths, the text and position is at the correct end of each car and is based on distance (This has taken over 6 hours to get right). 
     
    Configuration
    I have already built in configuration to set whether you can allow it on locked vehicles, low health vehicles, whether the engine is off and certain vehicle classes.
    These can all be configured in the config section of the file:
    this.config = {            AllowVehicleClass: [0, 1, 2, 3, 4, 5, 6, 9, 18], // These are the normal vehicles in the game classes - to disable it, set it to false            MaxVehicleCubedSize: 25, // This is the vehicle length * width - as an idea an ambulance is 21            LockHandbrakeProtection: false, // If set - you can't push a locked vehicle (Theft prevention or ditching cars)            EngineProtection: false, // If set - you can only push if the enginer is turned off            VehicleHealthProtection: false, // Must be less than 1000 or false which de-activates checking vehicle health            PushEventName: false, // Set this to send an event to your server with the relevant Vehicle and Player attached (ie 'pushing_car')            LabelsDisplayed: true, // Show labels near the pushing positions when close enough            DebugPositions: false, // View pushing positions as markers so they are more visible            AllowVehicleSteering: true, // Allows the player to turn the wheels of the vehicle using A and D keys }  
    In Action
    To see how it looks working just checkout:
    https://streamable.com/ab2v5
     
    Questions
    Lastly if you have any questions feel free to give me a shout on discord (wdoyle2) or respond in the comment section.
    This is currently not on github but more than happy to post it for any future pull requests. 

     

    215 downloads

       (6 reviews)

    0 comments

    Updated

  14. Screen FX viewer.

    This is a simple script was made to help you to find a Screen FX effect!
    Requirements: NativeUI.
    Use F2, to see menu.

    198 downloads

       (1 review)

    0 comments

    Updated

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

    196 downloads

       (1 review)

    0 comments

    Updated

  16. Easy Blip Creator | Fixed

    I Fixed the Easy Blip Creator. Because of a change in RageMP Wiki, the script could no longer load the images. to see here. I fixed this to see here. Everything should now work normally again with this script
     
    original version & creator of this script:
     
     

    194 downloads

       (3 reviews)

    0 comments

    Submitted

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

    187 downloads

       (2 reviews)

    0 comments

    Updated

  18. DialogUI

    Need some dialog menus with 2 buttons, for example to show user your server's rules and 2 buttons, "accept" and "not accept"?
    DialogUI can help you with that!
    Example of using:
    const dialogUILib = require('dialogui'); // Load the library var dialog = new dialogUILib.DialogUI("My Title", ["Row number 1", "Row number 2","Row number 3"], "Left Button", "Right Button"); // Make a new instance of dialogUI. dialog.show(); // Show the dialog Your players use enter and escape keys? DialogUI support them.
    You can know which button is pressed by using the OnDialogResponse client-side event, which have 1 parameter of type Boolean, which indicate if the left button pressed.

    179 downloads

       (0 reviews)

    1 comment

    Submitted

  19. Instructional buttons

    Hello,
    I thought it would be a opportunity to introduce some basic scaleform scripts that would help out some users with their development aka. use less CEF for simple stuff.
    This resource introduces the ability to give button instructions that supports controls (Meaning it'll detect your input whether its a gamepad or keyboard...).
    API
    You can always have a look at the Controls to get their ID. Using the resource is very simple to use and it supports different uses of customization: You can adjust style between Horizontal (1) and Vertical (-1) You can adjust background color with RGBA (Note you'll need to add it in array form) or HEX. Bulk support for buttons. new hud(style, color) /* * style: -1 for horizontal view, 1 for vertical view * color: HEX or RGBA [255, 255, 255, 255] */ hudClassInstance.addButton(title, controlID); /* * title: any text * controlID: you can find a list of controlID on wiki */ hudClassInstance.addButtons({ anyName: controlID1, anyName2: controlID2 }); /* * Bulk support for adding buttons */ hudClassInstance.removeButton(titleOrControlID); /* * titleOrControlID: remove button by its title or controlID */ hudClassInstance.removeButton(titleOrControlID); /* * removes all buttons */ hudClassInstance.toggleHud(state); /* * state: Boolean toggling visibility */ hudClassInstance.changeStyle(style); /* * style: -1 for horizontal and 1 for vertical */ hudClassInstance.setBackgroundColor(color); /* * color: HEX string or RGBA Array */ hudClassInstance.changeButtonTitle(index, newTitle); /* * index: controlID or currentButton title. (if custom button you can type its name t_buttonName) * newTitle: string */ hudClassInstance.changeButtonControl(index, newControl); /* * index: controlID or currentButton title. (if custom button you can type its name t_buttonName) * newControl: controlID or custom control (t_buttonName) */ If you have any issues, you know as usual contact me on Forums or discord. Any suggestions please add it in your review. If you liked the resource show me your support to produce some useful resources in the future.

    178 downloads

       (4 reviews)

    0 comments

    Updated

  20. [JS,CEF] Emergency Alert System

    (EN) This script allow you to play emergency alert sound (2 sounds: tornado siren, alert siren), coming soon: amber alert with sound&pop-up
    (FR) Ce script vous permet de déclencher des sirènes d'alertes (sirène tornade, sirène d'alerte), à venir: alerte enlèvement avec son&popup
    ----- HOW TO INSTALL -----
    1) Unpack RAGEMP Alert v0.1
    2) Drop the content of "client_packages" folder inside your client folder
    3) Drop the content of "packages" folder inside your server folder
    4) Add in your server index.js :
    require('./Alert/sAlert');
    5) Add in your client index.js :
    require('./Alert/cAlert');
    6) Do not forget to change link of mp.browsers.new in Alert/cAlert.js if needed

    ----- HOW TO USE -----
    /alert tornado {repeat time}
    --> {repeat time} FROM 1 TO 9 TIMES
    Duration: EACH time: 9sec (min: 9sec, max: 81sec)
    /alert siren {repeat time}
    --> {repeat time} FROM 1 TO 9
    Duration: START: 5sec / ACTIVE: 12sec (repeat from 1 to 9) / END: 13sec (min: 30sec, max: 126sec)
    /alert siren stop
    --> stop the siren immediatly if activated (duration: 13sec)
    ----- DEMO -----
    Tornado Siren:
    Alert siren:
    Amber alert (coming soon):
     

    177 downloads

       (1 review)

    0 comments

    Updated

  21. RageMP new hairstyles!

    - Up to 20 NEW hairstyles for males!
    - Up to 19 NEW hairstyles for females!
    - Root's character creator adaption supported!
     
    Installation:
    1) Unpack the rar.
    2) If you haven't already, create a "dlcpacks" folder inside your "client_packages" folder.
    3) Drop the "gtahairs" folder inside "dlcpacks"

    176 downloads

       (3 reviews)

    0 comments

    Updated

  22. Simple Chat Advert

    Simple Chat Advert
    basically it'll prints out whatever you want into to chat.
    Please do not change the code edit just config.json

    170 downloads

       (0 reviews)

    0 comments

    Updated

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

    169 downloads

       (2 reviews)

    0 comments

    Updated

  24. Firing Modes

    This script was originally made by EnforcerZhukov for singleplayer. (you can find it here) All credit goes to him.
    I added extra stuff such as remembering firing mode (until you disconnect) per weapon, safety mode, HUD item and sound effects.
     
    Installing & Using
    Put guncontrol into your server's client_packages directory, then add require('guncontrol'); to index.js. Press F6 key to switch between firing modes.  
    Firing Modes
    Auto: Default GTA shooting. Burst: Shoot 3 bullets every time you fire. (not supported on all weapons) Single: Shoot 1 bullet every time you fire. (not supported on all weapons) Safe: Disables shooting.  
     

    155 downloads

       (1 review)

    0 comments

    Updated

  25. Binoculars

    The scenario used here is not synced
    Use the command to trigger the script :
    /binocular Scroll up and down to zoom in / out.
     
    Installation: Just put the folders where they should be, don't forget to import client side scripts in your index.js
     
    If you have any question feel free to ask us
     
    By AdAstra Dev Team (FR :D)

    153 downloads

       (1 review)

    0 comments

    Updated