1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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.

My StarwarsRP jobs won't show up

Discussion in 'DarkRP Modding Questions & Help' started by [IFN] Bazagger [TM], Apr 11, 2019.

  1. [IFN] Bazagger [TM]

    [IFN] Bazagger [TM] New Member

    {TEAM_DEFAULT = DarkRP.createJob("Cadet", {
    color = Color(20, 150, 20, 255),
    model = {"models/player/asgclonewars/clone_cadet/clone_cadet.mdl",},
    description = [[The Citizen is the most basic level of society you can hold besides being a hobo. You have no specific role in city life.]],
    weapons = {},
    command = "Cadet",
    max = 0,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = false,
    level = 0,
    PlayerLoadout = function(ply) ply:SetHealth (500) end,
    category = "Cadet",
    })

    })

    TEAM_GreenCompanyMedic = DarkRP.createJob("Green Company Medic", {
    color = Color(34, 204, 92, 255),
    model = {"models/player/asgclonewars/talon_squad/talon_trooper.mdl"},
    description = [[]],
    weapons = {"weapon_752_dc15sa", "weapon_752_dc15a", "weapon_752_dc15s", "weapon_752bf3_dlt20a"},
    command = "GreenCompanyMedic",
    max = 1,
    salary = 45,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = true,
    customCheck = function(ply) return CLIENT or
    table.HasValue({"GreenCompany", "Owner"}, ply:GetNWString("usergroup")) or ply:IsAdmin()
    end,
    CustomCheckFailMsg = "You have to join the GreenCompany before you can use this job!",
    medic = false,
    chief = false,
    mayor = false,
    hobo = false,
    cook = false,
    PlayerLoadout = function(ply) ply:SetHealth (2500) ply:GiveAmmo(9999, "item_ammo_ar2") end,
    level = 0,
    category = "GreenCompany",
    })

    TEAM_GRAND ADMIRAL = DarkRP.createJob("Grand Admiral", {
    color = Color(79, 55, 55, 255),
    model = {"models/player/sono/swbf_thrawn.mdl"},
    description = [[You are the Ruler of this ship]],
    weapons = {"weapon_slam", "arrest_stick", "models/weapons/w_dl44.mdl"},
    command = "Grand Admiral",
    max = 1,
    salary = 65,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = true,
    customCheck = function(ply) return CLIENT or
    table.HasValue({"ARC", "Owner"}, ply:GetNWString("usergroup")) or ply:IsAdmin()
    end,
    CustomCheckFailMsg = "You have to join the ARC before you can use this job!",
    medic = false,
    chief = false,
    mayor = false,
    hobo = false,
    cook = false,
    level = 0,
    PlayerLoadout = function(ply) ply:SetHealth (2500) ply:GiveAmmo(9999, "item_ammo_ar2") end,
    category = "ARC",

    })
    TEAM_ADMIRAL = DarkRP.createJob("Admiral", {
    color = Color(79, 55, 55, 255),
    model = {"models/gonzo/modifiednavymodels/captain/captain.mdl"},
    description = [[You are the Vice Ruler of this ship]],
    weapons = {"weapon_slam", "arrest_stick", "models/weapons/w_dl44.mdl"},
    command = "Admiral",
    max = 1,
    salary = 65,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = true,
    customCheck = function(ply) return CLIENT or
    table.HasValue({"ARC", "Owner"}, ply:GetNWString("usergroup")) or ply:IsAdmin()
    end,
    CustomCheckFailMsg = "You have to join the ARC before you can use this job!",
    medic = false,
    chief = false,
    mayor = false,
    hobo = false,
    cook = false,
    level = 0,
    PlayerLoadout = function(ply) ply:SetHealth (2500) ply:GiveAmmo(9999, "item_ammo_ar2") end,
    category = "ARC",
    })
     
  2. # VALERY

    # VALERY Member

Share This Page