MuffinStuffer

Adding Items to Trader

20 posts in this topic

Im just trying to add First Aid Kits to the trader. I've added it to the config.cpp under class FirstAid & under //tools with class Exile_Item_FirstAidKit with a quality and price but it doesnt seem to work since my server just gets stuck "setting up"

Share this post


Link to post
Share on other sites
Advertisement

@TheDmD

Here's what I got, same thing locks up "setting up"

// Tools
    ///////////////////////////////////////////////////////////////////////////////
    class Exile_Item_Matches                         { quality = 1; price = 50; };
    class Exile_Item_CookingPot                        { quality = 2; price = 75; };
    class Exile_Item_InstaDoc                       { quality = 1; price = 250; };
    class FirstAidKit                                { quality = 1; price = 150; };
    class Exile_Melee_Axe                            { quality = 1; price = 100; };

 

class FirstAid
    {
        name = "FirstAid";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] =
        {
            "Exile_Item_InstaDoc"
            "FirstAidKit"
        };
    };

 

 

Share this post


Link to post
Share on other sites

@MuffinStuffer ensure you put a comma at the end of Exile_Item_InstaDoc. Like i have below.

class FirstAid
    {
        name = "FirstAid";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] =
        {
            "Exile_Item_InstaDoc",
            "FirstAidKit"
        };
    };

  • Like 1

Share this post


Link to post
Share on other sites

Hi @MuffinStuffer, Would this make it able for 1st aid kits to be used on otherplayers? My server has been asking for the instaDoc to be able to be used on other players so they can heal eachother.

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.