Clothing Shops 1.0.0

   (7 reviews)

1 Screenshot

About This File

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

  • Like 3



User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest

Guest Zak McEacharn

  

Hi

By way of an introduction, my name is Sergey and I am the founder of Creative Bear Tech, a web site data scraping and computer software business based in London, UK. We mainly deal with B2B companies by helping them to connect with their clients through our data scraping solutions.

I have found rage.mp whilst doing some research and presumed that you could definitely benefit from our professional services as we work with very identical companies.

We presently have more than 1,000 customers and I am in the process of growing our services by launching offices in the USA and the Baltic States.

I will keep the rest short and sweet. Below are some of our services and products that you may find helpful in developing your business.

--.
1. Massive USA B2B Database of All Industries (Gain access to over 7,900 niche targeted databases of companies operating in the United States of America - Over 5 Million Business Contact Details).

https://creativebeartech.com/product/massive-usa-b2b-database-of-all-industries-1/.
--.

2. Search Engine Scraper and Email Extractor by Creative Bear Tech (Our Search Engine Scraper is a cutting-edge lead generation computer software like no other! It will enable you to scrape niche-relevant business contact details from the search engines, social media and business directories.).

https://creativebeartech.com/product/search-engine-scraper-and-email-extractor-by-creative-bear-tech/.
--.

3. YELLOW PAGES SCRAPER AND EXTRACTOR SOFTWARE FOR USA AND UK.

https://creativebeartech.com/product/yellow-pages-scraper-and-extractor-software-for-usa-and-uk/.
--.

4. Custom Website Data Scraping: Fresh B2B Leads Scraped Especially for You (just tell us your keywords).

https://creativebeartech.com/product/custom-b2b-database-fresh-b2b-leads-scraped-especially-for-you/.
--.

5. Authority PBN Backlinks Building Service for Organic ONLINE MARKETING, More Online Sales and Site Traffic.

https://creativebeartech.com/product/authority-pbn-backlinks-building-service-for-organic-seo/.
--.

If you have any questions, please let me know!

Kind regards.

Sergey Greenfields.
Owner of Creative Bear Tech.
Flat 9, 1 Jardine Rd, St Katharine's & Wapping,.
London E1W 3WD, UK.
https://creativebeartech.com.

Share this review


Link to review
SotaRex

   1 of 1 member found this review helpful 1 / 1 member

Is there a Way to save the Clothes of the Player, when i restart the Server ?

Share this review


Link to review
Jaimuzu

   1 of 2 members found this review helpful 1 / 2 members

thanks🤗 men👳‍♂️, got my clothes👕 shopped🛒

👕👕👕👕

🛒🛒🛒🛒

  • Like 1

Share this review


Link to review
Peyman

   2 of 3 members found this review helpful 2 / 3 members

Thank you so much

Share this review


Link to review
Filosaff

   0 of 3 members found this review helpful 0 / 3 members

why you eto vysral?

Share this review


Link to review
Captien

   0 of 3 members found this review helpful 0 / 3 members

root rp server when

Share this review


Link to review
ragempdev

   2 of 3 members found this review helpful 2 / 3 members

Awesom😂

Share this review


Link to review