mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 21:53:46 +03:00
Upload
This commit is contained in:
27
lua/includes/extensions/client/entity.lua
Normal file
27
lua/includes/extensions/client/entity.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
--[[
|
||||
| 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" )
|
||||
Reference in New Issue
Block a user