Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/09/19 in all areas

  1. Removed outdated guide.
    4 points
  2. Version 1.0.0

    2324 downloads

    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
    1 point
  3. Awesome tutorial, thank you! Just FLY for anyone trying this, if you are getting this exception or a similar one: System.IO.FileNotFoundException: Could not load file or assembly "System.Data.Common" Despite surely having that file in the runtime folder, it is because you are using the wrong runtime DLLs. A week ago, I setup a server using the bridge DLLs from the wiki guide, apparently, they are out of date and cause such an Error. The bride ZIP contained a System.Data.Common.dll that was 2MB, while the one you need is around than 0.9MB. Don't follow the setup guide on the wiki. Use the DLLs the client generates in the dotnet client folder, described in step 6. And thank you once again @xForcer for helping me out with this at 3 in the morning. :)
    1 point
  4. there is no login panel and can not do anything
    1 point
  5. Version 1.0.0

    639 downloads

    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
    1 point
  6. Managed to get it to work in the current version. The script is not always finding the elevation at the waypoint position though (getGroundZFor3dCoord returning 0), if that happens it will not teleport you and output a chat message. Also I am using a command (/tp) instead of a keybind. Code (a bit messy, since for development purposes):
    1 point
    Fix guide: 1) Open file "client_packages\MapEditor\Natives.js" and insert this code: const __GameVersion__ = 2; const __Natives__ = { SET_ENTITY_ALPHA: ['x44A0870B7E92D7C0'], RESET_ENTITY_ALPHA: ['0x9B1E824FFBB7027A'], GET_ENTITY_MODEL: ['0x9F47B058362C84B5'] }; const proxyNatives = new Proxy(__Natives__, { get: (target, name, receiver) => __Natives__[name][__GameVersion__] }); exports = proxyNatives; Let's try F2. Profit!
    1 point
  7. Surprisingly enough, I am having the exact same problem. I have tried reinstalling, disabling adapters, literally anything I can attempt to do. This started for me yesterday (May 7th) in the night-time. I logged off and attempted to log back in an hour or so later, and nothing. I even installed GTA and Rage on a separate user to see if it was just my user. I currently have no anti-virus and even have windows defender disabled. Everything was working fine until I logged off, since then, nothing has worked. Heres a small video for some reference of whats happening: Forgot to note: GTA V SP and MP both work, just not RageMP.
    0 points
×
×
  • Create New...