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_SMIECIARZ = DarkRP.createJob("Śmieciarz", {
- color = Color(133, 133, 133, 255),
- model = {"models/snowred/dab9595/hex/odessa.mdl"},
- description = [[Śmieciarz to cuchnąca sprawa. Chyba najgorsza praca w tym mieście. Jeździ śmieciarką i zbiera śmieci.]],
- weapons = {},
- command = "325235342412343awedar4324",
- max = 6,
- salary = 2,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_MEDYK = DarkRP.createJob("Lekarz", {
- color = Color(250, 249, 249, 255),
- model = {
- "models/player/portal/male_02_medic.mdl",
- "models/player/portal/male_04_medic.mdl",
- "models/player/portal/male_05_medic.mdl",
- "models/player/portal/male_06_medic.mdl",
- "models/player/portal/male_07_medic.mdl",
- "models/player/portal/male_08_medic.mdl",
- "models/player/portal/male_09_medic.mdl"
- },
- description = [[Lekarz leczy ludzi gdy coś dzieje się z ich zdrowiem. ]],
- weapons = {},
- command = "32523534244123565466578696775432421",
- max = 6,
- salary = 5,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_POL_6 = DarkRP.createJob("SWAT", {
- color = Color(34, 85, 85, 255),
- model = {"models/piket_playermodel/piket_playermodel.mdl"},
- description = [[SWAT to jednostka specjalna Policji.]],
- weapons = {"fas2_ifak", "fas2_deagle", "weapon_stungun", "fas2_m67", "fas2_m4a1", "fas2_sg552", "fas2_dv2", "fas2_ammobox"},
- command = "swat",
- max = 0,
- salary = 1000,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Other",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(400)
- end
- })
- TEAM_POL_5 = DarkRP.createJob("Komendant", {
- color = Color(34, 85, 85, 255),
- model = {
- "models/taggart/police01/male_01.mdl",
- "models/taggart/police01/male_02.mdl",
- "models/taggart/police01/male_03.mdl",
- "models/taggart/police01/male_04.mdl",
- "models/taggart/police01/male_05.mdl",
- "models/taggart/police01/male_06.mdl",
- "models/taggart/police01/male_07.mdl",
- "models/taggart/police01/male_08.mdl",
- "models/taggart/police01/male_09.mdl"
- },
- description = [[Komendant to najwyższa ranga w policji]],
- weapons = {"policebadge", "fas2_mp5sd6", "weapon_stungun", "fas2_deagle", "fas2_m4a1", "fas2_m67", "fas2_ifak"},
- command = "komendant",
- max = 0,
- salary = 500,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Other",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(100)
- end
- })
- TEAM_POL_4 = DarkRP.createJob("Porucznik", {
- color = Color(34, 85, 85, 255),
- model = {
- "models/taggart/police01/male_01.mdl",
- "models/taggart/police01/male_02.mdl",
- "models/taggart/police01/male_03.mdl",
- "models/taggart/police01/male_04.mdl",
- "models/taggart/police01/male_05.mdl",
- "models/taggart/police01/male_06.mdl",
- "models/taggart/police01/male_07.mdl",
- "models/taggart/police01/male_08.mdl",
- "models/taggart/police01/male_09.mdl"
- },
- description = [[Porucznik to prawie najwyższa ranga Policjanta]],
- weapons = {"policebadge", "fas2_mp5sd6", "weapon_stungun", "fas2_deagle", "fas2_m3s90"},
- command = "porucznik",
- max = 0,
- salary = 500,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Other",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(100)
- end
- })
- TEAM_POL_3 = DarkRP.createJob("Sierżant", {
- color = Color(34, 85, 85, 255),
- model = {
- "models/taggart/police01/male_01.mdl",
- "models/taggart/police01/male_02.mdl",
- "models/taggart/police01/male_03.mdl",
- "models/taggart/police01/male_04.mdl",
- "models/taggart/police01/male_05.mdl",
- "models/taggart/police01/male_06.mdl",
- "models/taggart/police01/male_07.mdl",
- "models/taggart/police01/male_08.mdl",
- "models/taggart/police01/male_09.mdl"
- },
- description = [[Sierżant jest wyższą rangą policjanta.]],
- weapons = {"fas2_glock20", "policebadge", "weapon_stungun", "fas2_mp5sd6"},
- command = "sierzant",
- max = 0,
- salary = 400,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Other",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(100)
- end
- })
- TEAM_POL_2 = DarkRP.createJob("Policjant", {
- color = Color(34, 85, 85, 255),
- model = {
- "models/taggart/police01/male_01.mdl",
- "models/taggart/police01/male_02.mdl",
- "models/taggart/police01/male_03.mdl",
- "models/taggart/police01/male_04.mdl",
- "models/taggart/police01/male_05.mdl",
- "models/taggart/police01/male_06.mdl",
- "models/taggart/police01/male_07.mdl",
- "models/taggart/police01/male_08.mdl",
- "models/taggart/police01/male_09.mdl"
- },
- description = [[Policjant pilnuje porządku w mieście, składa się on z wielu innych rang.]],
- weapons = {"fas2_glock20", "weapon_stungun", "policebadge"},
- command = "policjant",
- max = 0,
- salary = 400,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Other",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(100)
- end
- })
- TEAM_POL_1 = DarkRP.createJob("Kadet", {
- color = Color(34, 85, 85, 255),
- model = {
- "models/taggart/police01/male_01.mdl",
- "models/taggart/police01/male_02.mdl",
- "models/taggart/police01/male_03.mdl",
- "models/taggart/police01/male_04.mdl",
- "models/taggart/police01/male_05.mdl",
- "models/taggart/police01/male_06.mdl",
- "models/taggart/police01/male_07.mdl",
- "models/taggart/police01/male_08.mdl",
- "models/taggart/police01/male_09.mdl"
- },
- description = [[Ranga przyznawana na początku drogi Policjanta]],
- weapons = {},
- command = "kadet",
- max = 0,
- salary = 250,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Other",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end
- })
- TEAM_CITIZEN = DarkRP.createJob("Obywatel", {
- color = Color(0, 255, 0, 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/female_07.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 = [[Obywatel to najniższa osoba w społeczeństwie. Może zatrudnić się w jakimś biznesie lub pracować dorywczo.]],
- weapons = {},
- command = "325235342441346547567657543423123`12",
- max = 0,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_KEBAB = DarkRP.createJob("Pracownik (Donger kebab)", {
- color = Color(0, 255, 0, 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/female_07.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 = [[Pracujesz dorywczo w Donger Kebab.]],
- weapons = {},
- command = "3252353424413465475672345678987654312",
- max = 3,
- salary = 0,
- admin = 0,
- cook = true,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_MAFIA1 = DarkRP.createJob("Mafia", {
- color = Color(214, 133, 41, 255),
- model = {
- "models/player/humans/suits1/male_01.mdl",
- "models/player/humans/suits1/male_02.mdl",
- "models/player/humans/suits1/male_03.mdl",
- "models/player/humans/suits1/male_04.mdl",
- "models/player/humans/suits1/male_05.mdl",
- "models/player/humans/suits1/male_06.mdl"
- },
- description = [[Mafia]],
- weapons = {},
- command = "wertyuijopcfv",
- max = 0,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_MAFIA2 = DarkRP.createJob("Szef Mafii", {
- color = Color(160, 96, 24, 255),
- model = {
- "models/player/humans/suits1/male_01.mdl",
- "models/player/humans/suits1/male_02.mdl",
- "models/player/humans/suits1/male_03.mdl",
- "models/player/humans/suits1/male_04.mdl",
- "models/player/humans/suits1/male_05.mdl",
- "models/player/humans/suits1/male_06.mdl"
- },
- description = [[Szef mafii]],
- weapons = {},
- command = "qertyuiouyjshtgrf",
- max = 1,
- salary = 1000,
- admin = 0,
- vote = false,
- hasLicense = false,
- 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_POL_1] = true,
- [TEAM_POL_2] = true,
- [TEAM_POL_3] = true,
- [TEAM_POL_4] = true,
- [TEAM_POL_5] = true,
- [TEAM_POL_6] = true,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement