add sborka

This commit is contained in:
2026-03-31 10:27:04 +03:00
commit f5e5f56c84
2345 changed files with 382127 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
local WEAPON = FindMetaTable("Weapon")
if WEAPON then
function WEAPON:IsTFA() -- please do not use, just check for IsTFAWeapon directly
return self.IsTFAWeapon
end
else
print("[TFA Base] Can't find weapon metatable!")
end
local PLAYER = FindMetaTable("Player")
if PLAYER then
function PLAYER:TFA_ZoomKeyDown()
if not IsValid(self) then return false end
return self:GetNW2Bool("TFA_ZoomKeyDown", false)
end
function PLAYER:TFA_SetZoomKeyDown(isdown)
if not IsValid(self) then return end
self:SetNW2Bool("TFA_ZoomKeyDown", isdown)
end
else
print("[TFA Base] Can't find player metatable!")
end