Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*---------------------------------------------------------------------------
- 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_GUN = DarkRP.createJob("Arms Dealer", {
- color = Color(255, 140, 0, 255),
- model = "models/player/monk.mdl",
- description = [[A Gun Dealer is the only person who can sell guns to other people.
- Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
- weapons = {"weapon_fists", "fas2_glock20", "keys", "weapon_physcannon", "gmod_camera", "gmod_tool", "pocket", "weapon_physgun"},
- command = "gundealer",
- max = 2,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_PROTHEIF = DarkRP.createJob("Pro Thief", {
- color = Color(255,0,0,255),
- model = "models/player/guerilla.mdl",
- description = [[Raid :Yes Mug: Yes Kidnapping: Yes]],
- weapons = {"weapon_fists", "lockpick", "keys", "weapon_physcannon", "gmod_camera", "gmod_tool","keypad_cracker", "weapon_physgun"},
- command = "jobprotheif",
- max = 6,
- salary = 60,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_COMBATMEDIC = DarkRP.createJob("Combat Medic", {
- color = Color(0, 255, 34, 255),
- model = "models/player/Group03m/male_07.mdl",
- description = [[You may not kidnap, mug, or raid alone. You may only raid with thieves, gangsters,and thugs. Heal your buddies.]],
- weapons = {"fas2_ifak" ,"weapon_fists", "lockpick", "keys", "weapon_physcannon", "gmod_camera", "gmod_tool","keypad_cracker", "weapon_physgun"},
- command = "jobcombatmedic",
- max = 4,
- salary = 50,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_THEIF = DarkRP.createJob("Theif", {
- color = Color(255,0,0,255),
- model = "models/player/group01/male_01.mdl",
- description = [[Raid: Yes Mug: Yes Kidnapping: No]],
- weapons = {"weapon_fists", "lockpick", "keys", "weapon_physcannon", "gmod_camera", "gmod_tool","keypad_cracker", "weapon_physgun"},
- command = "jobtheif",
- max = 8,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_MUSICIAN = DarkRP.createJob("Musician", {
- color = Color(242, 255, 0, 255),
- model = "models/player/humans/suits1/male_02.mdl",
- description = [[You play music for anyone and can take donations for your work. You may not have guns.]],
- weapons = {"weapon_fists", "keys", "weapon_physcannon", "gmod_camera", "gmod_tool", "weapon_physgun"},
- command = "jobmusician",
- max = 2,
- salary = 75,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_GUN = DarkRP.createJob("Advanced Arms Dealer", {
- color = Color(232,198,7,255),
- model = "models/player/monk.mdl",
- description = [[Sell guns to others. No Self-Supplying.]],
- weapons = {"weapon_fists", "fas2_glock20", "keys", "weapon_physcannon", "gmod_camera", "gmod_tool", "weapon_physgun"},
- command = "jobadvancedarmsdealer",
- max = 5,
- salary = 60,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- -- Insert customCheck here if you have one and want one.
- /*---------------------------------------------------------------------------
- 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement