Garry's Mod

How to make you own job in DarkRP.(part 1)

Submitted by justie208, , Thread ID: 163263

justie208
Novice
Level:
0
Reputation:
0
Posts:
22
Likes:
7
Credits:
139
19-03-2020, 04:38 PM
This post was last modified: 19-03-2020, 04:38 PM by justie208
#1
Everything depends on your imagination. But it important to know some information about creating jobs.
TEAM_BANDIT = DarkRP.createJob("Bandit", { // Name of the work.
    color = Color(255, 255, 255, 255), // Color in F4 Menu.
    model = { // Model of work. You can add a lot of models.
        "models/player/Group03/Female_01.mdl",
        "models/player/Group03/Female_02.mdl"
    },
    description = [[This text will serve as the description of // Desription ))
                    this team.]],
    weapons = {"weapon_p2282"}, // Whiсh weapon can this job have.
    command = "example", / Command to became this job without F4 menu.
    max = 3, // How many people can become this job
    salary = 45, // How many salary can take this job every 5 minutes
    admin = 0, // Is it admin job.
    vote = false, // Need people vote to became this job
    hasLicense = false, // Has this job license default


If you want to see part 2, pls like this post.

Users browsing this thread: 1 Guest(s)