Advertisement
Guest User

Hitman Problem

a guest
Sep 2nd, 2014
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  21.    color = Color(143, 71, 71, 255),
  22.    model = "models/player/alyx.mdl",
  23.    description = [[Kill people and get money at the same time!]],
  24.    weapons = {"m9k_deagle"},
  25.    command = "hitman",
  26.    max = 2,
  27.    salary = 50,
  28.    admin = 0,
  29.    vote = true,
  30.    hasLicense = false,
  31.     })
  32.  
  33.     TEAM_ADMIN = DarkRP.createJob("Admin On Duty", {
  34.    color = Color(5, 255, 5, 255),
  35.    model = "models/player/breen.mdl",
  36.    description = [[Let people recognize you]],
  37.    weapons = {"weapon_keypadchecker", "arrest_stick", "door_ram", "keys", "stunstick", "unarrest_stick", "weaponchecker",},
  38.    command = "Admin",
  39.    max = 20,
  40.    salary = 1000000,
  41.    admin = 1,
  42.    vote = false,
  43.    hasLicense = true,
  44.  })
  45. TEAM_ADMIN = DarkRP.createJob("Thief In Law ", {
  46.    color = Color(0, 0, 0, 255),
  47.    model = "models/player/breen.mdl",
  48.    description = [[The Leader of the Russian Mafia ]],
  49.    weapons = {"weapon_ak472","lockpick"},
  50.    command = "ThiefInLaw",
  51.    max = 20,
  52.    salary = 1000000,
  53.    admin = 1,
  54.    vote = false,
  55.    hasLicense = false,
  56.     })
  57.  
  58. /*---------------------------------------------------------------------------
  59. Define which team joining players spawn into and what team you change to if demoted
  60. ---------------------------------------------------------------------------*/
  61. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  62.  
  63.  
  64. /*---------------------------------------------------------------------------
  65. Define which teams belong to civil protection
  66. Civil protection can set warrants, make people wanted and do some other police related things
  67. ---------------------------------------------------------------------------*/
  68. GAMEMODE.CivilProtection = {
  69.     [TEAM_POLICE] = true,
  70.     [TEAM_CHIEF] = true,
  71.     [TEAM_MAYOR] = true,     [TEAM_SWAT] = true,}
  72.  
  73. /*---------------------------------------------------------------------------
  74. Jobs that are hitmen (enables the hitman menu)
  75. ---------------------------------------------------------------------------*/
  76. DarkRP.addHitmanTeam(TEAM_ADMIN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement