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_CITIZEN = DarkRP.createJob("Citizen", {
- color = Color(20, 150, 20, 255),
- model = {
- "models/player/Group01/Female_01.mdl",
- "models/player/Group01/Female_02.mdl",
- "models/player/Group01/Female_03.mdl",
- "models/player/Group01/Female_04.mdl",
- "models/player/Group01/Female_06.mdl",
- "models/player/group01/male_01.mdl",
- "models/player/Group01/Male_02.mdl",
- "models/player/Group01/male_03.mdl",
- "models/player/Group01/Male_04.mdl",
- "models/player/Group01/Male_05.mdl",
- "models/player/Group01/Male_06.mdl",
- "models/player/Group01/Male_07.mdl",
- "models/player/Group01/Male_08.mdl",
- "models/player/Group01/Male_09.mdl"
- },
- description = [[The Citizen is the most basic level of society you can hold besides being a hobo. You have no specific role in planet life.]],
- weapons = {},
- command = "citizen",
- max = 0,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Citizens",
- })
- TEAM_HITMAN = DarkRP.createJob("HK-47 Assassin Droid", {
- color = Color(0, 0, 0, 255),
- model = "models/hk-47.mdl",
- description = [[People hire you to take out other people,
- this job require you to be completely focussed.
- A single breath can make you loose a shot.]],
- weapons = {"weapon_752_dc17m_sn"},
- command = "assassindroid",
- max = 1,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Citizens",
- })
- TEAM_HOBO = DarkRP.createJob("Hobo", {
- color = Color(57, 68, 32, 255),
- model = { "models/player/corpse1.mdl"
- },
- description = [[You don't have a home. You are the lowest class of society.]],
- weapons = {},
- command = "hobo",
- max = 8,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Citizens",
- })
- TEAM_GUNDEALER = DarkRP.createJob("Armament Dealer", {
- color = Color(245, 184, 0, 255),
- model = { "models/player/b4p/b4p_rodian.mdl"
- },
- description = [[You sell guns.]],
- weapons = {},
- command = "armamentdealer",
- max = 5,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Citizens",
- })
- TEAM_STORMTROOPER = DarkRP.createJob("StormTrooper", {
- color = Color(25, 25, 170, 255),
- model = {"models/kriegsyntax/starwars/stormtrooper_playermodel.mdl"},
- description = [[You were sent to keep the peace in the planet during the occupation. Make sure every citizen follows the law or punish them.
- You have the power to arrest criminals and protect innocents.
- Hit a player with your arrest baton to put them in jail.
- Bash a player with a stunstick and they may learn to obey the law.
- The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
- The Battering Ram can also unfreeze frozen props (if enabled).
- Type /wanted <name> to alert the public to the presence of a criminal.]],
- weapons = {"arrest_stick", "unarrest_stick", "weapon_752_se14c", "stunstick", "door_ram", "weaponchecker"},
- command = "st",
- max = 5,
- salary = GAMEMODE.Config.normalsalary * 1.45,
- admin = 0,
- vote = true,
- hasLicense = true,
- category = "Imperial Army",
- ammo = {
- ["pistol"] = 60,
- }
- })
- --[[---------------------------------------------------------------------------
- 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_STORMTROOPER] = true,
- [TEAM_CHIEF] = true,
- [TEAM_MAYOR] = true,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement