mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-16 13:23:46 +03:00
Upload
This commit is contained in:
48
addons/fprofiler/lua/autorun/fprofiler.lua
Normal file
48
addons/fprofiler/lua/autorun/fprofiler.lua
Normal file
@@ -0,0 +1,48 @@
|
||||
--[[
|
||||
| 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/
|
||||
--]]
|
||||
|
||||
FProfiler = FProfiler or {}
|
||||
FProfiler.Internal = {}
|
||||
FProfiler.UI = {}
|
||||
|
||||
AddCSLuaFile()
|
||||
AddCSLuaFile("fprofiler/cami.lua")
|
||||
AddCSLuaFile("fprofiler/gather.lua")
|
||||
AddCSLuaFile("fprofiler/report.lua")
|
||||
AddCSLuaFile("fprofiler/util.lua")
|
||||
AddCSLuaFile("fprofiler/prettyprint.lua")
|
||||
|
||||
AddCSLuaFile("fprofiler/ui/model.lua")
|
||||
AddCSLuaFile("fprofiler/ui/frame.lua")
|
||||
AddCSLuaFile("fprofiler/ui/clientcontrol.lua")
|
||||
AddCSLuaFile("fprofiler/ui/servercontrol.lua")
|
||||
|
||||
include("fprofiler/cami.lua")
|
||||
|
||||
CAMI.RegisterPrivilege{
|
||||
Name = "FProfiler",
|
||||
MinAccess = "superadmin"
|
||||
}
|
||||
|
||||
|
||||
include("fprofiler/prettyprint.lua")
|
||||
include("fprofiler/util.lua")
|
||||
include("fprofiler/gather.lua")
|
||||
include("fprofiler/report.lua")
|
||||
|
||||
|
||||
if CLIENT then
|
||||
include("fprofiler/ui/model.lua")
|
||||
include("fprofiler/ui/frame.lua")
|
||||
include("fprofiler/ui/clientcontrol.lua")
|
||||
include("fprofiler/ui/servercontrol.lua")
|
||||
else
|
||||
include("fprofiler/ui/server.lua")
|
||||
end
|
||||
Reference in New Issue
Block a user