Gaming Discussions

Garry's Mod How to create a server

Submitted by Fabio, , Thread ID: 27402

Thread Closed
Fabio
Closed Account
Level:
0
Reputation:
0
Posts:
51
Likes:
0
Credits:
8
07-01-2017, 11:21 AM
#1
I. I have create a server of Garry's Mod. Now i have a problem.Should I set the work. I always see them in the section, "Other". How do I create inside of the sections where I can add a bunch of jobs? Thanks so much!!! Smile

RE: How to create a server

BucikPRO
Closed Account
Level:
0
Reputation:
-5
Posts:
62
Likes:
11
Credits:
34
07-01-2017, 11:27 AM
#2
darkmodification\lua\darkrp_customthings\categories.lua
create category and put in job
category = "your category",

like it
TEAM_ENGINEER = DarkRP.createJob("SWAT Engineer", {
color = Color(0, 26, 255, 255),
model = "models/payday2/units/heavy_swat_player.mdl",
description = [[SWAT Engineer, Makes Drones and equipment.]],
weapons = {"fas2_glock20", "keypad_cracker", "weaponchecker", "door_ram", "stunstick", "weapon_cuff_police"},
command = "swatengineer",
max = 1,
salary = 225,
admin = 0,
vote = true,
hasLicense = true,
category = "Civil Protection",
PlayerSpawn = function(ply) ply:SetArmor(75) end
})
1

RE: How to create a server

Fabio
Closed Account
Level:
0
Reputation:
0
Posts:
51
Likes:
0
Credits:
8
OP
07-01-2017, 11:29 AM
#3
I see you and let you know. Thank you so much for your help. For if there is a video on the internet that explains it better?

RE: How to create a server

v4hl
Legend
Divine
Level:
14
Reputation:
364
Posts:
6.27K
Likes:
2.19K
Credits:
425
07-01-2017, 07:47 PM
#4
Didn't get it, what do u want exactly !
[Image: xRnLbpm.png]
[Image: Tz6Qsg4.png]

RE: How to create a server

Vargskelethor
Newbie
Level:
0
Reputation:
3
Posts:
16
Likes:
1
Credits:
1
11-01-2017, 07:34 AM
#5
There are a bunch of videos and guides on youtube about it, also google is your friend. Use It

RE: How to create a server

Vanillaface
Newbie
Level:
0
Reputation:
0
Posts:
13
Likes:
0
Credits:
16
11-01-2017, 03:29 PM
#6
You should probably get a coder if you cant even cant even code a job, no offense. Good luck with your server!

RE: How to create a server

Alex_Kati
Junior Member
Prime
Level:
0
Reputation:
8
Posts:
65
Likes:
3
Credits:
0
11-01-2017, 09:39 PM
#7
By trying findout a server on the google in my opinion it's not very recommended for new users, cause you might got a virus. About the server you want try to find tutorials on youtube works, i learned a lot of thinks from old friend youtube Smile

RE: How to create a server

Smelly Sock
Extreme Autism
Prime
Level:
0
Reputation:
7
Posts:
166
Likes:
22
Credits:
95
11-01-2017, 10:07 PM
#8
If you want to "create inside of the sections where I can add a bunch of jobs" just follow the easy steps below.

1: create the category in "addons/darkrpmodification/lua/darkrp_customthings/categories.lua" by putting that in there and changing the values to your liking

Code:
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.
}

2: Then you want to change the job's category by adding the following line into the code (replace "category_name" with the name of the category you created, once a category is made you can use it in as many jobs as you want)

Code:
category = "category_name",

RE: How to create a server

YoutoYokodera
They said I can put new stuff here
Prime
Level:
0
Reputation:
14
Posts:
161
Likes:
17
Credits:
35
11-01-2017, 10:31 PM
#9
I'm on hire for 0,99$
Things aren't just right
They are meant to be wrong

[Image: zik944.jpg]

RE: How to create a server

cute
Married to Yuun
Vixen
Level:
4
Reputation:
50
Posts:
523
Likes:
92
Credits:
1.09K
11-01-2017, 10:35 PM
#10
11-01-2017, 10:31 PM
YoutoYokodera Wrote:
I'm on hire for 0,99$

sweet, what do i get for that?
[Image: ZtDsXXv.png]

Users browsing this thread: 1 Guest(s)