@Sir Nipah still not showing jobs in F4?

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

@Sir Nipah still not showing jobs in F4?

Post by gtrival »

Code: Select all

/*---------------------------------------------------------------------------
DarkRP custom jobs
---------------------------------------------------------------------------

This file contains your custom jobs.
This file should also contain jobs from DarkRP that you edited.

Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
	Once you've done that, copy and paste the job to this file and edit it.

The default jobs can be found here:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua

For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields


Add jobs under the following line:
---------------------------------------------------------------------------*/


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, , 255),
    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,
}



/*---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------*/
GAMEMODE.DefaultTeam = TEAM_CITIZEN


/*---------------------------------------------------------------------------
Define which teams belong to civil protection
Civil protection can set warrants, make people wanted and do some other police related things
---------------------------------------------------------------------------*/
GAMEMODE.CivilProtection = {
	[TEAM_POLICE] = true,
	[TEAM_CHIEF] = true,
	[TEAM_MAYOR] = true,
}

/*---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------*/
DarkRP.addHitmanTeam(TEAM_MOB)
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: @Sir Nipah still not showing jobs in F4?

Post by Sir Nipah »

You don't need to open a new topic. Next time just reply to the old one.
I forgot a bracket :P

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,
})
I have not tested but should work if not then I'l start testing.
Image Garry's Mod veteran.
Post Reply