dobrograd-13-06-2022/octolib/addon/lua/entities/ent_dbg_dummy.lua
Jonny_Bro (Nikita) e4d5311906 first commit
2023-11-16 15:01:19 +05:00

23 lines
462 B
Lua

AddCSLuaFile()
ENT.Type = 'anim'
ENT.Base = 'base_anim'
ENT.PrintName = 'Болванка'
ENT.Category = L.dobrograd
ENT.Spawnable = false
ENT.AdminOnly = false
function ENT:Initialize()
self:PhysicsInit(SOLID_NONE)
self:SetMoveType(MOVETYPE_NONE)
end
if CLIENT then
function octolib.createDummy(mdl, rendergroup)
local ent = ents.CreateClientside('ent_dbg_dummy')
ent.RenderGroup = rendergroup
ent:SetModel(mdl)
ent:Spawn()
return ent
end
end