Advertisement
Guest User

definitivo, creo

a guest
Apr 16th, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 11.12 KB | None | 0 0
  1. /*---------------------------------------------------------------------------
  2. DarkRP custom jobs
  3. ---------------------------------------------------------------------------
  4.  
  5. This file contains your custom jobs.
  6. This file should also contain jobs from DarkRP that you edited.
  7.  
  8. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  9.         Once you've done that, copy and paste the job to this file and edit it.
  10.  
  11. The default jobs can be found here:
  12. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  13.  
  14. For examples and explanation please visit this wiki page:
  15. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  16.  
  17.  
  18. Add jobs under the following line:
  19. ---------------------------------------------------------------------------*/
  20.  
  21. TEAM_VIOLA = DarkRP.createJob("Violador", {
  22.        color = Color(120, 0, 93, 255),
  23.        model = "models/player/Group03/Male_06.mdl",
  24.        description = [[Eres un violador, tu vida consta de violar personas en lugares ocultos, sin que nadie te vea.]],
  25.        weapons = {"weapon_fists", "weapon_rape", "m9k_knife"},
  26.        command = "violador",
  27.        max = 2,
  28.        salary = 20,
  29.        admin = 0,
  30.        vote = false,
  31.        hasLicense = false,
  32.        candemote = false,
  33. })
  34.  
  35. TEAM_HOBOLEADER = AddExtraTeam("Comandante de los vagabundos", {
  36.       color = Color(80, 45, 0, 255),
  37.       model = "models/player/husk/slow.mdl",
  38.       description = [[El lider de las personas del nivel mas bajo de la sociedad.
  39.                Lidera a tus vagabundos y toma todo el sistema de cloacas!
  40.                PS! Necesitas ser un vagabuno antes de ser el lider de ellos!]],              
  41.       weapons = {"weapon_bugbait","weapon_fists","spiderman's_swep"},
  42.       command = "reyvago",
  43.       max = 1,
  44.       salary = 55,
  45.       admin = 0,
  46.       vote = false,
  47.       hasLicense = false,
  48.       customCheck = function(ply) return CLIENT or (ply:GetUserGroup() == "vip" or ply:IsAdmin()) end,
  49.       CustomCheckFailMsg = "Necesitas ser VIP.",
  50. })
  51.  
  52. TEAM_SWAT = AddExtraTeam("S.W.A.T", {
  53.       color = Color(20, 20, 255, 255),
  54.       model = "models/player/swat.mdl",
  55.       description = [[Eres la elite de la proteccion ciudadana, tu trabajo es asistir al ayanamiento cuando haya una orden de cateo o toma de rehenes]],
  56.       weapons = {"weapon_fists","arrest_stick","stunstick","unarrest_stick", "stunstick", "door_ram", "weaponchecker","m9k_mp7","m9k_m92beretta"},
  57.       command = "swat",
  58.       max = 5,
  59.       salary = 75,
  60.       admin = 0,                                            
  61.       vote = true,
  62.       hasLicense = true,
  63. })
  64.  
  65. TEAM_SWATSNIP = AddExtraTeam("S.W.A.T Sniper", {
  66.       color = Color(20, 20, 255, 255),
  67.       model = "models/combine_sniper_2.mdl",
  68.       description = [[Tu trabajo es tomar posicion y esperar ordes para disparar a tu objetivo.]],
  69.       weapons = {"weapon_fists","arrest_stick","stunstick","unarrest_stick", "stunstick", "door_ram", "weaponchecker","m9k_m24","m9k_m92beretta"},
  70.       command = "swatsniper",
  71.       max = 5,
  72.       salary = 85,
  73.       admin = 0,
  74.       vote = true,
  75.       hasLicense = true,
  76.       customCheck = function(ply) return (ply:GetUserGroup() == "vip" or ply:IsAdmin()) end,
  77.                CustomCheckFailMsg = "Necesitas ser VIP.",
  78. })
  79.  
  80. TEAM_SWATLEAD = AddExtraTeam("Lider S.W.A.T", {
  81.       color = Color(0, 0, 102, 255),
  82.       model = "models/player/css/ct_gsg9.mdl",                          
  83.       description = [[Tu trabajo es liderar el grupo SWAT, armar una estrategia para acabar con los criminales sin que nadie salga herido.]],
  84.       weapons = {"weapon_fists","arrest_stick","stunstick","unarrest_stick", "stunstick", "door_ram", "weaponchecker","m9k_honeybadger","m9k_m92beretta"},
  85.       command = "liderswat",
  86.       max = 1,
  87.       salary = 100,
  88.       admin = 0,
  89.       vote = true,
  90.       hasLicense = true,
  91.       NeedToChangeFrom = TEAM_SWAT,
  92. })
  93.  
  94. TEAM_MAYORA = AddExtraTeam("Asistente del Gobernador", {
  95.       color = Color(204, 253, 0, 255),
  96.       model = "models/player/mossman.mdl",
  97.       description = [[Tu trabajo es cuidar del Gobernador y atender sus necesidades.]],
  98.       weapons = {"weapon_fists","m9k_usp"},
  99.       command = "asistente",
  100.       max = 1,
  101.       salary = 70,
  102.       admin = 0,
  103.       vote = true,
  104.       hasLicense = true,
  105. })
  106.  
  107. TEAM_DRUG = AddExtraTeam("Vendedor de drogas", {
  108.       color = Color(0, 51, 0, 255),
  109.       model = "models/player/Eli.mdl",
  110.       description = [[El legendario vendedor de drogas, vendes drogas legales e ilegales. Cuidado, que no te atrapen vendiendo de estas ultimas!]],
  111.       weapons = {"weapon_fists"},
  112.       command = "vendedor de drogas",
  113.       max = 1,
  114.       salary = 45,
  115.       admin = 0,
  116.       vote = false,
  117.       hasLicense = true,
  118. })
  119.  
  120. TEAM_BODYGUARD = AddExtraTeam("Guardia de seguridad", {
  121.       color = Color(255, 204, 0, 255),
  122.       model = "models/player/odessa.mdl",
  123.       description = [[Tu trabajo es proteger a quien te paga, ya sea el mismo o su propiedad.]],
  124.       weapons = {"weapon_fists","m9k_usp","taser","stunstick"},
  125.       command = "seguridad",
  126.       max = 4,
  127.       salary = 75,
  128.       admin = 0,
  129.       vote = false,
  130.       hasLicense = true,
  131. })
  132.  
  133. TEAM_VOCALIST = AddExtraTeam("Cantante", {
  134.       color = Color(255, 51, 255, 255),
  135.       model = "models/player/Barney.mdl",
  136.       description = [[Puede pasar musica por el microfono, sin spamear!]],
  137.       weapons = {"weapon_fists"},
  138.       command = "cantante",
  139.       max = 1,
  140.       salary = 65,
  141.       admin = 0,
  142.       vote = true,
  143.       hasLicense = false,
  144. })
  145.  
  146. TEAM_HITMAN = AddExtraTeam("Asesino", {
  147.       color = Color(0, 0, 0, 255),
  148.       model = "models/player/leet.mdl",
  149.       description = [[Eres un asesino, te pagan para que asesines personas. Asegurate de que este bien muerto]],
  150.       weapons = {"weapon_fists","m9k_contender","lockpick","keypad_cracker","m9k_m92beretta"},
  151.       command = "asesino",
  152.       max = 1,
  153.       salary = 85,
  154.       admin = 0,
  155.       vote = true,
  156.       hasLicense = true,
  157. })
  158.  
  159. TEAM_THIEF = AddExtraTeam("Ladron", {
  160.       color = Color(128, 128, 128, 255),
  161.       model = "models/player/arctic.mdl",
  162.       description = [[Eres un ladron debes robar para sobrevivir. Cuidado que no te atrapen con las manos en la masa!]],
  163.       weapons = {"weapon_fists","lockpick","keypad_cracker"},
  164.       command = "ladron",
  165.       max = 6,
  166.       salary = 70,
  167.       admin = 0,
  168.       vote = false,
  169.       hasLicense = false,
  170. })
  171.  
  172. TEAM_MASTER = AddExtraTeam("Ladron Maestro", {
  173.       color = Color(128, 128, 128, 255),
  174.       model = "models/player/lordvipes/mgs/solid_snake/solid_snake_playermodel_cvp.mdl",
  175.       description = [[Tienes mas experiencia que los otros ladrones.]],
  176.       weapons = {"weapon_fists","lockpick","m9k_deagle","keypad_cracker"},
  177.       command = "ladronmaestro",
  178.       max = 2,
  179.       salary = 85,
  180.       admin = 0,
  181.       vote = true,
  182.       hasLicense = false,
  183. })
  184.  
  185. TEAM_UBER = AddExtraTeam("Ladron Supremo", {
  186.       color = Color(204, 204, 204, 255),
  187.       model = "models/player/lordvipes/mgs/solid_snake/solid_snake_playermodel_cvp.mdl",
  188.       description = [[Eres el maestro de todos los ladrones! ]],
  189.       weapons = {"weapon_fists","spiderman's_swep","lockpick","keypad_cracker"},
  190.       command = "ladronsup",
  191.       max = 1,
  192.       salary = 100,
  193.       admin = 0,
  194.       vote = false,
  195.       hasLicense = false,
  196.       customCheck = function(ply) return (ply:GetUserGroup() == "vip" or ply:IsAdmin()) end,
  197.                CustomCheckFailMsg = "Necesitas ser VIP.",
  198. })
  199.  
  200. TEAM_EXECUTOR = AddExtraTeam("Ejecutor", {
  201.       color = Color(51, 0, 0, 255),
  202.       model = "models/player/mass effect 2/inferno_armour.mdl.mdl",
  203.       description = [[Mayor nivel que un asesino, enviado a realizar trabajos mas sucios]],
  204.       weapons = {"weapon_fists","m9k_barret_m82","lockpick","m9k_knife"},
  205.       command = "Ejecutor",
  206.       max = 2,
  207.       salary = 85,
  208.       admin = 0,
  209.       vote = false,
  210.       hasLicense = false,
  211.       customCheck = function(ply) return (ply:GetUserGroup() == "vip" or ply:IsAdmin()) end,
  212.                CustomCheckFailMsg = "Necesitas ser VIP.",
  213. })
  214.  
  215. TEAM_BOUNCERS = AddExtraTeam("Patovica", {
  216.       color = Color(127, 0, 55, 105),
  217.       model = "models/player/vin_diesel/slow.mdl",
  218.       description = [[Te pagan para pararte en la puerta y decir quien entra y quien no]],
  219.       weapons = {"weapon_fists","m9k_dbarrel","m9k_knife"},
  220.       command = "patovica",
  221.       max = 2,
  222.       salary = 80,
  223.       admin = 0,
  224.       vote = false,
  225.       hasLicense = false,
  226.       customCheck = function(ply) return (ply:GetUserGroup() == "vip" or ply:IsAdmin()) end,
  227.                CustomCheckFailMsg = "Necesitas ser VIP.",
  228. })
  229.  
  230. TEAM_CLUB = AddExtraTeam("Dueño del Club", {
  231.       color = Color(255, 102, 0, 105),
  232.       model = "models/player/css/t_leet.mdl",
  233.       description = [[Eres el dueño del club, contrata seguridad y a quien pueda proveer la fiesta!]],
  234.       weapons = {"weapon_fists","m9k_knife"},
  235.       command = "club",
  236.       max = 2,
  237.       salary = 90,
  238.       admin = 0,
  239.       vote = false,
  240.       hasLicense = false,
  241. })
  242.  
  243. TEAM_AMMO = AddExtraTeam("Vendedor de Municion", {
  244.       color = Color(255, 51, 0, 105),
  245.       model = "models/player/leet.mdl",
  246.       description = [[Vendes la municion para aquellas armas que ya no tienen.]],
  247.       weapons = {"weapon_fists","m9k_knife"},
  248.       command = "ammo",
  249.       max = 2,
  250.       salary = 80,
  251.       admin = 0,
  252.       vote = false,
  253.       hasLicense = false,
  254. })
  255.  
  256. TEAM_RARA = AddExtraTeam("Vendedor de elementos raros", {
  257.       color = Color(0, 102, 102, 105),
  258.       model = "models/player/kleiner.mdl",
  259.       description = [[Vendes items variados y raros, armas nunca vistas, items nunca vistos.]],
  260.       weapons = {"weapon_fists","m9k_knife"},
  261.       command = "raros",
  262.       max = 1,
  263.       salary = 50,
  264.       admin = 0,
  265.       vote = true,
  266.       hasLicense = false,
  267. })
  268.  
  269.  
  270. /*---------------------------------------------------------------------------
  271. Define which team joining players spawn into and what team you change to if demoted
  272. ---------------------------------------------------------------------------*/
  273. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  274.  
  275.  
  276. /*---------------------------------------------------------------------------
  277. Define which teams belong to civil protection
  278. Civil protection can set warrants, make people wanted and do some other police related things
  279. ---------------------------------------------------------------------------*/
  280. GAMEMODE.CivilProtection = {
  281.        [TEAM_POLICE] = true,
  282.        [TEAM_CHIEF] = true,
  283.        [TEAM_MAYOR] = true,
  284.     [TEAM_SWAT] = true,
  285.        [TEAM_SWATSNIP] = true,
  286.        [TEAM_MAYORLEAD] = true,
  287. }
  288.  
  289. /*---------------------------------------------------------------------------
  290. Jobs that are hitmen (enables the hitman menu)
  291. ---------------------------------------------------------------------------*/
  292. DarkRP.addHitmanTeam(TEAM_HITMAN)
  293. DarkRP.addHitmanTeam(TEAM_EXECUTOR)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement