Ppgtjmad / SimpleShops

[HG] Simple Shops
27 stars 8 forks source link

Traders dont want any object #56

Closed Skyrbose closed 4 years ago

Skyrbose commented 4 years ago

I tried everything with this and dont get any solution. Every item (Vanilla or mod) i put in the trader, when i want to sell it says "Not interested". Any solution to this?

class HG_DefaultTrader // HG_DefaultTrader is just a placeholder for testing purposes, you can delete it completely and make your own { conditionToAccess = "true"; // Example: "(playerSide in [west,independent]) AND ((rank player) isEqualTo 'COLONEL')"

interestedIn[] = 
{
    {"SWLW_Westar35c",50},
    {"weapon_arifle_mx_f",50},
    {"ItemCompass",50}
};

};

Ppgtjmad commented 4 years ago

Hi @Skyrbose

"weapon_arifle_mx_f" should be "arifle_mx_f" Also make sure "SWLW_Westar35c" is the right classname from your mod

Use the provided default mission to make sure nothing else messes it up. Report back.

Skyrbose commented 4 years ago

Resolved