Advertisement
Guest User

Jobs.lua

a guest
Aug 30th, 2014
412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.32 KB | None | 0 0
  1. /*---------------------------------------------------------------------------
  2. DarkRP custom jobs
  3. ---------------------------------------------------------------------------
  4. This file contains your custom jobs.
  5. This file should also contain jobs from DarkRP that you edited.
  6. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  7. Once you've done that, copy and paste the job to this file and edit it.
  8. The default jobs can be found here:
  9. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  10. For examples and explanation please visit this wiki page:
  11. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  12. Add jobs under the following line:
  13. ---------------------------------------------------------------------------*/
  14. TEAM_TLEADER = DarkRP.CreateJob("Terrorist Leader"),
  15.     color = Color(255, 51, 0, 255), "models/player/guerilla.mdl", --This is Line 15
  16.     description = [[You\'re a Terrorist Leader Lead your terrorist and bomb up shit with them]],
  17.     weapons = {"m9k_rpg7","m9k_vikhr"},
  18.     command = "tleader",
  19.     max = 1,
  20.     salary = 35,
  21.     admin = 0,
  22.     vote = false,
  23.     hasLicense = false,
  24.     customCheck = function(ply) return table.HasValue({"donator", "admin", "superadmin", "operator"}, ply:GetUserGroup())) end
  25.     CustomCheckFailMsg = "This job is VIP only!"
  26. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement