139 files

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

  2. Simple Register / Login

    Nothing special, just a small Register / Login. Let me know, if something doesn't work correctly or I could do something better.
    https://github.com/raydNDev/RAGEMP-RegisterLogin

    848 downloads

       (1 review)

    4 comments

    Updated

  3. Sky Camera

    This script allows you to move the game camera in the air and back like in GTA:ONLINE
     
    Installation:
    Download file. Unzip folder into your client_packages. Add require('MoveSkyCamera/index.js'); to client_packages/index.js. Usage:
    Calling on serverside
    player.call('moveSkyCamera', [player, moveTo, switchType, showGUI]); Calling on clientside
    mp.events.call('moveSkyCamera', player, moveTo, switchType, showGUI); Reference:
    player = Ped; player handle moveTo = String; 'up' or 'down' switchType = Int; 0, 1, 2 or 3 0: 1 step towards ped 1: 3 steps out from ped (Recommended) 2: 1 step out from ped 3: 1 step towards ped showGUI = Boolean; Show chat and minimap during camera movement? Note: When using param moveTo as 'down', it's not necessary to add switchType and showGUI.
    Examples:
    mp.events.addCommand('movecam', (player) => { // Make camera to go up in to the sky player.call('moveSkyCamera', [player, 'up', 1, false]); // After 5 seconds, camera start to go back to player. setTimeout(() => { player.position = new mp.Vector3(0,0,10); // Set your position if you want player.call('moveSkyCamera', [player, 'down']); }, 5000); });  

    561 downloads

       (2 reviews)

    0 comments

    Updated

  4. Cef Safe Zone

    Hello ragers.

    This script allows you to use the GTA safe zone in the browser. An example is seen in the video.
     

    124 downloads

       (1 review)

    0 comments

    Updated

  5. [JS] Client-side Door Control System

    Now you can lock or unlock doors and gates (from GTA V world).
    How to do that? Just press E.
    If you appreciate my work, you can press the like button. ❤️

    826 downloads

       (3 reviews)

    0 comments

    Updated

  6. [JS] Basic Clothes Menu

    Simple cloth menu, you can open it by pressing F2.
    This script requires NativeUI library, download it from the resources tab.
    It's my first resource, do not expect too much.
    https://github.com/Snakewiz/ClothesMenu

    535 downloads

       (2 reviews)

    0 comments

    Submitted

  7. Debug Script v1.0

    Hello community,
    this is an very simple but powerful and useful script for finding out Positons around the GTA-5 map for easier for example Placing Bilps.
    Changelog: - 02/03/2019: Release Current functions: - Show your position Ingame. - Show your Position in the Console Log. How to use: - Press F2 to see your Position Ingame. - Type as command /pos to see your Position in the console.  
    I will release soon an update with more functions for the debug section.
    visit my Github for more projects! GitHub Profile

    115 downloads

       (1 review)

    0 comments

    Submitted

  8. Light Control

    This resource adds a light control menu to toggle the state of various lights in GTA V. Use /lcmenu command to access the menu.
    Since this is a new feature of RAGEMP, light IDs don't have names/descriptions yet. (Maybe people will document them later, who knows...)
    You might also want to check the screenshots for a preview of various light states.
     
    Installing
    Download & install the latest NativeUI if you haven't already, this script needs it Drop the lightcontrol folder to your server's client_packages Add require('lightcontrol') to client_packages/index.js All done  
    Q: "But I still have weird lights/fog around the city buildings?"
    See:
     

    395 downloads

       (9 reviews)

    2 comments

    Updated

  9. Weapons on Body

    This resource attaches your weapons to your character to make them visible to everyone. All you have to do is put away your gun/switch weapons.
     
    Installing
    Download & install the latest Efficient Attachment Sync. Put the files you downloaded in their respective places Add require('weapondisplay') to client_packages/index.js All done  
    Notes
    Didn't do a lot of testing, feel free to report issues (would be nice if you include how to reproduce the issue) weaponData.json file will be updated with future GTA V versions, always check weaponData.json Gist to prevent issues. 

    443 downloads

       (4 reviews)

    1 comment

    Updated

  10. Better Instructional Buttons

    NB: This include does not entirely work like the original.
    NB: The class is now called instructionalButtons instead of hudManager.
    NB: This include also includes a more advanced version of the BasicScaleform class by kemperr, just called ScaleForm now.
     
    v2.0.0
    - Added instructionalButton.hasControl(control).
    - Added instructionalButton.getButtonCount().
    - Removed the padding of 10.
    - Added RGB support (instead of just RGBA... alpha defaults to 180 for RGB).
    - Revamped the structure used to store buttons (it was dumb before, wasting variables and not making use of Javascript features).
    v1.0.2
    - You can now alter any instructional button without it being redrawn/shown to you (Basically you can edit them, without them popping up on your screen, forcefully).
    - Added instructionalButton.changeButtonControl(title, new_control).
    v1.0.1
    - Fixed the an issue where when using multiple instructional buttons multi script wide, if one button count was more than others, the buttons would show up across different instructional buttons.
    - Removed support for hex colours with a #. Now to use a colour, just use 'FF00FF'. Using # here is a waste of time.
    v1.0.0
    - Fixed instructional buttons rendering last button created on the client only.
    - Instructional buttons background now default to black, if no colour was used.
    - A padding of 10 is now set on horizontal instructional buttons.
    - Support for custom button names.
    - Added instructionalButton.changeButtonTitle(control, new_title).
    - Added instructionalButton.isActive().
    - Example:
    const instructions = require('/better_instructions'); const horizontalInstructionList = new instructions(-1); horizontalInstructionList.addButton('Create Roadblock', 'M'); horizontalInstructionList.addButton('Right', 175); horizontalInstructionList.addButton('Left', 174); if(!horizontalInstructionList.isActive()) { horizontalInstructionList.toggleHud(true); } setTimeout( () => { if(horizontalInstructionList.isActive()) { horizontalInstructionList.toggleHud(false); } }, 10000); /* Vertical Instructions */ const verticalInstructionList = new instructions(1, 'ff000'); modShopInstructions.addButton('Toggle RAGE Menu', 'F2'); if(!verticalInstructionList.isActive()) { verticalInstructionList.toggleHud(true); } setTimeout( () => { if(verticalInstructionList.isActive()) { verticalInstructionList.toggleHud(false); } }, 10000);  
    Original Include
    - Credits go to Captien for the original release.

    94 downloads

       (1 review)

    2 comments

    Updated

  11. Plane smoke

    Hello,
    This resource introduces colored smoke for certain planes to enjoy the stunt plane smoke from GTA:SA. Press X to start the smoke.
    Supported Planes: 
    stunt duster microlight alphaz1 howard nokota cuban800 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.

    85 downloads

       (2 reviews)

    0 comments

    Submitted

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

  13. Speedometer Script

    For install just copy files to your server.
    Don't forget edit index.js into client_packages if you have more resources.
    Read the LICENSE.txt befor use.

    1487 downloads

       (5 reviews)

    0 comments

    Submitted

  14. Weather and Time changing GUI

    With this simple Script you can open an UI that allows you to change the Time and Weather.
    Installation:
    1. Copy the Files into your server-directory.
    2. Add require("./weatherChanger"); to your index.js in the client_packages folder.
     
    Usage:
    Press F9 to open the UI.

    354 downloads

       (2 reviews)

    1 comment

    Updated

  15. Soundviewer

    Just a simple js-script that let you play every sound in the following list and gives you info about the current sound on the bottom of the screen:
    https://wiki.rage.mp/index.php?title=Sounds
     
    Install:
    Simply drop the files in your client-packages folder and merge the index.js with your index.js.
     
    How to use:
    Type /s or /sound to activate/deactivate it.
    Use Left-Arrow, Right-Arrow to navigate trough the sounds.
     
    Credits:
    Thanks to n0minal and his interior Resource with which i learned how to create commands in js.

    123 downloads

       (3 reviews)

    0 comments

    Updated

  16. NoClip

    Simple noclip cam 🎥

    🎮 Controls:
    F2 - Enable/Disable W/A/S/D/E/Q - Move cam Shift - Boost LCtr - Slowdown  
    🚀 Installation:
    Download .zip Move noclip folder to client_packages Add require('./noclip'); in root index.js

    576 downloads

       (4 reviews)

    1 comment

    Submitted

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

  18. Clock speedometer

    Clock speedometer JS client-side
     

    478 downloads

       (3 reviews)

    0 comments

    Updated

  19. [C#] Screen FX Preview

    What it does: https://streamable.com/pht3r
    How to use:
    - requires c# on clientside
    - trigger clientside event from server
    For example:
    Add a server command and trigger this clientside script like this:
    NAPI.ClientEvent.TriggerClientEvent(client, "EnableScreenFx");
    Navigate through all the effects with left and right arrow keys - you'll get a local chat message with the current name of the effect and the index.
    Previous fx: LeftArrow
    Next fx: RightArrow

    104 downloads

       (1 review)

    0 comments

    Submitted

  20. CEF vehSpawner

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

    Features:
    Spawn any vehicle from https://wiki.rage.mp/index.php?title=Vehicles (2019-05-04).
    All players can spawn up to 4 vehicles each.
    Vehicles will despawn on server disconnect.
    Choose vehicle color via a simple color picker.
    Repair the vehicle you are in (2 min timer so you cant spam it).
    Players have the ability to despawn (destroy) their vehicles.

    Credits:
    Josh Pullen for his color picker script at jsfiddle: https://jsfiddle.net/PullJosh/dpkP3/. Without this choosing vehicle colors would not be a feature.
    P.S. SS's are in 1440p, side menus will be closer to center in 1080p and the larger vehicle categories will require scrolling.

    405 downloads

       (2 reviews)

    0 comments

    Updated

  21. Clothing Shops

    This script lets you create your own clothing shop(s) with JSON files.
     
    Installing
    Put the files you downloaded in their respective places Download & install NativeUI if you haven't yet, this script needs it (Only if you're going to have paid items) Download & install Currency API then define a currency named cash. Add require('clothing-shops') to client_packages/index.js Set up some clothing shops (read below) All done  
    Setting Up Shops
    Shop data is loaded from packages/clothing-shops/shops, any JSON file there will be treated as a clothing shop. Shop file structure:
    { // OPTIONAL, this object will be the menu banner sprite on clientside. Search for "shopui_title_" on https://wiki.rage.mp/index.php?title=Textures "bannerSprite": { "library": "shopui_title_highendfashion", "texture": "shopui_title_highendfashion" }, // REQUIRED, this array contains the shop coordinates "shops": [ { "x": 123.4, "y": 456.7, "z": 8.9 }, { "x": 10.0, "y": 20.0, "z": 30.0 } ], // REQUIRED, this object contains item data for freemode male model "male": { // REQUIRED, this object contains all clothing item data "clothes": { // REQUIRED, this array contains item data for a component slot (https://wiki.rage.mp/index.php?title=Clothes - we're using 11 - tops here) "11": [ // REQUIRED, item object(s) for component slot 11 { "name": "Blue Burger Shot Hockey Shirt", "drawable": 282, "texture": 0 }, // This item will need the player to have some money (handled with Currency API) { "name": "Blue Cluckin' Bell Hockey Shirt", "drawable": 282, "texture": 4, "price": 500 } ] }, // REQUIRED, this property contains all prop item data (we're not gonna add any props to freemode male here, so it's just an empty object) "props": {} }, // REQUIRED, this object contains item data for freemode female model "female": { // This time we're not adding any clothes "clothes": {}, // But we're adding props "props": { // Same as above, prop slot as key (we're using 7 - bracelets) "7": [ // Prop items are defined just like clothing items { "name": "Gold Snake Cuff", "drawable": 0, "texture": 0, "price": 200 }, { "name": "Light Wrist Chain (R)", "drawable": 7, "texture": 0 }, { "name": "Spiked Gauntlet (R)", "drawable": 13, "texture": 0, "price": 85 } ] } } } If this wasn't any clear, there is a file named ExampleShopFile.json inside packages/clothing-shops/. (it's the file used in the preview video, put it to shops folder if you want to load it)
    I'd also recommend you to check out my "Clothing Names" resource for valid names.
    Source code is available on GitHub in case you don't want to download: https://github.com/root-cause/ragemp-clothing-shops

    614 downloads

       (6 reviews)

    4 comments

    Updated

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

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

  24. [JS] Regional Restrictions

    Simple solution to check incoming connections from unwanted countries.
    I. Install geoip-Lite: npm i geoip-lite
    II. Edit country_ban list with the specified country codes https://dev.maxmind.com/geoip/legacy/codes/iso3166/
    III. Save and put this script to "server-files\packages" and add require('./countryBan');  in index.js

    38 downloads

       (1 review)

    0 comments

    Submitted

  25. Sudodude's PedPicker

    This is a simple module/script for changing the player model synced client/server. The values in the list are the model names that can be found on https://wiki.rage.mp/index.php?title=Peds. Click on a model in the list and you will switch to that model.
    *F7* to open PedPicker Menu in game.
    You should be able to just drop the files within the client_packages/packages directories and then add the requirements to the respective index.js files within those directories. 
    All source code is given from within the file download, but you can also find the repo here:  AZAMOEBA_RAGE_PEDPICKER. If you are using this I'd appreciate a star or just let me know you found any of this useful. If I forgot a credit please let me know and I will get back to you and fix whatever is necessary. Enjoy!

    Message for any comments/questions and I'll try to get back asap.

    125 downloads

       (1 review)

    1 comment

    Updated