Garry's Mod

How to Create Custom Dark RP Jobs.

Submitted by Alanasso, , Thread ID: 230961

Thread Closed
Alanasso
Newbie
Level:
1
Reputation:
0
Posts:
17
Likes:
1
Credits:
2
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
})

Users browsing this thread: 1 Guest(s)