Help|Dark RP Door Groups

Hi, i recently setup my DarkRP server, but I’m having a problem with the Door groups.

So, i made the door group in the doorgroups.lua and when i go in game and look at a door and attempt to modify the door, the door group is not present. I dont know how to code lua either, if that matters… Already got the custom content i need.

Here is the code:


/*---------------------------------------------------------------------------
/*---------------------------------------------------------------------------
Door groups
---------------------------------------------------------------------------
The server owner can set certain doors as owned by a group of people, identified by their jobs.


HOW TO MAKE A DOOR GROUP:
AddDoorGroup("NAME OF THE GROUP HERE, you will see this when looking at a door", Team1, Team2, team3, team4, etc.)
---------------------------------------------------------------------------*/

AddDoorGroup("Authority", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR, TEAM_SWAT, TEAM_DEA, TEAM_SWATC, TEAM_SEC, TEAM_SWATS, TEAM_SWATM)

-- Example: AddDoorGroup("Cops and Mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR)
-- Example: AddDoorGroup("Gundealer only", TEAM_GUN)


Bring
Up
My
Post