Buffet_Time

Untitled

May 21st, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. --[[-----------------------------------------------------------------------
  2. Categories
  3. ---------------------------------------------------------------------------
  4. The categories of the default F4 menu.
  5. Please read this page for more information:
  6. http://wiki.darkrp.com/index.php/DarkRP:Categories
  7. In case that page can't be reached, here's an example with explanation:
  8. DarkRP.createCategory{
  9. name = "Citizens", -- The name of the category.
  10. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  11. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  12. color = Color(0, 107, 0, 255), -- The color of the category header.
  13. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  14. 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.
  15. }
  16. Add new categories under the next line!
  17. ---------------------------------------------------------------------------]]
  18.  
  19. DarkRP.createCategory{
  20. name = "Shotguns",
  21. categorises = "shipments",
  22. startExpanded = true,
  23. color = Color(0, 107, 0, 255),
  24. canSee = fp{fn.Id, true},
  25. sortOrder = 101,
  26. }
  27.  
  28. DarkRP.createCategory{
  29. name = "Black Market",
  30. categorises = "shipments",
  31. startExpanded = true,
  32. color = Color(0, 107, 0, 255),
  33. canSee = fp{fn.Id, true},
  34. sortOrder = 102,
  35. }
  36.  
  37. DarkRP.createCategory{
  38. name = "Drugs",
  39. categorises = "shipments",
  40. startExpanded = true,
  41. color = Color(0, 107, 0, 255),
  42. canSee = fp{fn.Id, true},
  43. sortOrder = 103,
  44. }
  45.  
  46. DarkRP.createCategory{
  47. name = "Machine Guns",
  48. categorises = "shipments",
  49. startExpanded = true,
  50. color = Color(0, 107, 0, 255),
  51. canSee = fp{fn.Id, true},
  52. sortOrder = 104,
  53. }
  54.  
  55. DarkRP.createCategory{
  56. name = "Snipers",
  57. categorises = "shipments",
  58. startExpanded = true,
  59. color = Color(0, 107, 0, 255),
  60. canSee = fp{fn.Id, true},
  61. sortOrder = 105,
  62. }
  63.  
  64. DarkRP.createCategory{
  65. name = "Assault Rifles",
  66. categorises = "shipments",
  67. startExpanded = true,
  68. color = Color(0, 107, 0, 255),
  69. canSee = fp{fn.Id, true},
  70. sortOrder = 106,
  71. }
  72.  
  73. DarkRP.createCategory{
  74. name = "Pistols",
  75. categorises = "shipments",
  76. startExpanded = true,
  77. color = Color(0, 107, 0, 255),
  78. canSee = fp{fn.Id, true},
  79. sortOrder = 107,
  80. }
Add Comment
Please, Sign In to add comment