1. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

DarkRP Custom jobs

Discussion in 'DarkRP Modding Questions & Help' started by vwitem, Sep 3, 2017.

Tags:
  1. vwitem

    vwitem New Member

    i just wantet to create a job but its hard i cant create one i use TCB it dont work can you guys help me here is the job i want to have

    --[[
    Generated using: DarkRP | Job Generator
    https://csite.io/tools/gmod-darkrp-job
    --]]
    TEAM_ADMIN = DarkRP.createJob("Staff On Duty", {
    color = Color(0, 0, 0, 255),
    model = {"models/player/combine_super_soldier.mdl"},
    description = [[Admin on duty]],
    weapons = {"csgo_m9_marblefade", "m9k_m202", "m9k_minigun", "weapon_fists", "weapon_undertale_sans_admin"},
    command = "admin",
    max = 0,
    salary = 0,
    admin = 1,
    vote = false,
    hasLicense = true,
    candemote = false,
    category = "Citizens",
    PlayerSpawn = function(ply)
    ply:SetMaxHealth(100000)
    ply:SetHealth(100000)
    ply:SetArmor(1000)
    end
    })
     
  2. System

    System Active Member

    https://wiki.garrysmod.com/page/GM/PlayerLoadout
    Code (Text):
    TEAM_ADMIN = DarkRP.createJob("Staff On Duty", {
    color = Color(0, 0, 0, 255),
    model = {"models/player/combine_super_soldier.mdl"},
    description = [[Admin on duty]],
    weapons = {"csgo_m9_marblefade", "m9k_m202", "m9k_minigun", "weapon_fists", "weapon_undertale_sans_admin"},
    command = "admin",
    max = 0,
    salary = 0,
    admin = 1,
    vote = false,
    hasLicense = true,
    candemote = false,
    category = "Citizens",
    PlayerLoadout = function( ply ) return
        ply:SetMaxHealth(100000)
        ply:SetHealth(100000)
        ply:SetArmor(1000)
    end,
    })
     

Share This Page