• [Help] Darkrp Door Teams.
    2 replies, posted
Hey guys I have ran into another issue, I cant add the " Cops and Mayors " door. I tried deleting darkrp and putting it back on. I check the coding, it seems to be right. Its default to. Can anyone help me manage to fix this? [CODE]/* -------------------------------------------------------- HOW TO MAKE A DOOR GROUP -------------------------------------------------------- AddDoorGroup("Cops and Mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR,) WARNING: THE DOOR GROUPS HAVE TO BE UNDER THE TEAMS IN SHARED.LUA. IF THEY ARE NOT, IT MIGHT MUCK UP! The default door groups, can also be used as examples: */ AddDoorGroup("Cops and Mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR) AddDoorGroup("Gundealer only", TEAM_GUN) /*[/CODE]
If this is for normal GMod (12): Check shared.lua and make sure that TEAM_POLICE, TEAM_CHIEF and TEAM_MAYOR are all there and working. If you get this in GMod 13: It's broken. Wait for them to fix it.
GMod 12 and the default shared is their. And it still does not work correctly. I did the svn darkrp also.
Sorry, you need to Log In to post a reply to this thread.