beatrun/vmaniprework/lua/autorun/server/sv_vmanip.lua

16 lines
440 B
Lua
Raw Normal View History

2023-06-04 19:50:50 +05:00
util.AddNetworkString("VManip_SimplePlay")
util.AddNetworkString("VManip_StopHold")
--VManip_SimplePlay: WriteString of anim to play on client (not guaranteed to play)
--VManip_StopHold: WriteString of anim to stop holding on client
local function VManip_FindAndImport()
2023-06-04 22:00:52 +05:00
local path = "vmanip/anims/"
local anims = file.Find(path .. "*.lua", "lsv")
2023-06-04 19:50:50 +05:00
2023-06-04 22:00:52 +05:00
for k, v in pairs(anims) do
AddCSLuaFile(path .. v)
end
2023-06-04 19:50:50 +05:00
end
VManip_FindAndImport()