AddChatCommand(\"plugins\",function(self,sender,msg)
local cnt=0;
local categs=({\"OnTimerTick\",\"PrepareAll\",\"CheckPlayer\",\"OnKill\",\"ProcessBulletDamage\",\"OnClientConnect\",\"OnClientDisconnect\",\"OnChangeSpectatorMode\",\"OnPlayerRevive\",\"OnActorHit\",\"OnItemPickedUp\",\"OnItemDropped\",\"EquipPlayer\",\"CanEnterVehicle\",\"OnRename\",\"OnLeaveVehicleSeat\",\"UpdatePlayer\",\"OnEnterBuyZone\",\"OnEnterServiceZone\",\"OnShoot\",\"OnHit\"});
local counts={};
for i,v in pairs(categs) do
local funcs=SafeWriting.FuncContainer:GetFuncs(v);
local c=funcs and #funcs or 0;
counts[v]=c;
end
table.sort(categs);
Console:SendToTarget(sender,\"$3 %26s $8Count\",\"Type of plugin\")
for i,v in ipairs(categs) do
Console:SendToTarget(sender,\" $9%25s: $5%5d\",v,counts[v]);
end
Msg:SendToTarget(sender,__qt(sender.lang,\"Otvor konzolu\"));
end,{},{},\"Shows you plugin info\");
This command is good for debugging, shows status of currently loaded plugins, like OnTimerTick: 5 plugins❤️ 0