Facebook
From Bitty Marmoset, 5 Months ago, written in Lua.
This paste is a reply to Untitled from Burly Cheetah - view diff
Embed
Download Paste or View Raw
Hits: 113
  1. deputy = DarkRP.createJob("Sheriff Deputy", {
  2.     color = Color(255, 226, 0, 255),
  3.     model = {"models/mw2/skin_03/mw2_soldier_05.mdl"},
  4.     description = [[Zastepca szeryfa]],
  5.     weapons = {"weaponchecker", "pocket", "keys", "door_ram", "arrest_stick", "weapon_cuff_elastic", "m9k_model500", "m9k_ithacam37", "m9k_dbarrel", "m9k_svu", "weapon_vape_medicinal", "realrbn_tazer", "m9k_knife", "m9k_fists", "m9k_mp5"},
  6.     command = "deputy",
  7.     max = 1,
  8.     salary = 20000,
  9.     admin = 0,
  10.     vote = false,
  11.     hasLicense = true,
  12.     candemote = false,
  13.     category = "Sheriff Office",
  14.     chief = true,
  15.     PlayerSpawn = function(ply)
  16.         ply:SetMaxHealth(100)
  17.         ply:SetHealth(100)
  18.         ply:SetArmor(200)
  19.         ply:SetBodygroup(0, 0)
  20.         ply:SetBodygroup(5, 5)
  21.         ply:SetBodygroup(1, 1)
  22.         ply:SetBodygroup(0, 0)
  23.         ply:SetBodygroup(0, 0)
  24.     end
  25. })