• 0
Cyan

Error Message.

Question

10 answers to this question

  • 0

First off all its really hard too find a this because you include many things too your config.cpp.

I dont think its the correct one but is also a fail.

 

    class Hardware
    {
        name = "Hardware";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] =
        {
           
            "Exile_Item_DuctTape",
            "Exile_Item_ExtensionCord",
            "Exile_Item_FuelCanisterEmpty",
            "Exile_Item_JunkMetal",
            "Exile_Item_LightBulb",
            "Exile_Item_MetalBoard",
            "Exile_Item_MetalPole",
            "Exile_Item_SafeKit",
            "Exile_Item_CamoTentKit",
            "Exile_Item_CodeLock"
            "Exile_Item_Cement",
            "Exile_Item_MobilePhone",          
/*
            --Not for Sale--
            "Exile_Item_MetalScrews",
            "Exile_Item_MetalWire",
            "Exile_Item_Laptop",
            "Exile_Item_BaseCameraKit",
            "Exile_Item_MetalHedgehogKit",
            "Exile_Item_Sand",
           
            --Unused--
            "Exile_Item_CordlessScrewdriver",
            "Exile_Item_FireExtinguisher",
            "Exile_Item_OilCanister",
            "Exile_Item_Hammer",
            "Exile_Item_Carwheel",
            "Exile_Item_SleepingMat",
            "Exile_Item_Defibrillator",
            "Exile_Item_Wrench",
            "Exile_Item_Rope"
        */
        };
    };

in Example there is outcommed with /*    */   its all fine also but there you forget too remove the , after the last entry from the "Exile_Item_MobilePhone"

 

 

 

I dont know its currently correctly waht im saying but maybe all things wat your are include with # include its also count in the error messages im not sure its really long time ago im working on the file.

 

 

First off all too find or working on a file is step by step so look at the last things your have added so you will find the wrong entrys.

If you dont find the things post also all thing where you have include.

Edited by Sgt. ScrapMetal

Share this post


Link to post
Share on other sites
Advertisement
  • 0

on this one here

            "Exile_Item_CodeLock"
            "Exile_Item_Cement",
            "Exile_Item_MobilePhone",          
/*

replace take comma off the end of the phone 

            "Exile_Item_CodeLock"
            "Exile_Item_Cement",
            "Exile_Item_MobilePhone"        
/*

so your code old for Hardware

Spoiler

    class Hardware
    {
        name = "Hardware";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] =
        {
           
            "Exile_Item_DuctTape",
            "Exile_Item_ExtensionCord",
            "Exile_Item_FuelCanisterEmpty",
            "Exile_Item_JunkMetal",
            "Exile_Item_LightBulb",
            "Exile_Item_MetalBoard",
            "Exile_Item_MetalPole",
            "Exile_Item_SafeKit",
            "Exile_Item_CamoTentKit",
            "Exile_Item_CodeLock"
            "Exile_Item_Cement",
            "Exile_Item_MobilePhone",          
/*
            --Not for Sale--
            "Exile_Item_MetalScrews",
            "Exile_Item_MetalWire",
            "Exile_Item_Laptop",
            "Exile_Item_BaseCameraKit",
            "Exile_Item_MetalHedgehogKit",
            "Exile_Item_Sand",
           
            --Unused--
            "Exile_Item_CordlessScrewdriver",
            "Exile_Item_FireExtinguisher",
            "Exile_Item_OilCanister",
            "Exile_Item_Hammer",
            "Exile_Item_Carwheel",
            "Exile_Item_SleepingMat",
            "Exile_Item_Defibrillator",
            "Exile_Item_Wrench",
            "Exile_Item_Rope"
        */
        };
    };

new Hardware code

Spoiler

    class Hardware
    {
        name = "Hardware";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] =
        {
           
            "Exile_Item_DuctTape",
            "Exile_Item_ExtensionCord",
            "Exile_Item_FuelCanisterEmpty",
            "Exile_Item_JunkMetal",
            "Exile_Item_LightBulb",
            "Exile_Item_MetalBoard",
            "Exile_Item_MetalPole",
            "Exile_Item_SafeKit",
            "Exile_Item_CamoTentKit",
            "Exile_Item_CodeLock"
            "Exile_Item_Cement",
            "Exile_Item_MobilePhone"          
/*
            --Not for Sale--
            "Exile_Item_MetalScrews",
            "Exile_Item_MetalWire",
            "Exile_Item_Laptop",
            "Exile_Item_BaseCameraKit",
            "Exile_Item_MetalHedgehogKit",
            "Exile_Item_Sand",
           
            --Unused--
            "Exile_Item_CordlessScrewdriver",
            "Exile_Item_FireExtinguisher",
            "Exile_Item_OilCanister",
            "Exile_Item_Hammer",
            "Exile_Item_Carwheel",
            "Exile_Item_SleepingMat",
            "Exile_Item_Defibrillator",
            "Exile_Item_Wrench",
            "Exile_Item_Rope"
        */
        };
    };

 

Share this post


Link to post
Share on other sites
  • 0

facepalm photo: facepalm facepalm.jpg

 

Sorry for this mistake a little fail from me and @hogansheroes

we are posting a mistake with an mistake :D we also forget himself too place a , after "Exile_Item_Codelock"

here are the correct hardware code ^^

    class Hardware
    {
        name = "Hardware";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] =
        {
           
            "Exile_Item_DuctTape",
            "Exile_Item_ExtensionCord",
            "Exile_Item_FuelCanisterEmpty",
            "Exile_Item_JunkMetal",
            "Exile_Item_LightBulb",
            "Exile_Item_MetalBoard",
            "Exile_Item_MetalPole",
            "Exile_Item_SafeKit",
            "Exile_Item_CamoTentKit",
            "Exile_Item_CodeLock",
            "Exile_Item_Cement",
            "Exile_Item_MobilePhone"          
/*
            --Not for Sale--
            "Exile_Item_MetalScrews",
            "Exile_Item_MetalWire",
            "Exile_Item_Laptop",
            "Exile_Item_BaseCameraKit",
            "Exile_Item_MetalHedgehogKit",
            "Exile_Item_Sand",
           
            --Unused--
            "Exile_Item_CordlessScrewdriver",
            "Exile_Item_FireExtinguisher",
            "Exile_Item_OilCanister",
            "Exile_Item_Hammer",
            "Exile_Item_Carwheel",
            "Exile_Item_SleepingMat",
            "Exile_Item_Defibrillator",
            "Exile_Item_Wrench",
            "Exile_Item_Rope"
        */
        };
    }; 

 

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.