zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_grenade/cl_init.lua

22 lines
479 B
Lua
Raw Normal View History

2014-10-02 08:49:54 +08:00
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