Advertisement
Guest User

Jobs.lua

a guest
Aug 30th, 2014
452
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.16 KB | None | 0 0
  1. /*---------------------------------------------------------------------------
  2. DarkRP custom jobs
  3. ---------------------------------------------------------------------------
  4. This file contains your custom jobs.
  5. This file should also contain jobs from DarkRP that you edited.
  6. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  7. Once you've done that, copy and paste the job to this file and edit it.
  8. The default jobs can be found here:
  9. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  10. For examples and explanation please visit this wiki page:
  11. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  12. Add jobs under the following line:
  13. ---------------------------------------------------------------------------*/
  14. TEAM_TLEADER = DarkRP.CreateJob("Terrorist Leader", Color(255, 51, 0), "models/player/guerilla.mdl", [[You\'re a Terrorist Leader Lead your terrorist and bomb up shit with them]], {"m9k_rpg7","m9k_vikhr"}, "tleader", 0, 35, 1, false, false, false)
  15. function(ply) return table.HasValue({"donator", "V.I.P", "admin", "superadmin", "operator"}, ply:GetUserGroup() == "donator")) end
  16. CustomCheckFailMsg = "This job is VIP only!"
  17. })
  18.  
  19.  
  20. TEAM_STERRORIST = DarkRP.CreateJob("Super Terrorist", Color(255, 51, 0), "models/player/guerilla.mdl", [[You\'re a Super Terrorist Help your Terrorist do terroristy stuff]], {"m9k_pkm","lockpick","m9k_suicide_bomb"}, "sterrorist", 1, 45, 0, false, false, false)
  21. function(ply) return table.HasValue({"donator", "V.I.P", "admin", "superadmin", "operator"}, ply:GetUserGroup() == "donator")) end
  22. CustomCheckFailMsg = "This job is VIP only!"
  23. })
  24.  
  25.  
  26. TEAM_TERRORIST = DarkRP.CreateJob("Terrorist", Color(255, 51, 0), "models/player/guerilla.mdl", [[You\'re a Terrorist Follow your Leader and make Allah Proud]], {"m9k_vikhr","m9k_ragingbull"}, "terrorist", 3, 35, 0, true, false, false)
  27.  
  28.  
  29. TEAM_SWAT = DarkRP.CreateJob("S.W.A.T", Color(0, 0, 255), "models/player/riot.mdl", [[You\'re a S.W.A.T Take orders from your Leader and Help Cops Defend the City]], {"m9k_m92beretta","m9k_g36","door_ram","weaponchecker"}, "swat", 3, 75, 0, true, false, false)
  30.  
  31. TEAM_SUPPORT = DarkRP.CreateJob("S.W.A.T Support", Color(0, 0, 255), "models/player/riot.mdl", [[You\'re a S.W.A.T Support You bring in medium Fire on the base\'s that police is raiding]], {"m9k_smgp90","door_ram","weaponchecker","m9k_glock"}, "support", 2, 65, 0,
  32.  
  33.  
  34. TEAM_SMEDIC = DarkRP.CreateJob("S.W.A.T Medic", Color(0, 0, 255), "models/player/gasmask.mdl", [[You\'re a Swat Medic Heal your Fellow S.W.A.T Members and follow your Leaders Command]], {"m9k_m92beretta","m9k_mossberg590","door_ram","weaponchecker"}, "smedic", 3, 65, 0, true, false, false)
  35.  
  36. TEAM_TEAMLEADER = DarkRP.CreateJob("S.W.A.T Team Leader", Color(0, 0, 255), "models/player/police.mdl", [[You\'re a S.W.A.T Team Leader Command your swat and Defend the city]], {"door_ram","weaponcehcker","m9k_m92beretta","m9k_l85"}, "teamleader", 1, 75, 0, true, false, false)
  37.  
  38.  
  39. TEAM_SNIPER = DarkRP.CreateJob("S.W.A.T Sniper", Color(0, 0, 255), "models/player/police.mdl", [[You\'re a S.W.A.T Sniper take orders from your Leader and snipe out the criminals]], {"m9k_aw50","m9k_glock","door_ram","weaponchecker"}, "sniper", 3, 75, 0, true, false, false)
  40. function(ply) return table.HasValue({"donator", "V.I.P", "admin", "superadmin", "operator"}, ply:GetUserGroup() == "donator")) end
  41. CustomCheckFailMsg = "This job is VIP only!"
  42. })
  43.  
  44.  
  45. TEAM_HITMAN = DarkRP.CreateJob("Hitman", Color(204, 102, 0), "models/player/leet.mdl", [[You\'re a Hitman Take Hits From Persons and Kill them with your gun]], {"m9k_colt1911"}, "hitman", 3, 45, 0, false, false, false)
  46.  
  47.  
  48. TEAM_THIEF = DarkRP.CreateJob("Thief", Color(255, 0, 0), "models/player/Phoenix.mdl", [[You\'re a thief break into peaple\'s home and steal their good stuff]], {"lockpick"}, "thief", 5, 45, 0, false, false, false)
  49.  
  50. TEAM_VIGELANTE = DarkRP.CreateJob("Vigelante", Color(51, 204, 0), "models/player/group01/male_01.mdl", [[You\'re a Vigelante take crime in your own hands ]], {"lockpick","m9k_uzi"}, "vigelante", 1, 65, 0, true, false, false)
  51.  
  52.  
  53. TEAM_MASTERTHIEF = DarkRP.CreateJob("Master Thief", Color(255, 0, 0), "models/player/artic.mdl", [[You\'re a Proffesional Thief Mutch better then normal thiefs Raid peaple houses kill them and steal there house]], {"m9k_tec9","lockpick"}, "masterthief", 3, 55, 0, false, false, false)
  54. function(ply) return table.HasValue({"donator", "V.I.P", "admin", "superadmin", "operator"}, ply:GetUserGroup() == "donator")) end
  55. CustomCheckFailMsg = "This job is VIP only!"
  56. })
  57.  
  58.  
  59. TEAM_NAZI = DarkRP.CreateJob("Nazi", Color(0, 153, 0), "models/player/dod_german.mdl", [[You\'re a Nazi Take Orders from your Nazi Leader You can Raid the PD and mug]], {"m9k_luger","m9k_mp40"}, "nazi", 5, 45, 0, false, false, false)
  60.  
  61. TEAM_NAZILEADER = DarkRP.CreateJob("Nazi Leader", Color(0, 153, 0), "models/player/dod_german.mdl", [[You\'re the Nazi Leader Command your Nazi\'s and Take down the goverment]], {"m9k_mp40","m9k_luger","m9k_m79gl"}, "nazileader", 1, 55, 0, false, false, false)
  62. function(ply) return table.HasValue({"donator", "vip", "admin", "superadmin", "operator"}, ply:GetUserGroup() == "donator")) end
  63. CustomCheckFailMsg = "This job is VIP only!"
  64. })
  65.  
  66. TEAM_ABDUCTOR = DarkRP.CreateJob("Abductor", Color(0, 255, 102), "models/player/hostage04.mdl", [[You\'re a Abductor Kidnap peaple and sell them or give them]], {"m9k_coltpython"}, "abductor", 1, 55, 0, true, false, false)
  67.  
  68. /*---------------------------------------------------------------------------
  69. Define which team joining players spawn into and what team you change to if demoted
  70. ---------------------------------------------------------------------------*/
  71.  
  72.  
  73. /*---------------------------------------------------------------------------
  74. Define which teams belong to civil protection
  75. Civil protection can set warrants, make people wanted and do some other police related things
  76. ---------------------------------------------------------------------------*/
  77. /*---------------------------------------------------------------------------
  78. Jobs that are hitmen (enables the hitman menu)
  79. ---------------------------------------------------------------------------*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement