Files
wnsrc/lua/entities/prop_vj_animatable/shared.lua
lifestorm 94063e4369 Upload
2024-08-04 22:55:00 +03:00

36 lines
1.0 KiB
Lua

--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
if (!file.Exists("autorun/vj_base_autorun.lua","LUA")) then return end
ENT.Base = "base_gmodentity"
ENT.Type = "anim"
ENT.PrintName = "VJ Prop Animatable"
ENT.Author = "DrVrej"
ENT.Contact = "http://steamcommunity.com/groups/vrejgaming"
ENT.Purpose = "Used to make simple props and animate them, since prop_dynamic doesn't work properly in Garry's Mod."
ENT.Instructions = "Don't change anything."
ENT.Category = "VJ Base"
ENT.Spawnable = false
ENT.AdminOnly = false
ENT.AutomaticFrameAdvance = true
//ENT.RenderGroup = RENDERGROUP_BOTH
---------------------------------------------------------------------------------------------------------------------------------------------
if CLIENT then
function ENT:Draw()
self:DrawModel()
end
function ENT:DrawTranslucent()
self:Draw()
end
end