I've been having many problems with the code on my server. I'm
making a darkrp server for Garry's Mod.
GAMEMODE.CivilProtection = {
[TEAM_MAYOR] = true,
[TEAM_POLICE] = true,
[TEAM_CHIEF] = true,
}
This line of code isn't working for any except the TEAM_MAYOR and if I try
and add any other jobs to the list like [TEAM_SPECIALOPS] = true I get a
lua error for it and none of the jobs appear.
Hitmen aren't working either:
DarkRP.addHitmanTeam(TEAM_HITMAN)
That's the default code and it doesn't work, there are no lua errors or any
other errors from it.
The door groups don't appear on the door group menu in game:
AddDoorGroup("Government", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR, TEAM_SWAT,
TEAM_SPECIALOPS)
If you could help with any of these I would be very thankfull.
Dark RP Code Errors
-
- New to forums
- Posts: 1
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Tue Jul 18, 2017 8:37 pm