Jump to content

207 files

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

    1309 downloads

       (5 reviews)

    0 comments

    Updated

  2. CircuitBreaker - JS Minigame

    Hello again, Ragers.

    This minigame is the same as the one in the base game heists. It's purely scaleform, and no CEF.
    (Thanks to Develuxe for C# version)
    Simply put this into client_packages, and add this to your index.js:
    require('./CircuitBreaker'); It has three events:
    CircuitBreakerWIN - This event is called on the client when the client player has successfully won the minigame
    CircuitBreakerLOSE - This event is called on the client when the client player quits, or fails to complete the minigame
    CircuitBreakerStart - This event is callable on the client (from server with player.call), and is used as follows:
    // Lives (any number), this number is the total amount of lives for all levels // Difficulty (0-4), where 0 is easiest and 4 is hardest // Level Count (1-6), how many levels have to be completed player.call('CircuitBreakerStart', /* lives */ 3, /* difficulty */ 1, /* level count */ 2);

    451 downloads

       (4 reviews)

    0 comments

    Updated

  3. Circuit Breaker - C# Minigame

    Minigame from the original heist update, done with scaleform without CEF.

    Installing:
    Put all files in client_packages\cs_packages\

    To call that script:
    Event name: 
    CircuitBreakerStart

    Event args:
    Count of Lives (1 - 10)
    Difficulty Level (0 - 4) (0 is beginner, 4 is expert)
    Levels to complete (1 - 6)

    C# Server Example:
    player.TriggerEvent("CircuitBreakerStart", 5, 1, 6);

    Game results events:
    CircuitBreakerWIN - is called at client side, when player succeed at all levels, no args.
    CircuitBreakerLOSE - is called at client side, when player quits (Q button) OR lost all his lives, no args.

    If you are using JS client side:
    You need to create 2 events (described above) at your client side to catch game results.

    If you are using C# client side:
    You can just modify 2 methods inside Main.cs, which already contains both methods to catch game results.

    Minigame Preview, done on this system: 
     

    263 downloads

       (2 reviews)

    0 comments

    Updated

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

    501 downloads

       (1 review)

    0 comments

    Submitted

  5. Disabling stealth kills through GTA files

    So i have been getting a lot of DMs on discord regarding how to disable the stealth kills.
    Basically this file contains the edited conditions that are checked by GTA in order for the player to perform a stealth kill and are changed so they are never met, making it impossible for any player to perform them.
    How to use , just paste the content of the zip in your server files in client_packages\game_resources !
    If you have other questions/suggestion regarding what can be edited from the files from the games, feel free to contact me on discord Cricket#1276 !

    445 downloads

       (3 reviews)

    0 comments

    Submitted

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

  7. Disabling props(hats/glasses) knock off

    Basically this file disables props being knocked off the player by any possible damage. I remember that when i tried by script it didn't work, i haven't checked the one by script in a while, but I m assuming it still doesn't work.
    If the one by script works just delete this resource.
    How to use , just paste the content of the zip in your server files in client_packages\game_resources !
    If you have other questions/suggestion regarding what can be edited from the files from the games, feel free to contact me on discord Cricket#1276 !

    325 downloads

       (3 reviews)

    0 comments

    Submitted

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

  9. Native storage

    Installing
    Put the files you downloaded in client_packages Add require('gameStorage') to client_packages/index.js All done Notes
    This storage is cleared only after a complete re-entry into the game  
    Client API
    mp.gameStorage.setFloat(property, value); mp.gameStorage.setInt(property, value); mp.gameStorage.setString(property, value); mp.gameStorage.getFloat(property); mp.gameStorage.getInt(property); mp.gameStorage.getString(property);
    Examples
    Setting and getting value:
    mp.gameStorage.setFloat('floatKey', 0.51243); mp.gameStorage.setInt('intKey', 15621); mp.gameStorage.setString('stringKey', 'ragemp'); mp.gui.chat.push(`${mp.gameStorage.getFloat('floatKey')}`); mp.gui.chat.push(`${mp.gameStorage.getInt('intKey')}`); mp.gui.chat.push(`${mp.gameStorage.getString('stringKey')}`); Deleting blips created with mp.game.ui.addBlipForCoord after reconnecting:
    const PLAYER_READY_EVENT = 'playerReady'; const CREATED_BLIPS_KEY = 'createdBlips'; const F2_KEYCODE = 0x71; const createdBlips = []; const addHandle = (handle) => { createdBlips.push(handle); mp.gameStorage.setString( CREATED_BLIPS_KEY, JSON.stringify(createdBlips) ); }; const getDepricatedBlips = () => { try { return JSON.parse(mp.gameStorage.getString(CREATED_BLIPS_KEY)); } catch { return []; } }; const handlePlayerReady = () => { const blips = getDepricatedBlips(); for (let handle of blips) { if (mp.game.ui.doesBlipExist(handle)) { mp.game.ui.removeBlip(handle); } } mp.gameStorage.setString(CREATED_BLIPS_KEY, ''); }; const handleCreateBlip = () => { const handle = mp.game.ui.addBlipForCoord(0, 0, 0); addHandle(handle); }; mp.events.add(PLAYER_READY_EVENT, handlePlayerReady); mp.keys.bind(F2_KEYCODE, true, handleCreateBlip);  

    149 downloads

       (4 reviews)

    0 comments

    Updated

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

    91 downloads

       (1 review)

    0 comments

    Submitted

  11. Speedometer

    Installation
    Copy "Speedometer" folder to client_packages.
    Add "require('./Speedometer/index.js');"  to your index.js in client_packages, and you should be good to go!

    1518 downloads

       (5 reviews)

    0 comments

    Submitted

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

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

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

  15. EasyCEF

    This resource adds a simplified system for creating HTML browsers, as well as other features such as forcing the cursor to display.
    Requirements
    RAGE Multiplayer 1.1 and above. Installing
    Put the folder into 'client_packages' (client_packages/easycef). Add require('easycef') to 'client_packages/index.js'. Clientside API
    /** * Creates Browser and pushes it into instances array with given parameters. * @param {string} browserName Browser identifier (example: "TestBrowser1"). * @param {string} browserPath Browser Path / starts from client_packages (example: "testcef/index.html"). * @param {bool} forceToCursor Forces the game to display the cursor, even if the player can disable it until the browser is destroyed again. */ mp.game.app.createBrowser(browserName, browserPath, forceToCursor); /** * Destroys Browser and removes it from instances array. * @param {string} browserName Browser identifier (example: "TestBrowser1"). */ mp.game.app.destroyBrowser(browserName); /** * Returns searched browser exists or not. (Available as of version 1.1.0) * @param {string} browserName Browser identifier (example: "TestBrowser1"). * @return {bool} True if exists, otherwise false. */ mp.game.app.browserExists(browserName); /** * Switches browser (destroys old browser and creates new one with same name). * @param {string} browserName Browser identifier (example: "TestBrowser1"). * @param {string} newPath Browser Path / starts from client_packages (example: "testcef/index.html"). * @param {bool} forceToCursor Forces the game to display the cursor, even if the player can disable it until the browser is destroyed again. */ mp.game.app.switchBrowser(browserName, newPath, forceToCursor); /** * Reloads the browser. * @param {string} browserName Browser identifier (example: "TestBrowser1"). * @param {bool} ignoreCache True to ignore cache. */ mp.game.app.reloadBrowser(browserName, ignoreCache); /** * Calls JavaScript code inside the browser. * @param {string} browserName Browser identifier (example: "TestBrowser1"). * @param {string} codeToExecute JavaScript code to be executed in browser. */ mp.game.app.executeClientFunction(browserName, codeToExecute); /** * Set cursor in a specific browser forced or unforced. * @param {string} browserName Browser identifier (example: "TestBrowser1"). * @param {bool} force True to force the cursor to be there. */ mp.game.app.setCursorForced(browserName, force); /** * Returns is the cursor forced in browser * @param {string} browserName Browser identifier (example: "TestBrowser1"). * @return {bool} True if forced, otherwise false. */ mp.game.app.isCursorForcedInBrowser(browserName); /** * Returns is a cursor forced in any browser. * @return {bool} True if any cursor is forced, otherwise false. */ mp.game.app.isAnyCursorForced(); /** * Returns the specified item. * @param {string} browserName Browser identifier (example: "TestBrowser1"). * @return {object} The function will return nothing if browser does not exist. */ mp.game.app.getBrowserObject(browserName);  
    Notes
    With 'isAnyCursorForced' you can work for example by checking in your cursor keybind function if a cursor is forced in any CEF. For any error messages or questions: Feel free to write me on Discord: мαяνιη.#9554 Not all RAGE browser functions are implemented yet, should be relatively easy to add, maybe an update will come soon There is a 'better cursor' system implemented that automatically shows the cursor if there is a browser that forces it. If you want to disable it and build your own, just set 'isBetterCursorEnabled' in the file to false. If you want you can check my GitHub Repository: https://github.com/sckindvl/easycef

    176 downloads

       (1 review)

    0 comments

    Updated

  16. Echtwelt RageMP Source

    Echtwelt Reborn Rage MP on base of NodeJS+MongoDB+React/SemanticUI


    Please don't use the attached file, download the latest version from the repository here https://github.com/xzessmedia/EchtweltRageMP
    CEF Demo:
     
    Simple deployment powered by docker:
     
    To discuss and get help please join this Discord (Please don't use issue tracker for discussion)
    https://discord.gg/KmPZy9f
    Looking forward to your contributions to make this repository successful and alive


    Optional: Custom Vehicles:
    You can download the last Vehicle Pack from here:
    https://www.echtwelt-life.de/filebase/index.php?entry/13-echtweltragempmodpack/
    Password: OpenSource

    To install you have to create a folder "dlcpacks" inside your client_packages folder of your server and copy the files inside.


    All vehicles tested and with numberplate (as far as i know)
     

    2146 downloads

       (6 reviews)

    0 comments

    Updated

  17. Generic Native Keypad

    Originally created around 2019, so it might be broken with newer versions of RageMP, though I believe I fixed this at some point.
    The system allows you to set up a keypad server-side and hook an action to the Confirm button in the keypad. The action is invoked server-side and as argument you get the value which the user put in the keypad client-side. You can set the title, subtitle and even control if the input in the field will be asterisks for cases where the player would be typing a pin etc.
    The entire keypad requires no CEF at all, and no web related dependencies. Instead the whole thing is defined and rendered using native GTA:V UI elements.
    Getting started
    To get started put the keypad.js in your client folder and remember to include it in the index.js. Then grab the KeypadLibrary.cs and put it in your server project. With this you are ready to create keypads wherever you need them. Invoke the following function:
    StartKeypadForPlayer(Player player, string title, string subTitle, bool useAsterisk, Action<Player,int> callback) as such:
    KeypadLibrary.StartKeypadForPlayer( ply, "Withdraw", $"Current bank balance: ~g~${ply.cash}", false, (ply, x) => { ply.SendChatMessage("You are withdrawing: " + x); }); The system supports all native colors from GTA:V so you can color the title and subtitle if needed.
    Here's the GitHub link for those interested https://github.com/Andreas1331/ragemp-keypad

    84 downloads

       (0 reviews)

    0 comments

    Submitted

  18. Electrician Job - Modern, fast, lightweight - JS only

    Hello, this Electrician job was made last night, in an effort to get to understand the more complex and the workflow for RageMP, i find it really interesting and i'm looking for your feedback.
     
    How does it work:
    You will get a blip on the map

    If you get there, you need to talk to the Electrician guy to hire yourself and get the garage access to spawn vehicles

     

     
    Once you get in range for the Garage blip, you need to press `E` to spawn the job vehicle and to get missions to go to:


     
    There is implemented an "inaccesible" script, that you can just be around the general entrance area, and you get teleported to the exit and the same for exit:

     
    Once you get inside, you can go to the mission to repair the electric panel:

     
    I do custom work and take script requests, feel free to message me: krane#2890 on discord

    1236 downloads

       (4 reviews)

    0 comments

    Submitted

  19. Simple Camera - Typescript

    Here is my written Camera Class for RAGEMP. You can easy implement this file into your client-sided Scripts and use it pretty powerful.
     
    //Create Camera CameraEditor.createCamera("Login", new mp.Vector3(-1549.810546875, 1679.3438720703125, 106.20653533935547)); CameraEditor.setCameraActive("Login"); //Interpolate Camera CameraEditor.setCameraInterpolate("Login", new mp.Vector3(-1561.000732421875, 1685.904296875, 102.0960693359375), new mp.Vector3(-1563.254150390625, 1683.891845703125, 102.28447723388672), 30000); //Destroy Camera CameraEditor.destroyCamera("Login");  
    greeting DevGrab

    340 downloads

       (1 review)

    0 comments

    Submitted

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

  21. [JS] [Server-Side] Control Actions

    Hey.

    You can simple disable/enable a control actions for the player on the server-side.
    It can be useful if you want disable/enable some keys like pause menu in game on the server-side.

    265 downloads

       (1 review)

    0 comments

    Submitted

       (4 reviews)

    0 comments

    Submitted

  22. draw-zone

    Draw-zone script
    Description: Drawing zones on map by using (tab, space, del) buttons and save it as polygon (call remote event drawZone.save)
    Controls:
    Tab - Place user mark on map (can be moved to draw lines)
    Space - Save dot on mark place
    Del - delete previous dot
    Commands:
    /zstart - Start drawing zones on map
    /zstop - Stop drawing zones
    /zreset - Reset drawing
    /zsave - Saving coords (Calling remote event drawZone.save)
    /zlist - list of commands
    Video snippet: https://imgur.com/a/liLwZo5
    Repository: https://github.com/READYTOMASSACRE/ragemp-draw-zone

    192 downloads

       (2 reviews)

    0 comments

    Updated

  23. [TS] Animation Viewer

    Hello,
    I needed a script which lets me view animations. I found Hazes' resource (linked below) which is written in C# so I decided to transform it to TypeScript so that I can use it in TypeScript servers as well.

    Installation:
    Download and extract the script Put the files inside the "server" folder into your server packages Put the files in the "client" folder into your client packages Import the "animator" files on server and client side.
    Instructions on how to use the script can be found in the original resources's description.

    This script is based on:
     

    170 downloads

       (0 reviews)

    0 comments

    Updated

  24. Winter Event Gift Collector - WIP - but working

    Hello, this is the winter event script I was planning to release this winter.
    As it currently stands i'll be a bit bussy this winter, won't have time for free open source projects like this one.
    I've wanted to create a more complex one, with lots of micro-events inside but time won't allow it so this is useable, you just need to get 10 coordinates of your choice for this fully work for your server.
     
    GET A DEVELOPER !
    This script is !NOT! plug-and-play since it requires AT LEAST adding 7 more coordinates.
     
    I promise next winter for a better event, but for now, i'm struggling with my GF birthday also LOL
     
    🥰🤪
     
    Get in contact with me: 
    Discord: kraneq
     
    I'll respond to question

    117 downloads

       (0 reviews)

    0 comments

    Submitted


×
×
  • Create New...