Advertisement
Guest User

lua error

a guest
Jul 22nd, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 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.  
  22.  
  23. TEAM_ADMIN = DarkRP.createJob("SuperAdmin On Duty", {
  24. color = Color(80, 45, 0, 255),
  25. model = "models/player/combine_super_soldier.mdl",
  26. description = [[Du er en superadmin, du skal s�rge for at tage dig af admin sager og hj�lpe folk!]],
  27. weapons = {"arrest_stick", "unarrest_stick", "weapon_keypadchecker", "weaponchecker", "lockpick", "weapon_crowbar", "stunstick", "door_ram"},
  28. command = "superadmin",
  29. max = 50,
  30. salary = 200,
  31. admin = 2,
  32. vote = false,
  33. hasLicense = true,
  34. })
  35.  
  36.  
  37. -- 0 Alle 1 Admin 2 Superadmin --
  38.  
  39.  
  40. TEAM_ADMIN = DarkRP.createJob("Admin On Duty", {
  41. color = Color(80, 45, 0, 255),
  42. model = "models/player/combine_super_soldier.mdl",
  43. description = [[Du er en admin, du skal s�rge for at tage dig af admin sager og hj�lpe folk!]],
  44. weapons = {"arrest_stick", "unarrest_stick", "weapon_keypadchecker", "weaponchecker"},
  45. command = "admin",
  46. max = 100,
  47. salary = 100,
  48. admin = 1,
  49. vote = false,
  50. hasLicense = true,
  51. })
  52.  
  53.  
  54.  
  55. --[[---------------------------------------------------------------------------
  56. Define which team joining players spawn into and what team you change to if demoted
  57. ---------------------------------------------------------------------------]]
  58. darkrp.DefaultTeam = TEAM_CITIZEN
  59.  
  60.  
  61. --[[---------------------------------------------------------------------------
  62. Define which teams belong to civil protection
  63. Civil protection can set warrants, make people wanted and do some other police related things
  64. ---------------------------------------------------------------------------]]
  65. darkrp.CivilProtection = {
  66. [TEAM_POLICE] = true,
  67. [TEAM_CHIEF] = true,
  68. [TEAM_MAYOR] = true,
  69. }
  70.  
  71. --[[---------------------------------------------------------------------------
  72. Jobs that are hitmen (enables the hitman menu)
  73. ---------------------------------------------------------------------------]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement