Dark RP Code Errors

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
TURTLE36873
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Jul 18, 2017 8:37 pm

Dark RP Code Errors

Post by TURTLE36873 »

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.
Post Reply