22 lines
479 B
Lua
22 lines
479 B
Lua
|
include("shared.lua")
|
||
|
|
||
|
SWEP.PrintName = "Grenade"
|
||
|
SWEP.Description = "A simple fragmentation grenade.\nWhen used in the right conditions, it can obliterate groups of zombies."
|
||
|
|
||
|
SWEP.ViewModelFOV = 60
|
||
|
|
||
|
SWEP.Slot = 4
|
||
|
SWEP.SlotPos = 0
|
||
|
|
||
|
--[[function SWEP:GetViewModelPosition(pos, ang)
|
||
|
if self:GetPrimaryAmmoCount() <= 0 then
|
||
|
return pos + ang:Forward() * -256, ang
|
||
|
end
|
||
|
|
||
|
return pos, ang
|
||
|
end]]
|
||
|
|
||
|
function SWEP:DrawWeaponSelection(...)
|
||
|
return self:BaseDrawWeaponSelection(...)
|
||
|
end
|