Guest User

weapon_ttt_supersmoke

a guest
May 22nd, 2020
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. AddCSLuaFile()
  2.  
  3. SWEP.HoldType = "grenade"
  4.  
  5. if CLIENT then
  6. SWEP.PrintName = "Super Smoke Grenade"
  7. SWEP.Slot = 3
  8.  
  9. SWEP.ViewModelFlip = false
  10. SWEP.ViewModelFOV = 54
  11.  
  12. SWEP.Icon = "vgui/ttt/icon_nades"
  13. SWEP.IconLetter = "Q"
  14.  
  15. SWEP.EquipMenuData = {
  16. type = "Weapon",
  17. desc = "An especially smokey smoke grenade. \nGood for use as cover to enter T rooms."
  18. };
  19. end
  20.  
  21. SWEP.Base = "weapon_tttbasegrenade"
  22.  
  23. SWEP.WeaponID = AMMO_SMOKE
  24. SWEP.CanBuy = {ROLE_TRAITOR} -- only traitors can buy
  25. SWEP.LimitedStock = false
  26. SWEP.Kind = WEAPON_NADE
  27. SWEP.AutoSpawnable = false
  28.  
  29. SWEP.UseHands = true
  30. SWEP.ViewModel = "models/weapons/cstrike/c_eq_smokegrenade.mdl"
  31. SWEP.WorldModel = "models/weapons/w_eq_smokegrenade.mdl"
  32.  
  33. SWEP.Weight = 5
  34. SWEP.AutoSpawnable = false
  35. SWEP.Spawnable = true
  36. -- really the only difference between grenade weapons: the model and the thrown
  37. -- ent.
  38.  
  39. function SWEP:GetGrenadeName()
  40. return "ttt_supersmokegrenade_proj"
  41. end
Advertisement
Add Comment
Please, Sign In to add comment