Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[-----------------------------------------------------------------------
- Categories
- ---------------------------------------------------------------------------
- The categories of the default F4 menu.
- Please read this page for more information:
- http://wiki.darkrp.com/index.php/DarkRP:Categories
- In case that page can't be reached, here's an example with explanation:
- DarkRP.createCategory{
- name = "Citizens", -- The name of the category.
- categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
- startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
- color = Color(0, 107, 0, 255), -- The color of the category header.
- canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
- 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.
- }
- Add new categories under the next line!
- ---------------------------------------------------------------------------]]
- DarkRP.createCategory{
- name = "Force Sensitive",
- categorises = "jobs",
- startExpanded = true,
- color = Color(11, 39, 201, 255),
- canSee = function(ply) return true end,
- sortOrder = 0
- }
- DarkRP.createCategory{
- name = "Jedi",
- categorises = "jobs",
- startExpanded = true,
- color = Color(8, 224, 16, 255),
- canSee = function(ply) return true end,
- sortOrder = 1
- }
- DarkRP.createCategory{
- name = "Jedi Council Members",
- categorises = "jobs",
- startExpanded = true,
- color = Color(8, 224, 16, 255),
- canSee = function(ply) return true end,
- sortOrder = 2
- }
- DarkRP.createCategory{
- name = "Sith",
- categorises = "jobs",
- startExpanded = true,
- color = Color(232, 10, 10, 255),
- canSee = function(ply) return true end,
- sortOrder = 3
- }
- DarkRP.createCategory{
- name = "Dark Council Members",
- categorises = "jobs",
- startExpanded = true,
- color = Color(232, 10, 10, 255),
- canSee = function(ply) return true end,
- sortOrder = 4
- }
- DarkRP.createCategory{
- name = "Sith Guards",
- categorises = "jobs",
- startExpanded = true,
- color = Color(232, 10, 10, 255),
- canSee = function(ply) return true end,
- sortOrder = 5
- }
- DarkRP.createCategory{
- name = "Sith Assassins",
- categorises = "jobs",
- startExpanded = true,
- color = Color(232, 10, 10, 255),
- canSee = function(ply) return true end,
- sortOrder = 6
- }
- DarkRP.createCategory{
- name = "Eternal's Royal Family",
- categorises = "jobs",
- startExpanded = true,
- color = Color(212, 14, 192, 255),
- canSee = function(ply) return true end,
- sortOrder = 10
- }
- DarkRP.createCategory{
- name = "Jedi Temple Guards",
- categorises = "jobs",
- startExpanded = true,
- color = Color(212, 14, 192, 255),
- canSee = function(ply) return true end,
- sortOrder = 12
- }
Add Comment
Please, Sign In to add comment