mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 05:43:46 +03:00
38 lines
678 B
Lua
38 lines
678 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/
|
|
--]]
|
|
|
|
AddCSLuaFile( "cl_init.lua" )
|
|
AddCSLuaFile( "shared.lua" )
|
|
include( 'shared.lua' )
|
|
|
|
function ENT:Initialize()
|
|
|
|
self:SetModel( "models/combine_apc2.mdl" )
|
|
self:PhysicsInit( SOLID_VPHYSICS )
|
|
//self:SetMoveType( MOVETYPE_VPHYSICS )
|
|
self:SetSolid( SOLID_VPHYSICS )
|
|
|
|
|
|
|
|
|
|
|
|
self.PhysObj = self:GetPhysicsObject()
|
|
|
|
if ( self.PhysObj:IsValid() ) then
|
|
|
|
self.PhysObj:EnableDrag( true )
|
|
self.PhysObj:Wake()
|
|
|
|
end
|
|
|
|
|
|
end
|
|
|