blob: 352c80bb379429eed7e9e935ae4c256686cef1ad (
plain) (
tree)
|
|
function HandlePluginsCommand( Split, Player )
local PluginManager = cRoot:Get():GetPluginManager()
local PluginList = PluginManager:GetAllPlugins()
local PluginTable = {}
for k, Plugin in pairs( PluginList ) do
if Plugin then
table.insert( PluginTable, Plugin:GetName() )
end
end
SendMessage( Player, "There are " .. #PluginTable .. " loaded plugins" )
SendMessage( Player, table.concat( PluginTable , " " ) )
return true
end
|