Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Feb 23rd, 2018 249 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. // Copyright © 2012-2016 VCMod (freemmaann). All Rights Reserved. if you have any complaints or ideas contact me: steam - http://steamcommunity.com/id/freemmaann, email - freemmaann@gmail.com or skype - comman6.
  2.  
  3. AddCSLuaFile("shared.lua")
  4.  
  5. SWEP.Category       = "VCMod"
  6. SWEP.PrintName      = "Wrench"
  7. SWEP.Author         = "freemmaann"
  8. SWEP.Instructions   = "Aim at their damaged parts to restore them individually\n\nRight click repair the whole vehicle (admin only)"
  9.  
  10. SWEP.ViewModel      = "models/VC-Mod/v_wrench.mdl"
  11. SWEP.WorldModel     = "models/VC-Mod/v_wrench.mdl"
  12. SWEP.ViewModelFOV   = 55
  13.  
  14. SWEP.Spawnable      = true
  15. SWEP.Slot           = 5
  16. SWEP.UseHands       = true
  17.  
  18. SWEP.Primary.ClipSize       = -1
  19. SWEP.Primary.DefaultClip    = -1
  20. SWEP.Primary.Automatic      = true
  21. SWEP.Primary.Ammo           = "none"
  22.  
  23. SWEP.Secondary.ClipSize     = -1
  24. SWEP.Secondary.DefaultClip  = -1
  25. SWEP.Secondary.Automatic    = false
  26. SWEP.Secondary.Ammo         = "none"
  27.  
  28. if !VC.CodeEnt then VC.CodeEnt = {} end
  29.  
  30. function SWEP:Initialize() if VC and VC.CodeEnt.Repair_Wep and VC.CodeEnt.Repair_Wep.Initialize then return VC.CodeEnt.Repair_Wep.Initialize(self) end end
  31. function SWEP:Deploy() if VC and VC.CodeEnt.Repair_Wep and VC.CodeEnt.Repair_Wep.Deploy then return VC.CodeEnt.Repair_Wep.Deploy(self) end end
  32. function SWEP:Holster() if VC and VC.CodeEnt.Repair_Wep and VC.CodeEnt.Repair_Wep.Holster then return VC.CodeEnt.Repair_Wep.Holster(self) end end
  33. function SWEP:PrimaryAttack() if VC and VC.CodeEnt.Repair_Wep and VC.CodeEnt.Repair_Wep.PrimaryAttack then return VC.CodeEnt.Repair_Wep.PrimaryAttack(self) end end
  34. function SWEP:SecondaryAttack() if VC and VC.CodeEnt.Repair_Wep and VC.CodeEnt.Repair_Wep.SecondaryAttack then return VC.CodeEnt.Repair_Wep.SecondaryAttack(self) end end
  35. function SWEP:Think() if VC and VC.CodeEnt.Repair_Wep and VC.CodeEnt.Repair_Wep.Think then return VC.CodeEnt.Repair_Wep.Think(self) end end
  36.  
  37. if CLIENT then
  38. function SWEP:GetViewModelPosition(pos, ang) if VC and VC.CodeEnt.Repair_Wep and VC.CodeEnt.Repair_Wep.GetViewModelPosition then return VC.CodeEnt.Repair_Wep.GetViewModelPosition(self, pos, ang) end end
  39. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top