• Trouble With Custom Jobs
    2 replies, posted
Hello, I have recently started using DarkRP, as I am interested in making my own personal DarkRP server for me and my friends. I don't know if this'll be relevant, but when setting up I usually check peer-to-peer option or the Local Server option. Last night, I spent a large chunk of time trying to import custom classes, even taking a copy/paste from a site and pasting them in the "jobs" lua file. However, they do not seem to be appearing. This is what I put under the indicated line in the lua file, generated using TCB -- Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools TEAM_Soldier = DarkRP.createJob("Soldier", { color = Color(168, 78, 78, 255), model = {"models/player/codmw2/codmw2he.mdl"}, description = [[A soldier for the military]], weapons = {m9k_acr}, command = "soldier", max = 20, salary = 200, admin = 0, vote = false, hasLicense = true, candemote = false, -- CustomCheck medic = false, chief = false, mayor = false, hobo = false, cook = false, category = "Military", })
Here are some websites that might help you [url]http://forum.darkrp.com/[/url] [url]https://www.thecodingbeast.com/certificate[/url]
[QUOTE=LegoGuy;51518280]Here are some websites that might help you [url]http://forum.darkrp.com/[/url] [url]https://www.thecodingbeast.com/certificate[/url][/QUOTE] You forgot this link [URL="http://corefiles.darkrp.eu/"]http://corefiles.darkrp.eu/[/URL]
Sorry, you need to Log In to post a reply to this thread.