Gaming Discussions
Garry's Mod How to create a server
Submitted by Fabio, 07-01-2017, 11:21 AM, Thread ID: 27402
Thread Closed
RE: How to create a server
19-01-2017, 10:57 PM
#18 Hey I am not sure if this has been answered, but here's exactly what you need/want if it hasn't.
Firstly, go to darkrpmodifcation master, lua, addons, customthings, categories. Open that up and paste this:
DarkRP.createCategory{
name = "Brony", -- The name of the category. So let's say your job has category called "My name is jeff". You put "My name is Jeff" here.
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.
}
TEAM_PONY = DarkRP.createJob("Pony", { --Pony
color = Color(255, 0, 191, 255),
model = {"models/applejack_player.mdl", "models/bonbon_player.mdl", "models/celestia_player.mdl", "models/colgate_player.mdl", "models/daringdoo_player.mdl", "models/derpyhooves_player.mdl", "models/fluttershy_player.mdl", "models/luna_player.mdl", "models/lyra_player.mdl", "models/octavia_player.mdl", "models/pinkiepie_player.mdl", "models/princesstwilight_player.mdl", "models/rainbowdash_player.mdl", "models/raindrops_player.mdl", "models/rarity_player.mdl", "models/roseluck_player.mdl", "models/spitfire_player.mdl", "models/trixie_player.mdl", "models/twilightsparkle_player.mdl", "models/vinyl_player.mdl", "models/player_chibiterasu.mdl"},
description = [[Pony!!]],
weapons = {"sfw_eblade", "flight_swep", "weapon_arc_atmcard", "orbital_friendship_beam"},
command = "pony",
max = 10,
salary = 175,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = "Brony",
})
---------------
See so your job category = Brony here... then make your new category called "Brony"... Yeah?
Firstly, go to darkrpmodifcation master, lua, addons, customthings, categories. Open that up and paste this:
DarkRP.createCategory{
name = "Brony", -- The name of the category. So let's say your job has category called "My name is jeff". You put "My name is Jeff" here.
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.
}
TEAM_PONY = DarkRP.createJob("Pony", { --Pony
color = Color(255, 0, 191, 255),
model = {"models/applejack_player.mdl", "models/bonbon_player.mdl", "models/celestia_player.mdl", "models/colgate_player.mdl", "models/daringdoo_player.mdl", "models/derpyhooves_player.mdl", "models/fluttershy_player.mdl", "models/luna_player.mdl", "models/lyra_player.mdl", "models/octavia_player.mdl", "models/pinkiepie_player.mdl", "models/princesstwilight_player.mdl", "models/rainbowdash_player.mdl", "models/raindrops_player.mdl", "models/rarity_player.mdl", "models/roseluck_player.mdl", "models/spitfire_player.mdl", "models/trixie_player.mdl", "models/twilightsparkle_player.mdl", "models/vinyl_player.mdl", "models/player_chibiterasu.mdl"},
description = [[Pony!!]],
weapons = {"sfw_eblade", "flight_swep", "weapon_arc_atmcard", "orbital_friendship_beam"},
command = "pony",
max = 10,
salary = 175,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = "Brony",
})
---------------
See so your job category = Brony here... then make your new category called "Brony"... Yeah?
Users browsing this thread: 6 Guest(s)