Closed yupi2 closed 9 years ago
Here's an example of usage
hook.Add("WMCPMedialistRowRightClick", "WMCPAddDebugItem", function(menu, id, line, media) menu:AddSpacer() menu:AddOption("Print data", function() print("Printing debug data from WMCP") print("menu: ", menu) print("id: ", id) print("line:", line) print("media:") PrintTable(media or {}, 1) print("") end):SetImage("icon16/lightning.png") end)
Good stuff. :+1:
Here's an example of usage