zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_minelayer/init.lua

9 lines
196 B
Lua
Raw Normal View History

INC_SERVER()
SWEP.Primary.Projectile = "projectile_impactmine"
SWEP.Primary.ProjVelocity = 600
function SWEP:PhysModify(physobj)
physobj:AddAngleVelocity(VectorRand():GetNormalized() * 90)
end