zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_flashbomb/shared.lua

17 lines
472 B
Lua
Raw Permalink Normal View History

SWEP.PrintName = "Flash Bomb"
SWEP.Description = "Deals no damage but stuns all zombies around the flash, especially if they're looking at it."
SWEP.Base = "weapon_zs_basethrown"
SWEP.ViewModel = "models/weapons/cstrike/c_eq_flashbang.mdl"
SWEP.WorldModel = "models/weapons/w_eq_flashbang.mdl"
SWEP.Primary.Ammo = "flashbomb"
SWEP.Primary.Sound = Sound("weapons/pinpull.wav")
SWEP.MaxStock = 12
function SWEP:Precache()
util.PrecacheSound("weapons/pinpull.wav")
end