mirror of
https://github.com/HaodongMo/ARC-9.git
synced 2025-03-04 03:02:58 -05:00
no prediction, no sharedrandom!!!!!!!!!!!!!!!!!!!!
This commit is contained in:
parent
402bf96bda
commit
7fb499aece
@ -6,7 +6,7 @@ function SWEP:NPC_PrimaryAttack()
|
||||
|
||||
self:SetBaseSettings()
|
||||
self:SetShouldHoldType()
|
||||
self:DoShootSounds(true)
|
||||
self:DoShootSounds()
|
||||
self:DoEffects()
|
||||
self:DoEject()
|
||||
|
||||
|
@ -87,10 +87,10 @@ local soundtab6 = {
|
||||
name = "shootdistantindoor"
|
||||
}
|
||||
|
||||
function SWEP:DoShootSounds(npc)
|
||||
function SWEP:DoShootSounds()
|
||||
local randomChoice = self.RandomChoice
|
||||
local pvar = swepGetProcessedValue(self, "ShootPitchVariation", true)
|
||||
local pvrand = npc and math.Rand(-pvar, pvar) or util.SharedRandom("ARC9_sshoot", -pvar, pvar)
|
||||
local pvrand = math.Rand(-pvar, pvar) -- util.SharedRandom("ARC9_sshoot", -pvar, pvar) -- who gives a shit??? plus it broke af
|
||||
|
||||
local sstr = lsstr
|
||||
local sslr = lsslr
|
||||
|
Loading…
Reference in New Issue
Block a user