Advertisement
Guest User

Untitled

a guest
May 9th, 2014
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. DarkRP custom jobs
  2. ---------------------------------------------------------------------------
  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.  
  17. Add jobs under the following line:
  18. ---------------------------------------------------------------------------*/
  19.  
  20. TEAM_CUSTOMJOB = DarkRP.createJob("Custom Job", {
  21. color = Color(255, 0, 0),
  22. model "models/player/gman_high/mdl",
  23. description = [{Custom Job.}],
  24. weapons = {"weapon_ak472"},
  25. command = "customjob",
  26. max = 2,
  27. salary = 20,
  28. admin = 0,
  29. vote = false
  30. hasLicense = false,
  31. }}
  32.  
  33.  
  34. /*--------------------------------------
  35. Define which team joining players spawn into and what team you change to if demoted
  36. ---------------------------------------------------------------------------*/
  37. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  38.  
  39.  
  40. /*---------------------------------------------------------------------------
  41. Define which teams belong to civil protection
  42. Civil protection can set warrants, make people wanted and do some other police related things
  43. ---------------------------------------------------------------------------*/
  44. GAMEMODE.CivilProtection = {
  45. [TEAM_POLICE] = true,
  46. [TEAM_CHIEF] = true,
  47. [TEAM_MAYOR] = true,
  48. }
  49.  
  50. /*---------------------------------------------------------------------------
  51. Jobs that are hitmen (enables the hitman menu)
  52. ---------------------------------------------------------------------------*/
  53. DarkRP.addHitmanTeam(TEAM_MOB)
  54. [/lua]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement