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_VIOLA = DarkRP.createJob("Violador", {
- color = Color(120, 0, 93, 255),
- model = "models/player/Group03/Male_06.mdl",
- description = [[Eres un violador, tu vida consta de violar personas en lugares ocultos, sin que nadie te vea.]],
- weapons = {"weapon_fists", "weapon_rape", "m9k_knife"},
- command = "violador",
- max = 2,
- salary = 20,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- })
- TEAM_HOBOLEADER = AddExtraTeam("Comandante de los vagabundos", {
- color = Color(80, 45, 0, 255),
- model = "models/player/husk/slow.mdl",
- description = [[El lider de las personas del nivel mas bajo de la sociedad.
- Lidera a tus vagabundos y toma todo el sistema de cloacas!
- PS! Necesitas ser un vagabuno antes de ser el lider de ellos!]],
- weapons = {"weapon_bugbait","weapon_fists","spiderman's_swep"},
- command = "reyvago",
- max = 1,
- salary = 55,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return CLIENT or (ply:GetUserGroup() == "vip" or ply:IsAdmin()) end,
- CustomCheckFailMsg = "Necesitas ser VIP.",
- })
- TEAM_SWAT = AddExtraTeam("S.W.A.T", {
- color = Color(20, 20, 255, 255),
- model = "models/player/swat.mdl",
- description = [[Eres la elite de la proteccion ciudadana, tu trabajo es asistir al ayanamiento cuando haya una orden de cateo o toma de rehenes]],
- weapons = {"weapon_fists","arrest_stick","stunstick","unarrest_stick", "stunstick", "door_ram", "weaponchecker","m9k_mp7","m9k_m92beretta"},
- command = "swat",
- max = 5,
- salary = 75,
- admin = 0,
- vote = true,
- hasLicense = true,
- })
- TEAM_SWATSNIP = AddExtraTeam("S.W.A.T Sniper", {
- color = Color(20, 20, 255, 255),
- model = "models/combine_sniper_2.mdl",
- description = [[Tu trabajo es tomar posicion y esperar ordes para disparar a tu objetivo.]],
- weapons = {"weapon_fists","arrest_stick","stunstick","unarrest_stick", "stunstick", "door_ram", "weaponchecker","m9k_m24","m9k_m92beretta"},
- command = "swatsniper",
- max = 5,
- salary = 85,
- admin = 0,
- vote = true,
- hasLicense = true,
- customCheck = function(ply) return (ply:GetUserGroup() == "vip" or ply:IsAdmin()) end,
- CustomCheckFailMsg = "Necesitas ser VIP.",
- })
- TEAM_SWATLEAD = AddExtraTeam("Lider S.W.A.T", {
- color = Color(0, 0, 102, 255),
- model = "models/player/css/ct_gsg9.mdl",
- description = [[Tu trabajo es liderar el grupo SWAT, armar una estrategia para acabar con los criminales sin que nadie salga herido.]],
- weapons = {"weapon_fists","arrest_stick","stunstick","unarrest_stick", "stunstick", "door_ram", "weaponchecker","m9k_honeybadger","m9k_m92beretta"},
- command = "liderswat",
- max = 1,
- salary = 100,
- admin = 0,
- vote = true,
- hasLicense = true,
- NeedToChangeFrom = TEAM_SWAT,
- })
- TEAM_MAYORA = AddExtraTeam("Asistente del Gobernador", {
- color = Color(204, 253, 0, 255),
- model = "models/player/mossman.mdl",
- description = [[Tu trabajo es cuidar del Gobernador y atender sus necesidades.]],
- weapons = {"weapon_fists","m9k_usp"},
- command = "asistente",
- max = 1,
- salary = 70,
- admin = 0,
- vote = true,
- hasLicense = true,
- })
- TEAM_DRUG = AddExtraTeam("Vendedor de drogas", {
- color = Color(0, 51, 0, 255),
- model = "models/player/Eli.mdl",
- description = [[El legendario vendedor de drogas, vendes drogas legales e ilegales. Cuidado, que no te atrapen vendiendo de estas ultimas!]],
- weapons = {"weapon_fists"},
- command = "vendedor de drogas",
- max = 1,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = true,
- })
- TEAM_BODYGUARD = AddExtraTeam("Guardia de seguridad", {
- color = Color(255, 204, 0, 255),
- model = "models/player/odessa.mdl",
- description = [[Tu trabajo es proteger a quien te paga, ya sea el mismo o su propiedad.]],
- weapons = {"weapon_fists","m9k_usp","taser","stunstick"},
- command = "seguridad",
- max = 4,
- salary = 75,
- admin = 0,
- vote = false,
- hasLicense = true,
- })
- TEAM_VOCALIST = AddExtraTeam("Cantante", {
- color = Color(255, 51, 255, 255),
- model = "models/player/Barney.mdl",
- description = [[Puede pasar musica por el microfono, sin spamear!]],
- weapons = {"weapon_fists"},
- command = "cantante",
- max = 1,
- salary = 65,
- admin = 0,
- vote = true,
- hasLicense = false,
- })
- TEAM_HITMAN = AddExtraTeam("Asesino", {
- color = Color(0, 0, 0, 255),
- model = "models/player/leet.mdl",
- description = [[Eres un asesino, te pagan para que asesines personas. Asegurate de que este bien muerto]],
- weapons = {"weapon_fists","m9k_contender","lockpick","keypad_cracker","m9k_m92beretta"},
- command = "asesino",
- max = 1,
- salary = 85,
- admin = 0,
- vote = true,
- hasLicense = true,
- })
- TEAM_THIEF = AddExtraTeam("Ladron", {
- color = Color(128, 128, 128, 255),
- model = "models/player/arctic.mdl",
- description = [[Eres un ladron debes robar para sobrevivir. Cuidado que no te atrapen con las manos en la masa!]],
- weapons = {"weapon_fists","lockpick","keypad_cracker"},
- command = "ladron",
- max = 6,
- salary = 70,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_MASTER = AddExtraTeam("Ladron Maestro", {
- color = Color(128, 128, 128, 255),
- model = "models/player/lordvipes/mgs/solid_snake/solid_snake_playermodel_cvp.mdl",
- description = [[Tienes mas experiencia que los otros ladrones.]],
- weapons = {"weapon_fists","lockpick","m9k_deagle","keypad_cracker"},
- command = "ladronmaestro",
- max = 2,
- salary = 85,
- admin = 0,
- vote = true,
- hasLicense = false,
- })
- TEAM_UBER = AddExtraTeam("Ladron Supremo", {
- color = Color(204, 204, 204, 255),
- model = "models/player/lordvipes/mgs/solid_snake/solid_snake_playermodel_cvp.mdl",
- description = [[Eres el maestro de todos los ladrones! ]],
- weapons = {"weapon_fists","spiderman's_swep","lockpick","keypad_cracker"},
- command = "ladronsup",
- max = 1,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return (ply:GetUserGroup() == "vip" or ply:IsAdmin()) end,
- CustomCheckFailMsg = "Necesitas ser VIP.",
- })
- TEAM_EXECUTOR = AddExtraTeam("Ejecutor", {
- color = Color(51, 0, 0, 255),
- model = "models/player/mass effect 2/inferno_armour.mdl.mdl",
- description = [[Mayor nivel que un asesino, enviado a realizar trabajos mas sucios]],
- weapons = {"weapon_fists","m9k_barret_m82","lockpick","m9k_knife"},
- command = "Ejecutor",
- max = 2,
- salary = 85,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return (ply:GetUserGroup() == "vip" or ply:IsAdmin()) end,
- CustomCheckFailMsg = "Necesitas ser VIP.",
- })
- TEAM_BOUNCERS = AddExtraTeam("Patovica", {
- color = Color(127, 0, 55, 105),
- model = "models/player/vin_diesel/slow.mdl",
- description = [[Te pagan para pararte en la puerta y decir quien entra y quien no]],
- weapons = {"weapon_fists","m9k_dbarrel","m9k_knife"},
- command = "patovica",
- max = 2,
- salary = 80,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return (ply:GetUserGroup() == "vip" or ply:IsAdmin()) end,
- CustomCheckFailMsg = "Necesitas ser VIP.",
- })
- TEAM_CLUB = AddExtraTeam("Dueño del Club", {
- color = Color(255, 102, 0, 105),
- model = "models/player/css/t_leet.mdl",
- description = [[Eres el dueño del club, contrata seguridad y a quien pueda proveer la fiesta!]],
- weapons = {"weapon_fists","m9k_knife"},
- command = "club",
- max = 2,
- salary = 90,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_AMMO = AddExtraTeam("Vendedor de Municion", {
- color = Color(255, 51, 0, 105),
- model = "models/player/leet.mdl",
- description = [[Vendes la municion para aquellas armas que ya no tienen.]],
- weapons = {"weapon_fists","m9k_knife"},
- command = "ammo",
- max = 2,
- salary = 80,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_RARA = AddExtraTeam("Vendedor de elementos raros", {
- color = Color(0, 102, 102, 105),
- model = "models/player/kleiner.mdl",
- description = [[Vendes items variados y raros, armas nunca vistas, items nunca vistos.]],
- weapons = {"weapon_fists","m9k_knife"},
- command = "raros",
- max = 1,
- salary = 50,
- admin = 0,
- vote = true,
- hasLicense = 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,
- [TEAM_SWAT] = true,
- [TEAM_SWATSNIP] = true,
- [TEAM_MAYORLEAD] = true,
- }
- /*---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------*/
- DarkRP.addHitmanTeam(TEAM_HITMAN)
- DarkRP.addHitmanTeam(TEAM_EXECUTOR)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement