Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AddCSLuaFile()
- SWEP.HoldType = "grenade"
- if CLIENT then
- SWEP.PrintName = "Super Smoke Grenade"
- SWEP.Slot = 3
- SWEP.ViewModelFlip = false
- SWEP.ViewModelFOV = 54
- SWEP.Icon = "vgui/ttt/icon_nades"
- SWEP.IconLetter = "Q"
- SWEP.EquipMenuData = {
- type = "Weapon",
- desc = "An especially smokey smoke grenade. \nGood for use as cover to enter T rooms."
- };
- end
- SWEP.Base = "weapon_tttbasegrenade"
- SWEP.WeaponID = AMMO_SMOKE
- SWEP.CanBuy = {ROLE_TRAITOR} -- only traitors can buy
- SWEP.LimitedStock = false
- SWEP.Kind = WEAPON_NADE
- SWEP.AutoSpawnable = false
- SWEP.UseHands = true
- SWEP.ViewModel = "models/weapons/cstrike/c_eq_smokegrenade.mdl"
- SWEP.WorldModel = "models/weapons/w_eq_smokegrenade.mdl"
- SWEP.Weight = 5
- SWEP.AutoSpawnable = false
- SWEP.Spawnable = true
- -- really the only difference between grenade weapons: the model and the thrown
- -- ent.
- function SWEP:GetGrenadeName()
- return "ttt_supersmokegrenade_proj"
- end
Advertisement
Add Comment
Please, Sign In to add comment