Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TEAM_Example = DarkRP.createJob("Example team", {
- color = Color(255, 255, 255, 255),
- model = {
- "models/player/t_phoenix.mdl",
- },
- description = [[This text will serve as the description of
- this team.]],
- weapons = {"m9k_m24","m9k_m92beretta",},
- command = "example",
- max = 3,
- salary = 60,
- admin = 1,
- vote = false,
- hasLicense = false,
- NeedToChangeFrom = TEAM_CITIZEN,
- customCheck = function(ply) return ply:getDarkRPVar("money") > 10000 end,
- CustomCheckFailMsg = "You don't have enough money!",
- modelScale = 1.2,
- maxpocket = 20,
- maps = {"rp_downtown_v2", "gm_construct"},
- candemote = false,
- mayor = false,
- chief = false,
- medic = false,
- cook = false,
- hobo = false,
- CanPlayerSuicide = function(ply) return false end,
- PlayerCanPickupWeapon = function(ply, weapon) return true end,
- PlayerDeath = function(ply, weapon, killer) end,
- PlayerLoadout = function(ply) return true end,
- PlayerSelectSpawn = function(ply, spawn) end,
- PlayerSetModel = function(ply) return "models/Combine_Super_Soldier.mdl" end,
- PlayerSpawn = function(ply) end,
- PlayerSpawnProp = function(ply, model) end,
- RequiresVote = function(ply, job) for k,v in pairs(player.GetAll()) do if IsValid(v) and v:IsAdmin() then return false end end return true end, -- People need to make a vote when there is no admin around
- ShowSpare1 = function(ply) end,
- ShowSpare2 = function(ply) end,
- canStartVote = function(ply) return ply:Distance(SomeNPC) < 200 end,
- canStartVoteReason = "Must be close to some NPC",
- buttonColor = Color(255, 255, 255, 255), -- The color of the button in the F4 menu
- label = "Sniper", -- Optional: the text on the button in the F4 menu
- ammo = {
- ["pistol"] = 60
- ["rifle"] = 25,
- },
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement