Garry's Mod

How to Create Custom Dark RP Jobs.

Submitted by Alanasso, , Thread ID: 230961

Thread Closed
13-01-2022, 03:41 AM
#1
[font=-apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"]in darkrpcustomthings / jobs use this template:
[/font]

TEAM_SANGRA = DarkRP.createJob("Name of the job", {
color = Color(0, 0, 0, 0), [color picker on google]
model = {"Model extracted from the C menu"},
description = [[description of the job.]],
weapons = {"weapons of the job extracted from the Q menu"},
command = "command for setspawn EJ: rec_1",
max = max of users who can use the job,
salary = salary of the job,
admin = if the job is admin or no,
vote = false, (if the job can vote if is a RP dont touch it)
hasLicense = false, (RP dont touch it)
candemote = false, (RP dont touch it)
category = "category of the job in the F4 EJ Recruits,
PlayerSpawn = function(ply) (dont touch it)
ply:SetMaxHealth(200) (max health of the user)
ply:SetHealth(200) (health of the user)
ply:SetArmor(0) (armor of the user that uses the job)
end
})

RE: How to Create Custom Dark RP Jobs.

#2
How can i configure the Walk and Run Speed?

RE: How to Create Custom Dark RP Jobs.

#3
13-01-2022, 09:03 AM
crackhead21 Wrote:
How can i configure the Walk and Run Speed?

finally somebody asked lol.
if anyone answers pls

RE: How to Create Custom Dark RP Jobs.

This post was last modified: 15-01-2022, 10:06 PM by GunterRdz
#4
everything you need is here you don't have to know how to write in lua / glua : https://yourdevtools.com/gmod/darkrp-job

RE: How to Create Custom Dark RP Jobs.

#5
Wow, thank you, you helped me a lot, otherwise you didn't find the lines with the job.

RE: How to Create Custom Dark RP Jobs.

#6
I recommend you use darkrp_modification on github, it lets you create custom things such as jobs, entities, weapons etc. Without having to edit the main files of the darkrp gamemode.
https://github.com/FPtje/darkrpmodification

RE: How to Create Custom Dark RP Jobs.

#7
There's probably a youtube tutorial or smthhn like that, or check the darkrp page they probly have it somewhere there

RE: How to Create Custom Dark RP Jobs.

#8
pls you use darkrp modification https://github.com/FPtje/darkrpmodification

RE: How to Create Custom Dark RP Jobs.

#9
Quite useful links in here for all sorts of gamemode and plenty of learning

Users browsing this thread: 5 Guest(s)