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 = 70, -- 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 = "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 = 70, -- 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.
- }
- DarkRP.createCategory{
- name = "VIP Jobs",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 107, 158, 255),
- canSee = function(ply) return true end,
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 107, 158, 255),
- canSee = function(ply) return true end,
- sortOrder = 1,
- }
- DarkRP.createCategory{
- name = "East Side Gang",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 107, 158, 255),
- canSee = function(ply) return true end,
- sortOrder = 3,
- }
- DarkRP.createCategory{
- name = "West Side Gang",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 107, 158, 255),
- canSee = function(ply) return true end,
- sortOrder = 4,
- }
- DarkRP.createCategory{
- name = "Police",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 107, 158, 255),
- canSee = function(ply) return true end,
- sortOrder = 5,
- }
- DarkRP.createCategory{
- name = "Criminals",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 2,
- }
- DarkRP.createCategory{
- name = "Staff",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 107, 158, 255),
- canSee = function(ply) return true end,
- sortOrder = 99,
- }
- ---------[[ Entities ]]---------
- DarkRP.createCategory{
- name = "Printers",
- categorises = "entities",
- startExpanded = true,
- color = Color(255, 241, 0),
- canSee = function(ply) return true end,
- sortOrder = 1,
- }
- DarkRP.createCategory{
- name = "Assault Rifles",
- categorises = "shipments",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 1
- }
- DarkRP.createCategory{
- name = "Machine Guns",
- categorises = "shipments",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 6
- }
- DarkRP.createCategory{
- name = "Sniper Rifles",
- categorises = "shipments",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 4
- }
- DarkRP.createCategory{
- name = "Semi Automatic Weapons",
- categorises = "shipments",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 2
- }
- DarkRP.createCategory{
- name = "Shotguns",
- categorises = "shipments",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 3
- }
- DarkRP.createCategory{
- name = "Pistols",
- categorises = "shipments",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 5
- }
- DarkRP.createCategory{
- name = "Printers",
- categorises = "entities",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 1
- }
- DarkRP.createCategory{
- name = "Drugs",
- categorises = "entities",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 2
- }
- DarkRP.createCategory{
- name = "Assault Rifles",
- categorises = "weapons",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 3
- }
- DarkRP.createCategory{
- name = "Shotguns",
- categorises = "weapons",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 4
- }
- DarkRP.createCategory{
- name = "Sniper Rifles",
- categorises = "weapons",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 5
- }
- DarkRP.createCategory{
- name = "Machine Guns",
- categorises = "weapons",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 6
- }
- DarkRP.createCategory{
- name = "SMG",
- categorises = "weapons",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 2
- }
- DarkRP.createCategory{
- name = "Pistols",
- categorises = "weapons",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 1
- }
- DarkRP.createCategory{
- name = "Special",
- categorises = "weapons",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 7
- }
- DarkRP.createCategory{
- name = "Black Market",
- categorises = "weapons",
- startExpanded = true,
- color = Color(0, 107, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 1
- }
- DarkRP.createCategory{
- name = "Vapes",
- categorises = "entities",
- startExpanded = true,
- color = Color(23, 150, 16),
- canSee = function(ply) return true end,
- sortOrder = 1
- }
- DarkRP.createCategory{
- name = "Vapes",
- categorises = "shipments",
- color = Color(23, 150, 16),
- startExpanded = true,
- canSee = function(ply) return true end,
- sortOrder = 1
- }
- DarkRP.createCategory{
- name = "Tools",
- categorises = "entities",
- color = Color(23, 150, 16),
- startExpanded = true,
- canSee = function(ply) return true end,
- sortOrder = 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement