DarkRP:FAQ
From GMod Wiki
This page has been nominated for deletion. Deletion is due within approximately 30 days from nomination, unless the deletion has been disputed on the talk page. See more pages nominated for deletion here. Reason for deletion: Not what Garry wants the wiki to be used for Last Edit was made on 11/16/2011 |
DarkRP: F.A.Q |
Description: | This is the second part of my darkrp tutorials and guides |
Original Author: | pk owner |
Created: | November 30, 2009 |
F.A.Q
Q: I can't pick up any weapons! Turn off rp_license in the admin menu, or ask a chief or the mayor for a license.
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 found a bug in DarkRP. What can I do to get it fixed? First of all you should post at www.facepunch.com. Then, you should also submit a bug report in the issues section of the DarkRP svn.
Q: Guns and money float in mid-air. Make sure you have Counter-Strike Source content installed, and you have a directory tree such as, server/orangebox/garrysmod/* server/orangebox/cstrike/*
Q: I downloaded DarkRP from garrysmod.org and... Please use the latest SVN Revision of DarkRP, there is a good chance that your problem would have been resolved in the most recent update.
Q: How to add a class to a "CP and Mayor Only door". Update! You can now easily make a "group" door at the bottom of shared.lua. Look at the default one to know how to.
Q: How do I extend the change job timer. Please note that this was put in for security by Falco to prevent malicious scripts from spamming that function. Open up gamemode/player.lua, and find;
if self.LastJob and 120 - (CurTime() - self.LastJob) >= 0 then Notify(self, 1, 4, string.format(LANGUAGE.have_to_wait, math.ceil(120 - (CurTime() - self.LastJob)), "/job")) return end
Change both 120's to whatever time you want.
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 shared.lua
This should output: "Cereal Killer's class is: 3" (Your name will appear instead of 'Cereal Killer'.)