DarkRP:FAQ

F.A.Q
Q: Guns and money float in mid-air. Make sure you have Counter-Strike Source content installed and mounted in mount.cfg.

Q: I can't pick up any weapons! Set: GM.Config.license = false in the settings.lua file or ask a chief or the mayor for a license.

Q: couldn't include file darkrp\gamemode\cl_init.lua (File not found) Make sure if you have "+gamemode darkrp" in your server launch options. Also make sure that the DarkRP folder in your gamemodes folder is called "darkrp" in lowercase.

Q: Why can't my mayor work with laws, control lockdowns or start a lottery? You are missing the 'mayor' job field. Go to your mayor job and add the following to it: mayor = true, Unless you are creating a custom mayor job, this should not be necessary if using DarkRP 2.5.0 because you shouldn't be touching core DarkRP files and you should be getting a fresh copy of them.

'''Q: People keep talking about this "SVN", saying you can update in a couple of clicks. How do I get it?''' First, download and install TortoiseSVN, then check out this tutorial.

Q: I downloaded DarkRP from garrysmod.org and... Please use the latest SVN/Git revision of DarkRP from HERE.

'''Q: I found a bug in DarkRP. What can I do to get it fixed?''' Read THIS and then report the issue HERE

Q: How to add a class to a "CP and Mayor Only door". Scroll to the bottom of jobs.lua and edit this: AddDoorGroup("Cops and Mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR) If your new team is called TEAM_SWAT you can add it after the mayor team. Seperate by comma. Example: AddDoorGroup("Cops and Mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR, TEAM_SWAT)

Q: How do I get my team name? local plr = self.Owner --meant to go into a swep, sent, or stool chat.AddText(plr, Color(100,255,100), "'s class is: " .. tostring( plr:Team ) ) // Note, this will loop continuously. // Also, self.Owner:Team will output something along the lines of: // 1, 2, 3, etc. This corresponds to the order of the jobs in jobrelated.lua

This should output: "Cereal Killer's class is: 3" (Your name will appear instead of 'Cereal Killer'.)