Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.62 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. CITOYEN = DarkRP.createJob("Citoyen", {
  20. color = Color(0, 0, 0, 255),
  21. model = {"models/player/zelpa/male_04.mdl"},
  22. description = [[]],
  23. weapons = {},
  24. command = "citoyen",
  25. max = 0,
  26. salary = 23,
  27. admin = 0,
  28. vote = false,
  29. hasLicense = false,
  30. candemote = false,
  31. category = "Civil",
  32. skins = {4,5,6},
  33. bodygroups = {
  34. ["torso"] = {0,2,3},
  35. ["legs"] = {0,1,2,3,4,5},
  36. ["beanies"] = {0,1,2},
  37. ["glasses"] = {0,1},
  38. },
  39.  
  40. armorbodygroups = {
  41. ["torso"] = { {0,10},{1,20}, {2,30} },
  42. ["legs"] = {{0,12},{1,13},{2,14}},
  43. }
  44. })
  45.  
  46. POMPIER = DarkRP.createJob("Pompier", {
  47. color = Color(255, 0, 0, 255),
  48. model = {"models/darkley/sapeur_p01.mdl","models/player/portal/male_02_fireman.mdl"},
  49. description = [[Le pompier est une personne entraînée à combattre le feu et à offrir une gamme de secours de diverses natures (inondations, accidents, sauvetages, secours et assistance à personnes, etc.). Sa mission principale est de protéger les personnes, les biens et l'environnement.]],
  50. weapons = {},
  51. command = "pompier",
  52. max = 0,
  53. salary = 39,
  54. admin = 0,
  55. vote = false,
  56. hasLicense = false,
  57. candemote = false,
  58. category = "Services Publics"
  59. })
  60.  
  61. MEDECIN = DarkRP.createJob("Médecin", {
  62. color = Color(255, 0, 0, 255),
  63. model = {"models/player/Group03m/female_01.mdl"},
  64. description = [[Le médecin est un professionnel de la santé, il soigne les maladies, pathologies et blessures.]],
  65. weapons = {},
  66. command = "médecin",
  67. max = 0,
  68. salary = 105,
  69. admin = 0,
  70. vote = false,
  71. hasLicense = false,
  72. candemote = false,
  73. category = "Services Publics"
  74. })
  75.  
  76. GARDIENDELAPAIX = DarkRP.createJob("Gardien de la paix", {
  77. color = Color(255, 0, 0, 255),
  78. model = {"models/player/mouss/pn_01.mdl"},
  79. description = [[Le Gardien de la paix à pour missions la garantie des libertés individuelles et collectives, la défense des institutions du gouvernement, le maintien de la paix et de l'ordre public et la protection des personnes et des biens.]],
  80. weapons = {},
  81. command = "gdlp",
  82. max = 5,
  83. salary = 60,
  84. admin = 0,
  85. vote = false,
  86. hasLicense = true,
  87. candemote = false,
  88. category = "Services Publics"
  89. })
  90.  
  91. GENDARME = DarkRP.createJob("Gendarme", {
  92. color = Color(255, 0, 0, 255),
  93. model = {"models/player/Group03m/female_01.mdl"},
  94. description = [[Le gendarme, est un militaire chargé de la sécurité, de constater les infractions à la loi pénale, d'en rassembler les preuves et d'en rechercher les auteurs, de prévenir les troubles à l'ordre public et d'assurer la sécurité et l'application des lois au sein de son organisme]],
  95. weapons = {},
  96. command = "gendarme",
  97. max = 5,
  98. salary = 38,
  99. admin = 0,
  100. vote = false,
  101. hasLicense = true,
  102. candemote = false,
  103. category = "Services Publics"
  104. })
  105. --[[---------------------------------------------------------------------------
  106. Define which team joining players spawn into and what team you change to if demoted
  107. ---------------------------------------------------------------------------]]
  108. GAMEMODE.DefaultTeam = CITOYEN
  109. --[[---------------------------------------------------------------------------
  110. Define which teams belong to civil protection
  111. Civil protection can set warrants, make people wanted and do some other police related things
  112. ---------------------------------------------------------------------------]]
  113. GAMEMODE.CivilProtection = {
  114. [TEAM_POLICE] = true,
  115. [TEAM_CHIEF] = true,
  116. [TEAM_MAYOR] = true,
  117. }
  118. --[[---------------------------------------------------------------------------
  119. Jobs that are hitmen (enables the hitman menu)
  120. ---------------------------------------------------------------------------]]
  121. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement