Advertisement
wifiboost

Custom Job for Speedsters

Sep 3rd, 2017
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.53 KB | None | 0 0
  1.     TEAM_CUSTOMNAME = DarkRP.createJob( "CUSTOM NAME HERE",
  2. {
  3.     color = Color( 0, 100, 200 ), -- Change to a color that is close the player model chosen
  4.     model =
  5.     {
  6.         "models/reverse/playermodels/futureflash/futureflash.mdl", -- Change the model
  7.     },
  8.     description = [[...]], -- If you want to get clever i guess change it to fit for the player
  9.     weapons =
  10.     {
  11.         "speedster_syringe",
  12.         "pro_lockpick",
  13.         "m9k_barret_m82",
  14.         "m9k_spas12",
  15.         "m9k_damascus",
  16.         "m9k_m61_frag"
  17.     },
  18.     command = "CUSTOM NAME HERE",
  19.     max = 1,
  20.     salary = 200, -- Stays the Same
  21.     admin = 0, -- Stays the Same
  22.     vote = false, -- Stays the Same
  23.     category = "Restricted", -- Changes if it is or isnt whitelisted
  24.     customCheck = function(ply)return ply:SteamID() == "STEAM_0:1:82327808" -- Change as needed
  25.     or ply:SteamID() == "STEAM_0:1:82327808" -- add more if needed
  26.     or ply:GetNWString("usergroup") == "superadmin"  end, -- Stays the same
  27.     CustomCheckFailMsg = "This job is custom for PlayerName", -- Player Name goes here for convenience
  28.     PlayerLoadout = function(ply)
  29.     ply:SetHealth(150) -- Stays the Same
  30.     ply:SetArmor(150) end, -- Stays the Same
  31.         speedster =
  32.     {
  33.         color = Color( 0, 0, 0 ), -- Dont change this
  34.         sound = "backyard/speedster/zoom.wav", -- Dont change this
  35.         maxSpeedForceVar = 50, -- Stays the same
  36.         defaultSpeedForce = 40, -- Stays the same
  37.         speedForceMultiply = 10, -- Stays the same
  38.     },
  39. } )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement