1. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

door groups don't work

Discussion in 'DarkRP Modding Questions & Help' started by Devin, Jun 14, 2017.

  1. Devin

    Devin Member

    I have door groups for police/government jobs but nobody of that job group can lock/unlock doors.

    Code (Text):

    --[[---------------------------------------------------------------------------
    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("Cops and Mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR, TEAM_SWAT, TEAM_SWATS, TEAM_SWATM, TEAM_HEAVYCP, TEAM_POLICECHIEF, TEAM_POLICEC)
    --AddDoorGroup("Gundealer only", TEAM_GUN)


     
     

Share This Page