mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 05:43:46 +03:00
28 lines
672 B
Lua
28 lines
672 B
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 ( SERVER ) then return end
|
|
|
|
local meta = FindMetaTable( "Entity" )
|
|
if ( !meta ) then return end
|
|
|
|
|
|
--
|
|
-- You can set the render angles and render origin on
|
|
-- any entity. It will then render the entity at that
|
|
-- origin using those angles.
|
|
--
|
|
-- Set them to nil if you don't want to override anything.
|
|
--
|
|
|
|
AccessorFunc( meta, "m_RenderAngles", "RenderAngles" )
|
|
AccessorFunc( meta, "m_RenderOrigin", "RenderOrigin" )
|