Files
wnsrc/lua/autorun/niknaks_autorun.lua

20 lines
626 B
Lua
Raw Normal View History

2024-08-04 23:12:27 +03:00
--[[
| 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/
--]]
-- Post Init. This is to stop using traces and other functions, as they can cause a crash if used before.
if not _NIKNAKS_POSTENTITY then
hook.Add("InitPostEntity","NikNaks_InitPostEntity", function()
_NIKNAKS_POSTENTITY = true
if _MODULES["niknaks"] then
hook.Run("NikNaks._LoadPathOptions")
end
hook.Remove("InitPostEntity","NikNaks_InitPostEntity")
end)
end