options, JK

This commit is contained in:
Jackarunda 2020-11-26 13:39:39 -07:00
parent 03c62ceba1
commit 803465dbcd
2 changed files with 2 additions and 1 deletions

View File

@ -115,7 +115,7 @@ function SWEP:PlaySoundTable(soundtable, mult, start)
end
if !game.SinglePlayer() and v.s then
self:MyEmitSound(v.s, vol, pitch, 1, v.c or CHAN_AUTO)
self:MyEmitSound(v.s, vol, pitch, 1, v.c or CHAN_AUTO, v.w or false)
end
if v.bg then

View File

@ -539,6 +539,7 @@ SWEP.Animations = {
-- v = 75, -- volume
-- t = 1, -- time at which to play relative to Animations.Time
-- c = CHAN_ITEM, -- channel to play the sound
-- w = false, -- world, use sound.Play instead of EmitSound
-- -- Can also play an effect at the same time
-- e = "", -- effect name