fork download
  1. TEAM_MOD = DarkRP.createJob("Mod On Duty", {
  2. color = Color(170, 0, 0, 255),
  3. model = "models/player/combine_soldier_prisonguard.mdl",
  4. description = [[Being a mod requires a great responsibility, when you become this job you have to take
  5. your job as a mod serious, and help the ones who is in need of a mod.]],
  6. weapons = {"arrest_stick", "unarrest_stick"},
  7. command = "modonduty",
  8. max = 0,
  9. salary = 100,
  10. admin = 0,
  11. vote = false,
  12. hasLicense = false,
  13.  
  14. })
  15.  
  16. TEAM_HMOD = DarkRP.createJob("Head-Mod On Duty", {
  17. color = Color(170, 0, 0, 255),
  18. model = "models/player/combine_soldier_prisonguard.mdl",
  19. description = [[Being a Head mod requires a great responsibility, when you become this job you have to take
  20. your job as a Head Mod serious and teach other moderators common sense, and help the ones who is in need of a mod in general.]],
  21. weapons = {"arrest_stick", "unarrest_stick"},
  22. command = "hmodonduty",
  23. max = 0,
  24. salary = 100,
  25. admin = 0,
  26. vote = false,
  27. hasLicense = false,
  28.  
  29. })
  30.  
  31. TEAM_ADMIN = DarkRP.createJob("Admin On Duty", {
  32. color = Color(170, 0, 0, 255),
  33. model = "models/player/combine_soldier.mdl",
  34. description = [[Being an admin requires a great responsibility, when you become this job you have to take
  35. your job as an admin serious, and help the ones who is in need of an admin.]],
  36. weapons = {},
  37. command = "adminonduty",
  38. max = 0,
  39. salary = 100,
  40. admin = 1,
  41. vote = false,
  42. hasLicense = false,
  43.  
  44. })
  45.  
  46. TEAM_HADMIN = DarkRP.createJob("H-Admin On Duty", {
  47. color = Color(170, 0, 0, 255),
  48. model = "models/player/combine_soldier.mdl",
  49. description = [[Being a head admin requires a great responsibility, when you become this job you have to take
  50. your job as an admin serious, and help the ones who is in need of an admin.]],
  51. weapons = {},
  52. command = "hadminonduty",
  53. max = 0,
  54. salary = 200,
  55. admin = 1,
  56. vote = false,
  57. hasLicense = false,
  58.  
  59. })
  60.  
  61. TEAM_SADMIN = DarkRP.createJob("S-Admin On Duty", {
  62. color = Color(170, 0, 0, 255),
  63. model = "models/player/combine_super_soldier.mdl",
  64. description = [[Being a super admin requires a great responsibility, when you become this job you have to take
  65. your job as an admin serious, and help the ones who is in need of a superadmin.]],
  66. weapons = {"arrest_stick", "unarrest_stick"},
  67. command = "sadminonduty",
  68. max = 0,
  69. salary = 100,
  70. admin = 2,
  71. vote = false,
  72. hasLicense = false,
  73.  
  74. })
  75.  
Runtime error #stdin #stdout #stderr 0s 14120KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
lua5.3: prog.lua:1: attempt to index a nil value (global 'DarkRP')
stack traceback:
	prog.lua:1: in main chunk
	[C]: in ?