DarkRP:FAQ
F.A.Q[edit]
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 or later because you shouldn't be touching core DarkRP files and you should be getting a fresh copy of them.
Q: I downloaded DarkRP from garrysmod.org and...
Please use the latest Git/SVN 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".
DarkRP.createEntityGroup("Cops and Mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR)
DarkRP.createEntityGroup("Cops and Mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR, TEAM_SWAT)
Q: How do I get my team name?
team.GetName(ply:Team())
Q: How do I get all custom jobs?
Use the global RPExtraTeams
table.