What's the purpose of code-locking? won't that just promote hiding drugs in impenetrable places? people should have a way to break into other people's property and steal their drugs, especially police.
so what will the code-locking be used for, when you can just lock based on the owner's bl_id and add other people's id through events?
What's your solution?
edit: my solution would be to implement some sort of warrant system. It would work almost the same as the warrant system on Gmod DarkRP.
Police ask for a search warrant, it would be turned into a vote amongst all the online police officers, and if there is only one officer online he can't do a warrant. I feel like it should require at least 3 officers online at any point in order to start a vote for a warrant. In order to start a vote against a certain players' base, that player must be online in the server, you cannot offline warrant raid someones' house (to stop cops from going around and raiding every base). After the warrant is approved, the officer(s) go to the players' house and use the baton to break down doors or bricks (fake kill) to get to the drugs in the house. Different sized bricks will have different health bars, etc.
edit2: You can only get so far with code locks, i don't see why you are so against us stopping people from saving the map to see events. Saving the map and checking the events is pretty game-breaking and some can even consider it an exploit of the gamemode. I don't see why trying to fix it is such a huge issue to you.