mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-16 21:33:46 +03:00
36 lines
1.0 KiB
Lua
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
|