Initial commit

This commit is contained in:
pavetr
2026-03-15 14:54:49 +03:00
commit 64f8029c06
4027 changed files with 254888 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
function ents.FindByClassAndParent( classname, entity )
if ( !IsValid( entity ) ) then return end
local out = {}
for k, v in ipairs( ents.FindByClass( classname ) ) do
if ( v:GetParent() == entity ) then
table.insert( out, v )
end
end
if ( out[1] == nil ) then return end
return out
end