Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DarkRP.createCategory{
- name = "Prisoner",
- categorises = "jobs",
- startExpanded = true,
- color = Color(5, 255, 0, 255),
- canSee = function(ply) return table.HasValue({TEAM_PRISONER}, ply:Team()) end,
- sortOrder = 1
- DarkRP.createCategory{
- name = "Guards",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 117, 255, 255),
- canSee = function(ply) return table.HasValue({TEAM_WARDEN, TEAM_PRISONGUARD, TEAM_VIPSNIPER, TEAM_VIPHEAVY, TEAM_WARDENGUARD}, ply:Team()) end,
- sortOrder = 2
- }
- DarkRP.createCategory{
- name = "Outsider",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 0, 0, 255),
- canSee = function(ply) return table.HasValue({TEAM_BMD}, ply:Team()) end,
- sortOrder = 3
- }
- DarkRP.createCategory{
- name = "Staff",
- categorises = "jobs",
- startExpanded = true,
- color = Color(255, 245, 0, 255),
- canSee = function(ply) return table.HasValue({"T-Mod", "Mod", "admin", "S-Admin", "superadmin"}, ply:GetNWString("usergroup")) end,
- sortOrder = 4
- }
- TEAM_BMD = DarkRP.createJob("Black Market Dealer", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/leet.mdl"},
- description = [[Deal Weapons To The Prisoner's And Stay Away From The Guards.]],
- weapons = {"m9k_hk45"},
- command = "blackmarket",
- max = 2,
- salary = 50,
- admin = 0,
- vote = true,
- hasLicense = false,
- candemote = true,
- category = "Outsider"
- })
- TEAM_SOD = DarkRP.createJob("Staff On Duty", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/combine_super_soldier.mdl"},
- description = [[Your on Black and Hugo's staff team, You are expected highly of when using SOD, Dont role-play as this job, Answer SIT's and deal with rule breakers, Enough said!]],
- weapons = {},
- command = "sod",
- max = 0,
- salary = 0,
- admin = 1,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Staff",
- customCheck = function(ply) return CLIENT or
- table.HasValue({"T-Mod", "Mod", "admin", "S-Admin", "superadmin"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This Job Is Staff Only!",
- })
- TEAM_WARDEN = DarkRP.createJob("Warden", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/breen.mdl"},
- description = [[You are Responsible For the Prison, Take control With an Iron Fist or A Soft Touch.
- Decide if the prison gets more free time or jail time it's up to you.
- ]],
- weapons = {"m9k_hk45", "{arrest_stick", "unarrest_stick", "stunstick", "handcuffs"},
- command = "Warden",
- max = 1,
- salary = 50,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- category = "Guards",
- mayor = true,
- ammo = {
- ["pistol"] = 100
- },
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "The Warden Has Died")
- end
- })
- TEAM_PRISONGUARD = DarkRP.createJob("PrisonGuard", {
- color = Color(17, 0, 34, 255),
- model = {"models/player/police.mdl"},
- description = [[You deal with the prisoners 24/7
- Make sure they Don't Escape!
- ]],
- weapons = {"m9k_m92beretta", "m9k_mp5", "arrest_stick", "unarrest_stick", "stunstick", "handcuffs"},
- command = "PrisonGuard",
- max = 0,
- salary = 30,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- category = "Guards",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(20)
- end
- })
- TEAM_PRISONER = DarkRP.createJob("Prisoner", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/Group01/male_09.mdl"},
- description = [[You Are The Prisoner Try to Escape And Create A new life for yourself]],
- weapons = {},
- command = "Prisoner",
- max = 0,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Prisoner"
- })
- TEAM_VIPSNIPER = DarkRP.createJob("VIP Sniper",
- color = Color(0, 41, 255, 255),
- model = {"models/player/riot.mdl"},
- description = [[This is a VIP Job
- Watch the outside of the prison and stop Prisoners Trying to escape]],
- weapons = {"m9k_aw50", "arrest_stick", "unarrest_stick", "stunstick", "handcuffs", "m9k_m16a4_acog"},
- command = "Sniper",
- max = 4,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Guards",
- customCheck = function(ply) return
- table.HasValue({"STEAM_1:0:130154758", "STEAM_0:1:61367775"}, ply:SteamID())
- end,
- CustomCheckFailMsg = "This Job is For Donaters Only",
- })
- TEAM_VIPHEAVY = DarkRP.createJob("VIP Heavy", {
- color = Color(0, 26, 255, 255),
- model = {"models/player/swat.mdl"},
- description = [[You are the person they call in if there is a riot
- ]],
- weapons = {"arrest_stick", "unarrest_stick", "stunstick", "handcuffs", "m9k_ares_shrike"},
- command = "Heavy",
- max = 2,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Guards",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(200)
- ply:SetHealth(200)
- ply:SetArmor(100)
- end,
- customCheck = function(ply) return
- table.HasValue({" Diamond vip"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This job is donator only",
- TEAM_WARDENGUARD = DarkRP.createJob("Warden's Guard", {
- color = Color(48, 36, 176, 255),
- model = {"models/player/gasmask.mdl"},
- description = [[Protect The Mayor With Your Life, Always Stay By His Side.
- Roaming without the mayor will lead to an instant demotion!]],
- weapons = {"m9k_usas"},
- command = "wardenguard",
- max = 2,
- salary = 100,
- admin = 0,
- vote = true,
- hasLicense = false,
- candemote = true,
- category = "Guards"
- })
- TEAM_HIERARCHY = DarkRP.createJob("Hierarchy - OOC", {
- color = Color(0, 0, 0, 255),\
- model = {
- "models/player/Group01/male_07.mdl",
- "models/player/Group01/female_01.mdl"
- },
- description = [[You are Hierarchy, The Highest of them all!]],
- weapons = {},
- command = "Hierarchy",
- max = 0,
- salary = 0,
- admin = 2,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Staff",
- customCheck = function(ply) return CLIENT or
- table.HasValue({"superadmin"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This Job Is Superadmin Only!",
- })
- GAMEMODE.DefaultTeam = {Team_Prisoner}
- GAMEMODE.CivilProtection = {
- [TEAM_WARDEN] = true
- [Team_PRISONGUARD] = True
- [TEAM_VIPHEAVY] = true
- [TEAM_VIPSNIPER] = true
- [TEAM_WARDENGUARD] = true
- }
Advertisement
Add Comment
Please, Sign In to add comment