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!
- ---------------------------------------------------------------------------]]
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "Police Department",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 56, 255, 255),
- canSee = function(ply) return true end,
- sortOrder = 19
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "Road Side Assistance",
- categorises = "jobs",
- startExpanded = true,
- color = Color(255, 248, 24, 255),
- canSee = function(ply) return true end,
- sortOrder = 20
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "Gruppe 6",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 255, 7, 255),
- canSee = function(ply) return true end,
- sortOrder = 18
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "General Public",
- categorises = "jobs",
- startExpanded = true,
- color = Color(255, 255, 255, 255),
- canSee = function(ply) return true end,
- sortOrder = 1
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "Criminals",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 0, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 2
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "Hospital",
- categorises = "jobs",
- startExpanded = true,
- color = Color(255, 0, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 0
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "Road Side Assistance",
- categorises = "entities",
- startExpanded = true,
- color = Color(255, 244, 0, 255),
- canSee = function(ply) return table.HasValue({mechanic}, ply:Team()) end,
- sortOrder = 2
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "Ammo",
- categorises = "entities",
- startExpanded = true,
- color = Color(255, 0, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 1
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "FBI",
- categorises = "jobs",
- startExpanded = true,
- color = Color(255, 243, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 25
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "DEA",
- categorises = "jobs",
- startExpanded = true,
- color = Color(255, 244, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 26
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "Pistols",
- categorises = "shipments",
- startExpanded = true,
- color = Color(255, 255, 255, 255),
- canSee = function(ply) return true end,
- sortOrder = 1
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "Shotguns",
- categorises = "shipments",
- startExpanded = true,
- color = Color(255, 255, 255, 255),
- canSee = function(ply) return true end,
- sortOrder = 2
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "Rifles",
- categorises = "shipments",
- startExpanded = true,
- color = Color(255, 255, 255, 255),
- canSee = function(ply) return true end,
- sortOrder = 3
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "Explosives",
- categorises = "shipments",
- startExpanded = true,
- color = Color(255, 255, 255, 255),
- canSee = function(ply) return true end,
- sortOrder = 5
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "Automatics",
- categorises = "shipments",
- startExpanded = true,
- color = Color(255, 255, 255, 255),
- canSee = function(ply) return true end,
- sortOrder = 4
- }
- --[[
- Generated using: DarkRP | Category Generator
- https://csite.io/tools/gmod-darkrp-category
- --]]
- DarkRP.createCategory{
- name = "Heroin",
- categorises = "entities",
- startExpanded = true,
- color = Color(255, 255, 255, 255),
- canSee = function(ply) return true end,
- sortOrder = 30
- }
- DarkRP.createCategory{
- name = "Meth",
- categorises = "entities",
- startExpanded = true,
- color = Color(255, 255, 255, 255),
- canSee = function(ply) return true end,
- sortOrder = 30
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement