1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00

Камаз изменений, .lua 703 синхронизированы с dev

This commit is contained in:
CrIcKeT98
2021-06-20 09:45:35 +03:00
parent 71342a4dd8
commit a41229ce70
131 changed files with 663 additions and 379 deletions

View File

@@ -24,8 +24,8 @@ function SWEP:PrimaryAttack()
tr.filter = function(ent) if (ent:GetClass() == "func_door" or ent:GetClass() == "func_button") and ent:GetName():find("adminlock") then return true end end
local trace = util.TraceLine( tr )
if not trace.Hit or not IsValid(trace.Entity) then return end
trace.Entity:Fire("Toggle","","")
trace.Entity:Fire("Press","","")
trace.Entity:Fire("Toggle","")
trace.Entity:Fire("Press","")
self:SetNextPrimaryFire( CurTime()+0.5)
end