Creating Jobs - XxLMM13xXgaming/drp GitHub Wiki
To add a job this is what you need to do...
Getting started
First off you will need to set up a file in the autorun (server)
addonname/lua/autorun/sv_filename.lua
you will need to use this format..
DRPJobsTable.NJ = {
ID = 0,
Name = "New Job",
Model = "models/player/group01/female_01.mdl",
Color = Color(0,0,0,255),
Weapons = {},
hoursneed = 0,
}
You will need to change .NJ
to a new table ID something that can be called to switch to.. ID
will need to be changed to a non used number.. ask lmm or other dev for this info! Name
will be the display name of the job. Model
is the model. Color
is the color. Weapons
is the weapons besides the default DRP weapons. Last is hoursneed
that is the number of hours needed to become job (when seeking from the job NPC!)