Unlock parts containerSolved

Hey WhiteThunder how to unlock parts containers,
Can you tell me which line should I change in the .cs?

I do not recommend editing the code of any maintained plugins because, if the plugin is updated, assuming you wish to download that update, you will have to make the same edits again. I want to avoid you having to do that. If you have a use case which is not achieved by the plugin, I would much rather you explain that use case so that I can implement a feature for it in the plugin, since there is a good chance that many other people have the same use case.

Can you elaborate on why you want to unlock the container? The whole point of this plugin is to lock the container. If you want cars to spawn with parts while allowing container access, particularly for the cars that spawn along roads, you should use Car Spawn Settings. If you want cars spawned by other plugins to spawn with parts, those plugins should add the parts. The only reason I created this plugin after creating Car Spawn Settings is because people wanted to lock the container.

If you still want to proceed against my recommendation, simply remove the line of code that says inventory.SetLocked(true), but you will be on your own in terms of support and updates.

Thanks @WhiteThunder

mybad Car Spawn Setting is the I needed

Locked automatically