DarkRP Custom Jobs aren't going through?

Post Reply
gtrival
New to forums
New to forums
Posts: 6
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat May 03, 2014 3:12 pm

DarkRP Custom Jobs aren't going through?

Post by gtrival »

Can anyone please help me.. Asap, Thanks.

Code: Select all

TEAM_SAMURAI = AddExtraTeam("Samurai (SuperAdmin)", Color(0, 153, 255, 255),
 "models/jessev92/player/misc/chuck-norris_hat.mdl", 
[[I want to Kick ass, But I never had any gum]], {"models/weapons/v_crossbow.mdl"}, 
"samurai", 1, 30000000, 1, false, true, false)



TEAM_Special = DarkRP.createJob("Special Gun Dealer", {
        color = Color(153, 255, 255, 255),
        model = {
                "models/player/odessa.mdl",
                },
        description = [[ Sell guns the regular gun dealers have to help support you and your gangor just do it for fun. 
		And maybe gain a little of profit!]],
        weapons = {""},
        command = "Special",
        max = 1,
        salary = 69,
        admin = 0,
        vote = vote,
        hasLicense = false,
        NeedToChangeFrom = TEAM_CITIZEN,
        customCheck = function(ply) return ply:getDarkRPVar("money") > 10000 end,
        CustomCheckFailMsg = "You don't have enough money! You old hag!",
        modelScale = 1.2,
        maxpocket = 20,
        maps = {"rp_downtown_v2", "gm_construct"},
        candemote = true,

TEAM_BlackMarket = DarkRP.createJob("Black Market Dealer", {
        color = Color(153, 255, 255, 255),
        model = {
                "models/player/odessa.mdl",
                },
        description = [[ Sell Keypad crackers, medkits, lockpicks & more! Just make sure . 
		And maybe gain a little of profit!]],
        weapons = {""},
        command = "BlackMarket",
        max = 1,
        salary = 69,
        admin = 0,
        vote = vote,
        hasLicense = false,
        NeedToChangeFrom = TEAM_CITIZEN,
        customCheck = function(ply) return ply:getDarkRPVar("money") > 10000 end,
        CustomCheckFailMsg = "You don't have enough money! You old hag!",
        modelScale = 1.2,
        maxpocket = 20,
        maps = {"rp_downtown_v2", "gm_construct"},
        candemote = true,

TEAM_Thief = DarkRP.createJob("Thief", {
        color = Color(000, 000, 000, 000),
        model = {
                "models/player/group01/male_03.mdl",
                },
        description = [[ Your a thief! You can raid & mug other citizens every 5 minutes! But first make sure you advert raid!
		And maybe gain a little of profit!]],
        weapons = {"lockpick"},
        command = "Thief",
        max = 6,
        salary = 55,
        admin = 0,
        vote = vote,
        hasLicense = false,
        NeedToChangeFrom = TEAM_CITIZEN,
        customCheck = function(ply) return ply:getDarkRPVar("money") > 10000 end,
        CustomCheckFailMsg = "You don't have enough money! GO MUG SOMEBODY!",
        modelScale = 1.2,
        maxpocket = 20,
        maps = {"rp_downtown_v2", "gm_construct"},
        candemote = false,
User avatar
Sir Nipah
This is my homepage
This is my homepage
Posts: 76
Joined: Mon Jul 08, 2013 3:38 am
Location: Australia/Melbourne
Contact:

Re: DarkRP Custom Jobs aren't going through?

Post by Sir Nipah »

Little things. (Like closing brackets)

Code: Select all

TEAM_SAMURAI = AddExtraTeam("Samurai (SuperAdmin)", Color(0, 153, 255, 255), "models/jessev92/player/misc/chuck-norris_hat.mdl", [[I want to Kick ass, But I never had any gum]], {"models/weapons/v_crossbow.mdl"}, "samurai", 1, 30000000, 1, false, true, false)

TEAM_Special = DarkRP.createJob("Special Gun Dealer", {
    color = Color(153, 255, 255, 255),
    model = {"models/player/odessa.mdl"},
    description = [[ Sell guns the regular gun dealers have to help support you and your gangor just do it for fun. 
  And maybe gain a little of profit!]],
    weapons = {""},
    command = "Special",
    max = 1,
    salary = 69,
    admin = 0,
    vote = vote,
    hasLicense = false,
    NeedToChangeFrom = TEAM_CITIZEN,
    customCheck = function(ply) return ply:getDarkRPVar("money") > 10000 end,
    CustomCheckFailMsg = "You don't have enough money! You old hag!",
    modelScale = 1.2,
    maxpocket = 20,
    maps = {"rp_downtown_v2", "gm_construct"},
    candemote = true,
}

TEAM_BlackMarket = DarkRP.createJob("Black Market Dealer", {
    color = Color(153, 255, 255, 255),
    model = {"models/player/odessa.mdl"},
    description = [[ Sell Keypad crackers, medkits, lockpicks & more! Just make sure . 
  And maybe gain a little of profit!]],
    weapons = {""},
    command = "BlackMarket",
    max = 1,
    salary = 69,
    admin = 0,
    vote = vote,
    hasLicense = false,
    NeedToChangeFrom = TEAM_CITIZEN,
    customCheck = function(ply) return ply:getDarkRPVar("money") > 10000 end,
    CustomCheckFailMsg = "You don't have enough money! You old hag!",
    modelScale = 1.2,
    maxpocket = 20,
    maps = {"rp_downtown_v2", "gm_construct"},
    candemote = true,
}

TEAM_Thief = DarkRP.createJob("Thief", {
    color = Color(0, 0, 0, 0),
    model = {"models/player/group01/male_03.mdl"},
    description = [[ Your a thief! You can raid & mug other citizens every 5 minutes! But first make sure you advert raid!
  And maybe gain a little of profit!]],
    weapons = {"lockpick"},
    command = "Thief",
    max = 6,
    salary = 55,
    admin = 0,
    vote = vote,
    hasLicense = false,
    NeedToChangeFrom = TEAM_CITIZEN,
    customCheck = function(ply) return ply:getDarkRPVar("money") > 10000 end,
    CustomCheckFailMsg = "You don't have enough money! GO MUG SOMEBODY!",
    modelScale = 1.2,
    maxpocket = 20,
    maps = {"rp_downtown_v2", "gm_construct"},
    candemote = false,
}
You do know that with the color you set for the thief, no one will see it?
Image Garry's Mod veteran.
gtrival
New to forums
New to forums
Posts: 6
Joined: Sat May 03, 2014 3:12 pm

Re: DarkRP Custom Jobs aren't going through?

Post by gtrival »

Thank you so much hopefully it works now :D
Post Reply