Advertisement
Guest User

VeX gaming Categories

a guest
Mar 29th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.82 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.  
  24. DarkRP.createCategory{
  25.     name = "Cadet",
  26.     categorises = "jobs",
  27.     startExpanded = true,
  28.     color = Color(115, 104, 104, 255),
  29.     canSee = function(ply) return true end,
  30.     sortOrder = 1
  31. }
  32.  
  33.  
  34. DarkRP.createCategory{
  35.     name = "Clone Troopers",
  36.     categorises = "jobs",
  37.     startExpanded = true,
  38.     color = Color(158, 102, 102, 255),
  39.     canSee = function(ply) return true end,
  40.     sortOrder = 2
  41. }
  42.  
  43.  
  44. DarkRP.createCategory{
  45.     name = "Fleet",
  46.     categorises = "jobs",
  47.     startExpanded = true,
  48.     color = Color(0, 37, 138, 255),
  49.     canSee = function(ply) return true end,
  50.     sortOrder = 3
  51. }
  52.  
  53.  
  54. DarkRP.createCategory{
  55.     name = "Jedi",
  56.     categorises = "jobs",
  57.     startExpanded = true,
  58.     color = Color(41, 107, 3, 255),
  59.     canSee = function(ply) return true end,
  60.     sortOrder = 4
  61. }
  62.  
  63.  
  64. DarkRP.createCategory{
  65.     name = "501st ",
  66.     categorises = "jobs",
  67.     startExpanded = true,
  68.     color = Color(1, 22, 122, 255),
  69.     canSee = function(ply) return true end,
  70.     sortOrder = 5
  71. }
  72.  
  73. DarkRP.createCategory{
  74.     name = "ARC",
  75.     categorises = "jobs",
  76.     startExpanded = true,
  77.     color = Color(92, 87, 7, 255),
  78.     canSee = function(ply) return true end,
  79.     sortOrder = 6
  80. }
  81.  
  82. DarkRP.createCategory{
  83.     name = "Republic Commandos",
  84.     categorises = "jobs",
  85.     startExpanded = true,
  86.     color = Color(34, 85, 85, 255),
  87.     canSee = function(ply) return true end,
  88.     sortOrder = 7
  89. }
  90.  
  91. DarkRP.createCategory{
  92.     name = "41st",
  93.     categorises = "jobs",
  94.     startExpanded = true,
  95.     color = Color(61, 87, 3, 255),
  96.     canSee = function(ply) return true end,
  97.     sortOrder = 8
  98. }
  99.  
  100. DarkRP.createCategory{
  101.     name = "Staff",
  102.     categorises = "jobs",
  103.     startExpanded = false,
  104.     color = Color(166, 166, 166, 255),
  105.     canSee = function(ply) return true end,
  106.     sortOrder = 9
  107. }
  108.  
  109. DarkRP.createCategory{
  110.     name = "327th",
  111.     categorises = "jobs",
  112.     startExpanded = false,
  113.     color = Color(99, 81, 10, 255),
  114.     canSee = function(ply) return true end,
  115.     sortOrder = 10
  116. }
  117.  
  118. DarkRP.createCategory{
  119.     name = "Medical Corps",
  120.     categorises = "jobs",
  121.     startExpanded = false,
  122.     color = Color(171, 161, 161, 255),
  123.     canSee = function(ply) return true end,
  124.     sortOrder = 12
  125. }
  126.  
  127. DarkRP.createCategory{
  128.     name = "5th Fleet Security",
  129.     categorises = "jobs",
  130.     startExpanded = true,
  131.     color = Color(132, 194, 232, 255),
  132.     canSee = function(ply) return true end,
  133.     sortOrder = 13
  134. }
  135.  
  136. DarkRP.createCategory{
  137.     name = "Doom Company",
  138.     categorises = "jobs",
  139.     startExpanded = false,
  140.     color = Color(11, 92, 13, 255),
  141.     canSee = function(ply) return true end,
  142.     sortOrder = 16
  143. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement