Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. TEAM_Example = DarkRP.createJob("Example team", {
  2. color = Color(255, 255, 255, 255),
  3. model = {
  4. "models/player/t_phoenix.mdl",
  5. },
  6. description = [[This text will serve as the description of
  7. this team.]],
  8. weapons = {"m9k_m24","m9k_m92beretta",},
  9. command = "example",
  10. max = 3,
  11. salary = 60,
  12. admin = 1,
  13. vote = false,
  14. hasLicense = false,
  15. NeedToChangeFrom = TEAM_CITIZEN,
  16. customCheck = function(ply) return ply:getDarkRPVar("money") > 10000 end,
  17. CustomCheckFailMsg = "You don't have enough money!",
  18. modelScale = 1.2,
  19. maxpocket = 20,
  20. maps = {"rp_downtown_v2", "gm_construct"},
  21. candemote = false,
  22. mayor = false,
  23. chief = false,
  24. medic = false,
  25. cook = false,
  26. hobo = false,
  27.  
  28. CanPlayerSuicide = function(ply) return false end,
  29. PlayerCanPickupWeapon = function(ply, weapon) return true end,
  30. PlayerDeath = function(ply, weapon, killer) end,
  31. PlayerLoadout = function(ply) return true end,
  32. PlayerSelectSpawn = function(ply, spawn) end,
  33. PlayerSetModel = function(ply) return "models/Combine_Super_Soldier.mdl" end,
  34. PlayerSpawn = function(ply) end,
  35. PlayerSpawnProp = function(ply, model) end,
  36. 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
  37. ShowSpare1 = function(ply) end,
  38. ShowSpare2 = function(ply) end,
  39. canStartVote = function(ply) return ply:Distance(SomeNPC) < 200 end,
  40. canStartVoteReason = "Must be close to some NPC",
  41. buttonColor = Color(255, 255, 255, 255), -- The color of the button in the F4 menu
  42. label = "Sniper", -- Optional: the text on the button in the F4 menu
  43. ammo = {
  44. ["pistol"] = 60
  45. ["rifle"] = 25,
  46. },
  47. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement