Advertisement
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 = "Cadet",
- categorises = "jobs",
- startExpanded = true,
- color = Color(115, 104, 104, 255),
- canSee = function(ply) return true end,
- sortOrder = 1
- }
- DarkRP.createCategory{
- name = "Clone Troopers",
- categorises = "jobs",
- startExpanded = true,
- color = Color(158, 102, 102, 255),
- canSee = function(ply) return true end,
- sortOrder = 2
- }
- DarkRP.createCategory{
- name = "Fleet",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 37, 138, 255),
- canSee = function(ply) return true end,
- sortOrder = 3
- }
- DarkRP.createCategory{
- name = "Jedi",
- categorises = "jobs",
- startExpanded = true,
- color = Color(41, 107, 3, 255),
- canSee = function(ply) return true end,
- sortOrder = 4
- }
- DarkRP.createCategory{
- name = "501st ",
- categorises = "jobs",
- startExpanded = true,
- color = Color(1, 22, 122, 255),
- canSee = function(ply) return true end,
- sortOrder = 5
- }
- DarkRP.createCategory{
- name = "ARC",
- categorises = "jobs",
- startExpanded = true,
- color = Color(92, 87, 7, 255),
- canSee = function(ply) return true end,
- sortOrder = 6
- }
- DarkRP.createCategory{
- name = "Republic Commandos",
- categorises = "jobs",
- startExpanded = true,
- color = Color(34, 85, 85, 255),
- canSee = function(ply) return true end,
- sortOrder = 7
- }
- DarkRP.createCategory{
- name = "41st",
- categorises = "jobs",
- startExpanded = true,
- color = Color(61, 87, 3, 255),
- canSee = function(ply) return true end,
- sortOrder = 8
- }
- DarkRP.createCategory{
- name = "Staff",
- categorises = "jobs",
- startExpanded = false,
- color = Color(166, 166, 166, 255),
- canSee = function(ply) return true end,
- sortOrder = 9
- }
- DarkRP.createCategory{
- name = "327th",
- categorises = "jobs",
- startExpanded = false,
- color = Color(99, 81, 10, 255),
- canSee = function(ply) return true end,
- sortOrder = 10
- }
- DarkRP.createCategory{
- name = "Medical Corps",
- categorises = "jobs",
- startExpanded = false,
- color = Color(171, 161, 161, 255),
- canSee = function(ply) return true end,
- sortOrder = 12
- }
- DarkRP.createCategory{
- name = "5th Fleet Security",
- categorises = "jobs",
- startExpanded = true,
- color = Color(132, 194, 232, 255),
- canSee = function(ply) return true end,
- sortOrder = 13
- }
- DarkRP.createCategory{
- name = "Doom Company",
- categorises = "jobs",
- startExpanded = false,
- color = Color(11, 92, 13, 255),
- canSee = function(ply) return true end,
- sortOrder = 16
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement