Advertisement
Guest User

Bogen

a guest
May 26th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.62 KB | None | 0 0
  1. if ( SERVER ) then
  2.     AddCSLuaFile("shared.lua")
  3. end
  4.  
  5. if ( CLIENT ) then
  6.    
  7.     SWEP.PrintName      = "Drachen Bogen"
  8.     SWEP.Author         = "Textro"
  9.     SWEP.Slot           = 2
  10.     SWEP.SlotPos        = 2
  11.     SWEP.DrawAmmo       = false
  12.     SWEP.DrawCrosshair  = false
  13.  
  14. end
  15.  
  16. ------------Allgemeine SWEP Informationen---------------
  17. SWEP.Category = "HDR:RP Sweps"
  18. SWEP.Contact        = ""
  19. SWEP.Purpose        = ""
  20. SWEP.Instructions   = ""
  21. SWEP.Base           = "weapon_sky_base_bow2"
  22. SWEP.Spawnable      = true
  23. SWEP.AdminSpawnable = true
  24. -------------------------------------------------------------------
  25.  
  26. ------------Models---------------------------
  27. SWEP.HoldType = "revolver"
  28. SWEP.ViewModelFOV = 70
  29. SWEP.ViewModelFlip = false
  30. SWEP.UseHands = false
  31. SWEP.ViewModel = "models/skyrim/draugr/bow/v_draugrbow.mdl"
  32. SWEP.WorldModel = "models/skyrim/draugr/bow/w_draugrbow.mdl"
  33. SWEP.ShowViewModel = true
  34. SWEP.ShowWorldModel = true
  35. SWEP.ViewModelBoneMods = {}
  36. ----------------------------------------------
  37.  
  38. SWEP.Primary.Damage     = 35
  39. SWEP.Primary.Delay      = 2
  40. SWEP.Primary.Velocity       = 2000
  41.  
  42. SWEP.Primary.ClipSize       = -1                    -- Size of a clip
  43. SWEP.Primary.DefaultClip    = 9                 -- Default number of bullets in a clip
  44. SWEP.Primary.Automatic      = true              -- Automatic/Semi Auto
  45. SWEP.Primary.Ammo           = "XBowBolt"
  46. SWEP.Crosshair              = true
  47.  
  48. SWEP.Secondary.ClipSize     = -1                    -- Size of a clip
  49. SWEP.Secondary.DefaultClip  = -1                    -- Default number of bullets in a clip
  50. SWEP.Secondary.Automatic    = false             -- Automatic/Semi Auto
  51. SWEP.Secondary.Ammo     = "none"
  52.  
  53. ----------------------Hauptfunktionen----------------------------
  54.  
  55. function SWEP:Initialize()
  56.     self:SetHoldType(self.HoldType)
  57. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement