Advertisement
Guest User

Untitled

a guest
Aug 16th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.23 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 = "Cadet",
  25. categorises = "jobs",
  26. startExpanded = true,
  27. color = Color(255, 255, 255),
  28. canSee = fp{fn.Id, true},
  29. sortOrder = 1,
  30. }
  31.  
  32. DarkRP.createCategory{
  33. name = "Донат профессии",
  34. categorises = "jobs",
  35. startExpanded = true,
  36. color = Color(255, 255, 255),
  37. canSee = fp{fn.Id, true},
  38. sortOrder = 2,
  39. }
  40.  
  41. DarkRP.createCategory{
  42. name = "CT",
  43. categorises = "jobs",
  44. startExpanded = true,
  45. color = Color(255, 255, 255),
  46. canSee = fp{fn.Id, true},
  47. sortOrder = 3,
  48. }
  49.  
  50. DarkRP.createCategory{
  51. name = "501",
  52. categorises = "jobs",
  53. startExpanded = true,
  54. color = Color(255, 255, 255),
  55. canSee = fp{fn.Id, true},
  56. sortOrder = 4,
  57. }
  58.  
  59. DarkRP.createCategory{
  60. name = "41",
  61. categorises = "jobs",
  62. startExpanded = true,
  63. color = Color(255, 255, 255),
  64. canSee = fp{fn.Id, true},
  65. sortOrder = 5,
  66. }
  67.  
  68. DarkRP.createCategory{
  69. name = "Гвардейцы",
  70. categorises = "jobs",
  71. startExpanded = true,
  72. color = Color(255, 255, 255),
  73. canSee = fp{fn.Id, true},
  74. sortOrder = 6,
  75. }
  76.  
  77. DarkRP.createCategory{
  78. name = "Инженеры",
  79. categorises = "jobs",
  80. startExpanded = true,
  81. color = Color(255, 255, 255),
  82. canSee = fp{fn.Id, true},
  83. sortOrder = 7,
  84. }
  85.  
  86. DarkRP.createCategory{
  87. name = "Юнлинги",
  88. categorises = "jobs",
  89. startExpanded = true,
  90. color = Color(255, 255, 255),
  91. canSee = fp{fn.Id, true},
  92. sortOrder = 8,
  93. }
  94.  
  95. DarkRP.createCategory{
  96. name = "Падаваны",
  97. categorises = "jobs",
  98. startExpanded = true,
  99. color = Color(255, 255, 255),
  100. canSee = fp{fn.Id, true},
  101. sortOrder = 8,
  102. }
  103.  
  104. DarkRP.createCategory{
  105. name = "Джедаи",
  106. categorises = "jobs",
  107. startExpanded = true,
  108. color = Color(255, 255, 255),
  109. canSee = fp{fn.Id, true},
  110. sortOrder = 9,
  111. }
  112.  
  113. DarkRP.createCategory{
  114. name = "104",
  115. categorises = "jobs",
  116. startExpanded = true,
  117. color = Color(255, 255, 255),
  118. canSee = fp{fn.Id, true},
  119. sortOrder = 10,
  120. }
  121.  
  122. -------------------------------- AMMO --------------------------------
  123.  
  124. DarkRP.createCategory{
  125. name = "Патроны",
  126. categorises = "ammo",
  127. startExpanded = true,
  128. color = Color(100, 50, 50),
  129. canSee = fp{fn.Id, true},
  130. sortOrder = 1,
  131. }
  132.  
  133. -------------------------------- ENTITIES --------------------------------
  134.  
  135. DarkRP.createCategory{
  136. name = "Предметы",
  137. categorises = "entities",
  138. startExpanded = true,
  139. color = Color(100, 50, 50),
  140. canSee = fp{fn.Id, true},
  141. sortOrder = 1,
  142. }
  143.  
  144. DarkRP.createCategory{
  145. name = "Донатные предметы",
  146. categorises = "entities",
  147. startExpanded = true,
  148. color = Color(100, 50, 50),
  149. canSee = fp{fn.Id, true},
  150. sortOrder = 2,
  151. }
  152.  
  153. -------------------------------- SHIPMENTS --------------------------------
  154.  
  155. DarkRP.createCategory{
  156. name = "Оружие",
  157. categorises = "shipments",
  158. startExpanded = true,
  159. color = Color(100, 50, 50),
  160. canSee = fp{fn.Id, true},
  161. sortOrder = 1,
  162. }
  163.  
  164. DarkRP.createCategory{
  165. name = "Нелегальные предметы",
  166. categorises = "shipments",
  167. startExpanded = true,
  168. color = Color(100, 50, 50),
  169. canSee = fp{fn.Id, true},
  170. sortOrder = 2,
  171. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement