Gaming Discussions

Garry's Mod How to create a server

Submitted by Fabio, , Thread ID: 27402

Thread Closed

RE: How to create a server

#17
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
})

Users browsing this thread: 2 Guest(s)