mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-16 21:33:46 +03:00
48 lines
1.4 KiB
Lua
48 lines
1.4 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/
|
|
--]]
|
|
|
|
simfphys = istable( simfphys ) and simfphys or {}
|
|
|
|
FUELTYPE_NONE = -1
|
|
FUELTYPE_PETROL = 0
|
|
FUELTYPE_DIESEL = 1
|
|
FUELTYPE_ELECTRIC = 2
|
|
|
|
if SERVER then
|
|
AddCSLuaFile("simfphys/client/fonts.lua")
|
|
AddCSLuaFile("simfphys/client/tab.lua")
|
|
AddCSLuaFile("simfphys/client/hud.lua")
|
|
AddCSLuaFile("simfphys/client/lighting.lua")
|
|
AddCSLuaFile("simfphys/client/damage.lua")
|
|
AddCSLuaFile("simfphys/client/poseparameter.lua")
|
|
AddCSLuaFile("simfphys/client/spawning.lua")
|
|
AddCSLuaFile("simfphys/base_functions.lua")
|
|
|
|
include("simfphys/server/spawner.lua")
|
|
include("simfphys/server/poseparameter.lua")
|
|
include("simfphys/server/joystick.lua")
|
|
else
|
|
killicon.Add( "gmod_sent_vehicle_fphysics_base", "HUD/killicons/simfphys_car", Color( 255, 80, 0, 255 ) )
|
|
|
|
include("simfphys/client/fonts.lua")
|
|
include("simfphys/client/tab.lua")
|
|
include("simfphys/client/hud.lua")
|
|
include("simfphys/client/lighting.lua")
|
|
include("simfphys/client/damage.lua")
|
|
include("simfphys/client/poseparameter.lua")
|
|
include("simfphys/client/spawning.lua")
|
|
end
|
|
|
|
include("simfphys/base_functions.lua")
|
|
|
|
timer.Simple(0, function()
|
|
hook.Run( "LVS:ARMED:Initialize" )
|
|
end)
|