Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Edit Container Types #23

Open
umichhaidn opened this issue Jun 27, 2022 · 1 comment
Open

Can't Edit Container Types #23

umichhaidn opened this issue Jun 27, 2022 · 1 comment

Comments

@umichhaidn
Copy link

I've tried changing the containerTypes[] attribute in store\config.hpp, but it has no effect on the containers that show up in the store. I've tried adding items like "AmmoBox", "Object", and "Thing", but no containers in range will show up in the trader dialog. I also tried removing "LandVehicle" from the list, but cars are still showing up in the available containers to trade from/to.

@umichhaidn
Copy link
Author

Solved this one. In store\functions\fn_initServer.sqf "_types" was being hard coded to ["LandVehicle", "Air", "Ship"]. I changed it to HALs_store_containerTypes and the attribute now works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant