How to add door groups for dark rp

I’ve noticed that it is possible to male doors only openable by a certain class and i know u have to put comething like this into either shared.lua or addenetities.lua: AddDoorGroup [TEAM_POLICE} ITs something like that could someone plaese give me an example of what it should be and where it needs to go. Thanks for all help

It goes in… Addentities.lua orr one of those

Its where you put ur gun shipments

Like AddDoorGroup"Government Only!" {Team_Police, Team_Swat, etc}. Idk if thats right. Im goin off memory