Garry's Mod Leaks

DarkRP 2.5.0+ Jobs (Request here)

Submitted by Obitus, , Thread ID: 6848

Thread Closed
Obitus
GMS Team
Level:
0
Reputation:
-1
Posts:
371
Likes:
138
Credits:
2.23K
09-07-2015, 12:31 AM
#1
Pls request Jobs for DarkRP here! I need ideas and I want to help the community..

TEAM_SWAT = DarkRP.createJob("S.W.A.T", {
color = Color(0, 17, 255, 255),
model = {"models/player/swat.mdl", "models/player/gasmask.mdl"},
description = [[This text will serve as the description of
this team.]],
weapons = {"m9k_deagle", "arrest_stick", "unarrest_stick", "weaponchecker", "m9k_acr", "m9k_remington"},
command = "swat",
max = 0.5, -- at most 50% of the players can have this job. Set to a whole number to set an absolute limit.
salary = 150,
admin = 0, -- do you need to be admin to become this job, 0 (no) 1 (yes).
vote = true, -- do you need to be voted to become this job,true (yes) false(no).
hasLicense = true, -- do they have a gun license, true (yes) false (no).
NeedToChangeFrom = {TEAM_CHIEF, TEAM_POLICE} -- what job do you need to be to become this job for single ( = TEAM_POLICE )
customCeck = function(ply) return CLIENT or talbe.HalValue({"superadmin", "donator"}, ply:GetNWString("usergroup")) end,
CustomCheckFailMsg = "Buy the Donator rank to become this job!",
customCheck = function(ply) return ply:getDarkRPVar("money") > 10000 end, -- How much money you need to have to become this job.
CustomCheckFailMsg = "You don't have enough money!", -- alternative: CustomCheckFailMsg = function(ply, jobTable) return ply:getDarkRPVar("money") < 5000 and "You're piss poor" or "You don't have enough money!" end,
modelScale = 1.2,
maxpocket = 20,
maps = {"rp_downtown_v4c", "gm_construct"}, -- on what maps is this job playable on.
candemote = false, -- can this job be demoted by users?
mayor = false, -- is this job a mayor,true (yes) false(no).
chief = false, -- is this job a chief,true (yes) false(no).
medic = false, -- is this job a medic,true (yes) false(no).
cook = false, -- is this job a cook,true (yes) false(no).
hobo = false, -- is this job a hobo,true (yes) false(no).
category = "Government", -- The name of the category it is in. Note: the category must be created!
sortOrder = 100, -- The position of this thing in its category. Lower number means higher up.
CanPlayerSuicide = function(ply) return false end, -- is this job able to suicide, kill in console..
PlayerCanPickupWeapon = function(ply, weapon) return true end, -- can this job pick up weapons.
PlayerSpawnProp = function(ply, model) end, -- what does this job spawn with, what prop?
buttonColor = Color(0, 17,255, 255), -- The color of the button in the F4 menu
label = "S.W.A.T", -- Optional: the text on the button in the F4 menu
ammo = {
["pistol"] = 60,
},
})

Users browsing this thread: 1 Guest(s)