DarkRP:FAQ

From Official DarkRP Wiki
Jump to: navigation, search
This page is available in the following languages:
Данная версия страницы доступна на следующих языках:
Jarvis-flag 8010.png English | Russia-flag.png Русский | France-flag.png Français

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 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".

Scroll to the bottom of jobs.lua and edit this:
DarkRP.createEntityGroup("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. Separate with a comma. Example:
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())