Advertisement
Guest User

Untitled

a guest
Jun 26th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. --[[-----------------------------------------------------------------------
  2. Categories
  3. ---------------------------------------------------------------------------
  4. The categories of the default F4 menu.
  5.  
  6. Please read this page for more information:
  7. http://wiki.darkrp.com/index.php/DarkRP:Categories
  8.  
  9. In case that page can't be reached, here's an example with explanation:
  10.  
  11. DarkRP.createCategory{
  12. name = "Citizens", -- The name of the category.
  13. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  14. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  15. color = Color(0, 107, 0, 255), -- The color of the category header.
  16. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  17. sortOrder = 100, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
  18. }
  19.  
  20.  
  21. Add new categories under the next line!
  22. ---------------------------------------------------------------------------]]
  23. DarkRP.createCategory{
  24. name = "5th Marine Regiment",
  25. categorises = "jobs",
  26. startExpanded = false,
  27. color = Color(19, 78, 12, 255),
  28. canSee = function(ply) return true end,
  29. sortOrder = 1,
  30. }
  31.  
  32. DarkRP.createCategory{
  33. name = "337th Field Artillery Regiment",
  34. categorises = "jobs",
  35. startExpanded = false,
  36. color = Color(91, 75, 38, 255),
  37. canSee = function(ply) return true end,
  38. sortOrder = 3,
  39. }
  40.  
  41. DarkRP.createCategory{
  42. name = "25th Aviation Regiment",
  43. categorises = "jobs",
  44. startExpanded = false,
  45. color = Color(91, 75, 38, 255),
  46. canSee = function(ply) return true end,
  47. sortOrder = 4,
  48. }
  49.  
  50. DarkRP.createCategory{
  51. name = "Green Berets",
  52. categorises = "jobs",
  53. startExpanded = false,
  54. color = Color(37, 64, 54, 255),
  55. canSee = function(ply) return true end,
  56. sortOrder = 6,
  57. }
  58.  
  59. DarkRP.createCategory{
  60. name = "Navy Seals",
  61. categorises = "jobs",
  62. startExpanded = false,
  63. color = Color(37, 64, 54, 255),
  64. canSee = function(ply) return true end,
  65. sortOrder = 6,
  66. }
  67.  
  68. DarkRP.createCategory{
  69. name = "Military Police",
  70. categorises = "jobs",
  71. startExpanded = false,
  72. color = Color(37, 64, 54, 255),
  73. canSee = function(ply) return true end,
  74. sortOrder = 6,
  75. }
  76.  
  77. DarkRP.createCategory{
  78. name = "17th Reconnaissance Regiment",
  79. categorises = "jobs",
  80. startExpanded = false,
  81. color = Color(37, 98, 31, 255),
  82. canSee = function(ply) return true end,
  83. sortOrder = 7,
  84. }
  85.  
  86. DarkRP.createCategory{
  87. name = "Non Enlisted Jobs",
  88. categorises = "jobs",
  89. startExpanded = false,
  90. color = Color(165, 85, 150, 180),
  91. canSee = function(ply) return true end,
  92. sortOrder = 10,
  93. }
  94.  
  95. DarkRP.createCategory{
  96. name = "38th Medical Division",
  97. categorises = "jobs",
  98. startExpanded = false,
  99. color = Color(1, 5, 10, 1),
  100. canSee = function(ply) return true end,
  101. sortOrder = 11,
  102. }
  103.  
  104. DarkRP.createCategory{
  105. name = "Rangers",
  106. categorises = "jobs",
  107. startExpanded = false,
  108. color = Color(1, 3, 4, 4),
  109. canSee = function(ply) return true end,
  110. sortOrder = 13,
  111. }
  112.  
  113. DarkRP.createCategory{
  114. name = "Joint Operations Command",
  115. categorises = "jobs",
  116. startExpanded = false,
  117. color = Color(145, 3, 47, 4),
  118. canSee = function(ply) return true end,
  119. sortOrder = 14,
  120. }
  121.  
  122. DarkRP.createCategory{
  123. name = "Joint Task Force 2",
  124. categorises = "jobs",
  125. startExpanded = false,
  126. color = Color(145, 3, 47, 4),
  127. canSee = function(ply) return true end,
  128. sortOrder = 14,
  129. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement