Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.12 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.  
  7. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  8.       Once you've done that, copy and paste the job to this file and edit it.
  9.  
  10. The default jobs can be found here:
  11. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  12.  
  13. For examples and explanation please visit this wiki page:
  14. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  15.  
  16. Add your custom jobs under the following line:
  17. ---------------------------------------------------------------------------]]
  18.  
  19. TEAM_Staatsbeamte = DarkRP.createJob("Polizei", {
  20.     color = Color(19, 4, 209, 255),
  21.     model = {"models/zac/player/met_police_officer_02.mdl"},
  22.     description = [[Die Polizei beschützt die Stadt ]],
  23.     weapons = {"arrest_stick", "unarrest_stick", "door_ram", "weaponchecker", "stunstick", "m9k_sig_p229r", "cuff", "stungun"},
  24.     command = "/polizei",
  25.     max = 8,
  26.     salary = 800,
  27.     admin = ,
  28.     vote = ,
  29.     hasLicense = ,
  30.     candemote = ,
  31.     category = "Staatsbeamte",
  32.     PlayerSpawn = function(ply)
  33.         ply:SetArmor(200)
  34.     end
  35. })
  36.  
  37. })---------------------------------------------------------------------------]]
  38. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  39. --[[---------------------------------------------------------------------------
  40. Define which teams belong to civil protection
  41. Civil protection can set warrants, make people wanted and do some other police related things
  42. ---------------------------------------------------------------------------]]
  43. GAMEMODE.CivilProtection = {
  44.     [TEAM_POLICE] = true,
  45.     [TEAM_CHIEF] = true,
  46.     [TEAM_MAYOR] = true,
  47. }
  48. --[[---------------------------------------------------------------------------
  49. Jobs that are hitmen (enables the hitman menu)
  50. ---------------------------------------------------------------------------]]
  51. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement